@hypercerts-org/lexicon 0.10.0 → 0.11.0
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 +205 -0
- package/README.md +371 -388
- package/SCHEMAS.md +533 -75
- package/dist/exports.d.ts +900 -10
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +900 -10
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +2683 -1093
- package/dist/generated/lexicons.d.ts.map +1 -1
- package/dist/generated/types/app/bsky/richtext/facet.d.ts +44 -7
- package/dist/generated/types/app/bsky/richtext/facet.d.ts.map +1 -1
- package/dist/generated/types/app/certified/badge/award.d.ts +2 -3
- package/dist/generated/types/app/certified/badge/award.d.ts.map +1 -1
- package/dist/generated/types/app/certified/badge/definition.d.ts +3 -3
- package/dist/generated/types/app/certified/badge/definition.d.ts.map +1 -1
- package/dist/generated/types/app/certified/badge/response.d.ts +2 -2
- package/dist/generated/types/app/certified/badge/response.d.ts.map +1 -1
- package/dist/generated/types/app/certified/link/evm.d.ts +45 -0
- package/dist/generated/types/app/certified/link/evm.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts +6 -3
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/collection.d.ts +11 -5
- package/dist/generated/types/org/hypercerts/collection.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/context/attachment.d.ts +5 -3
- package/dist/generated/types/org/hypercerts/context/attachment.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/context/evaluation.d.ts +6 -6
- package/dist/generated/types/org/hypercerts/context/evaluation.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/defs.d.ts +11 -0
- package/dist/generated/types/org/hypercerts/defs.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/funding/receipt.d.ts +17 -5
- package/dist/generated/types/org/hypercerts/funding/receipt.d.ts.map +1 -1
- package/dist/generated/types/pub/leaflet/blocks/blockquote.d.ts +13 -0
- package/dist/generated/types/pub/leaflet/blocks/blockquote.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/bskyPost.d.ts +13 -0
- package/dist/generated/types/pub/leaflet/blocks/bskyPost.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/button.d.ts +12 -0
- package/dist/generated/types/pub/leaflet/blocks/button.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/code.d.ts +13 -0
- package/dist/generated/types/pub/leaflet/blocks/code.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/header.d.ts +14 -0
- package/dist/generated/types/pub/leaflet/blocks/header.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/horizontalRule.d.ts +10 -0
- package/dist/generated/types/pub/leaflet/blocks/horizontalRule.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/iframe.d.ts +12 -0
- package/dist/generated/types/pub/leaflet/blocks/iframe.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/image.d.ts +21 -0
- package/dist/generated/types/pub/leaflet/blocks/image.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/math.d.ts +11 -0
- package/dist/generated/types/pub/leaflet/blocks/math.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/orderedList.d.ts +31 -0
- package/dist/generated/types/pub/leaflet/blocks/orderedList.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/page.d.ts +11 -0
- package/dist/generated/types/pub/leaflet/blocks/page.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/poll.d.ts +12 -0
- package/dist/generated/types/pub/leaflet/blocks/poll.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/text.d.ts +14 -0
- package/dist/generated/types/pub/leaflet/blocks/text.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/unorderedList.d.ts +29 -0
- package/dist/generated/types/pub/leaflet/blocks/unorderedList.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/blocks/website.d.ts +14 -0
- package/dist/generated/types/pub/leaflet/blocks/website.d.ts.map +1 -0
- package/dist/generated/types/pub/leaflet/pages/linearDocument.d.ts +54 -1
- package/dist/generated/types/pub/leaflet/pages/linearDocument.d.ts.map +1 -1
- package/dist/generated/types/pub/leaflet/richtext/facet.d.ts +97 -0
- package/dist/generated/types/pub/leaflet/richtext/facet.d.ts.map +1 -0
- package/dist/index.cjs +4486 -1807
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4407 -1804
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +927 -35
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +2683 -1093
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +927 -35
- package/dist/lexicons.mjs.map +1 -1
- package/dist/tests/validate-external-lexicons.test.d.ts +2 -0
- package/dist/tests/validate-external-lexicons.test.d.ts.map +1 -0
- package/dist/tests/validate-funding-receipt.test.d.ts +2 -0
- package/dist/tests/validate-funding-receipt.test.d.ts.map +1 -0
- package/dist/tests/validate-link-evm.test.d.ts +2 -0
- package/dist/tests/validate-link-evm.test.d.ts.map +1 -0
- package/dist/tests/validate-rights.test.d.ts +2 -0
- package/dist/tests/validate-rights.test.d.ts.map +1 -0
- package/dist/types/app/bsky/richtext/facet.d.ts +44 -7
- package/dist/types/app/bsky/richtext/facet.d.ts.map +1 -1
- package/dist/types/app/certified/badge/award.d.ts +2 -3
- package/dist/types/app/certified/badge/award.d.ts.map +1 -1
- package/dist/types/app/certified/badge/definition.d.ts +3 -3
- package/dist/types/app/certified/badge/definition.d.ts.map +1 -1
- package/dist/types/app/certified/badge/response.d.ts +2 -2
- package/dist/types/app/certified/badge/response.d.ts.map +1 -1
- package/dist/types/app/certified/link/evm.d.ts +45 -0
- package/dist/types/app/certified/link/evm.d.ts.map +1 -0
- package/dist/types/org/hypercerts/claim/activity.d.ts +6 -3
- package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/types/org/hypercerts/collection.d.ts +11 -5
- package/dist/types/org/hypercerts/collection.d.ts.map +1 -1
- package/dist/types/org/hypercerts/context/attachment.d.ts +5 -3
- package/dist/types/org/hypercerts/context/attachment.d.ts.map +1 -1
- package/dist/types/org/hypercerts/context/evaluation.d.ts +6 -6
- package/dist/types/org/hypercerts/context/evaluation.d.ts.map +1 -1
- package/dist/types/org/hypercerts/defs.d.ts +11 -0
- package/dist/types/org/hypercerts/defs.d.ts.map +1 -1
- package/dist/types/org/hypercerts/funding/receipt.d.ts +17 -5
- package/dist/types/org/hypercerts/funding/receipt.d.ts.map +1 -1
- package/dist/types/pub/leaflet/blocks/blockquote.d.ts +13 -0
- package/dist/types/pub/leaflet/blocks/blockquote.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/bskyPost.d.ts +13 -0
- package/dist/types/pub/leaflet/blocks/bskyPost.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/button.d.ts +12 -0
- package/dist/types/pub/leaflet/blocks/button.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/code.d.ts +13 -0
- package/dist/types/pub/leaflet/blocks/code.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/header.d.ts +14 -0
- package/dist/types/pub/leaflet/blocks/header.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/horizontalRule.d.ts +10 -0
- package/dist/types/pub/leaflet/blocks/horizontalRule.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/iframe.d.ts +12 -0
- package/dist/types/pub/leaflet/blocks/iframe.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/image.d.ts +21 -0
- package/dist/types/pub/leaflet/blocks/image.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/math.d.ts +11 -0
- package/dist/types/pub/leaflet/blocks/math.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/orderedList.d.ts +31 -0
- package/dist/types/pub/leaflet/blocks/orderedList.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/page.d.ts +11 -0
- package/dist/types/pub/leaflet/blocks/page.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/poll.d.ts +12 -0
- package/dist/types/pub/leaflet/blocks/poll.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/text.d.ts +14 -0
- package/dist/types/pub/leaflet/blocks/text.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/unorderedList.d.ts +29 -0
- package/dist/types/pub/leaflet/blocks/unorderedList.d.ts.map +1 -0
- package/dist/types/pub/leaflet/blocks/website.d.ts +14 -0
- package/dist/types/pub/leaflet/blocks/website.d.ts.map +1 -0
- package/dist/types/pub/leaflet/pages/linearDocument.d.ts +54 -1
- package/dist/types/pub/leaflet/pages/linearDocument.d.ts.map +1 -1
- package/dist/types/pub/leaflet/richtext/facet.d.ts +97 -0
- package/dist/types/pub/leaflet/richtext/facet.d.ts.map +1 -0
- package/lexicons/app/bsky/richtext/facet.json +51 -0
- package/lexicons/app/certified/badge/award.json +2 -2
- package/lexicons/app/certified/badge/definition.json +10 -2
- package/lexicons/app/certified/badge/response.json +2 -2
- package/lexicons/app/certified/link/evm.json +88 -0
- package/lexicons/org/hypercerts/claim/activity.json +8 -4
- package/lexicons/org/hypercerts/collection.json +19 -5
- package/lexicons/org/hypercerts/context/attachment.json +16 -5
- package/lexicons/org/hypercerts/context/evaluation.json +9 -6
- package/lexicons/org/hypercerts/defs.json +21 -0
- package/lexicons/org/hypercerts/funding/receipt.json +30 -10
- package/lexicons/pub/leaflet/blocks/blockquote.json +22 -0
- package/lexicons/pub/leaflet/blocks/bskyPost.json +19 -0
- package/lexicons/pub/leaflet/blocks/button.json +19 -0
- package/lexicons/pub/leaflet/blocks/code.json +21 -0
- package/lexicons/pub/leaflet/blocks/header.json +27 -0
- package/lexicons/pub/leaflet/blocks/horizontalRule.json +11 -0
- package/lexicons/pub/leaflet/blocks/iframe.json +21 -0
- package/lexicons/pub/leaflet/blocks/image.json +37 -0
- package/lexicons/pub/leaflet/blocks/math.json +15 -0
- package/lexicons/pub/leaflet/blocks/orderedList.json +54 -0
- package/lexicons/pub/leaflet/blocks/page.json +15 -0
- package/lexicons/pub/leaflet/blocks/poll.json +16 -0
- package/lexicons/pub/leaflet/blocks/text.json +26 -0
- package/lexicons/pub/leaflet/blocks/unorderedList.json +50 -0
- package/lexicons/pub/leaflet/blocks/website.json +27 -0
- package/lexicons/pub/leaflet/pages/linearDocument.json +98 -0
- package/lexicons/pub/leaflet/richtext/facet.json +149 -0
- package/package.json +3 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-external-lexicons.test.d.ts","sourceRoot":"","sources":["../../tests/validate-external-lexicons.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-funding-receipt.test.d.ts","sourceRoot":"","sources":["../../tests/validate-funding-receipt.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-link-evm.test.d.ts","sourceRoot":"","sources":["../../tests/validate-link-evm.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-rights.test.d.ts","sourceRoot":"","sources":["../../tests/validate-rights.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,8 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import { type $Typed } from '../../../../util';
|
|
6
|
+
/** Annotation of a sub-string within rich text. */
|
|
7
|
+
export interface Main {
|
|
8
|
+
$type?: 'app.bsky.richtext.facet';
|
|
9
|
+
index: ByteSlice;
|
|
10
|
+
features: ($Typed<Mention> | $Typed<Link> | $Typed<Tag> | {
|
|
11
|
+
$type: string;
|
|
12
|
+
})[];
|
|
13
|
+
}
|
|
14
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.richtext.facet", "main">;
|
|
15
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
16
|
+
/** Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID. */
|
|
17
|
+
export interface Mention {
|
|
18
|
+
$type?: 'app.bsky.richtext.facet#mention';
|
|
19
|
+
did: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function isMention<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.richtext.facet", "mention">;
|
|
22
|
+
export declare function validateMention<V>(v: V): ValidationResult<Mention & V>;
|
|
23
|
+
/** Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL. */
|
|
24
|
+
export interface Link {
|
|
25
|
+
$type?: 'app.bsky.richtext.facet#link';
|
|
26
|
+
uri: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function isLink<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.richtext.facet", "link">;
|
|
29
|
+
export declare function validateLink<V>(v: V): ValidationResult<Link & V>;
|
|
30
|
+
/** Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags'). */
|
|
31
|
+
export interface Tag {
|
|
32
|
+
$type?: 'app.bsky.richtext.facet#tag';
|
|
33
|
+
tag: string;
|
|
34
|
+
}
|
|
35
|
+
export declare function isTag<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.richtext.facet", "tag">;
|
|
36
|
+
export declare function validateTag<V>(v: V): ValidationResult<Tag & V>;
|
|
37
|
+
/** Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets. */
|
|
38
|
+
export interface ByteSlice {
|
|
39
|
+
$type?: 'app.bsky.richtext.facet#byteSlice';
|
|
40
|
+
byteStart: number;
|
|
41
|
+
byteEnd: number;
|
|
42
|
+
}
|
|
43
|
+
export declare function isByteSlice<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.richtext.facet", "byteSlice">;
|
|
44
|
+
export declare function validateByteSlice<V>(v: V): ValidationResult<ByteSlice & V>;
|
|
8
45
|
//# sourceMappingURL=facet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facet.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/bsky/richtext/facet.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"facet.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/bsky/richtext/facet.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AAMzB,mDAAmD;AACnD,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,yBAAyB,CAAA;IACjC,KAAK,EAAE,SAAS,CAAA;IAChB,QAAQ,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAA;CAC/E;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,4IAA4I;AAC5I,MAAM,WAAW,OAAO;IACtB,KAAK,CAAC,EAAE,iCAAiC,CAAA;IACzC,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yFAEhC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iCAEtC;AAED,qIAAqI;AACrI,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,8BAA8B,CAAA;IACtC,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,0JAA0J;AAC1J,MAAM,WAAW,GAAG;IAClB,KAAK,CAAC,EAAE,6BAA6B,CAAA;IACrC,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qFAE5B;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6BAElC;AAED,iWAAiW;AACjW,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,mCAAmC,CAAA;IAC3C,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB;AAID,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2FAElC;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mCAExC"}
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
5
|
import { type $Typed } from '../../../../util';
|
|
6
|
-
import type * as AppCertifiedBadgeDefinition from './definition.js';
|
|
7
|
-
import type * as AppCertifiedDefs from '../defs.js';
|
|
8
6
|
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
7
|
+
import type * as AppCertifiedDefs from '../defs.js';
|
|
9
8
|
export interface Main {
|
|
10
9
|
$type: 'app.certified.badge.award';
|
|
11
|
-
badge:
|
|
10
|
+
badge: ComAtprotoRepoStrongRef.Main;
|
|
12
11
|
subject: $Typed<AppCertifiedDefs.Did> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
13
12
|
$type: string;
|
|
14
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"award.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/award.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,
|
|
1
|
+
{"version":3,"file":"award.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/award.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,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,gBAAgB,MAAM,YAAY,CAAA;AAMnD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,2BAA2B,CAAA;IAClC,KAAK,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACnC,OAAO,EACH,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAC5B,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6CAA6C;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
|
|
@@ -5,12 +5,12 @@ import { type ValidationResult, BlobRef } from '@atproto/lexicon';
|
|
|
5
5
|
import type * as AppCertifiedDefs from '../defs.js';
|
|
6
6
|
export interface Main {
|
|
7
7
|
$type: 'app.certified.badge.definition';
|
|
8
|
-
/** Category of the badge
|
|
9
|
-
badgeType: string;
|
|
8
|
+
/** Category of the badge. Values beyond the known set are permitted. */
|
|
9
|
+
badgeType: 'endorsement' | 'verification' | 'participation' | 'certification' | 'affiliation' | 'recognition' | (string & {});
|
|
10
10
|
/** Human-readable title of the badge. */
|
|
11
11
|
title: string;
|
|
12
12
|
/** Icon representing the badge, stored as a blob for compact visual display. */
|
|
13
|
-
icon
|
|
13
|
+
icon?: BlobRef;
|
|
14
14
|
/** Optional short statement describing what the badge represents. */
|
|
15
15
|
description?: string;
|
|
16
16
|
/** Optional allowlist of DIDs allowed to issue this badge. If omitted, anyone may issue it. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/definition.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,YAAY,CAAA;AAMnD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,gCAAgC,CAAA;IACvC,
|
|
1
|
+
{"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/definition.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,YAAY,CAAA;AAMnD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,gCAAgC,CAAA;IACvC,wEAAwE;IACxE,SAAS,EACL,aAAa,GACb,cAAc,GACd,eAAe,GACf,eAAe,GACf,aAAa,GACb,aAAa,GACb,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjB,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,gFAAgF;IAChF,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,qEAAqE;IACrE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+FAA+F;IAC/F,cAAc,CAAC,EAAE,gBAAgB,CAAC,GAAG,EAAE,CAAA;IACvC,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
-
import type * as
|
|
5
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
6
6
|
export interface Main {
|
|
7
7
|
$type: 'app.certified.badge.response';
|
|
8
|
-
badgeAward:
|
|
8
|
+
badgeAward: ComAtprotoRepoStrongRef.Main;
|
|
9
9
|
/** The recipient’s response for the badge (accepted or rejected). */
|
|
10
10
|
response: 'accepted' | 'rejected' | (string & {});
|
|
11
11
|
/** Optional relative weight for accepted badges, assigned by the recipient. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/response.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,
|
|
1
|
+
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/response.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,8BAA8B,CAAA;IACrC,UAAU,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACxC,qEAAqE;IACrE,QAAQ,EAAE,UAAU,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjD,+EAA+E;IAC/E,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import { type $Typed } from '../../../../util';
|
|
6
|
+
export interface Main {
|
|
7
|
+
$type: 'app.certified.link.evm';
|
|
8
|
+
/** EVM wallet address (0x-prefixed, with EIP-55 checksum recommended). */
|
|
9
|
+
address: string;
|
|
10
|
+
proof: $Typed<Eip712Proof> | {
|
|
11
|
+
$type: string;
|
|
12
|
+
};
|
|
13
|
+
/** Client-declared timestamp when this record was originally created. */
|
|
14
|
+
createdAt: string;
|
|
15
|
+
[k: string]: unknown;
|
|
16
|
+
}
|
|
17
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.link.evm", "main">;
|
|
18
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
19
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
20
|
+
/** EOA wallet ownership proof via EIP-712 typed data signature. Contains both the structured message that was signed and the resulting signature. */
|
|
21
|
+
export interface Eip712Proof {
|
|
22
|
+
$type?: 'app.certified.link.evm#eip712Proof';
|
|
23
|
+
/** ECDSA signature over the EIP-712 hash (hex-encoded with 0x prefix, 64 or 65 bytes). */
|
|
24
|
+
signature: string;
|
|
25
|
+
message: Eip712Message;
|
|
26
|
+
}
|
|
27
|
+
export declare function isEip712Proof<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.link.evm", "eip712Proof">;
|
|
28
|
+
export declare function validateEip712Proof<V>(v: V): ValidationResult<Eip712Proof & V>;
|
|
29
|
+
/** The EIP-712 typed data message that was signed by the wallet. Contains the fields binding an ATProto DID to an EVM address on a specific chain. */
|
|
30
|
+
export interface Eip712Message {
|
|
31
|
+
$type?: 'app.certified.link.evm#eip712Message';
|
|
32
|
+
/** The ATProto DID being linked to the EVM address. */
|
|
33
|
+
did: string;
|
|
34
|
+
/** The EVM wallet address (must match the top-level address field). */
|
|
35
|
+
evmAddress: string;
|
|
36
|
+
/** EVM chain ID as string (bigint serialized). Identifies which chain was used for signing; for EOA wallets the identity link applies across all EVM-compatible chains. */
|
|
37
|
+
chainId: string;
|
|
38
|
+
/** Unix timestamp when the attestation was created (bigint serialized). */
|
|
39
|
+
timestamp: string;
|
|
40
|
+
/** Replay-protection nonce (bigint serialized). */
|
|
41
|
+
nonce: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function isEip712Message<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.link.evm", "eip712Message">;
|
|
44
|
+
export declare function validateEip712Message<V>(v: V): ValidationResult<Eip712Message & V>;
|
|
45
|
+
//# sourceMappingURL=evm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/link/evm.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AAMzB,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,wBAAwB,CAAA;IAC/B,0EAA0E;IAC1E,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC9C,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA;AAED,qJAAqJ;AACrJ,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,oCAAoC,CAAA;IAC5C,0FAA0F;IAC1F,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,aAAa,CAAA;CACvB;AAID,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4FAEpC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C;AAED,sJAAsJ;AACtJ,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,sCAAsC,CAAA;IAC9C,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAA;IACX,uEAAuE;IACvE,UAAU,EAAE,MAAM,CAAA;IAClB,2KAA2K;IAC3K,OAAO,EAAE,MAAM,CAAA;IACf,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAA;IACjB,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAA;CACd;AAID,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAEtC;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uCAE5C"}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
5
|
import { type $Typed } from '../../../../util';
|
|
6
6
|
import type * as AppBskyRichtextFacet from '../../../app/bsky/richtext/facet.js';
|
|
7
|
-
import type * as PubLeafletPagesLinearDocument from '../../../pub/leaflet/pages/linearDocument.js';
|
|
8
7
|
import type * as OrgHypercertsDefs from '../defs.js';
|
|
9
|
-
import type * as
|
|
8
|
+
import type * as PubLeafletPagesLinearDocument from '../../../pub/leaflet/pages/linearDocument.js';
|
|
10
9
|
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
10
|
+
import type * as OrgHypercertsWorkscopeCel from '../workscope/cel.js';
|
|
11
11
|
export interface Main {
|
|
12
12
|
$type: 'org.hypercerts.claim.activity';
|
|
13
13
|
/** Display title summarizing the impact work (e.g. 'Reforestation in Amazon Basin 2024') */
|
|
@@ -16,7 +16,9 @@ export interface Main {
|
|
|
16
16
|
shortDescription: string;
|
|
17
17
|
/** Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). */
|
|
18
18
|
shortDescriptionFacets?: AppBskyRichtextFacet.Main[];
|
|
19
|
-
description?: PubLeafletPagesLinearDocument.Main
|
|
19
|
+
description?: $Typed<OrgHypercertsDefs.DescriptionString> | $Typed<PubLeafletPagesLinearDocument.Main> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
20
|
+
$type: string;
|
|
21
|
+
};
|
|
20
22
|
image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
21
23
|
$type: string;
|
|
22
24
|
};
|
|
@@ -39,6 +41,7 @@ export interface Main {
|
|
|
39
41
|
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "main">;
|
|
40
42
|
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
41
43
|
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
44
|
+
/** A contributor to the activity, with identity, weight, and contribution details. */
|
|
42
45
|
export interface Contributor {
|
|
43
46
|
$type?: 'org.hypercerts.claim.activity#contributor';
|
|
44
47
|
contributorIdentity: $Typed<ContributorIdentity> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
@@ -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,oBAAoB,MAAM,qCAAqC,CAAA;AAChF,OAAO,KAAK,KAAK,
|
|
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,C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,KAAK,CAAC,EAAE,+CAA+C,CAAA;IACvD,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAA;CACb;AAID,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uGAExC;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yCAE9C;AAED,gFAAgF;AAChF,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,+CAA+C,CAAA;IACvD,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAA;CACd;AAID,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uGAExC;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yCAE9C"}
|
|
@@ -3,18 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
5
|
import { type $Typed } from '../../../util';
|
|
6
|
-
import type * as
|
|
6
|
+
import type * as AppBskyRichtextFacet from '../../app/bsky/richtext/facet.js';
|
|
7
7
|
import type * as OrgHypercertsDefs from './defs.js';
|
|
8
|
+
import type * as PubLeafletPagesLinearDocument from '../../pub/leaflet/pages/linearDocument.js';
|
|
8
9
|
import type * as ComAtprotoRepoStrongRef from '../../com/atproto/repo/strongRef.js';
|
|
9
10
|
export interface Main {
|
|
10
11
|
$type: 'org.hypercerts.collection';
|
|
11
|
-
/** The type of this collection.
|
|
12
|
-
type?: string;
|
|
12
|
+
/** The type of this collection. Values beyond the known set are permitted. */
|
|
13
|
+
type?: 'favorites' | 'project' | 'portfolio' | 'program' | (string & {});
|
|
13
14
|
/** Display name for this collection (e.g. 'Q1 2025 Impact Projects') */
|
|
14
15
|
title: string;
|
|
15
|
-
/** Short summary of this collection, suitable for previews and list views */
|
|
16
|
+
/** Short summary of this collection, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`. */
|
|
16
17
|
shortDescription?: string;
|
|
17
|
-
|
|
18
|
+
/** Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). */
|
|
19
|
+
shortDescriptionFacets?: AppBskyRichtextFacet.Main[];
|
|
20
|
+
description?: $Typed<OrgHypercertsDefs.DescriptionString> | $Typed<PubLeafletPagesLinearDocument.Main> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
21
|
+
$type: string;
|
|
22
|
+
};
|
|
18
23
|
avatar?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
19
24
|
$type: string;
|
|
20
25
|
};
|
|
@@ -31,6 +36,7 @@ export interface Main {
|
|
|
31
36
|
export declare function isMain<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hypercerts.collection", "main">;
|
|
32
37
|
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
33
38
|
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
39
|
+
/** An item in a collection, with an identifier and optional weight. */
|
|
34
40
|
export interface Item {
|
|
35
41
|
$type?: 'org.hypercerts.collection#item';
|
|
36
42
|
itemIdentifier: ComAtprotoRepoStrongRef.Main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../generated/types/org/hypercerts/collection.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EAAE,KAAK,MAAM,EAAuC,MAAM,eAAe,CAAA;AAChF,OAAO,KAAK,KAAK,
|
|
1
|
+
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../generated/types/org/hypercerts/collection.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EAAE,KAAK,MAAM,EAAuC,MAAM,eAAe,CAAA;AAChF,OAAO,KAAK,KAAK,oBAAoB,MAAM,kCAAkC,CAAA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B;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA;AAED,uEAAuE;AACvE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,gCAAgC,CAAA;IACxC,cAAc,EAAE,uBAAuB,CAAC,IAAI,CAAA;IAC5C,sMAAsM;IACtM,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
|
|
@@ -11,8 +11,8 @@ export interface Main {
|
|
|
11
11
|
$type: 'org.hypercerts.context.attachment';
|
|
12
12
|
/** References to the subject(s) the attachment is connected to—this may be an activity claim, outcome claim, measurement, evaluation, or even another attachment. This is optional as the attachment can exist before the claim is recorded. */
|
|
13
13
|
subjects?: ComAtprotoRepoStrongRef.Main[];
|
|
14
|
-
/** The type of attachment
|
|
15
|
-
contentType?: string;
|
|
14
|
+
/** The type of attachment. Values beyond the known set are permitted. */
|
|
15
|
+
contentType?: 'report' | 'audit' | 'evidence' | 'testimonial' | 'methodology' | (string & {});
|
|
16
16
|
/** The files, documents, or external references included in this attachment record. */
|
|
17
17
|
content?: ($Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallBlob> | {
|
|
18
18
|
$type: string;
|
|
@@ -23,7 +23,9 @@ export interface Main {
|
|
|
23
23
|
shortDescription?: string;
|
|
24
24
|
/** Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). */
|
|
25
25
|
shortDescriptionFacets?: AppBskyRichtextFacet.Main[];
|
|
26
|
-
description?: PubLeafletPagesLinearDocument.Main
|
|
26
|
+
description?: $Typed<OrgHypercertsDefs.DescriptionString> | $Typed<PubLeafletPagesLinearDocument.Main> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
27
|
+
$type: string;
|
|
28
|
+
};
|
|
27
29
|
location?: ComAtprotoRepoStrongRef.Main;
|
|
28
30
|
/** Client-declared timestamp when this record was originally created. */
|
|
29
31
|
createdAt: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/context/attachment.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,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,oBAAoB,MAAM,qCAAqC,CAAA;AAChF,OAAO,KAAK,KAAK,6BAA6B,MAAM,8CAA8C,CAAA;AAMlG,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,mCAAmC,CAAA;IAC1C,gPAAgP;IAChP,QAAQ,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IACzC,
|
|
1
|
+
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/context/attachment.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,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,oBAAoB,MAAM,qCAAqC,CAAA;AAChF,O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Ac,GAC/B,CAAA"}
|
|
@@ -31,12 +31,12 @@ export { type Main as Record, isMain as isRecord, validateMain as validateRecord
|
|
|
31
31
|
/** Overall score for an evaluation on a numeric scale. */
|
|
32
32
|
export interface Score {
|
|
33
33
|
$type?: 'org.hypercerts.context.evaluation#score';
|
|
34
|
-
/** Minimum value of the scale
|
|
35
|
-
min:
|
|
36
|
-
/** Maximum value of the scale
|
|
37
|
-
max:
|
|
38
|
-
/** Score within the inclusive range [min, max]. */
|
|
39
|
-
value:
|
|
34
|
+
/** Minimum value of the scale as a numeric string (e.g. '0', '1'). */
|
|
35
|
+
min: string;
|
|
36
|
+
/** Maximum value of the scale as a numeric string (e.g. '5', '10'). */
|
|
37
|
+
max: string;
|
|
38
|
+
/** Score within the inclusive range [min, max] as a numeric string (e.g. '3.7'). */
|
|
39
|
+
value: string;
|
|
40
40
|
}
|
|
41
41
|
export declare function isScore<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.context.evaluation", "score">;
|
|
42
42
|
export declare function validateScore<V>(v: V): ValidationResult<Score & V>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaluation.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/context/evaluation.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,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,gBAAgB,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AAMpD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,mCAAmC,CAAA;IAC1C,OAAO,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACtC,6BAA6B;IAC7B,UAAU,EAAE,gBAAgB,CAAC,GAAG,EAAE,CAAA;IAClC,iFAAiF;IACjF,OAAO,CAAC,EAAE,CACN,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,GACnC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CACpB,EAAE,CAAA;IACH,6KAA6K;IAC7K,YAAY,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IAC7C,+BAA+B;IAC/B,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,QAAQ,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACvC,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gGAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA;AAED,0DAA0D;AAC1D,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,yCAAyC,CAAA;IACjD
|
|
1
|
+
{"version":3,"file":"evaluation.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/context/evaluation.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,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,gBAAgB,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AAMpD,MAAM,WAAW,IAAI;IACnB,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
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult, BlobRef } from '@atproto/lexicon';
|
|
5
|
+
import type * as AppBskyRichtextFacet from '../../app/bsky/richtext/facet.js';
|
|
6
|
+
/** An inline long-form description as plain text or markdown, with optional rich-text annotations. */
|
|
7
|
+
export interface DescriptionString {
|
|
8
|
+
$type?: 'org.hypercerts.defs#descriptionString';
|
|
9
|
+
/** The description text (plain text or markdown). */
|
|
10
|
+
value: string;
|
|
11
|
+
/** Rich text annotations for the description (mentions, URLs, hashtags, etc). */
|
|
12
|
+
facets?: AppBskyRichtextFacet.Main[];
|
|
13
|
+
}
|
|
14
|
+
export declare function isDescriptionString<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hypercerts.defs", "descriptionString">;
|
|
15
|
+
export declare function validateDescriptionString<V>(v: V): ValidationResult<DescriptionString & V>;
|
|
5
16
|
/** Object containing a URI to external data */
|
|
6
17
|
export interface Uri {
|
|
7
18
|
$type?: 'org.hypercerts.defs#uri';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../generated/types/org/hypercerts/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../generated/types/org/hypercerts/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAIjE,OAAO,KAAK,KAAK,oBAAoB,MAAM,kCAAkC,CAAA;AAM7E,sGAAsG;AACtG,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAC/C,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,iFAAiF;IACjF,MAAM,CAA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;IACzB,KAAK,CAAC,EAAE,gCAAgC,CAAA;IACxC,yBAAyB;IACzB,KAAK,EAAE,OAAO,CAAA;CACf;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qFAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC;AAED,sCAAsC;AACtC,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,gCAAgC,CAAA;IACxC,yBAAyB;IACzB,KAAK,EAAE,OAAO,CAAA;CACf;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qFAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC"}
|
|
@@ -2,12 +2,17 @@
|
|
|
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 AppCertifiedDefs from '../../../app/certified/defs.js';
|
|
7
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
6
8
|
export interface Main {
|
|
7
9
|
$type: 'org.hypercerts.funding.receipt';
|
|
8
|
-
from
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
from?: $Typed<Text> | $Typed<AppCertifiedDefs.Did> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
11
|
+
$type: string;
|
|
12
|
+
};
|
|
13
|
+
to: $Typed<Text> | $Typed<AppCertifiedDefs.Did> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
14
|
+
$type: string;
|
|
15
|
+
};
|
|
11
16
|
/** Amount of funding received as a numeric string (e.g. '1000.50'). */
|
|
12
17
|
amount: string;
|
|
13
18
|
/** Currency of the payment (e.g. EUR, USD, ETH). */
|
|
@@ -18,8 +23,7 @@ export interface Main {
|
|
|
18
23
|
paymentNetwork?: string;
|
|
19
24
|
/** Identifier of the underlying payment transaction (e.g. bank reference, onchain transaction hash, or processor-specific ID). Use paymentNetwork to specify the network where applicable. */
|
|
20
25
|
transactionId?: string;
|
|
21
|
-
|
|
22
|
-
for?: string;
|
|
26
|
+
for?: ComAtprotoRepoStrongRef.Main;
|
|
23
27
|
/** Optional notes or additional context for this funding receipt. */
|
|
24
28
|
notes?: string;
|
|
25
29
|
/** Timestamp when the payment occurred. */
|
|
@@ -31,4 +35,12 @@ export interface Main {
|
|
|
31
35
|
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.funding.receipt", "main">;
|
|
32
36
|
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
33
37
|
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
38
|
+
/** A free-text string value (e.g. a display name, wallet address, or other identifier). */
|
|
39
|
+
export interface Text {
|
|
40
|
+
$type?: 'org.hypercerts.funding.receipt#text';
|
|
41
|
+
/** The string value. */
|
|
42
|
+
value: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function isText<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.funding.receipt", "text">;
|
|
45
|
+
export declare function validateText<V>(v: V): ValidationResult<Text & V>;
|
|
34
46
|
//# sourceMappingURL=receipt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receipt.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/funding/receipt.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"receipt.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/funding/receipt.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,C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AAI,cAAc,GAC/B,CAAA;AAED,2FAA2F;AAC3F,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,qCAAqC,CAAA;IAC7C,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAA;CACd;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import type * as PubLeafletRichtextFacet from '../richtext/facet.js';
|
|
6
|
+
export interface Main {
|
|
7
|
+
$type?: 'pub.leaflet.blocks.blockquote';
|
|
8
|
+
plaintext: string;
|
|
9
|
+
facets?: PubLeafletRichtextFacet.Main[];
|
|
10
|
+
}
|
|
11
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.blockquote", "main">;
|
|
12
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
13
|
+
//# sourceMappingURL=blockquote.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/blockquote.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,uBAAuB,MAAM,sBAAsB,CAAA;AAMpE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,+BAA+B,CAAA;IACvC,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;CACxC;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
6
|
+
export interface Main {
|
|
7
|
+
$type?: 'pub.leaflet.blocks.bskyPost';
|
|
8
|
+
postRef: ComAtprotoRepoStrongRef.Main;
|
|
9
|
+
clientHost?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.bskyPost", "main">;
|
|
12
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
13
|
+
//# sourceMappingURL=bskyPost.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bskyPost.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/bskyPost.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,6BAA6B,CAAA;IACrC,OAAO,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACrC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type?: 'pub.leaflet.blocks.button';
|
|
7
|
+
text: string;
|
|
8
|
+
url: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.button", "main">;
|
|
11
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
12
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/button.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,2BAA2B,CAAA;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type?: 'pub.leaflet.blocks.code';
|
|
7
|
+
plaintext: string;
|
|
8
|
+
language?: string;
|
|
9
|
+
syntaxHighlightingTheme?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.code", "main">;
|
|
12
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
13
|
+
//# sourceMappingURL=code.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/code.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,yBAAyB,CAAA;IACjC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,uBAAuB,CAAC,EAAE,MAAM,CAAA;CACjC;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import type * as PubLeafletRichtextFacet from '../richtext/facet.js';
|
|
6
|
+
export interface Main {
|
|
7
|
+
$type?: 'pub.leaflet.blocks.header';
|
|
8
|
+
level?: number;
|
|
9
|
+
plaintext: string;
|
|
10
|
+
facets?: PubLeafletRichtextFacet.Main[];
|
|
11
|
+
}
|
|
12
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.header", "main">;
|
|
13
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
14
|
+
//# sourceMappingURL=header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/header.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,uBAAuB,MAAM,sBAAsB,CAAA;AAMpE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,2BAA2B,CAAA;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;CACxC;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type?: 'pub.leaflet.blocks.horizontalRule';
|
|
7
|
+
}
|
|
8
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.horizontalRule", "main">;
|
|
9
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
10
|
+
//# sourceMappingURL=horizontalRule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"horizontalRule.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/horizontalRule.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,mCAAmC,CAAA;CAC5C;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gGAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type?: 'pub.leaflet.blocks.iframe';
|
|
7
|
+
url: string;
|
|
8
|
+
height?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.iframe", "main">;
|
|
11
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
12
|
+
//# sourceMappingURL=iframe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iframe.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/iframe.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,2BAA2B,CAAA;IACnC,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
|