me3-protocol 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +12 -0
- package/package.json +1 -1
- package/schema.json +25 -0
package/dist/index.d.ts
CHANGED
|
@@ -59,6 +59,14 @@ export interface Me3Footer {
|
|
|
59
59
|
/** Optional custom footer link */
|
|
60
60
|
link?: Me3FooterLink;
|
|
61
61
|
}
|
|
62
|
+
export interface Me3Verification {
|
|
63
|
+
/** Whether the author is a verified human */
|
|
64
|
+
verified: boolean;
|
|
65
|
+
/** The domain used for verification */
|
|
66
|
+
verifiedDomain?: string;
|
|
67
|
+
/** When verification occurred (ISO timestamp) */
|
|
68
|
+
verifiedAt?: string;
|
|
69
|
+
}
|
|
62
70
|
/**
|
|
63
71
|
* Newsletter subscription intent.
|
|
64
72
|
* When enabled, the site accepts email subscriptions via POST /api/subscribe
|
|
@@ -173,6 +181,10 @@ export interface Me3Profile {
|
|
|
173
181
|
* This is the API contract for interacting with the person.
|
|
174
182
|
*/
|
|
175
183
|
intents?: Me3Intents;
|
|
184
|
+
/**
|
|
185
|
+
* Human verification status (populated from account, not editable per-site)
|
|
186
|
+
*/
|
|
187
|
+
verification?: Me3Verification;
|
|
176
188
|
}
|
|
177
189
|
export interface ValidationError {
|
|
178
190
|
field: string;
|
package/package.json
CHANGED
package/schema.json
CHANGED
|
@@ -425,6 +425,10 @@
|
|
|
425
425
|
},
|
|
426
426
|
"type": "array"
|
|
427
427
|
},
|
|
428
|
+
"verification": {
|
|
429
|
+
"$ref": "#/definitions/Me3Verification",
|
|
430
|
+
"description": "Human verification status (populated from account, not editable per-site)"
|
|
431
|
+
},
|
|
428
432
|
"version": {
|
|
429
433
|
"description": "Protocol version",
|
|
430
434
|
"type": "string"
|
|
@@ -435,6 +439,27 @@
|
|
|
435
439
|
"name"
|
|
436
440
|
],
|
|
437
441
|
"type": "object"
|
|
442
|
+
},
|
|
443
|
+
"Me3Verification": {
|
|
444
|
+
"additionalProperties": false,
|
|
445
|
+
"properties": {
|
|
446
|
+
"verified": {
|
|
447
|
+
"description": "Whether the author is a verified human",
|
|
448
|
+
"type": "boolean"
|
|
449
|
+
},
|
|
450
|
+
"verifiedAt": {
|
|
451
|
+
"description": "When verification occurred (ISO timestamp)",
|
|
452
|
+
"type": "string"
|
|
453
|
+
},
|
|
454
|
+
"verifiedDomain": {
|
|
455
|
+
"description": "The domain used for verification",
|
|
456
|
+
"type": "string"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"required": [
|
|
460
|
+
"verified"
|
|
461
|
+
],
|
|
462
|
+
"type": "object"
|
|
438
463
|
}
|
|
439
464
|
}
|
|
440
465
|
}
|