Release 202507010759
This commit is contained in:
@@ -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")
|
||||
kycLevel Int @default(4)
|
||||
kycLevelClarification KycLevelClarification @default(NONE)
|
||||
/// The first known date when the service started operating. Used for New/Mature service attributes.
|
||||
operatingSince DateTime?
|
||||
/// Date only, no time.
|
||||
operatingSince DateTime? @db.Date
|
||||
overallScore Int @default(0)
|
||||
privacyScore Int @default(0)
|
||||
trustScore Int @default(0)
|
||||
|
||||
@@ -133,7 +133,7 @@ export const apiServiceActions = {
|
||||
kycLevelClarification: service.kycLevelClarification,
|
||||
kycLevelClarificationInfo: pick(getKycLevelClarificationInfo(service.kycLevelClarification), [
|
||||
'value',
|
||||
'name',
|
||||
'label',
|
||||
'description',
|
||||
]),
|
||||
categories: service.categories,
|
||||
|
||||
@@ -62,7 +62,7 @@ type ServiceResponse = {
|
||||
kycLevelClarification: 'NONE' | 'DEPENDS_ON_PARTNERS' | ...
|
||||
kycLevelClarificationInfo: {
|
||||
value: 'NONE' | 'DEPENDS_ON_PARTNERS' | ...
|
||||
name: string
|
||||
label: string
|
||||
description: string
|
||||
}
|
||||
categories: {
|
||||
@@ -135,8 +135,10 @@ curl -X QUERY https://kycnot.me/api/v1/service/get \
|
||||
|
||||
```json
|
||||
{
|
||||
"id": 123,
|
||||
"name": "My Example Service",
|
||||
"description": "This is a description of my example service",
|
||||
"slug": "my-example-service",
|
||||
"serviceVisibility": "PUBLIC",
|
||||
"verificationStatus": "VERIFICATION_SUCCESS",
|
||||
"verificationStatusInfo": {
|
||||
@@ -157,6 +159,7 @@ curl -X QUERY https://kycnot.me/api/v1/service/get \
|
||||
"kycLevelClarification": "NONE",
|
||||
"kycLevelClarificationInfo": {
|
||||
"value": "NONE",
|
||||
"label": "None",
|
||||
"description": "No clarification needed."
|
||||
},
|
||||
"categories": [
|
||||
|
||||
Reference in New Issue
Block a user