@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.
- package/CHANGELOG.md +50 -0
- package/README.md +46 -0
- package/SCHEMAS.md +103 -97
- package/dist/exports.d.ts +44 -18
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +44 -18
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +100 -48
- 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 +9 -12
- 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/index.cjs +124 -61
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +124 -61
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +56 -24
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +100 -48
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +56 -24
- 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 +9 -12
- 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/lexicons/org/hypercerts/claim/activity.json +23 -22
- package/lexicons/org/hypercerts/claim/collection.json +33 -2
- package/package.json +4 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
|
|
5
5
|
*
|
|
6
6
|
* This file is automatically generated by scripts/generate-exports.js
|
|
7
|
-
* Generated: 2026-01-
|
|
7
|
+
* Generated: 2026-01-21T23:12:40.384Z
|
|
8
8
|
*
|
|
9
9
|
* To regenerate this file, run:
|
|
10
10
|
* npm run gen-api
|
|
@@ -315,12 +315,28 @@ export declare const HYPERCERTS_LEXICON_JSON: {
|
|
|
315
315
|
maxLength: number;
|
|
316
316
|
maxGraphemes: number;
|
|
317
317
|
};
|
|
318
|
+
shortDescriptionFacets: {
|
|
319
|
+
type: string;
|
|
320
|
+
description: string;
|
|
321
|
+
items: {
|
|
322
|
+
type: string;
|
|
323
|
+
ref: string;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
318
326
|
description: {
|
|
319
327
|
type: string;
|
|
320
328
|
description: string;
|
|
321
329
|
maxLength: number;
|
|
322
330
|
maxGraphemes: number;
|
|
323
331
|
};
|
|
332
|
+
descriptionFacets: {
|
|
333
|
+
type: string;
|
|
334
|
+
description: string;
|
|
335
|
+
items: {
|
|
336
|
+
type: string;
|
|
337
|
+
ref: string;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
324
340
|
image: {
|
|
325
341
|
type: string;
|
|
326
342
|
refs: string[];
|
|
@@ -374,12 +390,12 @@ export declare const HYPERCERTS_LEXICON_JSON: {
|
|
|
374
390
|
type: string;
|
|
375
391
|
required: string[];
|
|
376
392
|
properties: {
|
|
377
|
-
|
|
393
|
+
contributorIdentity: {
|
|
378
394
|
type: string;
|
|
379
395
|
refs: string[];
|
|
380
396
|
description: string;
|
|
381
397
|
};
|
|
382
|
-
|
|
398
|
+
contributionWeight: {
|
|
383
399
|
type: string;
|
|
384
400
|
description: string;
|
|
385
401
|
};
|
|
@@ -400,21 +416,6 @@ export declare const HYPERCERTS_LEXICON_JSON: {
|
|
|
400
416
|
maxLength: number;
|
|
401
417
|
maxGraphemes: number;
|
|
402
418
|
};
|
|
403
|
-
activityWeight: {
|
|
404
|
-
type: string;
|
|
405
|
-
required: string[];
|
|
406
|
-
properties: {
|
|
407
|
-
activity: {
|
|
408
|
-
type: string;
|
|
409
|
-
ref: string;
|
|
410
|
-
description: string;
|
|
411
|
-
};
|
|
412
|
-
weight: {
|
|
413
|
-
type: string;
|
|
414
|
-
description: string;
|
|
415
|
-
};
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
419
|
};
|
|
419
420
|
};
|
|
420
421
|
readonly COLLECTION: {
|
|
@@ -450,6 +451,16 @@ export declare const HYPERCERTS_LEXICON_JSON: {
|
|
|
450
451
|
ref: string;
|
|
451
452
|
description: string;
|
|
452
453
|
};
|
|
454
|
+
avatar: {
|
|
455
|
+
type: string;
|
|
456
|
+
refs: string[];
|
|
457
|
+
description: string;
|
|
458
|
+
};
|
|
459
|
+
banner: {
|
|
460
|
+
type: string;
|
|
461
|
+
refs: string[];
|
|
462
|
+
description: string;
|
|
463
|
+
};
|
|
453
464
|
items: {
|
|
454
465
|
type: string;
|
|
455
466
|
description: string;
|
|
@@ -466,6 +477,21 @@ export declare const HYPERCERTS_LEXICON_JSON: {
|
|
|
466
477
|
};
|
|
467
478
|
};
|
|
468
479
|
};
|
|
480
|
+
item: {
|
|
481
|
+
type: string;
|
|
482
|
+
required: string[];
|
|
483
|
+
properties: {
|
|
484
|
+
itemIdentifier: {
|
|
485
|
+
type: string;
|
|
486
|
+
ref: string;
|
|
487
|
+
description: string;
|
|
488
|
+
};
|
|
489
|
+
itemWeight: {
|
|
490
|
+
type: string;
|
|
491
|
+
description: string;
|
|
492
|
+
};
|
|
493
|
+
};
|
|
494
|
+
};
|
|
469
495
|
};
|
|
470
496
|
};
|
|
471
497
|
readonly CONTRIBUTIONDETAILS: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../generated/exports.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM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C,CAAC;AAC1E,OAAO,KAAK,uBAAuB,MAAM,uCAAuC,CAAC;AACjF,OAAO,KAAK,0BAA0B,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,4BAA4B,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,qCAAqC,MAAM,qDAAqD,CAAC;AAC7G,OAAO,KAAK,wCAAwC,MAAM,wDAAwD,CAAC;AACnH,OAAO,KAAK,4BAA4B,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,0BAA0B,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,6BAA6B,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,wBAAwB,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,iBAAiB,MAAM,gCAAgC,CAAC;AACpE,OAAO,KAAK,2BAA2B,MAAM,2CAA2C,CAAC;AAGzF,cAAc,WAAW,CAAC"}
|
|
@@ -231,16 +231,32 @@ 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"];
|
|
@@ -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: {
|
|
@@ -1081,16 +1107,32 @@ export declare const schemas: ({
|
|
|
1081
1107
|
};
|
|
1082
1108
|
readonly shortDescription: {
|
|
1083
1109
|
readonly type: "string";
|
|
1084
|
-
readonly description: "Short
|
|
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
|
|
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: ["
|
|
1187
|
+
readonly required: ["contributorIdentity"];
|
|
1146
1188
|
readonly properties: {
|
|
1147
|
-
readonly
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
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
|
|
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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;CAmBN,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"}
|
|
@@ -3,16 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
5
|
import { type $Typed } from '../../../../util';
|
|
6
|
+
import type * as AppBskyRichtextFacet from '../../../app/bsky/richtext/facet.js';
|
|
6
7
|
import type * as OrgHypercertsDefs from '../defs.js';
|
|
7
8
|
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
8
9
|
export interface Main {
|
|
9
10
|
$type: 'org.hypercerts.claim.activity';
|
|
10
11
|
/** Title of the hypercert. */
|
|
11
12
|
title: string;
|
|
12
|
-
/** Short
|
|
13
|
+
/** Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`. */
|
|
13
14
|
shortDescription: string;
|
|
14
|
-
/**
|
|
15
|
+
/** Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). */
|
|
16
|
+
shortDescriptionFacets?: AppBskyRichtextFacet.Main[];
|
|
17
|
+
/** Optional longer description of this activity claim, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`. */
|
|
15
18
|
description?: string;
|
|
19
|
+
/** Rich text annotations for `description` (mentions, URLs, hashtags, etc). */
|
|
20
|
+
descriptionFacets?: AppBskyRichtextFacet.Main[];
|
|
16
21
|
image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
17
22
|
$type: string;
|
|
18
23
|
};
|
|
@@ -35,11 +40,11 @@ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
|
35
40
|
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
36
41
|
export interface Contributor {
|
|
37
42
|
$type?: 'org.hypercerts.claim.activity#contributor';
|
|
38
|
-
|
|
43
|
+
contributorIdentity: $Typed<ContributorIdentity> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
39
44
|
$type: string;
|
|
40
45
|
};
|
|
41
46
|
/** 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. */
|
|
42
|
-
|
|
47
|
+
contributionWeight?: string;
|
|
43
48
|
contributionDetails?: $Typed<ContributorRole> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
44
49
|
$type: string;
|
|
45
50
|
};
|
|
@@ -50,12 +55,4 @@ export declare function validateContributor<V>(v: V): ValidationResult<Contribut
|
|
|
50
55
|
export type ContributorIdentity = string;
|
|
51
56
|
/** Contribution details as a string. */
|
|
52
57
|
export type ContributorRole = string;
|
|
53
|
-
export interface ActivityWeight {
|
|
54
|
-
$type?: 'org.hypercerts.claim.activity#activityWeight';
|
|
55
|
-
activity: ComAtprotoRepoStrongRef.Main;
|
|
56
|
-
/** 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. */
|
|
57
|
-
weight: string;
|
|
58
|
-
}
|
|
59
|
-
export declare function isActivityWeight<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "activityWeight">;
|
|
60
|
-
export declare function validateActivityWeight<V>(v: V): ValidationResult<ActivityWeight & V>;
|
|
61
58
|
//# sourceMappingURL=activity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/activity.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,+BAA+B,CAAA;IACtC,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,
|
|
1
|
+
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/activity.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,oBAAoB,MAAM,qCAAqC,CAAA;AAChF,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,+BAA+B,CAAA;IACtC,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,sJAAsJ;IACtJ,gBAAgB,EAAE,MAAM,CAAA;IACxB,oFAAoF;IACpF,sBAAsB,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IACpD,8JAA8J;IAC9J,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+EAA+E;IAC/E,iBAAiB,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IAC/C,KAAK,CAAC,EACF,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAA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,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C;AAED,+DAA+D;AAC/D,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAA;AACxC,wCAAwC;AACxC,MAAM,MAAM,eAAe,GAAG,MAAM,CAAA"}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import { type $Typed } from '../../../../util';
|
|
5
6
|
import type * as PubLeafletPagesLinearDocument from '../../../pub/leaflet/pages/linearDocument.js';
|
|
7
|
+
import type * as OrgHypercertsDefs from '../defs.js';
|
|
6
8
|
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
7
9
|
export interface Main {
|
|
8
10
|
$type: 'org.hypercerts.claim.collection';
|
|
@@ -13,8 +15,14 @@ export interface Main {
|
|
|
13
15
|
/** Short summary of this collection, suitable for previews and list views */
|
|
14
16
|
shortDescription?: string;
|
|
15
17
|
description?: PubLeafletPagesLinearDocument.Main;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
avatar?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
19
|
+
$type: string;
|
|
20
|
+
};
|
|
21
|
+
banner?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.LargeImage> | {
|
|
22
|
+
$type: string;
|
|
23
|
+
};
|
|
24
|
+
/** Array of items in this collection with optional weights. */
|
|
25
|
+
items: Item[];
|
|
18
26
|
/** Client-declared timestamp when this record was originally created */
|
|
19
27
|
createdAt: string;
|
|
20
28
|
[k: string]: unknown;
|
|
@@ -22,4 +30,12 @@ export interface Main {
|
|
|
22
30
|
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.collection", "main">;
|
|
23
31
|
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
24
32
|
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
33
|
+
export interface Item {
|
|
34
|
+
$type?: 'org.hypercerts.claim.collection#item';
|
|
35
|
+
itemIdentifier: ComAtprotoRepoStrongRef.Main;
|
|
36
|
+
/** 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. */
|
|
37
|
+
itemWeight?: string;
|
|
38
|
+
}
|
|
39
|
+
export declare function isItem<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.collection", "item">;
|
|
40
|
+
export declare function validateItem<V>(v: V): ValidationResult<Item & V>;
|
|
25
41
|
//# sourceMappingURL=collection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/collection.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/collection.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,6BAA6B,MAAM,8CAA8C,CAAA;AAClG,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,iCAAiC,CAAA;IACxC,mHAAmH;IACnH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,6BAA6B,CAAC,IA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