@hypercerts-org/lexicon 0.10.0-beta.5 → 0.10.0-beta.6
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 +25 -0
- package/SCHEMAS.md +21 -13
- package/dist/exports.d.ts +79 -22
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +79 -22
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +150 -46
- package/dist/generated/lexicons.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts +19 -2
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/contributionDetails.d.ts +22 -0
- package/dist/generated/types/org/hypercerts/claim/contributionDetails.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/claim/{contributor.d.ts → contributorInformation.d.ts} +3 -11
- package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -0
- package/dist/index.cjs +341 -180
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +329 -172
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +86 -27
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +150 -46
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +86 -27
- package/dist/lexicons.mjs.map +1 -1
- package/dist/types/org/hypercerts/claim/activity.d.ts +19 -2
- package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/contributionDetails.d.ts +22 -0
- package/dist/types/org/hypercerts/claim/contributionDetails.d.ts.map +1 -0
- package/dist/types/org/hypercerts/claim/{contributor.d.ts → contributorInformation.d.ts} +3 -11
- package/dist/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -0
- package/lexicons/org/hypercerts/claim/activity.json +33 -3
- package/lexicons/org/hypercerts/claim/{contributor.json → contributionDetails.json} +5 -22
- package/lexicons/org/hypercerts/claim/contributorInformation.json +39 -0
- package/package.json +2 -2
- package/dist/generated/types/org/hypercerts/claim/contributor.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/contributor.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -16,7 +16,7 @@ function is$type($type, id, hash) {
|
|
|
16
16
|
$type.startsWith(id) &&
|
|
17
17
|
$type.endsWith(hash);
|
|
18
18
|
}
|
|
19
|
-
function is$typed$
|
|
19
|
+
function is$typed$f(v, id, hash) {
|
|
20
20
|
return isObject(v) && '$type' in v && is$type(v.$type, id, hash);
|
|
21
21
|
}
|
|
22
22
|
function maybe$typed(v, id, hash) {
|
|
@@ -315,12 +315,12 @@ const schemaDict = {
|
|
|
315
315
|
format: 'datetime',
|
|
316
316
|
description: 'When the work ended',
|
|
317
317
|
},
|
|
318
|
-
|
|
318
|
+
contributors: {
|
|
319
319
|
type: 'array',
|
|
320
|
-
description: '
|
|
320
|
+
description: 'An array of contributor objects, each containing contributor information, weight, and contribution details.',
|
|
321
321
|
items: {
|
|
322
322
|
type: 'ref',
|
|
323
|
-
ref: 'lex:
|
|
323
|
+
ref: 'lex:org.hypercerts.claim.activity#contributor',
|
|
324
324
|
},
|
|
325
325
|
},
|
|
326
326
|
rights: {
|
|
@@ -344,6 +344,42 @@ const schemaDict = {
|
|
|
344
344
|
},
|
|
345
345
|
},
|
|
346
346
|
},
|
|
347
|
+
contributor: {
|
|
348
|
+
type: 'object',
|
|
349
|
+
required: ['contributorInformation'],
|
|
350
|
+
properties: {
|
|
351
|
+
contributorInformation: {
|
|
352
|
+
type: 'union',
|
|
353
|
+
refs: [
|
|
354
|
+
'lex:org.hypercerts.claim.activity#contributorIdentity',
|
|
355
|
+
'lex:com.atproto.repo.strongRef',
|
|
356
|
+
],
|
|
357
|
+
description: 'Contributor information as a string (DID or identifier) or strong reference to for instance org.hypercerts.claim.contributorInformation#main.',
|
|
358
|
+
},
|
|
359
|
+
weight: {
|
|
360
|
+
type: 'string',
|
|
361
|
+
description: 'The relative weight/importance of this contribution (stored as a string to avoid float precision issues). Must be a positive numeric value. Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed.',
|
|
362
|
+
},
|
|
363
|
+
contributionDetails: {
|
|
364
|
+
type: 'union',
|
|
365
|
+
refs: [
|
|
366
|
+
'lex:org.hypercerts.claim.activity#contributorRole',
|
|
367
|
+
'lex:com.atproto.repo.strongRef',
|
|
368
|
+
],
|
|
369
|
+
description: 'Contribution details as a string or strong reference to org.hypercerts.claim.contributionDetails#main.',
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
contributorIdentity: {
|
|
374
|
+
type: 'string',
|
|
375
|
+
description: 'Contributor information as a string (DID or identifier).',
|
|
376
|
+
},
|
|
377
|
+
contributorRole: {
|
|
378
|
+
type: 'string',
|
|
379
|
+
description: 'Contribution details as a string.',
|
|
380
|
+
maxLength: 10000,
|
|
381
|
+
maxGraphemes: 1000,
|
|
382
|
+
},
|
|
347
383
|
activityWeight: {
|
|
348
384
|
type: 'object',
|
|
349
385
|
required: ['activity', 'weight'],
|
|
@@ -412,35 +448,18 @@ const schemaDict = {
|
|
|
412
448
|
},
|
|
413
449
|
},
|
|
414
450
|
},
|
|
415
|
-
|
|
451
|
+
OrgHypercertsClaimContributionDetails: {
|
|
416
452
|
lexicon: 1,
|
|
417
|
-
id: 'org.hypercerts.claim.
|
|
453
|
+
id: 'org.hypercerts.claim.contributionDetails',
|
|
418
454
|
defs: {
|
|
419
455
|
main: {
|
|
420
456
|
type: 'record',
|
|
421
|
-
description:
|
|
457
|
+
description: 'Details about a specific contribution including role, description, and timeframe.',
|
|
422
458
|
key: 'tid',
|
|
423
459
|
record: {
|
|
424
460
|
type: 'object',
|
|
425
461
|
required: ['createdAt'],
|
|
426
462
|
properties: {
|
|
427
|
-
identifier: {
|
|
428
|
-
type: 'string',
|
|
429
|
-
description: 'DID or a URI to a social profile of the contributor.',
|
|
430
|
-
},
|
|
431
|
-
displayName: {
|
|
432
|
-
type: 'string',
|
|
433
|
-
description: 'Display name of the contributor.',
|
|
434
|
-
maxLength: 100,
|
|
435
|
-
},
|
|
436
|
-
image: {
|
|
437
|
-
type: 'union',
|
|
438
|
-
refs: [
|
|
439
|
-
'lex:org.hypercerts.defs#uri',
|
|
440
|
-
'lex:org.hypercerts.defs#smallImage',
|
|
441
|
-
],
|
|
442
|
-
description: 'The contributor visual representation as a URI or image blob.',
|
|
443
|
-
},
|
|
444
463
|
role: {
|
|
445
464
|
type: 'string',
|
|
446
465
|
description: 'Role or title of the contributor.',
|
|
@@ -448,9 +467,9 @@ const schemaDict = {
|
|
|
448
467
|
},
|
|
449
468
|
contributionDescription: {
|
|
450
469
|
type: 'string',
|
|
451
|
-
description: 'What the contribution concretely
|
|
452
|
-
maxLength:
|
|
453
|
-
maxGraphemes:
|
|
470
|
+
description: 'What the contribution concretely was.',
|
|
471
|
+
maxLength: 10000,
|
|
472
|
+
maxGraphemes: 1000,
|
|
454
473
|
},
|
|
455
474
|
startDate: {
|
|
456
475
|
type: 'string',
|
|
@@ -472,6 +491,45 @@ const schemaDict = {
|
|
|
472
491
|
},
|
|
473
492
|
},
|
|
474
493
|
},
|
|
494
|
+
OrgHypercertsClaimContributorInformation: {
|
|
495
|
+
lexicon: 1,
|
|
496
|
+
id: 'org.hypercerts.claim.contributorInformation',
|
|
497
|
+
defs: {
|
|
498
|
+
main: {
|
|
499
|
+
type: 'record',
|
|
500
|
+
description: 'Contributor information including identifier, display name, and image.',
|
|
501
|
+
key: 'tid',
|
|
502
|
+
record: {
|
|
503
|
+
type: 'object',
|
|
504
|
+
required: ['createdAt'],
|
|
505
|
+
properties: {
|
|
506
|
+
identifier: {
|
|
507
|
+
type: 'string',
|
|
508
|
+
description: 'DID or a URI to a social profile of the contributor.',
|
|
509
|
+
},
|
|
510
|
+
displayName: {
|
|
511
|
+
type: 'string',
|
|
512
|
+
description: 'Display name of the contributor.',
|
|
513
|
+
maxLength: 100,
|
|
514
|
+
},
|
|
515
|
+
image: {
|
|
516
|
+
type: 'union',
|
|
517
|
+
refs: [
|
|
518
|
+
'lex:org.hypercerts.defs#uri',
|
|
519
|
+
'lex:org.hypercerts.defs#smallImage',
|
|
520
|
+
],
|
|
521
|
+
description: 'The contributor visual representation as a URI or image blob.',
|
|
522
|
+
},
|
|
523
|
+
createdAt: {
|
|
524
|
+
type: 'string',
|
|
525
|
+
format: 'datetime',
|
|
526
|
+
description: 'Client-declared timestamp when this record was originally created.',
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
},
|
|
531
|
+
},
|
|
532
|
+
},
|
|
475
533
|
OrgHypercertsClaimEvaluation: {
|
|
476
534
|
lexicon: 1,
|
|
477
535
|
id: 'org.hypercerts.claim.evaluation',
|
|
@@ -880,8 +938,8 @@ const schemaDict = {
|
|
|
880
938
|
};
|
|
881
939
|
const schemas = Object.values(schemaDict);
|
|
882
940
|
const lexicons = new Lexicons(schemas);
|
|
883
|
-
function validate$
|
|
884
|
-
return (requiredType ? is$typed$
|
|
941
|
+
function validate$f(v, id, hash, requiredType) {
|
|
942
|
+
return (requiredType ? is$typed$f : maybe$typed)(v, id, hash)
|
|
885
943
|
? lexicons.validate(`${id}#${hash}`, v)
|
|
886
944
|
: {
|
|
887
945
|
success: false,
|
|
@@ -897,7 +955,8 @@ const ids = {
|
|
|
897
955
|
ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
|
|
898
956
|
OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',
|
|
899
957
|
OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',
|
|
900
|
-
|
|
958
|
+
OrgHypercertsClaimContributionDetails: 'org.hypercerts.claim.contributionDetails',
|
|
959
|
+
OrgHypercertsClaimContributorInformation: 'org.hypercerts.claim.contributorInformation',
|
|
901
960
|
OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',
|
|
902
961
|
OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',
|
|
903
962
|
OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',
|
|
@@ -906,9 +965,9 @@ const ids = {
|
|
|
906
965
|
OrgHypercertsFundingReceipt: 'org.hypercerts.funding.receipt',
|
|
907
966
|
};
|
|
908
967
|
|
|
909
|
-
var lexicon$
|
|
910
|
-
var id$
|
|
911
|
-
var defs$
|
|
968
|
+
var lexicon$f = 1;
|
|
969
|
+
var id$u = "app.certified.badge.award";
|
|
970
|
+
var defs$h = {
|
|
912
971
|
main: {
|
|
913
972
|
type: "record",
|
|
914
973
|
description: "Records a badge award to a user, project, or activity claim.",
|
|
@@ -948,14 +1007,14 @@ var defs$g = {
|
|
|
948
1007
|
}
|
|
949
1008
|
};
|
|
950
1009
|
var BADGE_AWARD_LEXICON_JSON = {
|
|
951
|
-
lexicon: lexicon$
|
|
952
|
-
id: id$
|
|
953
|
-
defs: defs$
|
|
1010
|
+
lexicon: lexicon$f,
|
|
1011
|
+
id: id$u,
|
|
1012
|
+
defs: defs$h
|
|
954
1013
|
};
|
|
955
1014
|
|
|
956
|
-
var lexicon$
|
|
957
|
-
var id$
|
|
958
|
-
var defs$
|
|
1015
|
+
var lexicon$e = 1;
|
|
1016
|
+
var id$t = "app.certified.badge.definition";
|
|
1017
|
+
var defs$g = {
|
|
959
1018
|
main: {
|
|
960
1019
|
type: "record",
|
|
961
1020
|
description: "Defines a badge that can be awarded via badge award records to users, projects, or activity claims.",
|
|
@@ -1010,14 +1069,14 @@ var defs$f = {
|
|
|
1010
1069
|
}
|
|
1011
1070
|
};
|
|
1012
1071
|
var BADGE_DEFINITION_LEXICON_JSON = {
|
|
1013
|
-
lexicon: lexicon$
|
|
1014
|
-
id: id$
|
|
1015
|
-
defs: defs$
|
|
1072
|
+
lexicon: lexicon$e,
|
|
1073
|
+
id: id$t,
|
|
1074
|
+
defs: defs$g
|
|
1016
1075
|
};
|
|
1017
1076
|
|
|
1018
|
-
var lexicon$
|
|
1019
|
-
var id$
|
|
1020
|
-
var defs$
|
|
1077
|
+
var lexicon$d = 1;
|
|
1078
|
+
var id$s = "app.certified.badge.response";
|
|
1079
|
+
var defs$f = {
|
|
1021
1080
|
main: {
|
|
1022
1081
|
type: "record",
|
|
1023
1082
|
description: "Recipient response to a badge award.",
|
|
@@ -1057,15 +1116,15 @@ var defs$e = {
|
|
|
1057
1116
|
}
|
|
1058
1117
|
};
|
|
1059
1118
|
var BADGE_RESPONSE_LEXICON_JSON = {
|
|
1060
|
-
lexicon: lexicon$
|
|
1061
|
-
id: id$
|
|
1062
|
-
defs: defs$
|
|
1119
|
+
lexicon: lexicon$d,
|
|
1120
|
+
id: id$s,
|
|
1121
|
+
defs: defs$f
|
|
1063
1122
|
};
|
|
1064
1123
|
|
|
1065
|
-
var lexicon$
|
|
1066
|
-
var id$
|
|
1124
|
+
var lexicon$c = 1;
|
|
1125
|
+
var id$r = "app.certified.defs";
|
|
1067
1126
|
var description$1 = "Common type definitions used across certified protocols.";
|
|
1068
|
-
var defs$
|
|
1127
|
+
var defs$e = {
|
|
1069
1128
|
did: {
|
|
1070
1129
|
type: "string",
|
|
1071
1130
|
format: "did",
|
|
@@ -1073,15 +1132,15 @@ var defs$d = {
|
|
|
1073
1132
|
}
|
|
1074
1133
|
};
|
|
1075
1134
|
var CERTIFIED_DEFS_LEXICON_JSON = {
|
|
1076
|
-
lexicon: lexicon$
|
|
1077
|
-
id: id$
|
|
1135
|
+
lexicon: lexicon$c,
|
|
1136
|
+
id: id$r,
|
|
1078
1137
|
description: description$1,
|
|
1079
|
-
defs: defs$
|
|
1138
|
+
defs: defs$e
|
|
1080
1139
|
};
|
|
1081
1140
|
|
|
1082
|
-
var lexicon$
|
|
1083
|
-
var id$
|
|
1084
|
-
var defs$
|
|
1141
|
+
var lexicon$b = 1;
|
|
1142
|
+
var id$q = "app.certified.location";
|
|
1143
|
+
var defs$d = {
|
|
1085
1144
|
main: {
|
|
1086
1145
|
type: "record",
|
|
1087
1146
|
description: "A location reference",
|
|
@@ -1146,15 +1205,15 @@ var defs$c = {
|
|
|
1146
1205
|
}
|
|
1147
1206
|
};
|
|
1148
1207
|
var LOCATION_LEXICON_JSON = {
|
|
1149
|
-
lexicon: lexicon$
|
|
1150
|
-
id: id$
|
|
1151
|
-
defs: defs$
|
|
1208
|
+
lexicon: lexicon$b,
|
|
1209
|
+
id: id$q,
|
|
1210
|
+
defs: defs$d
|
|
1152
1211
|
};
|
|
1153
1212
|
|
|
1154
|
-
var lexicon$
|
|
1155
|
-
var id$
|
|
1213
|
+
var lexicon$a = 1;
|
|
1214
|
+
var id$p = "com.atproto.repo.strongRef";
|
|
1156
1215
|
var description = "A URI with a content-hash fingerprint.";
|
|
1157
|
-
var defs$
|
|
1216
|
+
var defs$c = {
|
|
1158
1217
|
main: {
|
|
1159
1218
|
type: "object",
|
|
1160
1219
|
required: [
|
|
@@ -1174,15 +1233,15 @@ var defs$b = {
|
|
|
1174
1233
|
}
|
|
1175
1234
|
};
|
|
1176
1235
|
var STRONGREF_LEXICON_JSON = {
|
|
1177
|
-
lexicon: lexicon$
|
|
1178
|
-
id: id$
|
|
1236
|
+
lexicon: lexicon$a,
|
|
1237
|
+
id: id$p,
|
|
1179
1238
|
description: description,
|
|
1180
|
-
defs: defs$
|
|
1239
|
+
defs: defs$c
|
|
1181
1240
|
};
|
|
1182
1241
|
|
|
1183
|
-
var lexicon$
|
|
1184
|
-
var id$
|
|
1185
|
-
var defs$
|
|
1242
|
+
var lexicon$9 = 1;
|
|
1243
|
+
var id$o = "org.hypercerts.claim.activity";
|
|
1244
|
+
var defs$b = {
|
|
1186
1245
|
main: {
|
|
1187
1246
|
type: "record",
|
|
1188
1247
|
description: "A hypercert record tracking impact work.",
|
|
@@ -1235,12 +1294,12 @@ var defs$a = {
|
|
|
1235
1294
|
format: "datetime",
|
|
1236
1295
|
description: "When the work ended"
|
|
1237
1296
|
},
|
|
1238
|
-
|
|
1297
|
+
contributors: {
|
|
1239
1298
|
type: "array",
|
|
1240
|
-
description: "
|
|
1299
|
+
description: "An array of contributor objects, each containing contributor information, weight, and contribution details.",
|
|
1241
1300
|
items: {
|
|
1242
1301
|
type: "ref",
|
|
1243
|
-
ref: "
|
|
1302
|
+
ref: "#contributor"
|
|
1244
1303
|
}
|
|
1245
1304
|
},
|
|
1246
1305
|
rights: {
|
|
@@ -1264,6 +1323,44 @@ var defs$a = {
|
|
|
1264
1323
|
}
|
|
1265
1324
|
}
|
|
1266
1325
|
},
|
|
1326
|
+
contributor: {
|
|
1327
|
+
type: "object",
|
|
1328
|
+
required: [
|
|
1329
|
+
"contributorInformation"
|
|
1330
|
+
],
|
|
1331
|
+
properties: {
|
|
1332
|
+
contributorInformation: {
|
|
1333
|
+
type: "union",
|
|
1334
|
+
refs: [
|
|
1335
|
+
"#contributorIdentity",
|
|
1336
|
+
"com.atproto.repo.strongRef"
|
|
1337
|
+
],
|
|
1338
|
+
description: "Contributor information as a string (DID or identifier) or strong reference to for instance org.hypercerts.claim.contributorInformation#main."
|
|
1339
|
+
},
|
|
1340
|
+
weight: {
|
|
1341
|
+
type: "string",
|
|
1342
|
+
description: "The relative weight/importance of this contribution (stored as a string to avoid float precision issues). Must be a positive numeric value. Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed."
|
|
1343
|
+
},
|
|
1344
|
+
contributionDetails: {
|
|
1345
|
+
type: "union",
|
|
1346
|
+
refs: [
|
|
1347
|
+
"#contributorRole",
|
|
1348
|
+
"com.atproto.repo.strongRef"
|
|
1349
|
+
],
|
|
1350
|
+
description: "Contribution details as a string or strong reference to org.hypercerts.claim.contributionDetails#main."
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
},
|
|
1354
|
+
contributorIdentity: {
|
|
1355
|
+
type: "string",
|
|
1356
|
+
description: "Contributor information as a string (DID or identifier)."
|
|
1357
|
+
},
|
|
1358
|
+
contributorRole: {
|
|
1359
|
+
type: "string",
|
|
1360
|
+
description: "Contribution details as a string.",
|
|
1361
|
+
maxLength: 10000,
|
|
1362
|
+
maxGraphemes: 1000
|
|
1363
|
+
},
|
|
1267
1364
|
activityWeight: {
|
|
1268
1365
|
type: "object",
|
|
1269
1366
|
required: [
|
|
@@ -1284,14 +1381,14 @@ var defs$a = {
|
|
|
1284
1381
|
}
|
|
1285
1382
|
};
|
|
1286
1383
|
var ACTIVITY_LEXICON_JSON = {
|
|
1287
|
-
lexicon: lexicon$
|
|
1288
|
-
id: id$
|
|
1289
|
-
defs: defs$
|
|
1384
|
+
lexicon: lexicon$9,
|
|
1385
|
+
id: id$o,
|
|
1386
|
+
defs: defs$b
|
|
1290
1387
|
};
|
|
1291
1388
|
|
|
1292
|
-
var lexicon$
|
|
1293
|
-
var id$
|
|
1294
|
-
var defs$
|
|
1389
|
+
var lexicon$8 = 1;
|
|
1390
|
+
var id$n = "org.hypercerts.claim.collection";
|
|
1391
|
+
var defs$a = {
|
|
1295
1392
|
main: {
|
|
1296
1393
|
type: "record",
|
|
1297
1394
|
description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting. Use app.certified.location as a sidecar (same TID) for location metadata.",
|
|
@@ -1343,17 +1440,66 @@ var defs$9 = {
|
|
|
1343
1440
|
}
|
|
1344
1441
|
};
|
|
1345
1442
|
var COLLECTION_LEXICON_JSON = {
|
|
1443
|
+
lexicon: lexicon$8,
|
|
1444
|
+
id: id$n,
|
|
1445
|
+
defs: defs$a
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
var lexicon$7 = 1;
|
|
1449
|
+
var id$m = "org.hypercerts.claim.contributionDetails";
|
|
1450
|
+
var defs$9 = {
|
|
1451
|
+
main: {
|
|
1452
|
+
type: "record",
|
|
1453
|
+
description: "Details about a specific contribution including role, description, and timeframe.",
|
|
1454
|
+
key: "tid",
|
|
1455
|
+
record: {
|
|
1456
|
+
type: "object",
|
|
1457
|
+
required: [
|
|
1458
|
+
"createdAt"
|
|
1459
|
+
],
|
|
1460
|
+
properties: {
|
|
1461
|
+
role: {
|
|
1462
|
+
type: "string",
|
|
1463
|
+
description: "Role or title of the contributor.",
|
|
1464
|
+
maxLength: 100
|
|
1465
|
+
},
|
|
1466
|
+
contributionDescription: {
|
|
1467
|
+
type: "string",
|
|
1468
|
+
description: "What the contribution concretely was.",
|
|
1469
|
+
maxLength: 10000,
|
|
1470
|
+
maxGraphemes: 1000
|
|
1471
|
+
},
|
|
1472
|
+
startDate: {
|
|
1473
|
+
type: "string",
|
|
1474
|
+
format: "datetime",
|
|
1475
|
+
description: "When this contribution started. This should be a subset of the hypercert timeframe."
|
|
1476
|
+
},
|
|
1477
|
+
endDate: {
|
|
1478
|
+
type: "string",
|
|
1479
|
+
format: "datetime",
|
|
1480
|
+
description: "When this contribution finished. This should be a subset of the hypercert timeframe."
|
|
1481
|
+
},
|
|
1482
|
+
createdAt: {
|
|
1483
|
+
type: "string",
|
|
1484
|
+
format: "datetime",
|
|
1485
|
+
description: "Client-declared timestamp when this record was originally created."
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
};
|
|
1491
|
+
var CONTRIBUTIONDETAILS_LEXICON_JSON = {
|
|
1346
1492
|
lexicon: lexicon$7,
|
|
1347
|
-
id: id$
|
|
1493
|
+
id: id$m,
|
|
1348
1494
|
defs: defs$9
|
|
1349
1495
|
};
|
|
1350
1496
|
|
|
1351
1497
|
var lexicon$6 = 1;
|
|
1352
|
-
var id$
|
|
1498
|
+
var id$l = "org.hypercerts.claim.contributorInformation";
|
|
1353
1499
|
var defs$8 = {
|
|
1354
1500
|
main: {
|
|
1355
1501
|
type: "record",
|
|
1356
|
-
description: "
|
|
1502
|
+
description: "Contributor information including identifier, display name, and image.",
|
|
1357
1503
|
key: "tid",
|
|
1358
1504
|
record: {
|
|
1359
1505
|
type: "object",
|
|
@@ -1378,27 +1524,6 @@ var defs$8 = {
|
|
|
1378
1524
|
],
|
|
1379
1525
|
description: "The contributor visual representation as a URI or image blob."
|
|
1380
1526
|
},
|
|
1381
|
-
role: {
|
|
1382
|
-
type: "string",
|
|
1383
|
-
description: "Role or title of the contributor.",
|
|
1384
|
-
maxLength: 100
|
|
1385
|
-
},
|
|
1386
|
-
contributionDescription: {
|
|
1387
|
-
type: "string",
|
|
1388
|
-
description: "What the contribution concretely achieved.",
|
|
1389
|
-
maxLength: 2000,
|
|
1390
|
-
maxGraphemes: 500
|
|
1391
|
-
},
|
|
1392
|
-
startDate: {
|
|
1393
|
-
type: "string",
|
|
1394
|
-
format: "datetime",
|
|
1395
|
-
description: "When this contribution started. This should be a subset of the hypercert timeframe."
|
|
1396
|
-
},
|
|
1397
|
-
endDate: {
|
|
1398
|
-
type: "string",
|
|
1399
|
-
format: "datetime",
|
|
1400
|
-
description: "When this contribution finished. This should be a subset of the hypercert timeframe."
|
|
1401
|
-
},
|
|
1402
1527
|
createdAt: {
|
|
1403
1528
|
type: "string",
|
|
1404
1529
|
format: "datetime",
|
|
@@ -1408,14 +1533,14 @@ var defs$8 = {
|
|
|
1408
1533
|
}
|
|
1409
1534
|
}
|
|
1410
1535
|
};
|
|
1411
|
-
var
|
|
1536
|
+
var CONTRIBUTORINFORMATION_LEXICON_JSON = {
|
|
1412
1537
|
lexicon: lexicon$6,
|
|
1413
|
-
id: id$
|
|
1538
|
+
id: id$l,
|
|
1414
1539
|
defs: defs$8
|
|
1415
1540
|
};
|
|
1416
1541
|
|
|
1417
1542
|
var lexicon$5 = 1;
|
|
1418
|
-
var id$
|
|
1543
|
+
var id$k = "org.hypercerts.claim.evaluation";
|
|
1419
1544
|
var defs$7 = {
|
|
1420
1545
|
score: {
|
|
1421
1546
|
type: "object",
|
|
@@ -1514,12 +1639,12 @@ var defs$7 = {
|
|
|
1514
1639
|
};
|
|
1515
1640
|
var EVALUATION_LEXICON_JSON = {
|
|
1516
1641
|
lexicon: lexicon$5,
|
|
1517
|
-
id: id$
|
|
1642
|
+
id: id$k,
|
|
1518
1643
|
defs: defs$7
|
|
1519
1644
|
};
|
|
1520
1645
|
|
|
1521
1646
|
var lexicon$4 = 1;
|
|
1522
|
-
var id$
|
|
1647
|
+
var id$j = "org.hypercerts.claim.evidence";
|
|
1523
1648
|
var defs$6 = {
|
|
1524
1649
|
main: {
|
|
1525
1650
|
type: "record",
|
|
@@ -1583,12 +1708,12 @@ var defs$6 = {
|
|
|
1583
1708
|
};
|
|
1584
1709
|
var EVIDENCE_LEXICON_JSON = {
|
|
1585
1710
|
lexicon: lexicon$4,
|
|
1586
|
-
id: id$
|
|
1711
|
+
id: id$j,
|
|
1587
1712
|
defs: defs$6
|
|
1588
1713
|
};
|
|
1589
1714
|
|
|
1590
1715
|
var lexicon$3 = 1;
|
|
1591
|
-
var id$
|
|
1716
|
+
var id$i = "org.hypercerts.claim.measurement";
|
|
1592
1717
|
var defs$5 = {
|
|
1593
1718
|
main: {
|
|
1594
1719
|
type: "record",
|
|
@@ -1662,12 +1787,12 @@ var defs$5 = {
|
|
|
1662
1787
|
};
|
|
1663
1788
|
var MEASUREMENT_LEXICON_JSON = {
|
|
1664
1789
|
lexicon: lexicon$3,
|
|
1665
|
-
id: id$
|
|
1790
|
+
id: id$i,
|
|
1666
1791
|
defs: defs$5
|
|
1667
1792
|
};
|
|
1668
1793
|
|
|
1669
1794
|
var lexicon$2 = 1;
|
|
1670
|
-
var id$
|
|
1795
|
+
var id$h = "org.hypercerts.claim.rights";
|
|
1671
1796
|
var defs$4 = {
|
|
1672
1797
|
main: {
|
|
1673
1798
|
type: "record",
|
|
@@ -1715,12 +1840,12 @@ var defs$4 = {
|
|
|
1715
1840
|
};
|
|
1716
1841
|
var RIGHTS_LEXICON_JSON = {
|
|
1717
1842
|
lexicon: lexicon$2,
|
|
1718
|
-
id: id$
|
|
1843
|
+
id: id$h,
|
|
1719
1844
|
defs: defs$4
|
|
1720
1845
|
};
|
|
1721
1846
|
|
|
1722
1847
|
var lexicon$1 = 1;
|
|
1723
|
-
var id$
|
|
1848
|
+
var id$g = "org.hypercerts.defs";
|
|
1724
1849
|
var defs$3 = {
|
|
1725
1850
|
uri: {
|
|
1726
1851
|
type: "object",
|
|
@@ -1814,12 +1939,12 @@ var defs$3 = {
|
|
|
1814
1939
|
};
|
|
1815
1940
|
var HYPERCERTS_DEFS_LEXICON_JSON = {
|
|
1816
1941
|
lexicon: lexicon$1,
|
|
1817
|
-
id: id$
|
|
1942
|
+
id: id$g,
|
|
1818
1943
|
defs: defs$3
|
|
1819
1944
|
};
|
|
1820
1945
|
|
|
1821
1946
|
var lexicon = 1;
|
|
1822
|
-
var id$
|
|
1947
|
+
var id$f = "org.hypercerts.funding.receipt";
|
|
1823
1948
|
var defs$2 = {
|
|
1824
1949
|
main: {
|
|
1825
1950
|
type: "record",
|
|
@@ -1890,12 +2015,30 @@ var defs$2 = {
|
|
|
1890
2015
|
};
|
|
1891
2016
|
var FUNDING_RECEIPT_LEXICON_JSON = {
|
|
1892
2017
|
lexicon: lexicon,
|
|
1893
|
-
id: id$
|
|
2018
|
+
id: id$f,
|
|
1894
2019
|
defs: defs$2
|
|
1895
2020
|
};
|
|
1896
2021
|
|
|
1897
|
-
const is$typed$
|
|
1898
|
-
const id$
|
|
2022
|
+
const is$typed$e = is$typed$f, validate$e = validate$f;
|
|
2023
|
+
const id$e = 'app.certified.badge.award';
|
|
2024
|
+
const hashMain$d = 'main';
|
|
2025
|
+
function isMain$d(v) {
|
|
2026
|
+
return is$typed$e(v, id$e, hashMain$d);
|
|
2027
|
+
}
|
|
2028
|
+
function validateMain$d(v) {
|
|
2029
|
+
return validate$e(v, id$e, hashMain$d, true);
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
var award = /*#__PURE__*/Object.freeze({
|
|
2033
|
+
__proto__: null,
|
|
2034
|
+
isMain: isMain$d,
|
|
2035
|
+
isRecord: isMain$d,
|
|
2036
|
+
validateMain: validateMain$d,
|
|
2037
|
+
validateRecord: validateMain$d
|
|
2038
|
+
});
|
|
2039
|
+
|
|
2040
|
+
const is$typed$d = is$typed$f, validate$d = validate$f;
|
|
2041
|
+
const id$d = 'app.certified.badge.definition';
|
|
1899
2042
|
const hashMain$c = 'main';
|
|
1900
2043
|
function isMain$c(v) {
|
|
1901
2044
|
return is$typed$d(v, id$d, hashMain$c);
|
|
@@ -1904,7 +2047,7 @@ function validateMain$c(v) {
|
|
|
1904
2047
|
return validate$d(v, id$d, hashMain$c, true);
|
|
1905
2048
|
}
|
|
1906
2049
|
|
|
1907
|
-
var
|
|
2050
|
+
var definition = /*#__PURE__*/Object.freeze({
|
|
1908
2051
|
__proto__: null,
|
|
1909
2052
|
isMain: isMain$c,
|
|
1910
2053
|
isRecord: isMain$c,
|
|
@@ -1912,8 +2055,8 @@ var award = /*#__PURE__*/Object.freeze({
|
|
|
1912
2055
|
validateRecord: validateMain$c
|
|
1913
2056
|
});
|
|
1914
2057
|
|
|
1915
|
-
const is$typed$c = is$typed$
|
|
1916
|
-
const id$c = 'app.certified.badge.
|
|
2058
|
+
const is$typed$c = is$typed$f, validate$c = validate$f;
|
|
2059
|
+
const id$c = 'app.certified.badge.response';
|
|
1917
2060
|
const hashMain$b = 'main';
|
|
1918
2061
|
function isMain$b(v) {
|
|
1919
2062
|
return is$typed$c(v, id$c, hashMain$b);
|
|
@@ -1922,7 +2065,7 @@ function validateMain$b(v) {
|
|
|
1922
2065
|
return validate$c(v, id$c, hashMain$b, true);
|
|
1923
2066
|
}
|
|
1924
2067
|
|
|
1925
|
-
var
|
|
2068
|
+
var response = /*#__PURE__*/Object.freeze({
|
|
1926
2069
|
__proto__: null,
|
|
1927
2070
|
isMain: isMain$b,
|
|
1928
2071
|
isRecord: isMain$b,
|
|
@@ -1930,8 +2073,12 @@ var definition = /*#__PURE__*/Object.freeze({
|
|
|
1930
2073
|
validateRecord: validateMain$b
|
|
1931
2074
|
});
|
|
1932
2075
|
|
|
1933
|
-
|
|
1934
|
-
|
|
2076
|
+
var defs$1 = /*#__PURE__*/Object.freeze({
|
|
2077
|
+
__proto__: null
|
|
2078
|
+
});
|
|
2079
|
+
|
|
2080
|
+
const is$typed$b = is$typed$f, validate$b = validate$f;
|
|
2081
|
+
const id$b = 'app.certified.location';
|
|
1935
2082
|
const hashMain$a = 'main';
|
|
1936
2083
|
function isMain$a(v) {
|
|
1937
2084
|
return is$typed$b(v, id$b, hashMain$a);
|
|
@@ -1940,7 +2087,7 @@ function validateMain$a(v) {
|
|
|
1940
2087
|
return validate$b(v, id$b, hashMain$a, true);
|
|
1941
2088
|
}
|
|
1942
2089
|
|
|
1943
|
-
var
|
|
2090
|
+
var location = /*#__PURE__*/Object.freeze({
|
|
1944
2091
|
__proto__: null,
|
|
1945
2092
|
isMain: isMain$a,
|
|
1946
2093
|
isRecord: isMain$a,
|
|
@@ -1948,46 +2095,60 @@ var response = /*#__PURE__*/Object.freeze({
|
|
|
1948
2095
|
validateRecord: validateMain$a
|
|
1949
2096
|
});
|
|
1950
2097
|
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
});
|
|
1954
|
-
|
|
1955
|
-
const is$typed$a = is$typed$e, validate$a = validate$e;
|
|
1956
|
-
const id$a = 'app.certified.location';
|
|
2098
|
+
const is$typed$a = is$typed$f, validate$a = validate$f;
|
|
2099
|
+
const id$a = 'com.atproto.repo.strongRef';
|
|
1957
2100
|
const hashMain$9 = 'main';
|
|
1958
2101
|
function isMain$9(v) {
|
|
1959
2102
|
return is$typed$a(v, id$a, hashMain$9);
|
|
1960
2103
|
}
|
|
1961
2104
|
function validateMain$9(v) {
|
|
1962
|
-
return validate$a(v, id$a, hashMain$9
|
|
2105
|
+
return validate$a(v, id$a, hashMain$9);
|
|
1963
2106
|
}
|
|
1964
2107
|
|
|
1965
|
-
var
|
|
2108
|
+
var strongRef = /*#__PURE__*/Object.freeze({
|
|
1966
2109
|
__proto__: null,
|
|
1967
2110
|
isMain: isMain$9,
|
|
1968
|
-
|
|
1969
|
-
validateMain: validateMain$9,
|
|
1970
|
-
validateRecord: validateMain$9
|
|
2111
|
+
validateMain: validateMain$9
|
|
1971
2112
|
});
|
|
1972
2113
|
|
|
1973
|
-
const is$typed$9 = is$typed$
|
|
1974
|
-
const id$9 = '
|
|
2114
|
+
const is$typed$9 = is$typed$f, validate$9 = validate$f;
|
|
2115
|
+
const id$9 = 'org.hypercerts.claim.activity';
|
|
1975
2116
|
const hashMain$8 = 'main';
|
|
1976
2117
|
function isMain$8(v) {
|
|
1977
2118
|
return is$typed$9(v, id$9, hashMain$8);
|
|
1978
2119
|
}
|
|
1979
2120
|
function validateMain$8(v) {
|
|
1980
|
-
return validate$9(v, id$9, hashMain$8);
|
|
2121
|
+
return validate$9(v, id$9, hashMain$8, true);
|
|
2122
|
+
}
|
|
2123
|
+
const hashContributor = 'contributor';
|
|
2124
|
+
function isContributor(v) {
|
|
2125
|
+
return is$typed$9(v, id$9, hashContributor);
|
|
2126
|
+
}
|
|
2127
|
+
function validateContributor(v) {
|
|
2128
|
+
return validate$9(v, id$9, hashContributor);
|
|
2129
|
+
}
|
|
2130
|
+
const hashActivityWeight = 'activityWeight';
|
|
2131
|
+
function isActivityWeight(v) {
|
|
2132
|
+
return is$typed$9(v, id$9, hashActivityWeight);
|
|
2133
|
+
}
|
|
2134
|
+
function validateActivityWeight(v) {
|
|
2135
|
+
return validate$9(v, id$9, hashActivityWeight);
|
|
1981
2136
|
}
|
|
1982
2137
|
|
|
1983
|
-
var
|
|
2138
|
+
var activity = /*#__PURE__*/Object.freeze({
|
|
1984
2139
|
__proto__: null,
|
|
2140
|
+
isActivityWeight: isActivityWeight,
|
|
2141
|
+
isContributor: isContributor,
|
|
1985
2142
|
isMain: isMain$8,
|
|
1986
|
-
|
|
2143
|
+
isRecord: isMain$8,
|
|
2144
|
+
validateActivityWeight: validateActivityWeight,
|
|
2145
|
+
validateContributor: validateContributor,
|
|
2146
|
+
validateMain: validateMain$8,
|
|
2147
|
+
validateRecord: validateMain$8
|
|
1987
2148
|
});
|
|
1988
2149
|
|
|
1989
|
-
const is$typed$8 = is$typed$
|
|
1990
|
-
const id$8 = 'org.hypercerts.claim.
|
|
2150
|
+
const is$typed$8 = is$typed$f, validate$8 = validate$f;
|
|
2151
|
+
const id$8 = 'org.hypercerts.claim.collection';
|
|
1991
2152
|
const hashMain$7 = 'main';
|
|
1992
2153
|
function isMain$7(v) {
|
|
1993
2154
|
return is$typed$8(v, id$8, hashMain$7);
|
|
@@ -1995,26 +2156,17 @@ function isMain$7(v) {
|
|
|
1995
2156
|
function validateMain$7(v) {
|
|
1996
2157
|
return validate$8(v, id$8, hashMain$7, true);
|
|
1997
2158
|
}
|
|
1998
|
-
const hashActivityWeight = 'activityWeight';
|
|
1999
|
-
function isActivityWeight(v) {
|
|
2000
|
-
return is$typed$8(v, id$8, hashActivityWeight);
|
|
2001
|
-
}
|
|
2002
|
-
function validateActivityWeight(v) {
|
|
2003
|
-
return validate$8(v, id$8, hashActivityWeight);
|
|
2004
|
-
}
|
|
2005
2159
|
|
|
2006
|
-
var
|
|
2160
|
+
var collection = /*#__PURE__*/Object.freeze({
|
|
2007
2161
|
__proto__: null,
|
|
2008
|
-
isActivityWeight: isActivityWeight,
|
|
2009
2162
|
isMain: isMain$7,
|
|
2010
2163
|
isRecord: isMain$7,
|
|
2011
|
-
validateActivityWeight: validateActivityWeight,
|
|
2012
2164
|
validateMain: validateMain$7,
|
|
2013
2165
|
validateRecord: validateMain$7
|
|
2014
2166
|
});
|
|
2015
2167
|
|
|
2016
|
-
const is$typed$7 = is$typed$
|
|
2017
|
-
const id$7 = 'org.hypercerts.claim.
|
|
2168
|
+
const is$typed$7 = is$typed$f, validate$7 = validate$f;
|
|
2169
|
+
const id$7 = 'org.hypercerts.claim.contributionDetails';
|
|
2018
2170
|
const hashMain$6 = 'main';
|
|
2019
2171
|
function isMain$6(v) {
|
|
2020
2172
|
return is$typed$7(v, id$7, hashMain$6);
|
|
@@ -2023,7 +2175,7 @@ function validateMain$6(v) {
|
|
|
2023
2175
|
return validate$7(v, id$7, hashMain$6, true);
|
|
2024
2176
|
}
|
|
2025
2177
|
|
|
2026
|
-
var
|
|
2178
|
+
var contributionDetails = /*#__PURE__*/Object.freeze({
|
|
2027
2179
|
__proto__: null,
|
|
2028
2180
|
isMain: isMain$6,
|
|
2029
2181
|
isRecord: isMain$6,
|
|
@@ -2031,8 +2183,8 @@ var collection = /*#__PURE__*/Object.freeze({
|
|
|
2031
2183
|
validateRecord: validateMain$6
|
|
2032
2184
|
});
|
|
2033
2185
|
|
|
2034
|
-
const is$typed$6 = is$typed$
|
|
2035
|
-
const id$6 = 'org.hypercerts.claim.
|
|
2186
|
+
const is$typed$6 = is$typed$f, validate$6 = validate$f;
|
|
2187
|
+
const id$6 = 'org.hypercerts.claim.contributorInformation';
|
|
2036
2188
|
const hashMain$5 = 'main';
|
|
2037
2189
|
function isMain$5(v) {
|
|
2038
2190
|
return is$typed$6(v, id$6, hashMain$5);
|
|
@@ -2041,7 +2193,7 @@ function validateMain$5(v) {
|
|
|
2041
2193
|
return validate$6(v, id$6, hashMain$5, true);
|
|
2042
2194
|
}
|
|
2043
2195
|
|
|
2044
|
-
var
|
|
2196
|
+
var contributorInformation = /*#__PURE__*/Object.freeze({
|
|
2045
2197
|
__proto__: null,
|
|
2046
2198
|
isMain: isMain$5,
|
|
2047
2199
|
isRecord: isMain$5,
|
|
@@ -2049,7 +2201,7 @@ var contributor = /*#__PURE__*/Object.freeze({
|
|
|
2049
2201
|
validateRecord: validateMain$5
|
|
2050
2202
|
});
|
|
2051
2203
|
|
|
2052
|
-
const is$typed$5 = is$typed$
|
|
2204
|
+
const is$typed$5 = is$typed$f, validate$5 = validate$f;
|
|
2053
2205
|
const id$5 = 'org.hypercerts.claim.evaluation';
|
|
2054
2206
|
const hashScore = 'score';
|
|
2055
2207
|
function isScore(v) {
|
|
@@ -2076,7 +2228,7 @@ var evaluation = /*#__PURE__*/Object.freeze({
|
|
|
2076
2228
|
validateScore: validateScore
|
|
2077
2229
|
});
|
|
2078
2230
|
|
|
2079
|
-
const is$typed$4 = is$typed$
|
|
2231
|
+
const is$typed$4 = is$typed$f, validate$4 = validate$f;
|
|
2080
2232
|
const id$4 = 'org.hypercerts.claim.evidence';
|
|
2081
2233
|
const hashMain$3 = 'main';
|
|
2082
2234
|
function isMain$3(v) {
|
|
@@ -2094,7 +2246,7 @@ var evidence = /*#__PURE__*/Object.freeze({
|
|
|
2094
2246
|
validateRecord: validateMain$3
|
|
2095
2247
|
});
|
|
2096
2248
|
|
|
2097
|
-
const is$typed$3 = is$typed$
|
|
2249
|
+
const is$typed$3 = is$typed$f, validate$3 = validate$f;
|
|
2098
2250
|
const id$3 = 'org.hypercerts.claim.measurement';
|
|
2099
2251
|
const hashMain$2 = 'main';
|
|
2100
2252
|
function isMain$2(v) {
|
|
@@ -2112,7 +2264,7 @@ var measurement = /*#__PURE__*/Object.freeze({
|
|
|
2112
2264
|
validateRecord: validateMain$2
|
|
2113
2265
|
});
|
|
2114
2266
|
|
|
2115
|
-
const is$typed$2 = is$typed$
|
|
2267
|
+
const is$typed$2 = is$typed$f, validate$2 = validate$f;
|
|
2116
2268
|
const id$2 = 'org.hypercerts.claim.rights';
|
|
2117
2269
|
const hashMain$1 = 'main';
|
|
2118
2270
|
function isMain$1(v) {
|
|
@@ -2130,7 +2282,7 @@ var rights = /*#__PURE__*/Object.freeze({
|
|
|
2130
2282
|
validateRecord: validateMain$1
|
|
2131
2283
|
});
|
|
2132
2284
|
|
|
2133
|
-
const is$typed$1 = is$typed$
|
|
2285
|
+
const is$typed$1 = is$typed$f, validate$1 = validate$f;
|
|
2134
2286
|
const id$1 = 'org.hypercerts.defs';
|
|
2135
2287
|
const hashUri = 'uri';
|
|
2136
2288
|
function isUri(v) {
|
|
@@ -2182,7 +2334,7 @@ var defs = /*#__PURE__*/Object.freeze({
|
|
|
2182
2334
|
validateUri: validateUri
|
|
2183
2335
|
});
|
|
2184
2336
|
|
|
2185
|
-
const is$typed = is$typed$
|
|
2337
|
+
const is$typed = is$typed$f, validate = validate$f;
|
|
2186
2338
|
const id = 'org.hypercerts.funding.receipt';
|
|
2187
2339
|
const hashMain = 'main';
|
|
2188
2340
|
function isMain(v) {
|
|
@@ -2206,7 +2358,7 @@ var receipt = /*#__PURE__*/Object.freeze({
|
|
|
2206
2358
|
* ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
|
|
2207
2359
|
*
|
|
2208
2360
|
* This file is automatically generated by scripts/generate-exports.js
|
|
2209
|
-
* Generated: 2026-01-
|
|
2361
|
+
* Generated: 2026-01-21T07:15:37.790Z
|
|
2210
2362
|
*
|
|
2211
2363
|
* To regenerate this file, run:
|
|
2212
2364
|
* npm run gen-api
|
|
@@ -2231,7 +2383,8 @@ const LOCATION_NSID = "app.certified.location";
|
|
|
2231
2383
|
const STRONGREF_NSID = "com.atproto.repo.strongRef";
|
|
2232
2384
|
const ACTIVITY_NSID = "org.hypercerts.claim.activity";
|
|
2233
2385
|
const COLLECTION_NSID = "org.hypercerts.claim.collection";
|
|
2234
|
-
const
|
|
2386
|
+
const CONTRIBUTIONDETAILS_NSID = "org.hypercerts.claim.contributionDetails";
|
|
2387
|
+
const CONTRIBUTORINFORMATION_NSID = "org.hypercerts.claim.contributorInformation";
|
|
2235
2388
|
const EVALUATION_NSID = "org.hypercerts.claim.evaluation";
|
|
2236
2389
|
const EVIDENCE_NSID = "org.hypercerts.claim.evidence";
|
|
2237
2390
|
const MEASUREMENT_NSID = "org.hypercerts.claim.measurement";
|
|
@@ -2253,7 +2406,8 @@ const HYPERCERTS_NSIDS = {
|
|
|
2253
2406
|
STRONGREF: STRONGREF_NSID,
|
|
2254
2407
|
ACTIVITY: ACTIVITY_NSID,
|
|
2255
2408
|
COLLECTION: COLLECTION_NSID,
|
|
2256
|
-
|
|
2409
|
+
CONTRIBUTIONDETAILS: CONTRIBUTIONDETAILS_NSID,
|
|
2410
|
+
CONTRIBUTORINFORMATION: CONTRIBUTORINFORMATION_NSID,
|
|
2257
2411
|
EVALUATION: EVALUATION_NSID,
|
|
2258
2412
|
EVIDENCE: EVIDENCE_NSID,
|
|
2259
2413
|
MEASUREMENT: MEASUREMENT_NSID,
|
|
@@ -2273,7 +2427,8 @@ const HYPERCERTS_LEXICON_JSON = {
|
|
|
2273
2427
|
STRONGREF: STRONGREF_LEXICON_JSON,
|
|
2274
2428
|
ACTIVITY: ACTIVITY_LEXICON_JSON,
|
|
2275
2429
|
COLLECTION: COLLECTION_LEXICON_JSON,
|
|
2276
|
-
|
|
2430
|
+
CONTRIBUTIONDETAILS: CONTRIBUTIONDETAILS_LEXICON_JSON,
|
|
2431
|
+
CONTRIBUTORINFORMATION: CONTRIBUTORINFORMATION_LEXICON_JSON,
|
|
2277
2432
|
EVALUATION: EVALUATION_LEXICON_JSON,
|
|
2278
2433
|
EVIDENCE: EVIDENCE_LEXICON_JSON,
|
|
2279
2434
|
MEASUREMENT: MEASUREMENT_LEXICON_JSON,
|
|
@@ -2290,7 +2445,8 @@ const LOCATION_LEXICON_DOC = lexicons.get(LOCATION_NSID);
|
|
|
2290
2445
|
const STRONGREF_LEXICON_DOC = lexicons.get(STRONGREF_NSID);
|
|
2291
2446
|
const ACTIVITY_LEXICON_DOC = lexicons.get(ACTIVITY_NSID);
|
|
2292
2447
|
const COLLECTION_LEXICON_DOC = lexicons.get(COLLECTION_NSID);
|
|
2293
|
-
const
|
|
2448
|
+
const CONTRIBUTIONDETAILS_LEXICON_DOC = lexicons.get(CONTRIBUTIONDETAILS_NSID);
|
|
2449
|
+
const CONTRIBUTORINFORMATION_LEXICON_DOC = lexicons.get(CONTRIBUTORINFORMATION_NSID);
|
|
2294
2450
|
const EVALUATION_LEXICON_DOC = lexicons.get(EVALUATION_NSID);
|
|
2295
2451
|
const EVIDENCE_LEXICON_DOC = lexicons.get(EVIDENCE_NSID);
|
|
2296
2452
|
const MEASUREMENT_LEXICON_DOC = lexicons.get(MEASUREMENT_NSID);
|
|
@@ -2309,7 +2465,8 @@ const HYPERCERTS_LEXICON_DOC = {
|
|
|
2309
2465
|
STRONGREF: STRONGREF_LEXICON_DOC,
|
|
2310
2466
|
ACTIVITY: ACTIVITY_LEXICON_DOC,
|
|
2311
2467
|
COLLECTION: COLLECTION_LEXICON_DOC,
|
|
2312
|
-
|
|
2468
|
+
CONTRIBUTIONDETAILS: CONTRIBUTIONDETAILS_LEXICON_DOC,
|
|
2469
|
+
CONTRIBUTORINFORMATION: CONTRIBUTORINFORMATION_LEXICON_DOC,
|
|
2313
2470
|
EVALUATION: EVALUATION_LEXICON_DOC,
|
|
2314
2471
|
EVIDENCE: EVIDENCE_LEXICON_DOC,
|
|
2315
2472
|
MEASUREMENT: MEASUREMENT_LEXICON_DOC,
|
|
@@ -2318,5 +2475,5 @@ const HYPERCERTS_LEXICON_DOC = {
|
|
|
2318
2475
|
FUNDING_RECEIPT: FUNDING_RECEIPT_LEXICON_DOC,
|
|
2319
2476
|
};
|
|
2320
2477
|
|
|
2321
|
-
export { ACTIVITY_LEXICON_DOC, ACTIVITY_LEXICON_JSON, ACTIVITY_NSID, award as AppCertifiedBadgeAward, definition as AppCertifiedBadgeDefinition, response as AppCertifiedBadgeResponse, defs$1 as AppCertifiedDefs, location as AppCertifiedLocation, BADGE_AWARD_LEXICON_DOC, BADGE_AWARD_LEXICON_JSON, BADGE_AWARD_NSID, BADGE_DEFINITION_LEXICON_DOC, BADGE_DEFINITION_LEXICON_JSON, BADGE_DEFINITION_NSID, BADGE_RESPONSE_LEXICON_DOC, BADGE_RESPONSE_LEXICON_JSON, BADGE_RESPONSE_NSID, CERTIFIED_DEFS_LEXICON_DOC, CERTIFIED_DEFS_LEXICON_JSON, CERTIFIED_DEFS_NSID, COLLECTION_LEXICON_DOC, COLLECTION_LEXICON_JSON, COLLECTION_NSID,
|
|
2478
|
+
export { ACTIVITY_LEXICON_DOC, ACTIVITY_LEXICON_JSON, ACTIVITY_NSID, award as AppCertifiedBadgeAward, definition as AppCertifiedBadgeDefinition, response as AppCertifiedBadgeResponse, defs$1 as AppCertifiedDefs, location as AppCertifiedLocation, BADGE_AWARD_LEXICON_DOC, BADGE_AWARD_LEXICON_JSON, BADGE_AWARD_NSID, BADGE_DEFINITION_LEXICON_DOC, BADGE_DEFINITION_LEXICON_JSON, BADGE_DEFINITION_NSID, BADGE_RESPONSE_LEXICON_DOC, BADGE_RESPONSE_LEXICON_JSON, BADGE_RESPONSE_NSID, CERTIFIED_DEFS_LEXICON_DOC, CERTIFIED_DEFS_LEXICON_JSON, CERTIFIED_DEFS_NSID, COLLECTION_LEXICON_DOC, COLLECTION_LEXICON_JSON, COLLECTION_NSID, CONTRIBUTIONDETAILS_LEXICON_DOC, CONTRIBUTIONDETAILS_LEXICON_JSON, CONTRIBUTIONDETAILS_NSID, CONTRIBUTORINFORMATION_LEXICON_DOC, CONTRIBUTORINFORMATION_LEXICON_JSON, CONTRIBUTORINFORMATION_NSID, strongRef as ComAtprotoRepoStrongRef, EVALUATION_LEXICON_DOC, EVALUATION_LEXICON_JSON, EVALUATION_NSID, EVIDENCE_LEXICON_DOC, EVIDENCE_LEXICON_JSON, EVIDENCE_NSID, FUNDING_RECEIPT_LEXICON_DOC, FUNDING_RECEIPT_LEXICON_JSON, FUNDING_RECEIPT_NSID, HYPERCERTS_DEFS_LEXICON_DOC, HYPERCERTS_DEFS_LEXICON_JSON, HYPERCERTS_DEFS_NSID, HYPERCERTS_LEXICON_DOC, HYPERCERTS_LEXICON_JSON, HYPERCERTS_NSIDS, ids as HYPERCERTS_NSIDS_BY_TYPE, schemas as HYPERCERTS_SCHEMAS, schemaDict as HYPERCERTS_SCHEMA_DICT, LOCATION_LEXICON_DOC, LOCATION_LEXICON_JSON, LOCATION_NSID, MEASUREMENT_LEXICON_DOC, MEASUREMENT_LEXICON_JSON, MEASUREMENT_NSID, activity as OrgHypercertsClaimActivity, collection as OrgHypercertsClaimCollection, contributionDetails as OrgHypercertsClaimContributionDetails, contributorInformation as OrgHypercertsClaimContributorInformation, evaluation as OrgHypercertsClaimEvaluation, evidence as OrgHypercertsClaimEvidence, measurement as OrgHypercertsClaimMeasurement, rights as OrgHypercertsClaimRights, defs as OrgHypercertsDefs, receipt as OrgHypercertsFundingReceipt, RIGHTS_LEXICON_DOC, RIGHTS_LEXICON_JSON, RIGHTS_NSID, STRONGREF_LEXICON_DOC, STRONGREF_LEXICON_JSON, STRONGREF_NSID, asPredicate, is$typed$f as is$typed, lexicons, maybe$typed, validate$f as validate };
|
|
2322
2479
|
//# sourceMappingURL=index.mjs.map
|