Compare commits
2 Commits
release-88
...
release-90
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
01488b8b3b | ||
|
|
b456af9448 |
@@ -0,0 +1,2 @@
|
|||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "Service" ALTER COLUMN "operatingSince" SET DATA TYPE DATE;
|
||||||
@@ -349,8 +349,8 @@ model Service {
|
|||||||
categories Category[] @relation("ServiceToCategory")
|
categories Category[] @relation("ServiceToCategory")
|
||||||
kycLevel Int @default(4)
|
kycLevel Int @default(4)
|
||||||
kycLevelClarification KycLevelClarification @default(NONE)
|
kycLevelClarification KycLevelClarification @default(NONE)
|
||||||
/// The first known date when the service started operating. Used for New/Mature service attributes.
|
/// Date only, no time.
|
||||||
operatingSince DateTime?
|
operatingSince DateTime? @db.Date
|
||||||
overallScore Int @default(0)
|
overallScore Int @default(0)
|
||||||
privacyScore Int @default(0)
|
privacyScore Int @default(0)
|
||||||
trustScore Int @default(0)
|
trustScore Int @default(0)
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ export const apiServiceActions = {
|
|||||||
kycLevelClarification: service.kycLevelClarification,
|
kycLevelClarification: service.kycLevelClarification,
|
||||||
kycLevelClarificationInfo: pick(getKycLevelClarificationInfo(service.kycLevelClarification), [
|
kycLevelClarificationInfo: pick(getKycLevelClarificationInfo(service.kycLevelClarification), [
|
||||||
'value',
|
'value',
|
||||||
'name',
|
'label',
|
||||||
'description',
|
'description',
|
||||||
]),
|
]),
|
||||||
categories: service.categories,
|
categories: service.categories,
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ const makeSortUrl = (sortBy: NonNullable<(typeof filters)['sort-by']>) => {
|
|||||||
<span
|
<span
|
||||||
class={`font-medium ${user.totalKarma >= 100 ? 'text-green-400' : user.totalKarma >= 0 ? 'text-zinc-300' : 'text-red-400'}`}
|
class={`font-medium ${user.totalKarma >= 100 ? 'text-green-400' : user.totalKarma >= 0 ? 'text-zinc-300' : 'text-red-400'}`}
|
||||||
>
|
>
|
||||||
{user.totalKarma}
|
{user.totalKarma.toLocaleString()}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="px-4 py-3 text-center text-sm">
|
<td class="px-4 py-3 text-center text-sm">
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ type ServiceResponse = {
|
|||||||
kycLevelClarification: 'NONE' | 'DEPENDS_ON_PARTNERS' | ...
|
kycLevelClarification: 'NONE' | 'DEPENDS_ON_PARTNERS' | ...
|
||||||
kycLevelClarificationInfo: {
|
kycLevelClarificationInfo: {
|
||||||
value: 'NONE' | 'DEPENDS_ON_PARTNERS' | ...
|
value: 'NONE' | 'DEPENDS_ON_PARTNERS' | ...
|
||||||
name: string
|
label: string
|
||||||
description: string
|
description: string
|
||||||
}
|
}
|
||||||
categories: {
|
categories: {
|
||||||
@@ -135,8 +135,10 @@ curl -X QUERY https://kycnot.me/api/v1/service/get \
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"id": 123,
|
||||||
"name": "My Example Service",
|
"name": "My Example Service",
|
||||||
"description": "This is a description of my example service",
|
"description": "This is a description of my example service",
|
||||||
|
"slug": "my-example-service",
|
||||||
"serviceVisibility": "PUBLIC",
|
"serviceVisibility": "PUBLIC",
|
||||||
"verificationStatus": "VERIFICATION_SUCCESS",
|
"verificationStatus": "VERIFICATION_SUCCESS",
|
||||||
"verificationStatusInfo": {
|
"verificationStatusInfo": {
|
||||||
@@ -157,6 +159,7 @@ curl -X QUERY https://kycnot.me/api/v1/service/get \
|
|||||||
"kycLevelClarification": "NONE",
|
"kycLevelClarification": "NONE",
|
||||||
"kycLevelClarificationInfo": {
|
"kycLevelClarificationInfo": {
|
||||||
"value": "NONE",
|
"value": "NONE",
|
||||||
|
"label": "None",
|
||||||
"description": "No clarification needed."
|
"description": "No clarification needed."
|
||||||
},
|
},
|
||||||
"categories": [
|
"categories": [
|
||||||
|
|||||||
Reference in New Issue
Block a user