@hypercerts-org/lexicon 0.10.0-beta.5 → 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 +75 -0
- package/README.md +46 -0
- package/SCHEMAS.md +104 -90
- package/dist/exports.d.ts +109 -26
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +109 -26
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +226 -70
- 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 +25 -11
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/collection.d.ts +18 -2
- package/dist/generated/types/org/hypercerts/claim/collection.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/contributionDetails.d.ts +22 -0
- package/dist/generated/types/org/hypercerts/claim/contributionDetails.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/claim/{contributor.d.ts → contributorInformation.d.ts} +3 -11
- package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -0
- package/dist/index.cjs +427 -203
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +415 -195
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +130 -39
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +226 -70
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +130 -39
- 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 +25 -11
- package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/collection.d.ts +18 -2
- package/dist/types/org/hypercerts/claim/collection.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/contributionDetails.d.ts +22 -0
- package/dist/types/org/hypercerts/claim/contributionDetails.d.ts.map +1 -0
- package/dist/types/org/hypercerts/claim/{contributor.d.ts → contributorInformation.d.ts} +3 -11
- package/dist/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -0
- package/lexicons/org/hypercerts/claim/activity.json +44 -13
- package/lexicons/org/hypercerts/claim/collection.json +33 -2
- package/lexicons/org/hypercerts/claim/{contributor.json → contributionDetails.json} +5 -22
- package/lexicons/org/hypercerts/claim/contributorInformation.json +39 -0
- package/package.json +5 -2
- package/dist/generated/types/org/hypercerts/claim/contributor.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/contributor.d.ts.map +0 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'org.hypercerts.claim.contributionDetails';
|
|
7
|
+
/** Role or title of the contributor. */
|
|
8
|
+
role?: string;
|
|
9
|
+
/** What the contribution concretely was. */
|
|
10
|
+
contributionDescription?: string;
|
|
11
|
+
/** When this contribution started. This should be a subset of the hypercert timeframe. */
|
|
12
|
+
startDate?: string;
|
|
13
|
+
/** When this contribution finished. This should be a subset of the hypercert timeframe. */
|
|
14
|
+
endDate?: string;
|
|
15
|
+
/** Client-declared timestamp when this record was originally created. */
|
|
16
|
+
createdAt: string;
|
|
17
|
+
[k: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.contributionDetails", "main">;
|
|
20
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
21
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
22
|
+
//# sourceMappingURL=contributionDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contributionDetails.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/contributionDetails.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,0CAA0C,CAAA;IACjD,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2FAA2F;IAC3F,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uGAE7B;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"}
|
package/dist/generated/types/org/hypercerts/claim/{contributor.d.ts → contributorInformation.d.ts}
RENAMED
|
@@ -5,7 +5,7 @@ import { type ValidationResult } from '@atproto/lexicon';
|
|
|
5
5
|
import { type $Typed } from '../../../../util';
|
|
6
6
|
import type * as OrgHypercertsDefs from '../defs.js';
|
|
7
7
|
export interface Main {
|
|
8
|
-
$type: 'org.hypercerts.claim.
|
|
8
|
+
$type: 'org.hypercerts.claim.contributorInformation';
|
|
9
9
|
/** DID or a URI to a social profile of the contributor. */
|
|
10
10
|
identifier?: string;
|
|
11
11
|
/** Display name of the contributor. */
|
|
@@ -13,19 +13,11 @@ export interface Main {
|
|
|
13
13
|
image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
14
14
|
$type: string;
|
|
15
15
|
};
|
|
16
|
-
/** Role or title of the contributor. */
|
|
17
|
-
role?: string;
|
|
18
|
-
/** What the contribution concretely achieved. */
|
|
19
|
-
contributionDescription?: string;
|
|
20
|
-
/** When this contribution started. This should be a subset of the hypercert timeframe. */
|
|
21
|
-
startDate?: string;
|
|
22
|
-
/** When this contribution finished. This should be a subset of the hypercert timeframe. */
|
|
23
|
-
endDate?: string;
|
|
24
16
|
/** Client-declared timestamp when this record was originally created. */
|
|
25
17
|
createdAt: string;
|
|
26
18
|
[k: string]: unknown;
|
|
27
19
|
}
|
|
28
|
-
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.
|
|
20
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.contributorInformation", "main">;
|
|
29
21
|
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
30
22
|
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
31
|
-
//# sourceMappingURL=
|
|
23
|
+
//# sourceMappingURL=contributorInformation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contributorInformation.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/contributorInformation.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;AAMpD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,6CAA6C,CAAA;IACpD,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EACF,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0GAE7B;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"}
|