@hypercerts-org/lexicon 0.10.0-beta.6 → 0.10.0-beta.7

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +46 -0
  3. package/SCHEMAS.md +103 -97
  4. package/dist/exports.d.ts +44 -18
  5. package/dist/exports.d.ts.map +1 -1
  6. package/dist/generated/exports.d.ts +44 -18
  7. package/dist/generated/exports.d.ts.map +1 -1
  8. package/dist/generated/lexicons.d.ts +100 -48
  9. package/dist/generated/lexicons.d.ts.map +1 -1
  10. package/dist/generated/types/app/bsky/richtext/facet.d.ts +8 -0
  11. package/dist/generated/types/app/bsky/richtext/facet.d.ts.map +1 -0
  12. package/dist/generated/types/org/hypercerts/claim/activity.d.ts +9 -12
  13. package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  14. package/dist/generated/types/org/hypercerts/claim/collection.d.ts +18 -2
  15. package/dist/generated/types/org/hypercerts/claim/collection.d.ts.map +1 -1
  16. package/dist/index.cjs +124 -61
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.mjs +124 -61
  19. package/dist/index.mjs.map +1 -1
  20. package/dist/lexicons.cjs +56 -24
  21. package/dist/lexicons.cjs.map +1 -1
  22. package/dist/lexicons.d.ts +100 -48
  23. package/dist/lexicons.d.ts.map +1 -1
  24. package/dist/lexicons.mjs +56 -24
  25. package/dist/lexicons.mjs.map +1 -1
  26. package/dist/types/app/bsky/richtext/facet.d.ts +8 -0
  27. package/dist/types/app/bsky/richtext/facet.d.ts.map +1 -0
  28. package/dist/types/org/hypercerts/claim/activity.d.ts +9 -12
  29. package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  30. package/dist/types/org/hypercerts/claim/collection.d.ts +18 -2
  31. package/dist/types/org/hypercerts/claim/collection.d.ts.map +1 -1
  32. package/lexicons/org/hypercerts/claim/activity.json +23 -22
  33. package/lexicons/org/hypercerts/claim/collection.json +33 -2
  34. package/package.json +4 -1
@@ -231,16 +231,32 @@ export declare const schemaDict: {
231
231
  };
232
232
  readonly shortDescription: {
233
233
  readonly type: "string";
234
- readonly description: "Short blurb of the impact work done.";
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 the impact work done.";
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"];
@@ -292,21 +308,21 @@ export declare const schemaDict: {
292
308
  };
293
309
  readonly contributor: {
294
310
  readonly type: "object";
295
- readonly required: ["contributorInformation"];
311
+ readonly required: ["contributorIdentity"];
296
312
  readonly properties: {
297
- readonly contributorInformation: {
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 information as a string (DID or identifier) or strong reference to for instance org.hypercerts.claim.contributorInformation#main.";
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 weight: {
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 org.hypercerts.claim.contributionDetails#main.";
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 strong references to items in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection).";
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:com.atproto.repo.strongRef";
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: {
@@ -1081,16 +1107,32 @@ export declare const schemas: ({
1081
1107
  };
1082
1108
  readonly shortDescription: {
1083
1109
  readonly type: "string";
1084
- readonly description: "Short blurb of the impact work done.";
1110
+ readonly description: "Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.";
1085
1111
  readonly maxLength: 3000;
1086
1112
  readonly maxGraphemes: 300;
1087
1113
  };
1114
+ readonly shortDescriptionFacets: {
1115
+ readonly type: "array";
1116
+ readonly description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).";
1117
+ readonly items: {
1118
+ readonly type: "ref";
1119
+ readonly ref: "lex:app.bsky.richtext.facet";
1120
+ };
1121
+ };
1088
1122
  readonly description: {
1089
1123
  readonly type: "string";
1090
- readonly description: "Optional longer description of the impact work done.";
1124
+ readonly description: "Optional longer description of this activity claim, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.";
1091
1125
  readonly maxLength: 30000;
1092
1126
  readonly maxGraphemes: 3000;
1093
1127
  };
1128
+ readonly descriptionFacets: {
1129
+ readonly type: "array";
1130
+ readonly description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).";
1131
+ readonly items: {
1132
+ readonly type: "ref";
1133
+ readonly ref: "lex:app.bsky.richtext.facet";
1134
+ };
1135
+ };
1094
1136
  readonly image: {
1095
1137
  readonly type: "union";
1096
1138
  readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
@@ -1142,21 +1184,21 @@ export declare const schemas: ({
1142
1184
  };
1143
1185
  readonly contributor: {
1144
1186
  readonly type: "object";
1145
- readonly required: ["contributorInformation"];
1187
+ readonly required: ["contributorIdentity"];
1146
1188
  readonly properties: {
1147
- readonly contributorInformation: {
1189
+ readonly contributorIdentity: {
1148
1190
  readonly type: "union";
1149
1191
  readonly refs: ["lex:org.hypercerts.claim.activity#contributorIdentity", "lex:com.atproto.repo.strongRef"];
1150
- readonly description: "Contributor information as a string (DID or identifier) or strong reference to for instance org.hypercerts.claim.contributorInformation#main.";
1192
+ 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
1193
  };
1152
- readonly weight: {
1194
+ readonly contributionWeight: {
1153
1195
  readonly type: "string";
1154
1196
  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
1197
  };
1156
1198
  readonly contributionDetails: {
1157
1199
  readonly type: "union";
1158
1200
  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 org.hypercerts.claim.contributionDetails#main.";
1201
+ readonly description: "Contribution details as a string via org.hypercerts.claim.activity#contributorRole, or a strong reference to a contribution details record.";
1160
1202
  };
1161
1203
  };
1162
1204
  };
@@ -1170,21 +1212,6 @@ export declare const schemas: ({
1170
1212
  readonly maxLength: 10000;
1171
1213
  readonly maxGraphemes: 1000;
1172
1214
  };
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
1215
  };
1189
1216
  } | {
1190
1217
  readonly lexicon: 1;
@@ -1219,12 +1246,22 @@ export declare const schemas: ({
1219
1246
  readonly ref: "lex:pub.leaflet.pages.linearDocument#main";
1220
1247
  readonly description: "Rich-text description, represented as a Leaflet linear document.";
1221
1248
  };
1249
+ readonly avatar: {
1250
+ readonly type: "union";
1251
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
1252
+ readonly description: "The collection's avatar/profile image as a URI or image blob.";
1253
+ };
1254
+ readonly banner: {
1255
+ readonly type: "union";
1256
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#largeImage"];
1257
+ readonly description: "Larger horizontal image to display behind the collection view.";
1258
+ };
1222
1259
  readonly items: {
1223
1260
  readonly type: "array";
1224
- readonly description: "Array of strong references to items in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection).";
1261
+ readonly description: "Array of items in this collection with optional weights.";
1225
1262
  readonly items: {
1226
1263
  readonly type: "ref";
1227
- readonly ref: "lex:com.atproto.repo.strongRef";
1264
+ readonly ref: "lex:org.hypercerts.claim.collection#item";
1228
1265
  };
1229
1266
  };
1230
1267
  readonly createdAt: {
@@ -1235,6 +1272,21 @@ export declare const schemas: ({
1235
1272
  };
1236
1273
  };
1237
1274
  };
1275
+ readonly item: {
1276
+ readonly type: "object";
1277
+ readonly required: ["itemIdentifier"];
1278
+ readonly properties: {
1279
+ readonly itemIdentifier: {
1280
+ readonly type: "ref";
1281
+ readonly ref: "lex:com.atproto.repo.strongRef";
1282
+ 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).";
1283
+ };
1284
+ readonly itemWeight: {
1285
+ readonly type: "string";
1286
+ 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.";
1287
+ };
1288
+ };
1289
+ };
1238
1290
  };
1239
1291
  } | {
1240
1292
  readonly lexicon: 1;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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nD,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;;;;;;;;;;;;;;;;;CAmBN,CAAA"}
package/dist/lexicons.mjs CHANGED
@@ -273,16 +273,32 @@ const schemaDict = {
273
273
  },
274
274
  shortDescription: {
275
275
  type: 'string',
276
- description: 'Short blurb of the impact work done.',
276
+ description: 'Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.',
277
277
  maxLength: 3000,
278
278
  maxGraphemes: 300,
279
279
  },
280
+ shortDescriptionFacets: {
281
+ type: 'array',
282
+ description: 'Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).',
283
+ items: {
284
+ type: 'ref',
285
+ ref: 'lex:app.bsky.richtext.facet',
286
+ },
287
+ },
280
288
  description: {
281
289
  type: 'string',
282
- description: 'Optional longer description of the impact work done.',
290
+ description: 'Optional longer description of this activity claim, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.',
283
291
  maxLength: 30000,
284
292
  maxGraphemes: 3000,
285
293
  },
294
+ descriptionFacets: {
295
+ type: 'array',
296
+ description: 'Rich text annotations for `description` (mentions, URLs, hashtags, etc).',
297
+ items: {
298
+ type: 'ref',
299
+ ref: 'lex:app.bsky.richtext.facet',
300
+ },
301
+ },
286
302
  image: {
287
303
  type: 'union',
288
304
  refs: [
@@ -337,17 +353,17 @@ const schemaDict = {
337
353
  },
338
354
  contributor: {
339
355
  type: 'object',
340
- required: ['contributorInformation'],
356
+ required: ['contributorIdentity'],
341
357
  properties: {
342
- contributorInformation: {
358
+ contributorIdentity: {
343
359
  type: 'union',
344
360
  refs: [
345
361
  'lex:org.hypercerts.claim.activity#contributorIdentity',
346
362
  'lex:com.atproto.repo.strongRef',
347
363
  ],
348
- description: 'Contributor information as a string (DID or identifier) or strong reference to for instance org.hypercerts.claim.contributorInformation#main.',
364
+ description: 'Contributor identity as a string (DID or identifier) via org.hypercerts.claim.activity#contributorIdentity, or a strong reference to a contributor information record.',
349
365
  },
350
- weight: {
366
+ contributionWeight: {
351
367
  type: 'string',
352
368
  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.',
353
369
  },
@@ -357,7 +373,7 @@ const schemaDict = {
357
373
  'lex:org.hypercerts.claim.activity#contributorRole',
358
374
  'lex:com.atproto.repo.strongRef',
359
375
  ],
360
- description: 'Contribution details as a string or strong reference to org.hypercerts.claim.contributionDetails#main.',
376
+ description: 'Contribution details as a string via org.hypercerts.claim.activity#contributorRole, or a strong reference to a contribution details record.',
361
377
  },
362
378
  },
363
379
  },
@@ -371,21 +387,6 @@ const schemaDict = {
371
387
  maxLength: 10000,
372
388
  maxGraphemes: 1000,
373
389
  },
374
- activityWeight: {
375
- type: 'object',
376
- required: ['activity', 'weight'],
377
- properties: {
378
- activity: {
379
- type: 'ref',
380
- ref: 'lex:com.atproto.repo.strongRef',
381
- description: 'A strong reference to a hypercert activity record. This activity must conform to the lexicon org.hypercerts.claim.activity',
382
- },
383
- weight: {
384
- type: 'string',
385
- 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.',
386
- },
387
- },
388
- },
389
390
  },
390
391
  },
391
392
  OrgHypercertsClaimCollection: {
@@ -421,12 +422,28 @@ const schemaDict = {
421
422
  ref: 'lex:pub.leaflet.pages.linearDocument#main',
422
423
  description: 'Rich-text description, represented as a Leaflet linear document.',
423
424
  },
425
+ avatar: {
426
+ type: 'union',
427
+ refs: [
428
+ 'lex:org.hypercerts.defs#uri',
429
+ 'lex:org.hypercerts.defs#smallImage',
430
+ ],
431
+ description: "The collection's avatar/profile image as a URI or image blob.",
432
+ },
433
+ banner: {
434
+ type: 'union',
435
+ refs: [
436
+ 'lex:org.hypercerts.defs#uri',
437
+ 'lex:org.hypercerts.defs#largeImage',
438
+ ],
439
+ description: 'Larger horizontal image to display behind the collection view.',
440
+ },
424
441
  items: {
425
442
  type: 'array',
426
- description: 'Array of strong references to items in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection).',
443
+ description: 'Array of items in this collection with optional weights.',
427
444
  items: {
428
445
  type: 'ref',
429
- ref: 'lex:com.atproto.repo.strongRef',
446
+ ref: 'lex:org.hypercerts.claim.collection#item',
430
447
  },
431
448
  },
432
449
  createdAt: {
@@ -437,6 +454,21 @@ const schemaDict = {
437
454
  },
438
455
  },
439
456
  },
457
+ item: {
458
+ type: 'object',
459
+ required: ['itemIdentifier'],
460
+ properties: {
461
+ itemIdentifier: {
462
+ type: 'ref',
463
+ ref: 'lex:com.atproto.repo.strongRef',
464
+ 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).',
465
+ },
466
+ itemWeight: {
467
+ type: 'string',
468
+ 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.',
469
+ },
470
+ },
471
+ },
440
472
  },
441
473
  },
442
474
  OrgHypercertsClaimContributionDetails: {