@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.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var lexicon$
|
|
3
|
+
var lexicon$g = require('@atproto/lexicon');
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED CODE - DO NOT MODIFY
|
|
@@ -18,7 +18,7 @@ function is$type($type, id, hash) {
|
|
|
18
18
|
$type.startsWith(id) &&
|
|
19
19
|
$type.endsWith(hash);
|
|
20
20
|
}
|
|
21
|
-
function is$typed$
|
|
21
|
+
function is$typed$f(v, id, hash) {
|
|
22
22
|
return isObject(v) && '$type' in v && is$type(v.$type, id, hash);
|
|
23
23
|
}
|
|
24
24
|
function maybe$typed(v, id, hash) {
|
|
@@ -317,12 +317,12 @@ const schemaDict = {
|
|
|
317
317
|
format: 'datetime',
|
|
318
318
|
description: 'When the work ended',
|
|
319
319
|
},
|
|
320
|
-
|
|
320
|
+
contributors: {
|
|
321
321
|
type: 'array',
|
|
322
|
-
description: '
|
|
322
|
+
description: 'An array of contributor objects, each containing contributor information, weight, and contribution details.',
|
|
323
323
|
items: {
|
|
324
324
|
type: 'ref',
|
|
325
|
-
ref: 'lex:
|
|
325
|
+
ref: 'lex:org.hypercerts.claim.activity#contributor',
|
|
326
326
|
},
|
|
327
327
|
},
|
|
328
328
|
rights: {
|
|
@@ -346,6 +346,42 @@ const schemaDict = {
|
|
|
346
346
|
},
|
|
347
347
|
},
|
|
348
348
|
},
|
|
349
|
+
contributor: {
|
|
350
|
+
type: 'object',
|
|
351
|
+
required: ['contributorInformation'],
|
|
352
|
+
properties: {
|
|
353
|
+
contributorInformation: {
|
|
354
|
+
type: 'union',
|
|
355
|
+
refs: [
|
|
356
|
+
'lex:org.hypercerts.claim.activity#contributorIdentity',
|
|
357
|
+
'lex:com.atproto.repo.strongRef',
|
|
358
|
+
],
|
|
359
|
+
description: 'Contributor information as a string (DID or identifier) or strong reference to for instance org.hypercerts.claim.contributorInformation#main.',
|
|
360
|
+
},
|
|
361
|
+
weight: {
|
|
362
|
+
type: 'string',
|
|
363
|
+
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.',
|
|
364
|
+
},
|
|
365
|
+
contributionDetails: {
|
|
366
|
+
type: 'union',
|
|
367
|
+
refs: [
|
|
368
|
+
'lex:org.hypercerts.claim.activity#contributorRole',
|
|
369
|
+
'lex:com.atproto.repo.strongRef',
|
|
370
|
+
],
|
|
371
|
+
description: 'Contribution details as a string or strong reference to org.hypercerts.claim.contributionDetails#main.',
|
|
372
|
+
},
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
contributorIdentity: {
|
|
376
|
+
type: 'string',
|
|
377
|
+
description: 'Contributor information as a string (DID or identifier).',
|
|
378
|
+
},
|
|
379
|
+
contributorRole: {
|
|
380
|
+
type: 'string',
|
|
381
|
+
description: 'Contribution details as a string.',
|
|
382
|
+
maxLength: 10000,
|
|
383
|
+
maxGraphemes: 1000,
|
|
384
|
+
},
|
|
349
385
|
activityWeight: {
|
|
350
386
|
type: 'object',
|
|
351
387
|
required: ['activity', 'weight'],
|
|
@@ -414,35 +450,18 @@ const schemaDict = {
|
|
|
414
450
|
},
|
|
415
451
|
},
|
|
416
452
|
},
|
|
417
|
-
|
|
453
|
+
OrgHypercertsClaimContributionDetails: {
|
|
418
454
|
lexicon: 1,
|
|
419
|
-
id: 'org.hypercerts.claim.
|
|
455
|
+
id: 'org.hypercerts.claim.contributionDetails',
|
|
420
456
|
defs: {
|
|
421
457
|
main: {
|
|
422
458
|
type: 'record',
|
|
423
|
-
description:
|
|
459
|
+
description: 'Details about a specific contribution including role, description, and timeframe.',
|
|
424
460
|
key: 'tid',
|
|
425
461
|
record: {
|
|
426
462
|
type: 'object',
|
|
427
463
|
required: ['createdAt'],
|
|
428
464
|
properties: {
|
|
429
|
-
identifier: {
|
|
430
|
-
type: 'string',
|
|
431
|
-
description: 'DID or a URI to a social profile of the contributor.',
|
|
432
|
-
},
|
|
433
|
-
displayName: {
|
|
434
|
-
type: 'string',
|
|
435
|
-
description: 'Display name of the contributor.',
|
|
436
|
-
maxLength: 100,
|
|
437
|
-
},
|
|
438
|
-
image: {
|
|
439
|
-
type: 'union',
|
|
440
|
-
refs: [
|
|
441
|
-
'lex:org.hypercerts.defs#uri',
|
|
442
|
-
'lex:org.hypercerts.defs#smallImage',
|
|
443
|
-
],
|
|
444
|
-
description: 'The contributor visual representation as a URI or image blob.',
|
|
445
|
-
},
|
|
446
465
|
role: {
|
|
447
466
|
type: 'string',
|
|
448
467
|
description: 'Role or title of the contributor.',
|
|
@@ -450,9 +469,9 @@ const schemaDict = {
|
|
|
450
469
|
},
|
|
451
470
|
contributionDescription: {
|
|
452
471
|
type: 'string',
|
|
453
|
-
description: 'What the contribution concretely
|
|
454
|
-
maxLength:
|
|
455
|
-
maxGraphemes:
|
|
472
|
+
description: 'What the contribution concretely was.',
|
|
473
|
+
maxLength: 10000,
|
|
474
|
+
maxGraphemes: 1000,
|
|
456
475
|
},
|
|
457
476
|
startDate: {
|
|
458
477
|
type: 'string',
|
|
@@ -474,6 +493,45 @@ const schemaDict = {
|
|
|
474
493
|
},
|
|
475
494
|
},
|
|
476
495
|
},
|
|
496
|
+
OrgHypercertsClaimContributorInformation: {
|
|
497
|
+
lexicon: 1,
|
|
498
|
+
id: 'org.hypercerts.claim.contributorInformation',
|
|
499
|
+
defs: {
|
|
500
|
+
main: {
|
|
501
|
+
type: 'record',
|
|
502
|
+
description: 'Contributor information including identifier, display name, and image.',
|
|
503
|
+
key: 'tid',
|
|
504
|
+
record: {
|
|
505
|
+
type: 'object',
|
|
506
|
+
required: ['createdAt'],
|
|
507
|
+
properties: {
|
|
508
|
+
identifier: {
|
|
509
|
+
type: 'string',
|
|
510
|
+
description: 'DID or a URI to a social profile of the contributor.',
|
|
511
|
+
},
|
|
512
|
+
displayName: {
|
|
513
|
+
type: 'string',
|
|
514
|
+
description: 'Display name of the contributor.',
|
|
515
|
+
maxLength: 100,
|
|
516
|
+
},
|
|
517
|
+
image: {
|
|
518
|
+
type: 'union',
|
|
519
|
+
refs: [
|
|
520
|
+
'lex:org.hypercerts.defs#uri',
|
|
521
|
+
'lex:org.hypercerts.defs#smallImage',
|
|
522
|
+
],
|
|
523
|
+
description: 'The contributor visual representation as a URI or image blob.',
|
|
524
|
+
},
|
|
525
|
+
createdAt: {
|
|
526
|
+
type: 'string',
|
|
527
|
+
format: 'datetime',
|
|
528
|
+
description: 'Client-declared timestamp when this record was originally created.',
|
|
529
|
+
},
|
|
530
|
+
},
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
},
|
|
534
|
+
},
|
|
477
535
|
OrgHypercertsClaimEvaluation: {
|
|
478
536
|
lexicon: 1,
|
|
479
537
|
id: 'org.hypercerts.claim.evaluation',
|
|
@@ -881,13 +939,13 @@ const schemaDict = {
|
|
|
881
939
|
},
|
|
882
940
|
};
|
|
883
941
|
const schemas = Object.values(schemaDict);
|
|
884
|
-
const lexicons = new lexicon$
|
|
885
|
-
function validate$
|
|
886
|
-
return (requiredType ? is$typed$
|
|
942
|
+
const lexicons = new lexicon$g.Lexicons(schemas);
|
|
943
|
+
function validate$f(v, id, hash, requiredType) {
|
|
944
|
+
return (requiredType ? is$typed$f : maybe$typed)(v, id, hash)
|
|
887
945
|
? lexicons.validate(`${id}#${hash}`, v)
|
|
888
946
|
: {
|
|
889
947
|
success: false,
|
|
890
|
-
error: new lexicon$
|
|
948
|
+
error: new lexicon$g.ValidationError(`Must be an object with "${hash === 'main' ? id : `${id}#${hash}`}" $type property`),
|
|
891
949
|
};
|
|
892
950
|
}
|
|
893
951
|
const ids = {
|
|
@@ -899,7 +957,8 @@ const ids = {
|
|
|
899
957
|
ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
|
|
900
958
|
OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',
|
|
901
959
|
OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',
|
|
902
|
-
|
|
960
|
+
OrgHypercertsClaimContributionDetails: 'org.hypercerts.claim.contributionDetails',
|
|
961
|
+
OrgHypercertsClaimContributorInformation: 'org.hypercerts.claim.contributorInformation',
|
|
903
962
|
OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',
|
|
904
963
|
OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',
|
|
905
964
|
OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',
|
|
@@ -908,9 +967,9 @@ const ids = {
|
|
|
908
967
|
OrgHypercertsFundingReceipt: 'org.hypercerts.funding.receipt',
|
|
909
968
|
};
|
|
910
969
|
|
|
911
|
-
var lexicon$
|
|
912
|
-
var id$
|
|
913
|
-
var defs$
|
|
970
|
+
var lexicon$f = 1;
|
|
971
|
+
var id$u = "app.certified.badge.award";
|
|
972
|
+
var defs$h = {
|
|
914
973
|
main: {
|
|
915
974
|
type: "record",
|
|
916
975
|
description: "Records a badge award to a user, project, or activity claim.",
|
|
@@ -950,14 +1009,14 @@ var defs$g = {
|
|
|
950
1009
|
}
|
|
951
1010
|
};
|
|
952
1011
|
var BADGE_AWARD_LEXICON_JSON = {
|
|
953
|
-
lexicon: lexicon$
|
|
954
|
-
id: id$
|
|
955
|
-
defs: defs$
|
|
1012
|
+
lexicon: lexicon$f,
|
|
1013
|
+
id: id$u,
|
|
1014
|
+
defs: defs$h
|
|
956
1015
|
};
|
|
957
1016
|
|
|
958
|
-
var lexicon$
|
|
959
|
-
var id$
|
|
960
|
-
var defs$
|
|
1017
|
+
var lexicon$e = 1;
|
|
1018
|
+
var id$t = "app.certified.badge.definition";
|
|
1019
|
+
var defs$g = {
|
|
961
1020
|
main: {
|
|
962
1021
|
type: "record",
|
|
963
1022
|
description: "Defines a badge that can be awarded via badge award records to users, projects, or activity claims.",
|
|
@@ -1012,14 +1071,14 @@ var defs$f = {
|
|
|
1012
1071
|
}
|
|
1013
1072
|
};
|
|
1014
1073
|
var BADGE_DEFINITION_LEXICON_JSON = {
|
|
1015
|
-
lexicon: lexicon$
|
|
1016
|
-
id: id$
|
|
1017
|
-
defs: defs$
|
|
1074
|
+
lexicon: lexicon$e,
|
|
1075
|
+
id: id$t,
|
|
1076
|
+
defs: defs$g
|
|
1018
1077
|
};
|
|
1019
1078
|
|
|
1020
|
-
var lexicon$
|
|
1021
|
-
var id$
|
|
1022
|
-
var defs$
|
|
1079
|
+
var lexicon$d = 1;
|
|
1080
|
+
var id$s = "app.certified.badge.response";
|
|
1081
|
+
var defs$f = {
|
|
1023
1082
|
main: {
|
|
1024
1083
|
type: "record",
|
|
1025
1084
|
description: "Recipient response to a badge award.",
|
|
@@ -1059,15 +1118,15 @@ var defs$e = {
|
|
|
1059
1118
|
}
|
|
1060
1119
|
};
|
|
1061
1120
|
var BADGE_RESPONSE_LEXICON_JSON = {
|
|
1062
|
-
lexicon: lexicon$
|
|
1063
|
-
id: id$
|
|
1064
|
-
defs: defs$
|
|
1121
|
+
lexicon: lexicon$d,
|
|
1122
|
+
id: id$s,
|
|
1123
|
+
defs: defs$f
|
|
1065
1124
|
};
|
|
1066
1125
|
|
|
1067
|
-
var lexicon$
|
|
1068
|
-
var id$
|
|
1126
|
+
var lexicon$c = 1;
|
|
1127
|
+
var id$r = "app.certified.defs";
|
|
1069
1128
|
var description$1 = "Common type definitions used across certified protocols.";
|
|
1070
|
-
var defs$
|
|
1129
|
+
var defs$e = {
|
|
1071
1130
|
did: {
|
|
1072
1131
|
type: "string",
|
|
1073
1132
|
format: "did",
|
|
@@ -1075,15 +1134,15 @@ var defs$d = {
|
|
|
1075
1134
|
}
|
|
1076
1135
|
};
|
|
1077
1136
|
var CERTIFIED_DEFS_LEXICON_JSON = {
|
|
1078
|
-
lexicon: lexicon$
|
|
1079
|
-
id: id$
|
|
1137
|
+
lexicon: lexicon$c,
|
|
1138
|
+
id: id$r,
|
|
1080
1139
|
description: description$1,
|
|
1081
|
-
defs: defs$
|
|
1140
|
+
defs: defs$e
|
|
1082
1141
|
};
|
|
1083
1142
|
|
|
1084
|
-
var lexicon$
|
|
1085
|
-
var id$
|
|
1086
|
-
var defs$
|
|
1143
|
+
var lexicon$b = 1;
|
|
1144
|
+
var id$q = "app.certified.location";
|
|
1145
|
+
var defs$d = {
|
|
1087
1146
|
main: {
|
|
1088
1147
|
type: "record",
|
|
1089
1148
|
description: "A location reference",
|
|
@@ -1148,15 +1207,15 @@ var defs$c = {
|
|
|
1148
1207
|
}
|
|
1149
1208
|
};
|
|
1150
1209
|
var LOCATION_LEXICON_JSON = {
|
|
1151
|
-
lexicon: lexicon$
|
|
1152
|
-
id: id$
|
|
1153
|
-
defs: defs$
|
|
1210
|
+
lexicon: lexicon$b,
|
|
1211
|
+
id: id$q,
|
|
1212
|
+
defs: defs$d
|
|
1154
1213
|
};
|
|
1155
1214
|
|
|
1156
|
-
var lexicon$
|
|
1157
|
-
var id$
|
|
1215
|
+
var lexicon$a = 1;
|
|
1216
|
+
var id$p = "com.atproto.repo.strongRef";
|
|
1158
1217
|
var description = "A URI with a content-hash fingerprint.";
|
|
1159
|
-
var defs$
|
|
1218
|
+
var defs$c = {
|
|
1160
1219
|
main: {
|
|
1161
1220
|
type: "object",
|
|
1162
1221
|
required: [
|
|
@@ -1176,15 +1235,15 @@ var defs$b = {
|
|
|
1176
1235
|
}
|
|
1177
1236
|
};
|
|
1178
1237
|
var STRONGREF_LEXICON_JSON = {
|
|
1179
|
-
lexicon: lexicon$
|
|
1180
|
-
id: id$
|
|
1238
|
+
lexicon: lexicon$a,
|
|
1239
|
+
id: id$p,
|
|
1181
1240
|
description: description,
|
|
1182
|
-
defs: defs$
|
|
1241
|
+
defs: defs$c
|
|
1183
1242
|
};
|
|
1184
1243
|
|
|
1185
|
-
var lexicon$
|
|
1186
|
-
var id$
|
|
1187
|
-
var defs$
|
|
1244
|
+
var lexicon$9 = 1;
|
|
1245
|
+
var id$o = "org.hypercerts.claim.activity";
|
|
1246
|
+
var defs$b = {
|
|
1188
1247
|
main: {
|
|
1189
1248
|
type: "record",
|
|
1190
1249
|
description: "A hypercert record tracking impact work.",
|
|
@@ -1237,12 +1296,12 @@ var defs$a = {
|
|
|
1237
1296
|
format: "datetime",
|
|
1238
1297
|
description: "When the work ended"
|
|
1239
1298
|
},
|
|
1240
|
-
|
|
1299
|
+
contributors: {
|
|
1241
1300
|
type: "array",
|
|
1242
|
-
description: "
|
|
1301
|
+
description: "An array of contributor objects, each containing contributor information, weight, and contribution details.",
|
|
1243
1302
|
items: {
|
|
1244
1303
|
type: "ref",
|
|
1245
|
-
ref: "
|
|
1304
|
+
ref: "#contributor"
|
|
1246
1305
|
}
|
|
1247
1306
|
},
|
|
1248
1307
|
rights: {
|
|
@@ -1266,6 +1325,44 @@ var defs$a = {
|
|
|
1266
1325
|
}
|
|
1267
1326
|
}
|
|
1268
1327
|
},
|
|
1328
|
+
contributor: {
|
|
1329
|
+
type: "object",
|
|
1330
|
+
required: [
|
|
1331
|
+
"contributorInformation"
|
|
1332
|
+
],
|
|
1333
|
+
properties: {
|
|
1334
|
+
contributorInformation: {
|
|
1335
|
+
type: "union",
|
|
1336
|
+
refs: [
|
|
1337
|
+
"#contributorIdentity",
|
|
1338
|
+
"com.atproto.repo.strongRef"
|
|
1339
|
+
],
|
|
1340
|
+
description: "Contributor information as a string (DID or identifier) or strong reference to for instance org.hypercerts.claim.contributorInformation#main."
|
|
1341
|
+
},
|
|
1342
|
+
weight: {
|
|
1343
|
+
type: "string",
|
|
1344
|
+
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."
|
|
1345
|
+
},
|
|
1346
|
+
contributionDetails: {
|
|
1347
|
+
type: "union",
|
|
1348
|
+
refs: [
|
|
1349
|
+
"#contributorRole",
|
|
1350
|
+
"com.atproto.repo.strongRef"
|
|
1351
|
+
],
|
|
1352
|
+
description: "Contribution details as a string or strong reference to org.hypercerts.claim.contributionDetails#main."
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
},
|
|
1356
|
+
contributorIdentity: {
|
|
1357
|
+
type: "string",
|
|
1358
|
+
description: "Contributor information as a string (DID or identifier)."
|
|
1359
|
+
},
|
|
1360
|
+
contributorRole: {
|
|
1361
|
+
type: "string",
|
|
1362
|
+
description: "Contribution details as a string.",
|
|
1363
|
+
maxLength: 10000,
|
|
1364
|
+
maxGraphemes: 1000
|
|
1365
|
+
},
|
|
1269
1366
|
activityWeight: {
|
|
1270
1367
|
type: "object",
|
|
1271
1368
|
required: [
|
|
@@ -1286,14 +1383,14 @@ var defs$a = {
|
|
|
1286
1383
|
}
|
|
1287
1384
|
};
|
|
1288
1385
|
var ACTIVITY_LEXICON_JSON = {
|
|
1289
|
-
lexicon: lexicon$
|
|
1290
|
-
id: id$
|
|
1291
|
-
defs: defs$
|
|
1386
|
+
lexicon: lexicon$9,
|
|
1387
|
+
id: id$o,
|
|
1388
|
+
defs: defs$b
|
|
1292
1389
|
};
|
|
1293
1390
|
|
|
1294
|
-
var lexicon$
|
|
1295
|
-
var id$
|
|
1296
|
-
var defs$
|
|
1391
|
+
var lexicon$8 = 1;
|
|
1392
|
+
var id$n = "org.hypercerts.claim.collection";
|
|
1393
|
+
var defs$a = {
|
|
1297
1394
|
main: {
|
|
1298
1395
|
type: "record",
|
|
1299
1396
|
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.",
|
|
@@ -1345,17 +1442,66 @@ var defs$9 = {
|
|
|
1345
1442
|
}
|
|
1346
1443
|
};
|
|
1347
1444
|
var COLLECTION_LEXICON_JSON = {
|
|
1445
|
+
lexicon: lexicon$8,
|
|
1446
|
+
id: id$n,
|
|
1447
|
+
defs: defs$a
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1450
|
+
var lexicon$7 = 1;
|
|
1451
|
+
var id$m = "org.hypercerts.claim.contributionDetails";
|
|
1452
|
+
var defs$9 = {
|
|
1453
|
+
main: {
|
|
1454
|
+
type: "record",
|
|
1455
|
+
description: "Details about a specific contribution including role, description, and timeframe.",
|
|
1456
|
+
key: "tid",
|
|
1457
|
+
record: {
|
|
1458
|
+
type: "object",
|
|
1459
|
+
required: [
|
|
1460
|
+
"createdAt"
|
|
1461
|
+
],
|
|
1462
|
+
properties: {
|
|
1463
|
+
role: {
|
|
1464
|
+
type: "string",
|
|
1465
|
+
description: "Role or title of the contributor.",
|
|
1466
|
+
maxLength: 100
|
|
1467
|
+
},
|
|
1468
|
+
contributionDescription: {
|
|
1469
|
+
type: "string",
|
|
1470
|
+
description: "What the contribution concretely was.",
|
|
1471
|
+
maxLength: 10000,
|
|
1472
|
+
maxGraphemes: 1000
|
|
1473
|
+
},
|
|
1474
|
+
startDate: {
|
|
1475
|
+
type: "string",
|
|
1476
|
+
format: "datetime",
|
|
1477
|
+
description: "When this contribution started. This should be a subset of the hypercert timeframe."
|
|
1478
|
+
},
|
|
1479
|
+
endDate: {
|
|
1480
|
+
type: "string",
|
|
1481
|
+
format: "datetime",
|
|
1482
|
+
description: "When this contribution finished. This should be a subset of the hypercert timeframe."
|
|
1483
|
+
},
|
|
1484
|
+
createdAt: {
|
|
1485
|
+
type: "string",
|
|
1486
|
+
format: "datetime",
|
|
1487
|
+
description: "Client-declared timestamp when this record was originally created."
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
};
|
|
1493
|
+
var CONTRIBUTIONDETAILS_LEXICON_JSON = {
|
|
1348
1494
|
lexicon: lexicon$7,
|
|
1349
|
-
id: id$
|
|
1495
|
+
id: id$m,
|
|
1350
1496
|
defs: defs$9
|
|
1351
1497
|
};
|
|
1352
1498
|
|
|
1353
1499
|
var lexicon$6 = 1;
|
|
1354
|
-
var id$
|
|
1500
|
+
var id$l = "org.hypercerts.claim.contributorInformation";
|
|
1355
1501
|
var defs$8 = {
|
|
1356
1502
|
main: {
|
|
1357
1503
|
type: "record",
|
|
1358
|
-
description: "
|
|
1504
|
+
description: "Contributor information including identifier, display name, and image.",
|
|
1359
1505
|
key: "tid",
|
|
1360
1506
|
record: {
|
|
1361
1507
|
type: "object",
|
|
@@ -1380,27 +1526,6 @@ var defs$8 = {
|
|
|
1380
1526
|
],
|
|
1381
1527
|
description: "The contributor visual representation as a URI or image blob."
|
|
1382
1528
|
},
|
|
1383
|
-
role: {
|
|
1384
|
-
type: "string",
|
|
1385
|
-
description: "Role or title of the contributor.",
|
|
1386
|
-
maxLength: 100
|
|
1387
|
-
},
|
|
1388
|
-
contributionDescription: {
|
|
1389
|
-
type: "string",
|
|
1390
|
-
description: "What the contribution concretely achieved.",
|
|
1391
|
-
maxLength: 2000,
|
|
1392
|
-
maxGraphemes: 500
|
|
1393
|
-
},
|
|
1394
|
-
startDate: {
|
|
1395
|
-
type: "string",
|
|
1396
|
-
format: "datetime",
|
|
1397
|
-
description: "When this contribution started. This should be a subset of the hypercert timeframe."
|
|
1398
|
-
},
|
|
1399
|
-
endDate: {
|
|
1400
|
-
type: "string",
|
|
1401
|
-
format: "datetime",
|
|
1402
|
-
description: "When this contribution finished. This should be a subset of the hypercert timeframe."
|
|
1403
|
-
},
|
|
1404
1529
|
createdAt: {
|
|
1405
1530
|
type: "string",
|
|
1406
1531
|
format: "datetime",
|
|
@@ -1410,14 +1535,14 @@ var defs$8 = {
|
|
|
1410
1535
|
}
|
|
1411
1536
|
}
|
|
1412
1537
|
};
|
|
1413
|
-
var
|
|
1538
|
+
var CONTRIBUTORINFORMATION_LEXICON_JSON = {
|
|
1414
1539
|
lexicon: lexicon$6,
|
|
1415
|
-
id: id$
|
|
1540
|
+
id: id$l,
|
|
1416
1541
|
defs: defs$8
|
|
1417
1542
|
};
|
|
1418
1543
|
|
|
1419
1544
|
var lexicon$5 = 1;
|
|
1420
|
-
var id$
|
|
1545
|
+
var id$k = "org.hypercerts.claim.evaluation";
|
|
1421
1546
|
var defs$7 = {
|
|
1422
1547
|
score: {
|
|
1423
1548
|
type: "object",
|
|
@@ -1516,12 +1641,12 @@ var defs$7 = {
|
|
|
1516
1641
|
};
|
|
1517
1642
|
var EVALUATION_LEXICON_JSON = {
|
|
1518
1643
|
lexicon: lexicon$5,
|
|
1519
|
-
id: id$
|
|
1644
|
+
id: id$k,
|
|
1520
1645
|
defs: defs$7
|
|
1521
1646
|
};
|
|
1522
1647
|
|
|
1523
1648
|
var lexicon$4 = 1;
|
|
1524
|
-
var id$
|
|
1649
|
+
var id$j = "org.hypercerts.claim.evidence";
|
|
1525
1650
|
var defs$6 = {
|
|
1526
1651
|
main: {
|
|
1527
1652
|
type: "record",
|
|
@@ -1585,12 +1710,12 @@ var defs$6 = {
|
|
|
1585
1710
|
};
|
|
1586
1711
|
var EVIDENCE_LEXICON_JSON = {
|
|
1587
1712
|
lexicon: lexicon$4,
|
|
1588
|
-
id: id$
|
|
1713
|
+
id: id$j,
|
|
1589
1714
|
defs: defs$6
|
|
1590
1715
|
};
|
|
1591
1716
|
|
|
1592
1717
|
var lexicon$3 = 1;
|
|
1593
|
-
var id$
|
|
1718
|
+
var id$i = "org.hypercerts.claim.measurement";
|
|
1594
1719
|
var defs$5 = {
|
|
1595
1720
|
main: {
|
|
1596
1721
|
type: "record",
|
|
@@ -1664,12 +1789,12 @@ var defs$5 = {
|
|
|
1664
1789
|
};
|
|
1665
1790
|
var MEASUREMENT_LEXICON_JSON = {
|
|
1666
1791
|
lexicon: lexicon$3,
|
|
1667
|
-
id: id$
|
|
1792
|
+
id: id$i,
|
|
1668
1793
|
defs: defs$5
|
|
1669
1794
|
};
|
|
1670
1795
|
|
|
1671
1796
|
var lexicon$2 = 1;
|
|
1672
|
-
var id$
|
|
1797
|
+
var id$h = "org.hypercerts.claim.rights";
|
|
1673
1798
|
var defs$4 = {
|
|
1674
1799
|
main: {
|
|
1675
1800
|
type: "record",
|
|
@@ -1717,12 +1842,12 @@ var defs$4 = {
|
|
|
1717
1842
|
};
|
|
1718
1843
|
var RIGHTS_LEXICON_JSON = {
|
|
1719
1844
|
lexicon: lexicon$2,
|
|
1720
|
-
id: id$
|
|
1845
|
+
id: id$h,
|
|
1721
1846
|
defs: defs$4
|
|
1722
1847
|
};
|
|
1723
1848
|
|
|
1724
1849
|
var lexicon$1 = 1;
|
|
1725
|
-
var id$
|
|
1850
|
+
var id$g = "org.hypercerts.defs";
|
|
1726
1851
|
var defs$3 = {
|
|
1727
1852
|
uri: {
|
|
1728
1853
|
type: "object",
|
|
@@ -1816,12 +1941,12 @@ var defs$3 = {
|
|
|
1816
1941
|
};
|
|
1817
1942
|
var HYPERCERTS_DEFS_LEXICON_JSON = {
|
|
1818
1943
|
lexicon: lexicon$1,
|
|
1819
|
-
id: id$
|
|
1944
|
+
id: id$g,
|
|
1820
1945
|
defs: defs$3
|
|
1821
1946
|
};
|
|
1822
1947
|
|
|
1823
1948
|
var lexicon = 1;
|
|
1824
|
-
var id$
|
|
1949
|
+
var id$f = "org.hypercerts.funding.receipt";
|
|
1825
1950
|
var defs$2 = {
|
|
1826
1951
|
main: {
|
|
1827
1952
|
type: "record",
|
|
@@ -1892,12 +2017,30 @@ var defs$2 = {
|
|
|
1892
2017
|
};
|
|
1893
2018
|
var FUNDING_RECEIPT_LEXICON_JSON = {
|
|
1894
2019
|
lexicon: lexicon,
|
|
1895
|
-
id: id$
|
|
2020
|
+
id: id$f,
|
|
1896
2021
|
defs: defs$2
|
|
1897
2022
|
};
|
|
1898
2023
|
|
|
1899
|
-
const is$typed$
|
|
1900
|
-
const id$
|
|
2024
|
+
const is$typed$e = is$typed$f, validate$e = validate$f;
|
|
2025
|
+
const id$e = 'app.certified.badge.award';
|
|
2026
|
+
const hashMain$d = 'main';
|
|
2027
|
+
function isMain$d(v) {
|
|
2028
|
+
return is$typed$e(v, id$e, hashMain$d);
|
|
2029
|
+
}
|
|
2030
|
+
function validateMain$d(v) {
|
|
2031
|
+
return validate$e(v, id$e, hashMain$d, true);
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
var award = /*#__PURE__*/Object.freeze({
|
|
2035
|
+
__proto__: null,
|
|
2036
|
+
isMain: isMain$d,
|
|
2037
|
+
isRecord: isMain$d,
|
|
2038
|
+
validateMain: validateMain$d,
|
|
2039
|
+
validateRecord: validateMain$d
|
|
2040
|
+
});
|
|
2041
|
+
|
|
2042
|
+
const is$typed$d = is$typed$f, validate$d = validate$f;
|
|
2043
|
+
const id$d = 'app.certified.badge.definition';
|
|
1901
2044
|
const hashMain$c = 'main';
|
|
1902
2045
|
function isMain$c(v) {
|
|
1903
2046
|
return is$typed$d(v, id$d, hashMain$c);
|
|
@@ -1906,7 +2049,7 @@ function validateMain$c(v) {
|
|
|
1906
2049
|
return validate$d(v, id$d, hashMain$c, true);
|
|
1907
2050
|
}
|
|
1908
2051
|
|
|
1909
|
-
var
|
|
2052
|
+
var definition = /*#__PURE__*/Object.freeze({
|
|
1910
2053
|
__proto__: null,
|
|
1911
2054
|
isMain: isMain$c,
|
|
1912
2055
|
isRecord: isMain$c,
|
|
@@ -1914,8 +2057,8 @@ var award = /*#__PURE__*/Object.freeze({
|
|
|
1914
2057
|
validateRecord: validateMain$c
|
|
1915
2058
|
});
|
|
1916
2059
|
|
|
1917
|
-
const is$typed$c = is$typed$
|
|
1918
|
-
const id$c = 'app.certified.badge.
|
|
2060
|
+
const is$typed$c = is$typed$f, validate$c = validate$f;
|
|
2061
|
+
const id$c = 'app.certified.badge.response';
|
|
1919
2062
|
const hashMain$b = 'main';
|
|
1920
2063
|
function isMain$b(v) {
|
|
1921
2064
|
return is$typed$c(v, id$c, hashMain$b);
|
|
@@ -1924,7 +2067,7 @@ function validateMain$b(v) {
|
|
|
1924
2067
|
return validate$c(v, id$c, hashMain$b, true);
|
|
1925
2068
|
}
|
|
1926
2069
|
|
|
1927
|
-
var
|
|
2070
|
+
var response = /*#__PURE__*/Object.freeze({
|
|
1928
2071
|
__proto__: null,
|
|
1929
2072
|
isMain: isMain$b,
|
|
1930
2073
|
isRecord: isMain$b,
|
|
@@ -1932,8 +2075,12 @@ var definition = /*#__PURE__*/Object.freeze({
|
|
|
1932
2075
|
validateRecord: validateMain$b
|
|
1933
2076
|
});
|
|
1934
2077
|
|
|
1935
|
-
|
|
1936
|
-
|
|
2078
|
+
var defs$1 = /*#__PURE__*/Object.freeze({
|
|
2079
|
+
__proto__: null
|
|
2080
|
+
});
|
|
2081
|
+
|
|
2082
|
+
const is$typed$b = is$typed$f, validate$b = validate$f;
|
|
2083
|
+
const id$b = 'app.certified.location';
|
|
1937
2084
|
const hashMain$a = 'main';
|
|
1938
2085
|
function isMain$a(v) {
|
|
1939
2086
|
return is$typed$b(v, id$b, hashMain$a);
|
|
@@ -1942,7 +2089,7 @@ function validateMain$a(v) {
|
|
|
1942
2089
|
return validate$b(v, id$b, hashMain$a, true);
|
|
1943
2090
|
}
|
|
1944
2091
|
|
|
1945
|
-
var
|
|
2092
|
+
var location = /*#__PURE__*/Object.freeze({
|
|
1946
2093
|
__proto__: null,
|
|
1947
2094
|
isMain: isMain$a,
|
|
1948
2095
|
isRecord: isMain$a,
|
|
@@ -1950,46 +2097,60 @@ var response = /*#__PURE__*/Object.freeze({
|
|
|
1950
2097
|
validateRecord: validateMain$a
|
|
1951
2098
|
});
|
|
1952
2099
|
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
});
|
|
1956
|
-
|
|
1957
|
-
const is$typed$a = is$typed$e, validate$a = validate$e;
|
|
1958
|
-
const id$a = 'app.certified.location';
|
|
2100
|
+
const is$typed$a = is$typed$f, validate$a = validate$f;
|
|
2101
|
+
const id$a = 'com.atproto.repo.strongRef';
|
|
1959
2102
|
const hashMain$9 = 'main';
|
|
1960
2103
|
function isMain$9(v) {
|
|
1961
2104
|
return is$typed$a(v, id$a, hashMain$9);
|
|
1962
2105
|
}
|
|
1963
2106
|
function validateMain$9(v) {
|
|
1964
|
-
return validate$a(v, id$a, hashMain$9
|
|
2107
|
+
return validate$a(v, id$a, hashMain$9);
|
|
1965
2108
|
}
|
|
1966
2109
|
|
|
1967
|
-
var
|
|
2110
|
+
var strongRef = /*#__PURE__*/Object.freeze({
|
|
1968
2111
|
__proto__: null,
|
|
1969
2112
|
isMain: isMain$9,
|
|
1970
|
-
|
|
1971
|
-
validateMain: validateMain$9,
|
|
1972
|
-
validateRecord: validateMain$9
|
|
2113
|
+
validateMain: validateMain$9
|
|
1973
2114
|
});
|
|
1974
2115
|
|
|
1975
|
-
const is$typed$9 = is$typed$
|
|
1976
|
-
const id$9 = '
|
|
2116
|
+
const is$typed$9 = is$typed$f, validate$9 = validate$f;
|
|
2117
|
+
const id$9 = 'org.hypercerts.claim.activity';
|
|
1977
2118
|
const hashMain$8 = 'main';
|
|
1978
2119
|
function isMain$8(v) {
|
|
1979
2120
|
return is$typed$9(v, id$9, hashMain$8);
|
|
1980
2121
|
}
|
|
1981
2122
|
function validateMain$8(v) {
|
|
1982
|
-
return validate$9(v, id$9, hashMain$8);
|
|
2123
|
+
return validate$9(v, id$9, hashMain$8, true);
|
|
2124
|
+
}
|
|
2125
|
+
const hashContributor = 'contributor';
|
|
2126
|
+
function isContributor(v) {
|
|
2127
|
+
return is$typed$9(v, id$9, hashContributor);
|
|
2128
|
+
}
|
|
2129
|
+
function validateContributor(v) {
|
|
2130
|
+
return validate$9(v, id$9, hashContributor);
|
|
2131
|
+
}
|
|
2132
|
+
const hashActivityWeight = 'activityWeight';
|
|
2133
|
+
function isActivityWeight(v) {
|
|
2134
|
+
return is$typed$9(v, id$9, hashActivityWeight);
|
|
2135
|
+
}
|
|
2136
|
+
function validateActivityWeight(v) {
|
|
2137
|
+
return validate$9(v, id$9, hashActivityWeight);
|
|
1983
2138
|
}
|
|
1984
2139
|
|
|
1985
|
-
var
|
|
2140
|
+
var activity = /*#__PURE__*/Object.freeze({
|
|
1986
2141
|
__proto__: null,
|
|
2142
|
+
isActivityWeight: isActivityWeight,
|
|
2143
|
+
isContributor: isContributor,
|
|
1987
2144
|
isMain: isMain$8,
|
|
1988
|
-
|
|
2145
|
+
isRecord: isMain$8,
|
|
2146
|
+
validateActivityWeight: validateActivityWeight,
|
|
2147
|
+
validateContributor: validateContributor,
|
|
2148
|
+
validateMain: validateMain$8,
|
|
2149
|
+
validateRecord: validateMain$8
|
|
1989
2150
|
});
|
|
1990
2151
|
|
|
1991
|
-
const is$typed$8 = is$typed$
|
|
1992
|
-
const id$8 = 'org.hypercerts.claim.
|
|
2152
|
+
const is$typed$8 = is$typed$f, validate$8 = validate$f;
|
|
2153
|
+
const id$8 = 'org.hypercerts.claim.collection';
|
|
1993
2154
|
const hashMain$7 = 'main';
|
|
1994
2155
|
function isMain$7(v) {
|
|
1995
2156
|
return is$typed$8(v, id$8, hashMain$7);
|
|
@@ -1997,26 +2158,17 @@ function isMain$7(v) {
|
|
|
1997
2158
|
function validateMain$7(v) {
|
|
1998
2159
|
return validate$8(v, id$8, hashMain$7, true);
|
|
1999
2160
|
}
|
|
2000
|
-
const hashActivityWeight = 'activityWeight';
|
|
2001
|
-
function isActivityWeight(v) {
|
|
2002
|
-
return is$typed$8(v, id$8, hashActivityWeight);
|
|
2003
|
-
}
|
|
2004
|
-
function validateActivityWeight(v) {
|
|
2005
|
-
return validate$8(v, id$8, hashActivityWeight);
|
|
2006
|
-
}
|
|
2007
2161
|
|
|
2008
|
-
var
|
|
2162
|
+
var collection = /*#__PURE__*/Object.freeze({
|
|
2009
2163
|
__proto__: null,
|
|
2010
|
-
isActivityWeight: isActivityWeight,
|
|
2011
2164
|
isMain: isMain$7,
|
|
2012
2165
|
isRecord: isMain$7,
|
|
2013
|
-
validateActivityWeight: validateActivityWeight,
|
|
2014
2166
|
validateMain: validateMain$7,
|
|
2015
2167
|
validateRecord: validateMain$7
|
|
2016
2168
|
});
|
|
2017
2169
|
|
|
2018
|
-
const is$typed$7 = is$typed$
|
|
2019
|
-
const id$7 = 'org.hypercerts.claim.
|
|
2170
|
+
const is$typed$7 = is$typed$f, validate$7 = validate$f;
|
|
2171
|
+
const id$7 = 'org.hypercerts.claim.contributionDetails';
|
|
2020
2172
|
const hashMain$6 = 'main';
|
|
2021
2173
|
function isMain$6(v) {
|
|
2022
2174
|
return is$typed$7(v, id$7, hashMain$6);
|
|
@@ -2025,7 +2177,7 @@ function validateMain$6(v) {
|
|
|
2025
2177
|
return validate$7(v, id$7, hashMain$6, true);
|
|
2026
2178
|
}
|
|
2027
2179
|
|
|
2028
|
-
var
|
|
2180
|
+
var contributionDetails = /*#__PURE__*/Object.freeze({
|
|
2029
2181
|
__proto__: null,
|
|
2030
2182
|
isMain: isMain$6,
|
|
2031
2183
|
isRecord: isMain$6,
|
|
@@ -2033,8 +2185,8 @@ var collection = /*#__PURE__*/Object.freeze({
|
|
|
2033
2185
|
validateRecord: validateMain$6
|
|
2034
2186
|
});
|
|
2035
2187
|
|
|
2036
|
-
const is$typed$6 = is$typed$
|
|
2037
|
-
const id$6 = 'org.hypercerts.claim.
|
|
2188
|
+
const is$typed$6 = is$typed$f, validate$6 = validate$f;
|
|
2189
|
+
const id$6 = 'org.hypercerts.claim.contributorInformation';
|
|
2038
2190
|
const hashMain$5 = 'main';
|
|
2039
2191
|
function isMain$5(v) {
|
|
2040
2192
|
return is$typed$6(v, id$6, hashMain$5);
|
|
@@ -2043,7 +2195,7 @@ function validateMain$5(v) {
|
|
|
2043
2195
|
return validate$6(v, id$6, hashMain$5, true);
|
|
2044
2196
|
}
|
|
2045
2197
|
|
|
2046
|
-
var
|
|
2198
|
+
var contributorInformation = /*#__PURE__*/Object.freeze({
|
|
2047
2199
|
__proto__: null,
|
|
2048
2200
|
isMain: isMain$5,
|
|
2049
2201
|
isRecord: isMain$5,
|
|
@@ -2051,7 +2203,7 @@ var contributor = /*#__PURE__*/Object.freeze({
|
|
|
2051
2203
|
validateRecord: validateMain$5
|
|
2052
2204
|
});
|
|
2053
2205
|
|
|
2054
|
-
const is$typed$5 = is$typed$
|
|
2206
|
+
const is$typed$5 = is$typed$f, validate$5 = validate$f;
|
|
2055
2207
|
const id$5 = 'org.hypercerts.claim.evaluation';
|
|
2056
2208
|
const hashScore = 'score';
|
|
2057
2209
|
function isScore(v) {
|
|
@@ -2078,7 +2230,7 @@ var evaluation = /*#__PURE__*/Object.freeze({
|
|
|
2078
2230
|
validateScore: validateScore
|
|
2079
2231
|
});
|
|
2080
2232
|
|
|
2081
|
-
const is$typed$4 = is$typed$
|
|
2233
|
+
const is$typed$4 = is$typed$f, validate$4 = validate$f;
|
|
2082
2234
|
const id$4 = 'org.hypercerts.claim.evidence';
|
|
2083
2235
|
const hashMain$3 = 'main';
|
|
2084
2236
|
function isMain$3(v) {
|
|
@@ -2096,7 +2248,7 @@ var evidence = /*#__PURE__*/Object.freeze({
|
|
|
2096
2248
|
validateRecord: validateMain$3
|
|
2097
2249
|
});
|
|
2098
2250
|
|
|
2099
|
-
const is$typed$3 = is$typed$
|
|
2251
|
+
const is$typed$3 = is$typed$f, validate$3 = validate$f;
|
|
2100
2252
|
const id$3 = 'org.hypercerts.claim.measurement';
|
|
2101
2253
|
const hashMain$2 = 'main';
|
|
2102
2254
|
function isMain$2(v) {
|
|
@@ -2114,7 +2266,7 @@ var measurement = /*#__PURE__*/Object.freeze({
|
|
|
2114
2266
|
validateRecord: validateMain$2
|
|
2115
2267
|
});
|
|
2116
2268
|
|
|
2117
|
-
const is$typed$2 = is$typed$
|
|
2269
|
+
const is$typed$2 = is$typed$f, validate$2 = validate$f;
|
|
2118
2270
|
const id$2 = 'org.hypercerts.claim.rights';
|
|
2119
2271
|
const hashMain$1 = 'main';
|
|
2120
2272
|
function isMain$1(v) {
|
|
@@ -2132,7 +2284,7 @@ var rights = /*#__PURE__*/Object.freeze({
|
|
|
2132
2284
|
validateRecord: validateMain$1
|
|
2133
2285
|
});
|
|
2134
2286
|
|
|
2135
|
-
const is$typed$1 = is$typed$
|
|
2287
|
+
const is$typed$1 = is$typed$f, validate$1 = validate$f;
|
|
2136
2288
|
const id$1 = 'org.hypercerts.defs';
|
|
2137
2289
|
const hashUri = 'uri';
|
|
2138
2290
|
function isUri(v) {
|
|
@@ -2184,7 +2336,7 @@ var defs = /*#__PURE__*/Object.freeze({
|
|
|
2184
2336
|
validateUri: validateUri
|
|
2185
2337
|
});
|
|
2186
2338
|
|
|
2187
|
-
const is$typed = is$typed$
|
|
2339
|
+
const is$typed = is$typed$f, validate = validate$f;
|
|
2188
2340
|
const id = 'org.hypercerts.funding.receipt';
|
|
2189
2341
|
const hashMain = 'main';
|
|
2190
2342
|
function isMain(v) {
|
|
@@ -2208,7 +2360,7 @@ var receipt = /*#__PURE__*/Object.freeze({
|
|
|
2208
2360
|
* ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
|
|
2209
2361
|
*
|
|
2210
2362
|
* This file is automatically generated by scripts/generate-exports.js
|
|
2211
|
-
* Generated: 2026-01-
|
|
2363
|
+
* Generated: 2026-01-21T07:15:37.790Z
|
|
2212
2364
|
*
|
|
2213
2365
|
* To regenerate this file, run:
|
|
2214
2366
|
* npm run gen-api
|
|
@@ -2233,7 +2385,8 @@ const LOCATION_NSID = "app.certified.location";
|
|
|
2233
2385
|
const STRONGREF_NSID = "com.atproto.repo.strongRef";
|
|
2234
2386
|
const ACTIVITY_NSID = "org.hypercerts.claim.activity";
|
|
2235
2387
|
const COLLECTION_NSID = "org.hypercerts.claim.collection";
|
|
2236
|
-
const
|
|
2388
|
+
const CONTRIBUTIONDETAILS_NSID = "org.hypercerts.claim.contributionDetails";
|
|
2389
|
+
const CONTRIBUTORINFORMATION_NSID = "org.hypercerts.claim.contributorInformation";
|
|
2237
2390
|
const EVALUATION_NSID = "org.hypercerts.claim.evaluation";
|
|
2238
2391
|
const EVIDENCE_NSID = "org.hypercerts.claim.evidence";
|
|
2239
2392
|
const MEASUREMENT_NSID = "org.hypercerts.claim.measurement";
|
|
@@ -2255,7 +2408,8 @@ const HYPERCERTS_NSIDS = {
|
|
|
2255
2408
|
STRONGREF: STRONGREF_NSID,
|
|
2256
2409
|
ACTIVITY: ACTIVITY_NSID,
|
|
2257
2410
|
COLLECTION: COLLECTION_NSID,
|
|
2258
|
-
|
|
2411
|
+
CONTRIBUTIONDETAILS: CONTRIBUTIONDETAILS_NSID,
|
|
2412
|
+
CONTRIBUTORINFORMATION: CONTRIBUTORINFORMATION_NSID,
|
|
2259
2413
|
EVALUATION: EVALUATION_NSID,
|
|
2260
2414
|
EVIDENCE: EVIDENCE_NSID,
|
|
2261
2415
|
MEASUREMENT: MEASUREMENT_NSID,
|
|
@@ -2275,7 +2429,8 @@ const HYPERCERTS_LEXICON_JSON = {
|
|
|
2275
2429
|
STRONGREF: STRONGREF_LEXICON_JSON,
|
|
2276
2430
|
ACTIVITY: ACTIVITY_LEXICON_JSON,
|
|
2277
2431
|
COLLECTION: COLLECTION_LEXICON_JSON,
|
|
2278
|
-
|
|
2432
|
+
CONTRIBUTIONDETAILS: CONTRIBUTIONDETAILS_LEXICON_JSON,
|
|
2433
|
+
CONTRIBUTORINFORMATION: CONTRIBUTORINFORMATION_LEXICON_JSON,
|
|
2279
2434
|
EVALUATION: EVALUATION_LEXICON_JSON,
|
|
2280
2435
|
EVIDENCE: EVIDENCE_LEXICON_JSON,
|
|
2281
2436
|
MEASUREMENT: MEASUREMENT_LEXICON_JSON,
|
|
@@ -2292,7 +2447,8 @@ const LOCATION_LEXICON_DOC = lexicons.get(LOCATION_NSID);
|
|
|
2292
2447
|
const STRONGREF_LEXICON_DOC = lexicons.get(STRONGREF_NSID);
|
|
2293
2448
|
const ACTIVITY_LEXICON_DOC = lexicons.get(ACTIVITY_NSID);
|
|
2294
2449
|
const COLLECTION_LEXICON_DOC = lexicons.get(COLLECTION_NSID);
|
|
2295
|
-
const
|
|
2450
|
+
const CONTRIBUTIONDETAILS_LEXICON_DOC = lexicons.get(CONTRIBUTIONDETAILS_NSID);
|
|
2451
|
+
const CONTRIBUTORINFORMATION_LEXICON_DOC = lexicons.get(CONTRIBUTORINFORMATION_NSID);
|
|
2296
2452
|
const EVALUATION_LEXICON_DOC = lexicons.get(EVALUATION_NSID);
|
|
2297
2453
|
const EVIDENCE_LEXICON_DOC = lexicons.get(EVIDENCE_NSID);
|
|
2298
2454
|
const MEASUREMENT_LEXICON_DOC = lexicons.get(MEASUREMENT_NSID);
|
|
@@ -2311,7 +2467,8 @@ const HYPERCERTS_LEXICON_DOC = {
|
|
|
2311
2467
|
STRONGREF: STRONGREF_LEXICON_DOC,
|
|
2312
2468
|
ACTIVITY: ACTIVITY_LEXICON_DOC,
|
|
2313
2469
|
COLLECTION: COLLECTION_LEXICON_DOC,
|
|
2314
|
-
|
|
2470
|
+
CONTRIBUTIONDETAILS: CONTRIBUTIONDETAILS_LEXICON_DOC,
|
|
2471
|
+
CONTRIBUTORINFORMATION: CONTRIBUTORINFORMATION_LEXICON_DOC,
|
|
2315
2472
|
EVALUATION: EVALUATION_LEXICON_DOC,
|
|
2316
2473
|
EVIDENCE: EVIDENCE_LEXICON_DOC,
|
|
2317
2474
|
MEASUREMENT: MEASUREMENT_LEXICON_DOC,
|
|
@@ -2343,9 +2500,12 @@ exports.CERTIFIED_DEFS_NSID = CERTIFIED_DEFS_NSID;
|
|
|
2343
2500
|
exports.COLLECTION_LEXICON_DOC = COLLECTION_LEXICON_DOC;
|
|
2344
2501
|
exports.COLLECTION_LEXICON_JSON = COLLECTION_LEXICON_JSON;
|
|
2345
2502
|
exports.COLLECTION_NSID = COLLECTION_NSID;
|
|
2346
|
-
exports.
|
|
2347
|
-
exports.
|
|
2348
|
-
exports.
|
|
2503
|
+
exports.CONTRIBUTIONDETAILS_LEXICON_DOC = CONTRIBUTIONDETAILS_LEXICON_DOC;
|
|
2504
|
+
exports.CONTRIBUTIONDETAILS_LEXICON_JSON = CONTRIBUTIONDETAILS_LEXICON_JSON;
|
|
2505
|
+
exports.CONTRIBUTIONDETAILS_NSID = CONTRIBUTIONDETAILS_NSID;
|
|
2506
|
+
exports.CONTRIBUTORINFORMATION_LEXICON_DOC = CONTRIBUTORINFORMATION_LEXICON_DOC;
|
|
2507
|
+
exports.CONTRIBUTORINFORMATION_LEXICON_JSON = CONTRIBUTORINFORMATION_LEXICON_JSON;
|
|
2508
|
+
exports.CONTRIBUTORINFORMATION_NSID = CONTRIBUTORINFORMATION_NSID;
|
|
2349
2509
|
exports.ComAtprotoRepoStrongRef = strongRef;
|
|
2350
2510
|
exports.EVALUATION_LEXICON_DOC = EVALUATION_LEXICON_DOC;
|
|
2351
2511
|
exports.EVALUATION_LEXICON_JSON = EVALUATION_LEXICON_JSON;
|
|
@@ -2373,7 +2533,8 @@ exports.MEASUREMENT_LEXICON_JSON = MEASUREMENT_LEXICON_JSON;
|
|
|
2373
2533
|
exports.MEASUREMENT_NSID = MEASUREMENT_NSID;
|
|
2374
2534
|
exports.OrgHypercertsClaimActivity = activity;
|
|
2375
2535
|
exports.OrgHypercertsClaimCollection = collection;
|
|
2376
|
-
exports.
|
|
2536
|
+
exports.OrgHypercertsClaimContributionDetails = contributionDetails;
|
|
2537
|
+
exports.OrgHypercertsClaimContributorInformation = contributorInformation;
|
|
2377
2538
|
exports.OrgHypercertsClaimEvaluation = evaluation;
|
|
2378
2539
|
exports.OrgHypercertsClaimEvidence = evidence;
|
|
2379
2540
|
exports.OrgHypercertsClaimMeasurement = measurement;
|
|
@@ -2387,8 +2548,8 @@ exports.STRONGREF_LEXICON_DOC = STRONGREF_LEXICON_DOC;
|
|
|
2387
2548
|
exports.STRONGREF_LEXICON_JSON = STRONGREF_LEXICON_JSON;
|
|
2388
2549
|
exports.STRONGREF_NSID = STRONGREF_NSID;
|
|
2389
2550
|
exports.asPredicate = asPredicate;
|
|
2390
|
-
exports.is$typed = is$typed$
|
|
2551
|
+
exports.is$typed = is$typed$f;
|
|
2391
2552
|
exports.lexicons = lexicons;
|
|
2392
2553
|
exports.maybe$typed = maybe$typed;
|
|
2393
|
-
exports.validate = validate$
|
|
2554
|
+
exports.validate = validate$f;
|
|
2394
2555
|
//# sourceMappingURL=index.cjs.map
|