@hypercerts-org/lexicon 0.10.0-beta.6 → 0.10.0-beta.8
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 +76 -0
- package/README.md +46 -0
- package/SCHEMAS.md +114 -104
- package/dist/exports.d.ts +186 -20
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +186 -20
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +376 -54
- package/dist/generated/lexicons.d.ts.map +1 -1
- package/dist/generated/types/app/bsky/richtext/facet.d.ts +8 -0
- package/dist/generated/types/app/bsky/richtext/facet.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts +12 -13
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/collection.d.ts +18 -2
- package/dist/generated/types/org/hypercerts/claim/collection.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/defs.d.ts +44 -0
- package/dist/generated/types/org/hypercerts/defs.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts +31 -0
- package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts.map +1 -0
- package/dist/index.cjs +729 -267
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +721 -263
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +218 -27
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +376 -54
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +218 -27
- package/dist/lexicons.mjs.map +1 -1
- package/dist/types/app/bsky/richtext/facet.d.ts +8 -0
- package/dist/types/app/bsky/richtext/facet.d.ts.map +1 -0
- package/dist/types/org/hypercerts/claim/activity.d.ts +12 -13
- package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/collection.d.ts +18 -2
- package/dist/types/org/hypercerts/claim/collection.d.ts.map +1 -1
- package/dist/types/org/hypercerts/defs.d.ts +44 -0
- package/dist/types/org/hypercerts/defs.d.ts.map +1 -1
- package/dist/types/org/hypercerts/helper/workScopeTag.d.ts +31 -0
- package/dist/types/org/hypercerts/helper/workScopeTag.d.ts.map +1 -0
- package/lexicons/org/hypercerts/claim/activity.json +31 -25
- package/lexicons/org/hypercerts/claim/collection.json +33 -2
- package/lexicons/org/hypercerts/defs.json +88 -0
- package/lexicons/org/hypercerts/helper/workScopeTag.json +65 -0
- package/package.json +4 -1
|
@@ -231,25 +231,41 @@ export declare const schemaDict: {
|
|
|
231
231
|
};
|
|
232
232
|
readonly shortDescription: {
|
|
233
233
|
readonly type: "string";
|
|
234
|
-
readonly description: "Short
|
|
234
|
+
readonly description: "Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.";
|
|
235
235
|
readonly maxLength: 3000;
|
|
236
236
|
readonly maxGraphemes: 300;
|
|
237
237
|
};
|
|
238
|
+
readonly shortDescriptionFacets: {
|
|
239
|
+
readonly type: "array";
|
|
240
|
+
readonly description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).";
|
|
241
|
+
readonly items: {
|
|
242
|
+
readonly type: "ref";
|
|
243
|
+
readonly ref: "lex:app.bsky.richtext.facet";
|
|
244
|
+
};
|
|
245
|
+
};
|
|
238
246
|
readonly description: {
|
|
239
247
|
readonly type: "string";
|
|
240
|
-
readonly description: "Optional longer description of
|
|
248
|
+
readonly description: "Optional longer description of this activity claim, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.";
|
|
241
249
|
readonly maxLength: 30000;
|
|
242
250
|
readonly maxGraphemes: 3000;
|
|
243
251
|
};
|
|
252
|
+
readonly descriptionFacets: {
|
|
253
|
+
readonly type: "array";
|
|
254
|
+
readonly description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).";
|
|
255
|
+
readonly items: {
|
|
256
|
+
readonly type: "ref";
|
|
257
|
+
readonly ref: "lex:app.bsky.richtext.facet";
|
|
258
|
+
};
|
|
259
|
+
};
|
|
244
260
|
readonly image: {
|
|
245
261
|
readonly type: "union";
|
|
246
262
|
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
|
|
247
263
|
readonly description: "The hypercert visual representation as a URI or image blob.";
|
|
248
264
|
};
|
|
249
265
|
readonly workScope: {
|
|
250
|
-
readonly type: "
|
|
251
|
-
readonly
|
|
252
|
-
readonly description: "
|
|
266
|
+
readonly type: "union";
|
|
267
|
+
readonly refs: ["lex:org.hypercerts.defs#workScopeAll", "lex:org.hypercerts.defs#workScopeAny", "lex:org.hypercerts.defs#workScopeNot", "lex:org.hypercerts.defs#workScopeAtom"];
|
|
268
|
+
readonly description: "Work scope logic expression using boolean operators (all/any/not) and atomic scope references.";
|
|
253
269
|
};
|
|
254
270
|
readonly startDate: {
|
|
255
271
|
readonly type: "string";
|
|
@@ -292,21 +308,21 @@ export declare const schemaDict: {
|
|
|
292
308
|
};
|
|
293
309
|
readonly contributor: {
|
|
294
310
|
readonly type: "object";
|
|
295
|
-
readonly required: ["
|
|
311
|
+
readonly required: ["contributorIdentity"];
|
|
296
312
|
readonly properties: {
|
|
297
|
-
readonly
|
|
313
|
+
readonly contributorIdentity: {
|
|
298
314
|
readonly type: "union";
|
|
299
315
|
readonly refs: ["lex:org.hypercerts.claim.activity#contributorIdentity", "lex:com.atproto.repo.strongRef"];
|
|
300
|
-
readonly description: "Contributor
|
|
316
|
+
readonly description: "Contributor identity as a string (DID or identifier) via org.hypercerts.claim.activity#contributorIdentity, or a strong reference to a contributor information record.";
|
|
301
317
|
};
|
|
302
|
-
readonly
|
|
318
|
+
readonly contributionWeight: {
|
|
303
319
|
readonly type: "string";
|
|
304
320
|
readonly 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.";
|
|
305
321
|
};
|
|
306
322
|
readonly contributionDetails: {
|
|
307
323
|
readonly type: "union";
|
|
308
324
|
readonly refs: ["lex:org.hypercerts.claim.activity#contributorRole", "lex:com.atproto.repo.strongRef"];
|
|
309
|
-
readonly description: "Contribution details as a string or strong reference to
|
|
325
|
+
readonly description: "Contribution details as a string via org.hypercerts.claim.activity#contributorRole, or a strong reference to a contribution details record.";
|
|
310
326
|
};
|
|
311
327
|
};
|
|
312
328
|
};
|
|
@@ -320,21 +336,6 @@ export declare const schemaDict: {
|
|
|
320
336
|
readonly maxLength: 10000;
|
|
321
337
|
readonly maxGraphemes: 1000;
|
|
322
338
|
};
|
|
323
|
-
readonly activityWeight: {
|
|
324
|
-
readonly type: "object";
|
|
325
|
-
readonly required: ["activity", "weight"];
|
|
326
|
-
readonly properties: {
|
|
327
|
-
readonly activity: {
|
|
328
|
-
readonly type: "ref";
|
|
329
|
-
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
330
|
-
readonly description: "A strong reference to a hypercert activity record. This activity must conform to the lexicon org.hypercerts.claim.activity";
|
|
331
|
-
};
|
|
332
|
-
readonly weight: {
|
|
333
|
-
readonly type: "string";
|
|
334
|
-
readonly description: "The relative weight/importance of this hypercert activity (stored as a string to avoid float precision issues). Weights can be any positive numeric values and do not need to sum to a specific total; normalization can be performed by the consuming application as needed.";
|
|
335
|
-
};
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
339
|
};
|
|
339
340
|
};
|
|
340
341
|
readonly OrgHypercertsClaimCollection: {
|
|
@@ -370,12 +371,22 @@ export declare const schemaDict: {
|
|
|
370
371
|
readonly ref: "lex:pub.leaflet.pages.linearDocument#main";
|
|
371
372
|
readonly description: "Rich-text description, represented as a Leaflet linear document.";
|
|
372
373
|
};
|
|
374
|
+
readonly avatar: {
|
|
375
|
+
readonly type: "union";
|
|
376
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
|
|
377
|
+
readonly description: "The collection's avatar/profile image as a URI or image blob.";
|
|
378
|
+
};
|
|
379
|
+
readonly banner: {
|
|
380
|
+
readonly type: "union";
|
|
381
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#largeImage"];
|
|
382
|
+
readonly description: "Larger horizontal image to display behind the collection view.";
|
|
383
|
+
};
|
|
373
384
|
readonly items: {
|
|
374
385
|
readonly type: "array";
|
|
375
|
-
readonly description: "Array of
|
|
386
|
+
readonly description: "Array of items in this collection with optional weights.";
|
|
376
387
|
readonly items: {
|
|
377
388
|
readonly type: "ref";
|
|
378
|
-
readonly ref: "lex:
|
|
389
|
+
readonly ref: "lex:org.hypercerts.claim.collection#item";
|
|
379
390
|
};
|
|
380
391
|
};
|
|
381
392
|
readonly createdAt: {
|
|
@@ -386,6 +397,21 @@ export declare const schemaDict: {
|
|
|
386
397
|
};
|
|
387
398
|
};
|
|
388
399
|
};
|
|
400
|
+
readonly item: {
|
|
401
|
+
readonly type: "object";
|
|
402
|
+
readonly required: ["itemIdentifier"];
|
|
403
|
+
readonly properties: {
|
|
404
|
+
readonly itemIdentifier: {
|
|
405
|
+
readonly type: "ref";
|
|
406
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
407
|
+
readonly description: "Strong reference to an item in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection).";
|
|
408
|
+
};
|
|
409
|
+
readonly itemWeight: {
|
|
410
|
+
readonly type: "string";
|
|
411
|
+
readonly description: "Optional weight for this item (positive numeric value stored as string). Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed.";
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
};
|
|
389
415
|
};
|
|
390
416
|
};
|
|
391
417
|
readonly OrgHypercertsClaimContributionDetails: {
|
|
@@ -790,6 +816,79 @@ export declare const schemaDict: {
|
|
|
790
816
|
};
|
|
791
817
|
};
|
|
792
818
|
};
|
|
819
|
+
readonly workScopeAll: {
|
|
820
|
+
readonly type: "object";
|
|
821
|
+
readonly required: ["op", "args"];
|
|
822
|
+
readonly description: "Logical AND operation: all arguments must be satisfied.";
|
|
823
|
+
readonly properties: {
|
|
824
|
+
readonly op: {
|
|
825
|
+
readonly type: "string";
|
|
826
|
+
readonly const: "all";
|
|
827
|
+
readonly description: "Operator type: 'all' (logical AND)";
|
|
828
|
+
};
|
|
829
|
+
readonly args: {
|
|
830
|
+
readonly type: "array";
|
|
831
|
+
readonly items: {
|
|
832
|
+
readonly type: "union";
|
|
833
|
+
readonly refs: ["lex:org.hypercerts.defs#workScopeAll", "lex:org.hypercerts.defs#workScopeAny", "lex:org.hypercerts.defs#workScopeNot", "lex:org.hypercerts.defs#workScopeAtom"];
|
|
834
|
+
};
|
|
835
|
+
readonly minLength: 1;
|
|
836
|
+
readonly maxLength: 100;
|
|
837
|
+
readonly description: "Array of work scope expressions that must all be satisfied";
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
};
|
|
841
|
+
readonly workScopeAny: {
|
|
842
|
+
readonly type: "object";
|
|
843
|
+
readonly required: ["op", "args"];
|
|
844
|
+
readonly description: "Logical OR operation: at least one argument must be satisfied.";
|
|
845
|
+
readonly properties: {
|
|
846
|
+
readonly op: {
|
|
847
|
+
readonly type: "string";
|
|
848
|
+
readonly const: "any";
|
|
849
|
+
readonly description: "Operator type: 'any' (logical OR)";
|
|
850
|
+
};
|
|
851
|
+
readonly args: {
|
|
852
|
+
readonly type: "array";
|
|
853
|
+
readonly items: {
|
|
854
|
+
readonly type: "union";
|
|
855
|
+
readonly refs: ["lex:org.hypercerts.defs#workScopeAll", "lex:org.hypercerts.defs#workScopeAny", "lex:org.hypercerts.defs#workScopeNot", "lex:org.hypercerts.defs#workScopeAtom"];
|
|
856
|
+
};
|
|
857
|
+
readonly minLength: 1;
|
|
858
|
+
readonly maxLength: 100;
|
|
859
|
+
readonly description: "Array of work scope expressions, at least one of which must be satisfied";
|
|
860
|
+
};
|
|
861
|
+
};
|
|
862
|
+
};
|
|
863
|
+
readonly workScopeNot: {
|
|
864
|
+
readonly type: "object";
|
|
865
|
+
readonly required: ["op", "arg"];
|
|
866
|
+
readonly description: "Logical NOT operation: the argument must not be satisfied.";
|
|
867
|
+
readonly properties: {
|
|
868
|
+
readonly op: {
|
|
869
|
+
readonly type: "string";
|
|
870
|
+
readonly const: "not";
|
|
871
|
+
readonly description: "Operator type: 'not' (logical NOT)";
|
|
872
|
+
};
|
|
873
|
+
readonly arg: {
|
|
874
|
+
readonly type: "union";
|
|
875
|
+
readonly refs: ["lex:org.hypercerts.defs#workScopeAll", "lex:org.hypercerts.defs#workScopeAny", "lex:org.hypercerts.defs#workScopeNot", "lex:org.hypercerts.defs#workScopeAtom"];
|
|
876
|
+
readonly description: "Work scope expression that must not be satisfied";
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
};
|
|
880
|
+
readonly workScopeAtom: {
|
|
881
|
+
readonly type: "object";
|
|
882
|
+
readonly required: ["atom"];
|
|
883
|
+
readonly description: "Atomic scope reference: a strong reference to a scope record.";
|
|
884
|
+
readonly properties: {
|
|
885
|
+
readonly atom: {
|
|
886
|
+
readonly type: "ref";
|
|
887
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
888
|
+
readonly description: "Strong reference to an org.hypercerts.helper.workScopeTag record";
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
};
|
|
793
892
|
};
|
|
794
893
|
};
|
|
795
894
|
readonly OrgHypercertsFundingReceipt: {
|
|
@@ -858,6 +957,68 @@ export declare const schemaDict: {
|
|
|
858
957
|
};
|
|
859
958
|
};
|
|
860
959
|
};
|
|
960
|
+
readonly OrgHypercertsHelperWorkScopeTag: {
|
|
961
|
+
readonly lexicon: 1;
|
|
962
|
+
readonly id: "org.hypercerts.helper.workScopeTag";
|
|
963
|
+
readonly defs: {
|
|
964
|
+
readonly main: {
|
|
965
|
+
readonly type: "record";
|
|
966
|
+
readonly description: "A reusable scope atom for work scope logic expressions. Scopes can represent topics, languages, domains, deliverables, methods, regions, tags, or other categorical labels.";
|
|
967
|
+
readonly key: "tid";
|
|
968
|
+
readonly record: {
|
|
969
|
+
readonly type: "object";
|
|
970
|
+
readonly required: ["createdAt", "key", "label"];
|
|
971
|
+
readonly properties: {
|
|
972
|
+
readonly createdAt: {
|
|
973
|
+
readonly type: "string";
|
|
974
|
+
readonly format: "datetime";
|
|
975
|
+
readonly description: "Client-declared timestamp when this record was originally created";
|
|
976
|
+
};
|
|
977
|
+
readonly key: {
|
|
978
|
+
readonly type: "string";
|
|
979
|
+
readonly description: "Lowercase, hyphenated machine-readable key for this scope (e.g., 'ipfs', 'go-lang', 'filecoin').";
|
|
980
|
+
readonly maxLength: 120;
|
|
981
|
+
};
|
|
982
|
+
readonly label: {
|
|
983
|
+
readonly type: "string";
|
|
984
|
+
readonly description: "Human-readable label for this scope.";
|
|
985
|
+
readonly maxLength: 200;
|
|
986
|
+
};
|
|
987
|
+
readonly kind: {
|
|
988
|
+
readonly type: "string";
|
|
989
|
+
readonly description: "Category type of this scope. Recommended values: topic, language, domain, method, tag.";
|
|
990
|
+
readonly maxLength: 50;
|
|
991
|
+
};
|
|
992
|
+
readonly description: {
|
|
993
|
+
readonly type: "string";
|
|
994
|
+
readonly description: "Optional longer description of this scope.";
|
|
995
|
+
readonly maxLength: 10000;
|
|
996
|
+
readonly maxGraphemes: 1000;
|
|
997
|
+
};
|
|
998
|
+
readonly parent: {
|
|
999
|
+
readonly type: "ref";
|
|
1000
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
1001
|
+
readonly description: "Optional strong reference to a parent scope record for taxonomy/hierarchy support.";
|
|
1002
|
+
};
|
|
1003
|
+
readonly aliases: {
|
|
1004
|
+
readonly type: "array";
|
|
1005
|
+
readonly items: {
|
|
1006
|
+
readonly type: "string";
|
|
1007
|
+
readonly maxLength: 200;
|
|
1008
|
+
};
|
|
1009
|
+
readonly maxLength: 50;
|
|
1010
|
+
readonly description: "Optional array of alternative names or identifiers for this scope.";
|
|
1011
|
+
};
|
|
1012
|
+
readonly externalReference: {
|
|
1013
|
+
readonly type: "union";
|
|
1014
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
|
|
1015
|
+
readonly description: "Optional external reference for this scope as a URI or blob.";
|
|
1016
|
+
};
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
861
1022
|
};
|
|
862
1023
|
export declare const schemas: ({
|
|
863
1024
|
readonly lexicon: 1;
|
|
@@ -1081,25 +1242,41 @@ export declare const schemas: ({
|
|
|
1081
1242
|
};
|
|
1082
1243
|
readonly shortDescription: {
|
|
1083
1244
|
readonly type: "string";
|
|
1084
|
-
readonly description: "Short
|
|
1245
|
+
readonly description: "Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.";
|
|
1085
1246
|
readonly maxLength: 3000;
|
|
1086
1247
|
readonly maxGraphemes: 300;
|
|
1087
1248
|
};
|
|
1249
|
+
readonly shortDescriptionFacets: {
|
|
1250
|
+
readonly type: "array";
|
|
1251
|
+
readonly description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).";
|
|
1252
|
+
readonly items: {
|
|
1253
|
+
readonly type: "ref";
|
|
1254
|
+
readonly ref: "lex:app.bsky.richtext.facet";
|
|
1255
|
+
};
|
|
1256
|
+
};
|
|
1088
1257
|
readonly description: {
|
|
1089
1258
|
readonly type: "string";
|
|
1090
|
-
readonly description: "Optional longer description of
|
|
1259
|
+
readonly description: "Optional longer description of this activity claim, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.";
|
|
1091
1260
|
readonly maxLength: 30000;
|
|
1092
1261
|
readonly maxGraphemes: 3000;
|
|
1093
1262
|
};
|
|
1263
|
+
readonly descriptionFacets: {
|
|
1264
|
+
readonly type: "array";
|
|
1265
|
+
readonly description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).";
|
|
1266
|
+
readonly items: {
|
|
1267
|
+
readonly type: "ref";
|
|
1268
|
+
readonly ref: "lex:app.bsky.richtext.facet";
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1094
1271
|
readonly image: {
|
|
1095
1272
|
readonly type: "union";
|
|
1096
1273
|
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
|
|
1097
1274
|
readonly description: "The hypercert visual representation as a URI or image blob.";
|
|
1098
1275
|
};
|
|
1099
1276
|
readonly workScope: {
|
|
1100
|
-
readonly type: "
|
|
1101
|
-
readonly
|
|
1102
|
-
readonly description: "
|
|
1277
|
+
readonly type: "union";
|
|
1278
|
+
readonly refs: ["lex:org.hypercerts.defs#workScopeAll", "lex:org.hypercerts.defs#workScopeAny", "lex:org.hypercerts.defs#workScopeNot", "lex:org.hypercerts.defs#workScopeAtom"];
|
|
1279
|
+
readonly description: "Work scope logic expression using boolean operators (all/any/not) and atomic scope references.";
|
|
1103
1280
|
};
|
|
1104
1281
|
readonly startDate: {
|
|
1105
1282
|
readonly type: "string";
|
|
@@ -1142,21 +1319,21 @@ export declare const schemas: ({
|
|
|
1142
1319
|
};
|
|
1143
1320
|
readonly contributor: {
|
|
1144
1321
|
readonly type: "object";
|
|
1145
|
-
readonly required: ["
|
|
1322
|
+
readonly required: ["contributorIdentity"];
|
|
1146
1323
|
readonly properties: {
|
|
1147
|
-
readonly
|
|
1324
|
+
readonly contributorIdentity: {
|
|
1148
1325
|
readonly type: "union";
|
|
1149
1326
|
readonly refs: ["lex:org.hypercerts.claim.activity#contributorIdentity", "lex:com.atproto.repo.strongRef"];
|
|
1150
|
-
readonly description: "Contributor
|
|
1327
|
+
readonly description: "Contributor identity as a string (DID or identifier) via org.hypercerts.claim.activity#contributorIdentity, or a strong reference to a contributor information record.";
|
|
1151
1328
|
};
|
|
1152
|
-
readonly
|
|
1329
|
+
readonly contributionWeight: {
|
|
1153
1330
|
readonly type: "string";
|
|
1154
1331
|
readonly 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.";
|
|
1155
1332
|
};
|
|
1156
1333
|
readonly contributionDetails: {
|
|
1157
1334
|
readonly type: "union";
|
|
1158
1335
|
readonly refs: ["lex:org.hypercerts.claim.activity#contributorRole", "lex:com.atproto.repo.strongRef"];
|
|
1159
|
-
readonly description: "Contribution details as a string or strong reference to
|
|
1336
|
+
readonly description: "Contribution details as a string via org.hypercerts.claim.activity#contributorRole, or a strong reference to a contribution details record.";
|
|
1160
1337
|
};
|
|
1161
1338
|
};
|
|
1162
1339
|
};
|
|
@@ -1170,21 +1347,6 @@ export declare const schemas: ({
|
|
|
1170
1347
|
readonly maxLength: 10000;
|
|
1171
1348
|
readonly maxGraphemes: 1000;
|
|
1172
1349
|
};
|
|
1173
|
-
readonly activityWeight: {
|
|
1174
|
-
readonly type: "object";
|
|
1175
|
-
readonly required: ["activity", "weight"];
|
|
1176
|
-
readonly properties: {
|
|
1177
|
-
readonly activity: {
|
|
1178
|
-
readonly type: "ref";
|
|
1179
|
-
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
1180
|
-
readonly description: "A strong reference to a hypercert activity record. This activity must conform to the lexicon org.hypercerts.claim.activity";
|
|
1181
|
-
};
|
|
1182
|
-
readonly weight: {
|
|
1183
|
-
readonly type: "string";
|
|
1184
|
-
readonly description: "The relative weight/importance of this hypercert activity (stored as a string to avoid float precision issues). Weights can be any positive numeric values and do not need to sum to a specific total; normalization can be performed by the consuming application as needed.";
|
|
1185
|
-
};
|
|
1186
|
-
};
|
|
1187
|
-
};
|
|
1188
1350
|
};
|
|
1189
1351
|
} | {
|
|
1190
1352
|
readonly lexicon: 1;
|
|
@@ -1219,12 +1381,22 @@ export declare const schemas: ({
|
|
|
1219
1381
|
readonly ref: "lex:pub.leaflet.pages.linearDocument#main";
|
|
1220
1382
|
readonly description: "Rich-text description, represented as a Leaflet linear document.";
|
|
1221
1383
|
};
|
|
1384
|
+
readonly avatar: {
|
|
1385
|
+
readonly type: "union";
|
|
1386
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
|
|
1387
|
+
readonly description: "The collection's avatar/profile image as a URI or image blob.";
|
|
1388
|
+
};
|
|
1389
|
+
readonly banner: {
|
|
1390
|
+
readonly type: "union";
|
|
1391
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#largeImage"];
|
|
1392
|
+
readonly description: "Larger horizontal image to display behind the collection view.";
|
|
1393
|
+
};
|
|
1222
1394
|
readonly items: {
|
|
1223
1395
|
readonly type: "array";
|
|
1224
|
-
readonly description: "Array of
|
|
1396
|
+
readonly description: "Array of items in this collection with optional weights.";
|
|
1225
1397
|
readonly items: {
|
|
1226
1398
|
readonly type: "ref";
|
|
1227
|
-
readonly ref: "lex:
|
|
1399
|
+
readonly ref: "lex:org.hypercerts.claim.collection#item";
|
|
1228
1400
|
};
|
|
1229
1401
|
};
|
|
1230
1402
|
readonly createdAt: {
|
|
@@ -1235,6 +1407,21 @@ export declare const schemas: ({
|
|
|
1235
1407
|
};
|
|
1236
1408
|
};
|
|
1237
1409
|
};
|
|
1410
|
+
readonly item: {
|
|
1411
|
+
readonly type: "object";
|
|
1412
|
+
readonly required: ["itemIdentifier"];
|
|
1413
|
+
readonly properties: {
|
|
1414
|
+
readonly itemIdentifier: {
|
|
1415
|
+
readonly type: "ref";
|
|
1416
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
1417
|
+
readonly description: "Strong reference to an item in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection).";
|
|
1418
|
+
};
|
|
1419
|
+
readonly itemWeight: {
|
|
1420
|
+
readonly type: "string";
|
|
1421
|
+
readonly description: "Optional weight for this item (positive numeric value stored as string). Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed.";
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
};
|
|
1238
1425
|
};
|
|
1239
1426
|
} | {
|
|
1240
1427
|
readonly lexicon: 1;
|
|
@@ -1632,6 +1819,79 @@ export declare const schemas: ({
|
|
|
1632
1819
|
};
|
|
1633
1820
|
};
|
|
1634
1821
|
};
|
|
1822
|
+
readonly workScopeAll: {
|
|
1823
|
+
readonly type: "object";
|
|
1824
|
+
readonly required: ["op", "args"];
|
|
1825
|
+
readonly description: "Logical AND operation: all arguments must be satisfied.";
|
|
1826
|
+
readonly properties: {
|
|
1827
|
+
readonly op: {
|
|
1828
|
+
readonly type: "string";
|
|
1829
|
+
readonly const: "all";
|
|
1830
|
+
readonly description: "Operator type: 'all' (logical AND)";
|
|
1831
|
+
};
|
|
1832
|
+
readonly args: {
|
|
1833
|
+
readonly type: "array";
|
|
1834
|
+
readonly items: {
|
|
1835
|
+
readonly type: "union";
|
|
1836
|
+
readonly refs: ["lex:org.hypercerts.defs#workScopeAll", "lex:org.hypercerts.defs#workScopeAny", "lex:org.hypercerts.defs#workScopeNot", "lex:org.hypercerts.defs#workScopeAtom"];
|
|
1837
|
+
};
|
|
1838
|
+
readonly minLength: 1;
|
|
1839
|
+
readonly maxLength: 100;
|
|
1840
|
+
readonly description: "Array of work scope expressions that must all be satisfied";
|
|
1841
|
+
};
|
|
1842
|
+
};
|
|
1843
|
+
};
|
|
1844
|
+
readonly workScopeAny: {
|
|
1845
|
+
readonly type: "object";
|
|
1846
|
+
readonly required: ["op", "args"];
|
|
1847
|
+
readonly description: "Logical OR operation: at least one argument must be satisfied.";
|
|
1848
|
+
readonly properties: {
|
|
1849
|
+
readonly op: {
|
|
1850
|
+
readonly type: "string";
|
|
1851
|
+
readonly const: "any";
|
|
1852
|
+
readonly description: "Operator type: 'any' (logical OR)";
|
|
1853
|
+
};
|
|
1854
|
+
readonly args: {
|
|
1855
|
+
readonly type: "array";
|
|
1856
|
+
readonly items: {
|
|
1857
|
+
readonly type: "union";
|
|
1858
|
+
readonly refs: ["lex:org.hypercerts.defs#workScopeAll", "lex:org.hypercerts.defs#workScopeAny", "lex:org.hypercerts.defs#workScopeNot", "lex:org.hypercerts.defs#workScopeAtom"];
|
|
1859
|
+
};
|
|
1860
|
+
readonly minLength: 1;
|
|
1861
|
+
readonly maxLength: 100;
|
|
1862
|
+
readonly description: "Array of work scope expressions, at least one of which must be satisfied";
|
|
1863
|
+
};
|
|
1864
|
+
};
|
|
1865
|
+
};
|
|
1866
|
+
readonly workScopeNot: {
|
|
1867
|
+
readonly type: "object";
|
|
1868
|
+
readonly required: ["op", "arg"];
|
|
1869
|
+
readonly description: "Logical NOT operation: the argument must not be satisfied.";
|
|
1870
|
+
readonly properties: {
|
|
1871
|
+
readonly op: {
|
|
1872
|
+
readonly type: "string";
|
|
1873
|
+
readonly const: "not";
|
|
1874
|
+
readonly description: "Operator type: 'not' (logical NOT)";
|
|
1875
|
+
};
|
|
1876
|
+
readonly arg: {
|
|
1877
|
+
readonly type: "union";
|
|
1878
|
+
readonly refs: ["lex:org.hypercerts.defs#workScopeAll", "lex:org.hypercerts.defs#workScopeAny", "lex:org.hypercerts.defs#workScopeNot", "lex:org.hypercerts.defs#workScopeAtom"];
|
|
1879
|
+
readonly description: "Work scope expression that must not be satisfied";
|
|
1880
|
+
};
|
|
1881
|
+
};
|
|
1882
|
+
};
|
|
1883
|
+
readonly workScopeAtom: {
|
|
1884
|
+
readonly type: "object";
|
|
1885
|
+
readonly required: ["atom"];
|
|
1886
|
+
readonly description: "Atomic scope reference: a strong reference to a scope record.";
|
|
1887
|
+
readonly properties: {
|
|
1888
|
+
readonly atom: {
|
|
1889
|
+
readonly type: "ref";
|
|
1890
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
1891
|
+
readonly description: "Strong reference to an org.hypercerts.helper.workScopeTag record";
|
|
1892
|
+
};
|
|
1893
|
+
};
|
|
1894
|
+
};
|
|
1635
1895
|
};
|
|
1636
1896
|
} | {
|
|
1637
1897
|
readonly lexicon: 1;
|
|
@@ -1698,6 +1958,67 @@ export declare const schemas: ({
|
|
|
1698
1958
|
};
|
|
1699
1959
|
};
|
|
1700
1960
|
};
|
|
1961
|
+
} | {
|
|
1962
|
+
readonly lexicon: 1;
|
|
1963
|
+
readonly id: "org.hypercerts.helper.workScopeTag";
|
|
1964
|
+
readonly defs: {
|
|
1965
|
+
readonly main: {
|
|
1966
|
+
readonly type: "record";
|
|
1967
|
+
readonly description: "A reusable scope atom for work scope logic expressions. Scopes can represent topics, languages, domains, deliverables, methods, regions, tags, or other categorical labels.";
|
|
1968
|
+
readonly key: "tid";
|
|
1969
|
+
readonly record: {
|
|
1970
|
+
readonly type: "object";
|
|
1971
|
+
readonly required: ["createdAt", "key", "label"];
|
|
1972
|
+
readonly properties: {
|
|
1973
|
+
readonly createdAt: {
|
|
1974
|
+
readonly type: "string";
|
|
1975
|
+
readonly format: "datetime";
|
|
1976
|
+
readonly description: "Client-declared timestamp when this record was originally created";
|
|
1977
|
+
};
|
|
1978
|
+
readonly key: {
|
|
1979
|
+
readonly type: "string";
|
|
1980
|
+
readonly description: "Lowercase, hyphenated machine-readable key for this scope (e.g., 'ipfs', 'go-lang', 'filecoin').";
|
|
1981
|
+
readonly maxLength: 120;
|
|
1982
|
+
};
|
|
1983
|
+
readonly label: {
|
|
1984
|
+
readonly type: "string";
|
|
1985
|
+
readonly description: "Human-readable label for this scope.";
|
|
1986
|
+
readonly maxLength: 200;
|
|
1987
|
+
};
|
|
1988
|
+
readonly kind: {
|
|
1989
|
+
readonly type: "string";
|
|
1990
|
+
readonly description: "Category type of this scope. Recommended values: topic, language, domain, method, tag.";
|
|
1991
|
+
readonly maxLength: 50;
|
|
1992
|
+
};
|
|
1993
|
+
readonly description: {
|
|
1994
|
+
readonly type: "string";
|
|
1995
|
+
readonly description: "Optional longer description of this scope.";
|
|
1996
|
+
readonly maxLength: 10000;
|
|
1997
|
+
readonly maxGraphemes: 1000;
|
|
1998
|
+
};
|
|
1999
|
+
readonly parent: {
|
|
2000
|
+
readonly type: "ref";
|
|
2001
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
2002
|
+
readonly description: "Optional strong reference to a parent scope record for taxonomy/hierarchy support.";
|
|
2003
|
+
};
|
|
2004
|
+
readonly aliases: {
|
|
2005
|
+
readonly type: "array";
|
|
2006
|
+
readonly items: {
|
|
2007
|
+
readonly type: "string";
|
|
2008
|
+
readonly maxLength: 200;
|
|
2009
|
+
};
|
|
2010
|
+
readonly maxLength: 50;
|
|
2011
|
+
readonly description: "Optional array of alternative names or identifiers for this scope.";
|
|
2012
|
+
};
|
|
2013
|
+
readonly externalReference: {
|
|
2014
|
+
readonly type: "union";
|
|
2015
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
|
|
2016
|
+
readonly description: "Optional external reference for this scope as a URI or blob.";
|
|
2017
|
+
};
|
|
2018
|
+
};
|
|
2019
|
+
};
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
1701
2022
|
})[];
|
|
1702
2023
|
export declare const lexicons: Lexicons;
|
|
1703
2024
|
export declare function validate<T extends {
|
|
@@ -1723,5 +2044,6 @@ export declare const ids: {
|
|
|
1723
2044
|
readonly OrgHypercertsClaimRights: "org.hypercerts.claim.rights";
|
|
1724
2045
|
readonly OrgHypercertsDefs: "org.hypercerts.defs";
|
|
1725
2046
|
readonly OrgHypercertsFundingReceipt: "org.hypercerts.funding.receipt";
|
|
2047
|
+
readonly OrgHypercertsHelperWorkScopeTag: "org.hypercerts.helper.workScopeTag";
|
|
1726
2048
|
};
|
|
1727
2049
|
//# sourceMappingURL=lexicons.d.ts.map
|
|
@@ -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,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAmD,CAAA;AACvE,eAAO,MAAM,QAAQ,EAAE,QAAgC,CAAA;AAEvD,wBAAgB,QAAQ,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;;;;;;;;;;;;;;;;;;CAoBN,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AppBskyRichtextFacet } from '@atcute/bluesky';
|
|
2
|
+
export type { AppBskyRichtextFacet };
|
|
3
|
+
export type Main = AppBskyRichtextFacet.Main;
|
|
4
|
+
export type ByteSlice = AppBskyRichtextFacet.ByteSlice;
|
|
5
|
+
export type Link = AppBskyRichtextFacet.Link;
|
|
6
|
+
export type Mention = AppBskyRichtextFacet.Mention;
|
|
7
|
+
export type Tag = AppBskyRichtextFacet.Tag;
|
|
8
|
+
//# sourceMappingURL=facet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facet.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/app/bsky/richtext/facet.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,YAAY,EAAE,oBAAoB,EAAE,CAAC;AACrC,MAAM,MAAM,IAAI,GAAG,oBAAoB,CAAC,IAAI,CAAC;AAC7C,MAAM,MAAM,SAAS,GAAG,oBAAoB,CAAC,SAAS,CAAC;AACvD,MAAM,MAAM,IAAI,GAAG,oBAAoB,CAAC,IAAI,CAAC;AAC7C,MAAM,MAAM,OAAO,GAAG,oBAAoB,CAAC,OAAO,CAAC;AACnD,MAAM,MAAM,GAAG,GAAG,oBAAoB,CAAC,GAAG,CAAC"}
|