@hypercerts-org/lexicon 0.10.0-beta.13 → 0.10.0-beta.14
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/CHANGELOG.md +43 -0
- package/SCHEMAS.md +46 -0
- package/dist/exports.d.ts +94 -7
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +94 -7
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +182 -18
- package/dist/generated/lexicons.d.ts.map +1 -1
- package/dist/generated/types/app/certified/actor/profile.d.ts +27 -0
- package/dist/generated/types/app/certified/actor/profile.d.ts.map +1 -0
- package/dist/generated/types/app/certified/defs.d.ts +11 -1
- package/dist/generated/types/app/certified/defs.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts +21 -3
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/index.cjs +345 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +337 -86
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +98 -9
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +182 -18
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +98 -9
- package/dist/lexicons.mjs.map +1 -1
- package/dist/types/app/certified/actor/profile.d.ts +27 -0
- package/dist/types/app/certified/actor/profile.d.ts.map +1 -0
- package/dist/types/app/certified/defs.d.ts +11 -1
- package/dist/types/app/certified/defs.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/activity.d.ts +21 -3
- package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/lexicons/app/certified/actor/profile.json +51 -0
- package/lexicons/app/certified/defs.json +11 -3
- package/lexicons/org/hypercerts/claim/activity.json +31 -8
- package/package.json +1 -1
|
@@ -3,6 +3,57 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Lexicons, type ValidationResult } from '@atproto/lexicon';
|
|
5
5
|
export declare const schemaDict: {
|
|
6
|
+
readonly AppCertifiedActorProfile: {
|
|
7
|
+
readonly lexicon: 1;
|
|
8
|
+
readonly id: "app.certified.actor.profile";
|
|
9
|
+
readonly defs: {
|
|
10
|
+
readonly main: {
|
|
11
|
+
readonly type: "record";
|
|
12
|
+
readonly description: "A declaration of a Hypercert account profile.";
|
|
13
|
+
readonly key: "literal:self";
|
|
14
|
+
readonly record: {
|
|
15
|
+
readonly type: "object";
|
|
16
|
+
readonly properties: {
|
|
17
|
+
readonly displayName: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
readonly maxGraphemes: 64;
|
|
20
|
+
readonly maxLength: 640;
|
|
21
|
+
};
|
|
22
|
+
readonly description: {
|
|
23
|
+
readonly type: "string";
|
|
24
|
+
readonly description: "Free-form profile description text.";
|
|
25
|
+
readonly maxGraphemes: 256;
|
|
26
|
+
readonly maxLength: 2560;
|
|
27
|
+
};
|
|
28
|
+
readonly pronouns: {
|
|
29
|
+
readonly type: "string";
|
|
30
|
+
readonly description: "Free-form pronouns text.";
|
|
31
|
+
readonly maxGraphemes: 20;
|
|
32
|
+
readonly maxLength: 200;
|
|
33
|
+
};
|
|
34
|
+
readonly website: {
|
|
35
|
+
readonly type: "string";
|
|
36
|
+
readonly format: "uri";
|
|
37
|
+
};
|
|
38
|
+
readonly avatar: {
|
|
39
|
+
readonly type: "union";
|
|
40
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
|
|
41
|
+
readonly description: "Small image to be displayed next to posts from account. AKA, 'profile picture'";
|
|
42
|
+
};
|
|
43
|
+
readonly banner: {
|
|
44
|
+
readonly type: "union";
|
|
45
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#largeImage"];
|
|
46
|
+
readonly description: "Larger horizontal image to display behind profile view.";
|
|
47
|
+
};
|
|
48
|
+
readonly createdAt: {
|
|
49
|
+
readonly type: "string";
|
|
50
|
+
readonly format: "datetime";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
6
57
|
readonly AppCertifiedBadgeAward: {
|
|
7
58
|
readonly lexicon: 1;
|
|
8
59
|
readonly id: "app.certified.badge.award";
|
|
@@ -129,9 +180,17 @@ export declare const schemaDict: {
|
|
|
129
180
|
readonly description: "Common type definitions used across certified protocols.";
|
|
130
181
|
readonly defs: {
|
|
131
182
|
readonly did: {
|
|
132
|
-
readonly type: "
|
|
133
|
-
readonly format: "did";
|
|
183
|
+
readonly type: "object";
|
|
134
184
|
readonly description: "A Decentralized Identifier (DID) string.";
|
|
185
|
+
readonly required: ["did"];
|
|
186
|
+
readonly properties: {
|
|
187
|
+
readonly did: {
|
|
188
|
+
readonly type: "string";
|
|
189
|
+
readonly format: "did";
|
|
190
|
+
readonly description: "The DID string value.";
|
|
191
|
+
readonly maxLength: 256;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
135
194
|
};
|
|
136
195
|
};
|
|
137
196
|
};
|
|
@@ -340,20 +399,43 @@ export declare const schemaDict: {
|
|
|
340
399
|
};
|
|
341
400
|
};
|
|
342
401
|
readonly contributorIdentity: {
|
|
343
|
-
readonly type: "
|
|
402
|
+
readonly type: "object";
|
|
344
403
|
readonly description: "Contributor information as a string (DID or identifier).";
|
|
404
|
+
readonly required: ["identity"];
|
|
405
|
+
readonly properties: {
|
|
406
|
+
readonly identity: {
|
|
407
|
+
readonly type: "string";
|
|
408
|
+
readonly description: "The contributor identity string (DID or identifier).";
|
|
409
|
+
readonly maxLength: 1000;
|
|
410
|
+
readonly maxGraphemes: 100;
|
|
411
|
+
};
|
|
412
|
+
};
|
|
345
413
|
};
|
|
346
414
|
readonly contributorRole: {
|
|
347
|
-
readonly type: "
|
|
415
|
+
readonly type: "object";
|
|
348
416
|
readonly description: "Contribution details as a string.";
|
|
349
|
-
readonly
|
|
350
|
-
readonly
|
|
417
|
+
readonly required: ["role"];
|
|
418
|
+
readonly properties: {
|
|
419
|
+
readonly role: {
|
|
420
|
+
readonly type: "string";
|
|
421
|
+
readonly description: "The contribution role or details.";
|
|
422
|
+
readonly maxLength: 1000;
|
|
423
|
+
readonly maxGraphemes: 100;
|
|
424
|
+
};
|
|
425
|
+
};
|
|
351
426
|
};
|
|
352
427
|
readonly workScopeString: {
|
|
353
|
-
readonly type: "
|
|
428
|
+
readonly type: "object";
|
|
354
429
|
readonly description: "A free-form string describing the work scope for simple or legacy scopes.";
|
|
355
|
-
readonly
|
|
356
|
-
readonly
|
|
430
|
+
readonly required: ["scope"];
|
|
431
|
+
readonly properties: {
|
|
432
|
+
readonly scope: {
|
|
433
|
+
readonly type: "string";
|
|
434
|
+
readonly description: "The work scope description string.";
|
|
435
|
+
readonly maxLength: 1000;
|
|
436
|
+
readonly maxGraphemes: 100;
|
|
437
|
+
};
|
|
438
|
+
};
|
|
357
439
|
};
|
|
358
440
|
};
|
|
359
441
|
};
|
|
@@ -1034,6 +1116,56 @@ export declare const schemaDict: {
|
|
|
1034
1116
|
};
|
|
1035
1117
|
};
|
|
1036
1118
|
export declare const schemas: ({
|
|
1119
|
+
readonly lexicon: 1;
|
|
1120
|
+
readonly id: "app.certified.actor.profile";
|
|
1121
|
+
readonly defs: {
|
|
1122
|
+
readonly main: {
|
|
1123
|
+
readonly type: "record";
|
|
1124
|
+
readonly description: "A declaration of a Hypercert account profile.";
|
|
1125
|
+
readonly key: "literal:self";
|
|
1126
|
+
readonly record: {
|
|
1127
|
+
readonly type: "object";
|
|
1128
|
+
readonly properties: {
|
|
1129
|
+
readonly displayName: {
|
|
1130
|
+
readonly type: "string";
|
|
1131
|
+
readonly maxGraphemes: 64;
|
|
1132
|
+
readonly maxLength: 640;
|
|
1133
|
+
};
|
|
1134
|
+
readonly description: {
|
|
1135
|
+
readonly type: "string";
|
|
1136
|
+
readonly description: "Free-form profile description text.";
|
|
1137
|
+
readonly maxGraphemes: 256;
|
|
1138
|
+
readonly maxLength: 2560;
|
|
1139
|
+
};
|
|
1140
|
+
readonly pronouns: {
|
|
1141
|
+
readonly type: "string";
|
|
1142
|
+
readonly description: "Free-form pronouns text.";
|
|
1143
|
+
readonly maxGraphemes: 20;
|
|
1144
|
+
readonly maxLength: 200;
|
|
1145
|
+
};
|
|
1146
|
+
readonly website: {
|
|
1147
|
+
readonly type: "string";
|
|
1148
|
+
readonly format: "uri";
|
|
1149
|
+
};
|
|
1150
|
+
readonly avatar: {
|
|
1151
|
+
readonly type: "union";
|
|
1152
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
|
|
1153
|
+
readonly description: "Small image to be displayed next to posts from account. AKA, 'profile picture'";
|
|
1154
|
+
};
|
|
1155
|
+
readonly banner: {
|
|
1156
|
+
readonly type: "union";
|
|
1157
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#largeImage"];
|
|
1158
|
+
readonly description: "Larger horizontal image to display behind profile view.";
|
|
1159
|
+
};
|
|
1160
|
+
readonly createdAt: {
|
|
1161
|
+
readonly type: "string";
|
|
1162
|
+
readonly format: "datetime";
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
} | {
|
|
1037
1169
|
readonly lexicon: 1;
|
|
1038
1170
|
readonly id: "app.certified.badge.award";
|
|
1039
1171
|
readonly defs: {
|
|
@@ -1156,9 +1288,17 @@ export declare const schemas: ({
|
|
|
1156
1288
|
readonly description: "Common type definitions used across certified protocols.";
|
|
1157
1289
|
readonly defs: {
|
|
1158
1290
|
readonly did: {
|
|
1159
|
-
readonly type: "
|
|
1160
|
-
readonly format: "did";
|
|
1291
|
+
readonly type: "object";
|
|
1161
1292
|
readonly description: "A Decentralized Identifier (DID) string.";
|
|
1293
|
+
readonly required: ["did"];
|
|
1294
|
+
readonly properties: {
|
|
1295
|
+
readonly did: {
|
|
1296
|
+
readonly type: "string";
|
|
1297
|
+
readonly format: "did";
|
|
1298
|
+
readonly description: "The DID string value.";
|
|
1299
|
+
readonly maxLength: 256;
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1162
1302
|
};
|
|
1163
1303
|
};
|
|
1164
1304
|
} | {
|
|
@@ -1364,20 +1504,43 @@ export declare const schemas: ({
|
|
|
1364
1504
|
};
|
|
1365
1505
|
};
|
|
1366
1506
|
readonly contributorIdentity: {
|
|
1367
|
-
readonly type: "
|
|
1507
|
+
readonly type: "object";
|
|
1368
1508
|
readonly description: "Contributor information as a string (DID or identifier).";
|
|
1509
|
+
readonly required: ["identity"];
|
|
1510
|
+
readonly properties: {
|
|
1511
|
+
readonly identity: {
|
|
1512
|
+
readonly type: "string";
|
|
1513
|
+
readonly description: "The contributor identity string (DID or identifier).";
|
|
1514
|
+
readonly maxLength: 1000;
|
|
1515
|
+
readonly maxGraphemes: 100;
|
|
1516
|
+
};
|
|
1517
|
+
};
|
|
1369
1518
|
};
|
|
1370
1519
|
readonly contributorRole: {
|
|
1371
|
-
readonly type: "
|
|
1520
|
+
readonly type: "object";
|
|
1372
1521
|
readonly description: "Contribution details as a string.";
|
|
1373
|
-
readonly
|
|
1374
|
-
readonly
|
|
1522
|
+
readonly required: ["role"];
|
|
1523
|
+
readonly properties: {
|
|
1524
|
+
readonly role: {
|
|
1525
|
+
readonly type: "string";
|
|
1526
|
+
readonly description: "The contribution role or details.";
|
|
1527
|
+
readonly maxLength: 1000;
|
|
1528
|
+
readonly maxGraphemes: 100;
|
|
1529
|
+
};
|
|
1530
|
+
};
|
|
1375
1531
|
};
|
|
1376
1532
|
readonly workScopeString: {
|
|
1377
|
-
readonly type: "
|
|
1533
|
+
readonly type: "object";
|
|
1378
1534
|
readonly description: "A free-form string describing the work scope for simple or legacy scopes.";
|
|
1379
|
-
readonly
|
|
1380
|
-
readonly
|
|
1535
|
+
readonly required: ["scope"];
|
|
1536
|
+
readonly properties: {
|
|
1537
|
+
readonly scope: {
|
|
1538
|
+
readonly type: "string";
|
|
1539
|
+
readonly description: "The work scope description string.";
|
|
1540
|
+
readonly maxLength: 1000;
|
|
1541
|
+
readonly maxGraphemes: 100;
|
|
1542
|
+
};
|
|
1543
|
+
};
|
|
1381
1544
|
};
|
|
1382
1545
|
};
|
|
1383
1546
|
} | {
|
|
@@ -2054,6 +2217,7 @@ export declare function validate<T extends {
|
|
|
2054
2217
|
$type?: string;
|
|
2055
2218
|
}>(v: unknown, id: string, hash: string, requiredType?: false): ValidationResult<T>;
|
|
2056
2219
|
export declare const ids: {
|
|
2220
|
+
readonly AppCertifiedActorProfile: "app.certified.actor.profile";
|
|
2057
2221
|
readonly AppCertifiedBadgeAward: "app.certified.badge.award";
|
|
2058
2222
|
readonly AppCertifiedBadgeDefinition: "app.certified.badge.definition";
|
|
2059
2223
|
readonly AppCertifiedBadgeResponse: "app.certified.badge.response";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lexicons.d.ts","sourceRoot":"","sources":["../../generated/lexicons.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,QAAQ,EAER,KAAK,gBAAgB,EACtB,MAAM,kBAAkB,CAAA;AAGzB,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"lexicons.d.ts","sourceRoot":"","sources":["../../generated/lexicons.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,QAAQ,EAER,KAAK,gBAAgB,EACtB,MAAM,kBAAkB,CAAA;AAGzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,CAAC,SAAS;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,EAClD,CAAC,EAAE,OAAO,EACV,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,IAAI,GACjB,gBAAgB,CAAC,CAAC,CAAC,CAAA;AACtB,wBAAgB,QAAQ,CAAC,CAAC,SAAS;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,EACnD,CAAC,EAAE,OAAO,EACV,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,YAAY,CAAC,EAAE,KAAK,GACnB,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAiBtB,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;CAqBN,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import { type $Typed } from '../../../../util';
|
|
6
|
+
import type * as OrgHypercertsDefs from '../../../org/hypercerts/defs.js';
|
|
7
|
+
export interface Main {
|
|
8
|
+
$type: 'app.certified.actor.profile';
|
|
9
|
+
displayName?: string;
|
|
10
|
+
/** Free-form profile description text. */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Free-form pronouns text. */
|
|
13
|
+
pronouns?: string;
|
|
14
|
+
website?: string;
|
|
15
|
+
avatar?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
16
|
+
$type: string;
|
|
17
|
+
};
|
|
18
|
+
banner?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.LargeImage> | {
|
|
19
|
+
$type: string;
|
|
20
|
+
};
|
|
21
|
+
createdAt?: string;
|
|
22
|
+
[k: string]: unknown;
|
|
23
|
+
}
|
|
24
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.actor.profile", "main">;
|
|
25
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
26
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
27
|
+
//# sourceMappingURL=profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/app/certified/actor/profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,iBAAiB,MAAM,iCAAiC,CAAA;AAMzE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,6BAA6B,CAAA;IACpC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
1
5
|
/** A Decentralized Identifier (DID) string. */
|
|
2
|
-
export
|
|
6
|
+
export interface Did {
|
|
7
|
+
$type?: 'app.certified.defs#did';
|
|
8
|
+
/** The DID string value. */
|
|
9
|
+
did: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function isDid<V>(v: V): v is import("../../../util").$TypedObject<V, "app.certified.defs", "did">;
|
|
12
|
+
export declare function validateDid<V>(v: V): ValidationResult<Did & V>;
|
|
3
13
|
//# sourceMappingURL=defs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/defs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AASjE,+CAA+C;AAC/C,MAAM,WAAW,GAAG;IAClB,KAAK,CAAC,EAAE,wBAAwB,CAAA;IAChC,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6EAE5B;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6BAElC"}
|
|
@@ -54,9 +54,27 @@ export interface Contributor {
|
|
|
54
54
|
export declare function isContributor<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "contributor">;
|
|
55
55
|
export declare function validateContributor<V>(v: V): ValidationResult<Contributor & V>;
|
|
56
56
|
/** Contributor information as a string (DID or identifier). */
|
|
57
|
-
export
|
|
57
|
+
export interface ContributorIdentity {
|
|
58
|
+
$type?: 'org.hypercerts.claim.activity#contributorIdentity';
|
|
59
|
+
/** The contributor identity string (DID or identifier). */
|
|
60
|
+
identity: string;
|
|
61
|
+
}
|
|
62
|
+
export declare function isContributorIdentity<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "contributorIdentity">;
|
|
63
|
+
export declare function validateContributorIdentity<V>(v: V): ValidationResult<ContributorIdentity & V>;
|
|
58
64
|
/** Contribution details as a string. */
|
|
59
|
-
export
|
|
65
|
+
export interface ContributorRole {
|
|
66
|
+
$type?: 'org.hypercerts.claim.activity#contributorRole';
|
|
67
|
+
/** The contribution role or details. */
|
|
68
|
+
role: string;
|
|
69
|
+
}
|
|
70
|
+
export declare function isContributorRole<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "contributorRole">;
|
|
71
|
+
export declare function validateContributorRole<V>(v: V): ValidationResult<ContributorRole & V>;
|
|
60
72
|
/** A free-form string describing the work scope for simple or legacy scopes. */
|
|
61
|
-
export
|
|
73
|
+
export interface WorkScopeString {
|
|
74
|
+
$type?: 'org.hypercerts.claim.activity#workScopeString';
|
|
75
|
+
/** The work scope description string. */
|
|
76
|
+
scope: string;
|
|
77
|
+
}
|
|
78
|
+
export declare function isWorkScopeString<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "workScopeString">;
|
|
79
|
+
export declare function validateWorkScopeString<V>(v: V): ValidationResult<WorkScopeString & V>;
|
|
62
80
|
//# sourceMappingURL=activity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/activity.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL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,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,2CAA2C,CAAA;IACnD,mBAAmB,EACf,MAAM,CAAC,mBAAmB,CAAC,GAC3B,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,yQAAyQ;IACzQ,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,mBAAmB,CAAC,EAChB,MAAM,CAAC,eAAe,CAAC,GACvB,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACtB;AAID,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mGAEpC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C;AAED,+DAA+D;AAC/D,MAAM,
|
|
1
|
+
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/activity.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,oBAAoB,MAAM,qCAAqC,CAAA;AAChF,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,+BAA+B,CAAA;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