@hypercerts-org/lexicon 0.10.0-beta.9 → 0.10.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 +702 -0
- package/README.md +278 -9
- package/SCHEMAS.md +440 -143
- package/dist/exports.d.ts +827 -294
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +827 -294
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +1631 -625
- package/dist/generated/lexicons.d.ts.map +1 -1
- package/dist/generated/types/app/certified/actor/organization.d.ts +32 -0
- package/dist/generated/types/app/certified/actor/organization.d.ts.map +1 -0
- package/dist/generated/types/app/certified/actor/profile.d.ts +30 -0
- package/dist/generated/types/app/certified/actor/profile.d.ts.map +1 -0
- package/dist/generated/types/app/certified/badge/award.d.ts +2 -0
- package/dist/generated/types/app/certified/badge/award.d.ts.map +1 -1
- package/dist/generated/types/app/certified/badge/response.d.ts +1 -1
- package/dist/generated/types/app/certified/badge/response.d.ts.map +1 -1
- package/dist/generated/types/app/certified/defs.d.ts +11 -1
- package/dist/generated/types/app/certified/defs.d.ts.map +1 -1
- package/dist/generated/types/app/certified/location.d.ts +13 -5
- package/dist/generated/types/app/certified/location.d.ts.map +1 -1
- package/dist/generated/types/org/hyperboards/board.d.ts +75 -0
- package/dist/generated/types/org/hyperboards/board.d.ts.map +1 -0
- package/dist/generated/types/org/hyperboards/displayProfile.d.ts +31 -0
- package/dist/generated/types/org/hyperboards/displayProfile.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts +30 -11
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/{contributionDetails.d.ts → contribution.d.ts} +6 -6
- package/dist/generated/types/org/hypercerts/claim/contribution.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts +2 -2
- package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/rights.d.ts +3 -3
- package/dist/generated/types/org/hypercerts/claim/rights.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/{claim/collection.d.ts → collection.d.ts} +11 -10
- package/dist/generated/types/org/hypercerts/collection.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/context/acknowledgement.d.ts +25 -0
- package/dist/generated/types/org/hypercerts/context/acknowledgement.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/context/attachment.d.ts +35 -0
- package/dist/generated/types/org/hypercerts/context/attachment.d.ts.map +1 -0
- package/dist/{types/org/hypercerts/claim → generated/types/org/hypercerts/context}/evaluation.d.ts +15 -15
- package/dist/generated/types/org/hypercerts/context/evaluation.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/context/measurement.d.ts +43 -0
- package/dist/generated/types/org/hypercerts/context/measurement.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/defs.d.ts +8 -44
- package/dist/generated/types/org/hypercerts/defs.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/funding/receipt.d.ts +1 -1
- package/dist/generated/types/org/hypercerts/funding/receipt.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/workscope/cel.d.ts +20 -0
- package/dist/generated/types/org/hypercerts/workscope/cel.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/workscope/tag.d.ts +36 -0
- package/dist/generated/types/org/hypercerts/workscope/tag.d.ts.map +1 -0
- package/dist/index.cjs +2554 -1219
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2502 -1191
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +932 -397
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +1631 -625
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +932 -397
- package/dist/lexicons.mjs.map +1 -1
- package/dist/types/app/certified/actor/organization.d.ts +32 -0
- package/dist/types/app/certified/actor/organization.d.ts.map +1 -0
- package/dist/types/app/certified/actor/profile.d.ts +30 -0
- package/dist/types/app/certified/actor/profile.d.ts.map +1 -0
- package/dist/types/app/certified/badge/award.d.ts +2 -0
- package/dist/types/app/certified/badge/award.d.ts.map +1 -1
- package/dist/types/app/certified/badge/response.d.ts +1 -1
- package/dist/types/app/certified/badge/response.d.ts.map +1 -1
- package/dist/types/app/certified/defs.d.ts +11 -1
- package/dist/types/app/certified/defs.d.ts.map +1 -1
- package/dist/types/app/certified/location.d.ts +13 -5
- package/dist/types/app/certified/location.d.ts.map +1 -1
- package/dist/types/org/hyperboards/board.d.ts +75 -0
- package/dist/types/org/hyperboards/board.d.ts.map +1 -0
- package/dist/types/org/hyperboards/displayProfile.d.ts +31 -0
- package/dist/types/org/hyperboards/displayProfile.d.ts.map +1 -0
- package/dist/types/org/hypercerts/claim/activity.d.ts +30 -11
- package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/{contributionDetails.d.ts → contribution.d.ts} +6 -6
- package/dist/types/org/hypercerts/claim/contribution.d.ts.map +1 -0
- package/dist/types/org/hypercerts/claim/contributorInformation.d.ts +2 -2
- package/dist/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/rights.d.ts +3 -3
- package/dist/types/org/hypercerts/claim/rights.d.ts.map +1 -1
- package/dist/types/org/hypercerts/{claim/collection.d.ts → collection.d.ts} +11 -10
- package/dist/types/org/hypercerts/collection.d.ts.map +1 -0
- package/dist/types/org/hypercerts/context/acknowledgement.d.ts +25 -0
- package/dist/types/org/hypercerts/context/acknowledgement.d.ts.map +1 -0
- package/dist/types/org/hypercerts/context/attachment.d.ts +35 -0
- package/dist/types/org/hypercerts/context/attachment.d.ts.map +1 -0
- package/dist/{generated/types/org/hypercerts/claim → types/org/hypercerts/context}/evaluation.d.ts +15 -15
- package/dist/types/org/hypercerts/context/evaluation.d.ts.map +1 -0
- package/dist/types/org/hypercerts/context/measurement.d.ts +43 -0
- package/dist/types/org/hypercerts/context/measurement.d.ts.map +1 -0
- package/dist/types/org/hypercerts/defs.d.ts +8 -44
- package/dist/types/org/hypercerts/defs.d.ts.map +1 -1
- package/dist/types/org/hypercerts/funding/receipt.d.ts +1 -1
- package/dist/types/org/hypercerts/funding/receipt.d.ts.map +1 -1
- package/dist/types/org/hypercerts/workscope/cel.d.ts +20 -0
- package/dist/types/org/hypercerts/workscope/cel.d.ts.map +1 -0
- package/dist/types/org/hypercerts/workscope/tag.d.ts +36 -0
- package/dist/types/org/hypercerts/workscope/tag.d.ts.map +1 -0
- package/lexicons/app/certified/actor/organization.json +70 -0
- package/lexicons/app/certified/actor/profile.json +61 -0
- package/lexicons/app/certified/badge/award.json +8 -1
- package/lexicons/app/certified/badge/definition.json +8 -3
- package/lexicons/app/certified/badge/response.json +3 -2
- package/lexicons/app/certified/defs.json +11 -3
- package/lexicons/app/certified/location.json +29 -6
- package/lexicons/org/hyperboards/board.json +152 -0
- package/lexicons/org/hyperboards/displayProfile.json +64 -0
- package/lexicons/org/hypercerts/claim/activity.json +57 -39
- package/lexicons/org/hypercerts/claim/{contributionDetails.json → contribution.json} +4 -4
- package/lexicons/org/hypercerts/claim/contributorInformation.json +3 -2
- package/lexicons/org/hypercerts/claim/rights.json +5 -3
- package/lexicons/org/hypercerts/{claim/collection.json → collection.json} +15 -7
- package/lexicons/org/hypercerts/context/acknowledgement.json +42 -0
- package/lexicons/org/hypercerts/context/attachment.json +77 -0
- package/lexicons/org/hypercerts/{claim → context}/evaluation.json +22 -22
- package/lexicons/org/hypercerts/context/measurement.json +107 -0
- package/lexicons/org/hypercerts/defs.json +14 -89
- package/lexicons/org/hypercerts/funding/receipt.json +12 -6
- package/lexicons/org/hypercerts/workscope/cel.json +39 -0
- package/lexicons/org/hypercerts/workscope/tag.json +87 -0
- package/package.json +2 -2
- package/dist/generated/types/org/hypercerts/claim/collection.d.ts.map +0 -1
- package/dist/generated/types/org/hypercerts/claim/contributionDetails.d.ts.map +0 -1
- package/dist/generated/types/org/hypercerts/claim/evaluation.d.ts.map +0 -1
- package/dist/generated/types/org/hypercerts/claim/evidence.d.ts +0 -29
- package/dist/generated/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
- package/dist/generated/types/org/hypercerts/claim/measurement.d.ts +0 -30
- package/dist/generated/types/org/hypercerts/claim/measurement.d.ts.map +0 -1
- package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts +0 -31
- package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/collection.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/contributionDetails.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/evaluation.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/evidence.d.ts +0 -29
- package/dist/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/measurement.d.ts +0 -30
- package/dist/types/org/hypercerts/claim/measurement.d.ts.map +0 -1
- package/dist/types/org/hypercerts/helper/workScopeTag.d.ts +0 -31
- package/dist/types/org/hypercerts/helper/workScopeTag.d.ts.map +0 -1
- package/lexicons/org/hypercerts/claim/evidence.json +0 -57
- package/lexicons/org/hypercerts/claim/measurement.json +0 -70
- package/lexicons/org/hypercerts/helper/workScopeTag.json +0 -65
|
@@ -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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,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;;;;;;;;;;;;;;;;;;;;;;;;CAyBN,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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: 'app.certified.actor.organization';
|
|
8
|
+
/** Legal or operational structures of the organization (e.g. 'nonprofit', 'ngo', 'government', 'social-enterprise', 'cooperative'). */
|
|
9
|
+
organizationType?: string[];
|
|
10
|
+
/** Additional reference URLs (social media profiles, contact pages, donation links, etc.) with a display label for each URL. */
|
|
11
|
+
urls?: UrlItem[];
|
|
12
|
+
location?: ComAtprotoRepoStrongRef.Main;
|
|
13
|
+
/** When the organization was established. Stored as datetime per ATProto conventions (no date-only format exists). Clients should use midnight UTC (e.g., '2005-01-01T00:00:00.000Z'); consumers should treat only the date portion as canonical. */
|
|
14
|
+
foundedDate?: 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, "app.certified.actor.organization", "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
|
+
/** A labeled URL reference. */
|
|
23
|
+
export interface UrlItem {
|
|
24
|
+
$type?: 'app.certified.actor.organization#urlItem';
|
|
25
|
+
/** The URL. */
|
|
26
|
+
url: string;
|
|
27
|
+
/** Optional human-readable label for this URL (e.g. 'Support page', 'Donation page'). */
|
|
28
|
+
label?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare function isUrlItem<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.actor.organization", "urlItem">;
|
|
31
|
+
export declare function validateUrlItem<V>(v: V): ValidationResult<UrlItem & V>;
|
|
32
|
+
//# sourceMappingURL=organization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/app/certified/actor/organization.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,kCAAkC,CAAA;IACzC,uIAAuI;IACvI,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,gIAAgI;IAChI,IAAI,CAAC,EAAE,OAAO,EAAE,CAAA;IAChB,QAAQ,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACvC,qPAAqP;IACrP,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+FAE7B;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,+BAA+B;AAC/B,MAAM,WAAW,OAAO;IACtB,KAAK,CAAC,EAAE,0CAA0C,CAAA;IAClD,eAAe;IACf,GAAG,EAAE,MAAM,CAAA;IACX,yFAAyF;IACzF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAID,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kGAEhC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iCAEtC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import { type $Typed } from '../../../../util';
|
|
6
|
+
import type * as OrgHypercertsDefs from '../../../org/hypercerts/defs.js';
|
|
7
|
+
export interface Main {
|
|
8
|
+
$type: 'app.certified.actor.profile';
|
|
9
|
+
/** Display name for the account */
|
|
10
|
+
displayName?: string;
|
|
11
|
+
/** Free-form profile description text. */
|
|
12
|
+
description?: string;
|
|
13
|
+
/** Free-form pronouns text. */
|
|
14
|
+
pronouns?: string;
|
|
15
|
+
/** Account website URL */
|
|
16
|
+
website?: string;
|
|
17
|
+
avatar?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
18
|
+
$type: string;
|
|
19
|
+
};
|
|
20
|
+
banner?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.LargeImage> | {
|
|
21
|
+
$type: string;
|
|
22
|
+
};
|
|
23
|
+
/** Client-declared timestamp when this record was originally created */
|
|
24
|
+
createdAt: string;
|
|
25
|
+
[k: string]: unknown;
|
|
26
|
+
}
|
|
27
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.actor.profile", "main">;
|
|
28
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
29
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
30
|
+
//# sourceMappingURL=profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/app/certified/actor/profile.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,iCAAiC,CAAA;AAMzE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,6BAA6B,CAAA;IACpC,mCAAmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,0BAA0B;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0FAE7B;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"}
|
|
@@ -14,6 +14,8 @@ export interface Main {
|
|
|
14
14
|
};
|
|
15
15
|
/** Optional statement explaining the reason for this badge award. */
|
|
16
16
|
note?: string;
|
|
17
|
+
/** Optional URL the badge award links to. */
|
|
18
|
+
url?: string;
|
|
17
19
|
/** Client-declared timestamp when this record was originally created */
|
|
18
20
|
createdAt: string;
|
|
19
21
|
[k: string]: unknown;
|
|
@@ -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,2BAA2B,MAAM,iBAAiB,CAAA;AACnE,OAAO,KAAK,KAAK,gBAAgB,MAAM,YAAY,CAAA;AACnD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,2BAA2B,CAAA;IAClC,KAAK,EAAE,2BAA2B,CAAC,IAAI,CAAA;IACvC,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,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"}
|
|
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,2BAA2B,MAAM,iBAAiB,CAAA;AACnE,OAAO,KAAK,KAAK,gBAAgB,MAAM,YAAY,CAAA;AACnD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,2BAA2B,CAAA;IAClC,KAAK,EAAE,2BAA2B,CAAC,IAAI,CAAA;IACvC,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"}
|
|
@@ -7,7 +7,7 @@ export interface Main {
|
|
|
7
7
|
$type: 'app.certified.badge.response';
|
|
8
8
|
badgeAward: AppCertifiedBadgeAward.Main;
|
|
9
9
|
/** The recipient’s response for the badge (accepted or rejected). */
|
|
10
|
-
response: 'accepted' | 'rejected';
|
|
10
|
+
response: 'accepted' | 'rejected' | (string & {});
|
|
11
11
|
/** Optional relative weight for accepted badges, assigned by the recipient. */
|
|
12
12
|
weight?: string;
|
|
13
13
|
/** Client-declared timestamp when this record was originally created */
|
|
@@ -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,sBAAsB,MAAM,YAAY,CAAA;AAMzD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,8BAA8B,CAAA;IACrC,UAAU,EAAE,sBAAsB,CAAC,IAAI,CAAA;IACvC,qEAAqE;IACrE,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAA;
|
|
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,sBAAsB,MAAM,YAAY,CAAA;AAMzD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,8BAA8B,CAAA;IACrC,UAAU,EAAE,sBAAsB,CAAC,IAAI,CAAA;IACvC,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"}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
1
5
|
/** A Decentralized Identifier (DID) string. */
|
|
2
|
-
export
|
|
6
|
+
export interface Did {
|
|
7
|
+
$type?: 'app.certified.defs#did';
|
|
8
|
+
/** The DID string value. */
|
|
9
|
+
did: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function isDid<V>(v: V): v is import("../../../util").$TypedObject<V, "app.certified.defs", "did">;
|
|
12
|
+
export declare function validateDid<V>(v: V): ValidationResult<Did & V>;
|
|
3
13
|
//# sourceMappingURL=defs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/defs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AASjE,+CAA+C;AAC/C,MAAM,WAAW,GAAG;IAClB,KAAK,CAAC,EAAE,wBAAwB,CAAA;IAChC,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6EAE5B;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6BAElC"}
|
|
@@ -10,14 +10,14 @@ export interface Main {
|
|
|
10
10
|
lpVersion: string;
|
|
11
11
|
/** The Spatial Reference System URI (e.g., http://www.opengis.net/def/crs/OGC/1.3/CRS84) that defines the coordinate system. */
|
|
12
12
|
srs: string;
|
|
13
|
-
/** An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point) */
|
|
14
|
-
locationType: 'coordinate-decimal' | 'geojson-point' | (string & {});
|
|
15
|
-
location: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallBlob> | {
|
|
13
|
+
/** An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point). See the Location Protocol spec for the full registry: https://spec.decentralizedgeo.org/specification/location-types/#location-type-registry */
|
|
14
|
+
locationType: 'coordinate-decimal' | 'geojson-point' | 'geojson' | 'h3' | 'geohash' | 'wkt' | 'address' | 'scaledCoordinates' | (string & {});
|
|
15
|
+
location: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallBlob> | $Typed<String> | {
|
|
16
16
|
$type: string;
|
|
17
17
|
};
|
|
18
|
-
/**
|
|
18
|
+
/** Human-readable name for this location (e.g. 'Golden Gate Park', 'San Francisco Bay Area') */
|
|
19
19
|
name?: string;
|
|
20
|
-
/**
|
|
20
|
+
/** Additional context about this location, such as its significance to the work or specific boundaries */
|
|
21
21
|
description?: string;
|
|
22
22
|
/** Client-declared timestamp when this record was originally created */
|
|
23
23
|
createdAt: string;
|
|
@@ -26,4 +26,12 @@ export interface Main {
|
|
|
26
26
|
export declare function isMain<V>(v: V): v is import("../../../util").$TypedObject<V, "app.certified.location", "main">;
|
|
27
27
|
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
28
28
|
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
29
|
+
/** A location represented as a string, e.g. coordinates or a small GeoJSON string. */
|
|
30
|
+
export interface String {
|
|
31
|
+
$type?: 'app.certified.location#string';
|
|
32
|
+
/** The location string value */
|
|
33
|
+
string: string;
|
|
34
|
+
}
|
|
35
|
+
export declare function isString<V>(v: V): v is import("../../../util").$TypedObject<V, "app.certified.location", "string">;
|
|
36
|
+
export declare function validateString<V>(v: V): ValidationResult<String & V>;
|
|
29
37
|
//# sourceMappingURL=location.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/location.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,iBAAiB,MAAM,8BAA8B,CAAA;AAMtE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,wBAAwB,CAAA;IAC/B,2CAA2C;IAC3C,SAAS,EAAE,MAAM,CAAA;IACjB,gIAAgI;IAChI,GAAG,EAAE,MAAM,CAAA;IACX,
|
|
1
|
+
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/location.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,iBAAiB,MAAM,8BAA8B,CAAA;AAMtE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,wBAAwB,CAAA;IAC/B,2CAA2C;IAC3C,SAAS,EAAE,MAAM,CAAA;IACjB,gIAAgI;IAChI,GAAG,EAAE,MAAM,CAAA;IACX,gPAAgP;IAChP,YAAY,EACR,oBAAoB,GACpB,eAAe,GACf,SAAS,GACT,IAAI,GACJ,SAAS,GACT,KAAK,GACL,SAAS,GACT,mBAAmB,GACnB,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjB,QAAQ,EACJ,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,GACnC,MAAM,CAAC,MAAM,CAAC,GACd;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,gGAAgG;IAChG,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0GAA0G;IAC1G,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kFAE7B;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,sFAAsF;AACtF,MAAM,WAAW,MAAM;IACrB,KAAK,CAAC,EAAE,+BAA+B,CAAA;IACvC,gCAAgC;IAChC,MAAM,EAAE,MAAM,CAAA;CACf;AAID,wBAAgB,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oFAE/B;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gCAErC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import { type $Typed } from '../../../util';
|
|
6
|
+
import type * as ComAtprotoRepoStrongRef from '../../com/atproto/repo/strongRef.js';
|
|
7
|
+
import type * as OrgHypercertsDefs from '../hypercerts/defs.js';
|
|
8
|
+
import type * as OrgHypercertsClaimActivity from '../hypercerts/claim/activity.js';
|
|
9
|
+
export interface Main {
|
|
10
|
+
$type: 'org.hyperboards.board';
|
|
11
|
+
subject: ComAtprotoRepoStrongRef.Main;
|
|
12
|
+
config?: BoardConfig;
|
|
13
|
+
/** Per-contributor configuration entries for this board. */
|
|
14
|
+
contributorConfigs?: ContributorConfig[];
|
|
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.hyperboards.board", "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
|
+
/** Visual configuration for a hyperboard's background, colors, and layout. */
|
|
23
|
+
export interface BoardConfig {
|
|
24
|
+
$type?: 'org.hyperboards.board#boardConfig';
|
|
25
|
+
/** Type of background content. */
|
|
26
|
+
backgroundType?: 'image' | 'iframe' | (string & {});
|
|
27
|
+
backgroundImage?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
28
|
+
$type: string;
|
|
29
|
+
};
|
|
30
|
+
/** URI of the background iframe. */
|
|
31
|
+
backgroundIframeUrl?: string;
|
|
32
|
+
/** Whether the background is rendered in grayscale. Default: true. */
|
|
33
|
+
backgroundGrayscale?: boolean;
|
|
34
|
+
/** Background opacity as a percentage (0–100). */
|
|
35
|
+
backgroundOpacity?: number;
|
|
36
|
+
/** Background color as a hex string (e.g. '#ffffff'). */
|
|
37
|
+
backgroundColor?: string;
|
|
38
|
+
/** Border color as a hex string (e.g. '#000000'). */
|
|
39
|
+
borderColor?: string;
|
|
40
|
+
/** Whether contributor images are rendered in grayscale. Default: false. */
|
|
41
|
+
grayscaleImages?: boolean;
|
|
42
|
+
/** Shape used to crop contributor images on this board. */
|
|
43
|
+
imageShape?: 'circular' | 'square' | (string & {});
|
|
44
|
+
/** Display aspect ratio of the board. */
|
|
45
|
+
aspectRatio?: '16:9' | '4:3' | '1:1' | (string & {});
|
|
46
|
+
}
|
|
47
|
+
export declare function isBoardConfig<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hyperboards.board", "boardConfig">;
|
|
48
|
+
export declare function validateBoardConfig<V>(v: V): ValidationResult<BoardConfig & V>;
|
|
49
|
+
/** Configuration for a specific contributor within a board. Values serve as fallbacks when the contributor has not defined them on their profile. It can also be used to override contributor settings on this board without changing their global profile. */
|
|
50
|
+
export interface ContributorConfig {
|
|
51
|
+
$type?: 'org.hyperboards.board#contributorConfig';
|
|
52
|
+
contributor: $Typed<ComAtprotoRepoStrongRef.Main> | $Typed<OrgHypercertsClaimActivity.ContributorIdentity> | {
|
|
53
|
+
$type: string;
|
|
54
|
+
};
|
|
55
|
+
/** When true, these values take precedence over the contributor's own profile and display settings. When false or omitted, they are only used as fallbacks if the contributor has not set their own settings. */
|
|
56
|
+
override?: boolean;
|
|
57
|
+
/** Display name for this contributor on this board. */
|
|
58
|
+
displayName?: string;
|
|
59
|
+
image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
60
|
+
$type: string;
|
|
61
|
+
};
|
|
62
|
+
video?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallVideo> | {
|
|
63
|
+
$type: string;
|
|
64
|
+
};
|
|
65
|
+
hoverImage?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
66
|
+
$type: string;
|
|
67
|
+
};
|
|
68
|
+
/** Iframe overlay shown when hovering over this contributor. */
|
|
69
|
+
hoverIframeUrl?: string;
|
|
70
|
+
/** Click-through link URL for this contributor. */
|
|
71
|
+
url?: string;
|
|
72
|
+
}
|
|
73
|
+
export declare function isContributorConfig<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hyperboards.board", "contributorConfig">;
|
|
74
|
+
export declare function validateContributorConfig<V>(v: V): ValidationResult<ContributorConfig & V>;
|
|
75
|
+
//# sourceMappingURL=board.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"board.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hyperboards/board.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,uBAAuB,MAAM,qCAAqC,CAAA;AACnF,OAAO,KAAK,KAAK,iBAAiB,MAAM,uBAAuB,CAAA;AAC/D,OAAO,KAAK,KAAK,0BAA0B,MAAM,iCAAiC,CAAA;AAMlF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,uBAAuB,CAAA;IAC9B,OAAO,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACrC,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACxC,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iFAE7B;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,8EAA8E;AAC9E,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,mCAAmC,CAAA;IAC3C,kCAAkC;IAClC,cAAc,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACnD,eAAe,CAAC,EACZ,MAAM,CAAC,iBAAiB,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EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,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,UAAU,CAAC,EACP,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,mDAAmD;IACnD,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAID,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAE1C;AAED,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2CAEhD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import { type $Typed } from '../../../util';
|
|
6
|
+
import type * as OrgHypercertsDefs from '../hypercerts/defs.js';
|
|
7
|
+
export interface Main {
|
|
8
|
+
$type: 'org.hyperboards.displayProfile';
|
|
9
|
+
/** Display name override for this user on hyperboards. */
|
|
10
|
+
displayName?: string;
|
|
11
|
+
image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
12
|
+
$type: string;
|
|
13
|
+
};
|
|
14
|
+
video?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallVideo> | {
|
|
15
|
+
$type: string;
|
|
16
|
+
};
|
|
17
|
+
hoverImage?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
18
|
+
$type: string;
|
|
19
|
+
};
|
|
20
|
+
/** Default hover iframe URL for this user across boards. */
|
|
21
|
+
hoverIframeUrl?: string;
|
|
22
|
+
/** Default click-through link URL for this user across boards. */
|
|
23
|
+
url?: string;
|
|
24
|
+
/** Client-declared timestamp when this record was originally created. */
|
|
25
|
+
createdAt: string;
|
|
26
|
+
[k: string]: unknown;
|
|
27
|
+
}
|
|
28
|
+
export declare function isMain<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hyperboards.displayProfile", "main">;
|
|
29
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
30
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
31
|
+
//# sourceMappingURL=displayProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"displayProfile.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hyperboards/displayProfile.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,iBAAiB,MAAM,uBAAuB,CAAA;AAM/D,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,gCAAgC,CAAA;IACvC,0DAA0D;IAC1D,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,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,UAAU,CAAC,EACP,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,4DAA4D;IAC5D,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,kEAAkE;IAClE,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0FAE7B;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"}
|
|
@@ -4,35 +4,34 @@
|
|
|
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';
|
|
7
8
|
import type * as OrgHypercertsDefs from '../defs.js';
|
|
9
|
+
import type * as OrgHypercertsWorkscopeCel from '../workscope/cel.js';
|
|
8
10
|
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
9
11
|
export interface Main {
|
|
10
12
|
$type: 'org.hypercerts.claim.activity';
|
|
11
|
-
/**
|
|
13
|
+
/** Display title summarizing the impact work (e.g. 'Reforestation in Amazon Basin 2024') */
|
|
12
14
|
title: string;
|
|
13
15
|
/** Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`. */
|
|
14
16
|
shortDescription: string;
|
|
15
17
|
/** Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). */
|
|
16
18
|
shortDescriptionFacets?: AppBskyRichtextFacet.Main[];
|
|
17
|
-
|
|
18
|
-
description?: string;
|
|
19
|
-
/** Rich text annotations for `description` (mentions, URLs, hashtags, etc). */
|
|
20
|
-
descriptionFacets?: AppBskyRichtextFacet.Main[];
|
|
19
|
+
description?: PubLeafletPagesLinearDocument.Main;
|
|
21
20
|
image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
22
21
|
$type: string;
|
|
23
22
|
};
|
|
24
|
-
|
|
23
|
+
/** An array of contributor objects, each containing contributor information, weight, and contribution details. */
|
|
24
|
+
contributors?: Contributor[];
|
|
25
|
+
workScope?: $Typed<OrgHypercertsWorkscopeCel.Main> | $Typed<WorkScopeString> | {
|
|
25
26
|
$type: string;
|
|
26
27
|
};
|
|
27
28
|
/** When the work began */
|
|
28
29
|
startDate?: string;
|
|
29
30
|
/** When the work ended */
|
|
30
31
|
endDate?: string;
|
|
31
|
-
/** An array of contributor objects, each containing contributor information, weight, and contribution details. */
|
|
32
|
-
contributors?: Contributor[];
|
|
33
|
-
rights?: ComAtprotoRepoStrongRef.Main;
|
|
34
32
|
/** An array of strong references to the location where activity was performed. The record referenced must conform with the lexicon app.certified.location. */
|
|
35
33
|
locations?: ComAtprotoRepoStrongRef.Main[];
|
|
34
|
+
rights?: ComAtprotoRepoStrongRef.Main;
|
|
36
35
|
/** Client-declared timestamp when this record was originally created */
|
|
37
36
|
createdAt: string;
|
|
38
37
|
[k: string]: unknown;
|
|
@@ -54,7 +53,27 @@ export interface Contributor {
|
|
|
54
53
|
export declare function isContributor<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "contributor">;
|
|
55
54
|
export declare function validateContributor<V>(v: V): ValidationResult<Contributor & V>;
|
|
56
55
|
/** Contributor information as a string (DID or identifier). */
|
|
57
|
-
export
|
|
56
|
+
export interface ContributorIdentity {
|
|
57
|
+
$type?: 'org.hypercerts.claim.activity#contributorIdentity';
|
|
58
|
+
/** The contributor identity string (DID or identifier). */
|
|
59
|
+
identity: string;
|
|
60
|
+
}
|
|
61
|
+
export declare function isContributorIdentity<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "contributorIdentity">;
|
|
62
|
+
export declare function validateContributorIdentity<V>(v: V): ValidationResult<ContributorIdentity & V>;
|
|
58
63
|
/** Contribution details as a string. */
|
|
59
|
-
export
|
|
64
|
+
export interface ContributorRole {
|
|
65
|
+
$type?: 'org.hypercerts.claim.activity#contributorRole';
|
|
66
|
+
/** The contribution role or details. */
|
|
67
|
+
role: string;
|
|
68
|
+
}
|
|
69
|
+
export declare function isContributorRole<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "contributorRole">;
|
|
70
|
+
export declare function validateContributorRole<V>(v: V): ValidationResult<ContributorRole & V>;
|
|
71
|
+
/** A free-form string describing the work scope for simple or legacy scopes. */
|
|
72
|
+
export interface WorkScopeString {
|
|
73
|
+
$type?: 'org.hypercerts.claim.activity#workScopeString';
|
|
74
|
+
/** The work scope description string. */
|
|
75
|
+
scope: string;
|
|
76
|
+
}
|
|
77
|
+
export declare function isWorkScopeString<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "workScopeString">;
|
|
78
|
+
export declare function validateWorkScopeString<V>(v: V): ValidationResult<WorkScopeString & V>;
|
|
60
79
|
//# 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,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,
|
|
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,6BAA6B,MAAM,8CAA8C,CAAA;AAClG,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,yBAAyB,MAAM,qBAAqB,CAAA;AACrE,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,+BAA+B,CAAA;IACtC,4FAA4F;IAC5F,KAAK,EAAE,MAAM,CAAA;IACb,sJAAsJ;IACtJ,gBAAgB,EAAE,MAAM,CAAA;IACxB,oFAAoF;IACpF,sBAAsB,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IACpD,WAAW,CAAC,EAAE,6BAA6B,CAAC,IAAI,CAAA;IAChD,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,kHAAkH;IAClH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,SAAS,CAAC,EACN,MAAM,CAAC,yBAAyB,CAAC,IAAI,CAAC,GACtC,MAAM,CAAC,eAAe,CAAC,GACvB;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,0BAA0B;IAC1B,SAAS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C,EAAE,CAAC,EAAE,CAAC,2GAE5C;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6CAElD;AAED,wCAAwC;AACxC,MAAM,WAAW,eAAe;IAC9B,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"}
|
package/dist/generated/types/org/hypercerts/claim/{contributionDetails.d.ts → contribution.d.ts}
RENAMED
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
5
|
export interface Main {
|
|
6
|
-
$type: 'org.hypercerts.claim.
|
|
6
|
+
$type: 'org.hypercerts.claim.contribution';
|
|
7
7
|
/** Role or title of the contributor. */
|
|
8
8
|
role?: string;
|
|
9
|
-
/**
|
|
9
|
+
/** Description of what the contribution concretely involved. */
|
|
10
10
|
contributionDescription?: string;
|
|
11
|
-
/** When this contribution started.
|
|
11
|
+
/** When this contribution started. Should fall within the parent hypercert's timeframe. */
|
|
12
12
|
startDate?: string;
|
|
13
|
-
/** When this contribution finished.
|
|
13
|
+
/** When this contribution finished. Should fall within the parent hypercert's timeframe. */
|
|
14
14
|
endDate?: string;
|
|
15
15
|
/** Client-declared timestamp when this record was originally created. */
|
|
16
16
|
createdAt: string;
|
|
17
17
|
[k: string]: unknown;
|
|
18
18
|
}
|
|
19
|
-
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.
|
|
19
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.contribution", "main">;
|
|
20
20
|
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
21
21
|
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
22
|
-
//# sourceMappingURL=
|
|
22
|
+
//# sourceMappingURL=contribution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/contribution.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,mCAAmC,CAAA;IAC1C,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gEAAgE;IAChE,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,2FAA2F;IAC3F,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4FAA4F;IAC5F,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,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"}
|
|
@@ -6,9 +6,9 @@ import { type $Typed } from '../../../../util';
|
|
|
6
6
|
import type * as OrgHypercertsDefs from '../defs.js';
|
|
7
7
|
export interface Main {
|
|
8
8
|
$type: 'org.hypercerts.claim.contributorInformation';
|
|
9
|
-
/** DID or
|
|
9
|
+
/** DID (did:plc:...) or URI to a social profile of the contributor. */
|
|
10
10
|
identifier?: string;
|
|
11
|
-
/**
|
|
11
|
+
/** Human-readable name for the contributor as it should appear in UI. */
|
|
12
12
|
displayName?: string;
|
|
13
13
|
image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
14
14
|
$type: string;
|
|
@@ -1 +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,
|
|
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,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,yEAAyE;IACzE,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"}
|
|
@@ -6,11 +6,11 @@ import { type $Typed } from '../../../../util';
|
|
|
6
6
|
import type * as OrgHypercertsDefs from '../defs.js';
|
|
7
7
|
export interface Main {
|
|
8
8
|
$type: 'org.hypercerts.claim.rights';
|
|
9
|
-
/**
|
|
9
|
+
/** Human-readable name for these rights (e.g. 'All Rights Reserved', 'CC BY-SA 4.0') */
|
|
10
10
|
rightsName: string;
|
|
11
|
-
/** Short
|
|
11
|
+
/** Short identifier code for this rights type (e.g. 'ARR', 'CC-BY-SA') to facilitate filtering and search */
|
|
12
12
|
rightsType: string;
|
|
13
|
-
/**
|
|
13
|
+
/** Detailed explanation of the rights holders' permissions, restrictions, and conditions */
|
|
14
14
|
rightsDescription: string;
|
|
15
15
|
attachment?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallBlob> | {
|
|
16
16
|
$type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rights.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/rights.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,6BAA6B,CAAA;IACpC,
|
|
1
|
+
{"version":3,"file":"rights.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/rights.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,6BAA6B,CAAA;IACpC,wFAAwF;IACxF,UAAU,EAAE,MAAM,CAAA;IAClB,6GAA6G;IAC7G,UAAU,EAAE,MAAM,CAAA;IAClB,4FAA4F;IAC5F,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,CAAC,EACP,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,GACnC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0FAE7B;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,15 +2,15 @@
|
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
-
import { type $Typed } from '
|
|
6
|
-
import type * as PubLeafletPagesLinearDocument from '
|
|
7
|
-
import type * as OrgHypercertsDefs from '
|
|
8
|
-
import type * as ComAtprotoRepoStrongRef from '
|
|
5
|
+
import { type $Typed } from '../../../util';
|
|
6
|
+
import type * as PubLeafletPagesLinearDocument from '../../pub/leaflet/pages/linearDocument.js';
|
|
7
|
+
import type * as OrgHypercertsDefs from './defs.js';
|
|
8
|
+
import type * as ComAtprotoRepoStrongRef from '../../com/atproto/repo/strongRef.js';
|
|
9
9
|
export interface Main {
|
|
10
|
-
$type: 'org.hypercerts.
|
|
10
|
+
$type: 'org.hypercerts.collection';
|
|
11
11
|
/** The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection. */
|
|
12
12
|
type?: string;
|
|
13
|
-
/**
|
|
13
|
+
/** Display name for this collection (e.g. 'Q1 2025 Impact Projects') */
|
|
14
14
|
title: string;
|
|
15
15
|
/** Short summary of this collection, suitable for previews and list views */
|
|
16
16
|
shortDescription?: string;
|
|
@@ -22,20 +22,21 @@ export interface Main {
|
|
|
22
22
|
$type: string;
|
|
23
23
|
};
|
|
24
24
|
/** Array of items in this collection with optional weights. */
|
|
25
|
-
items
|
|
25
|
+
items?: Item[];
|
|
26
|
+
location?: ComAtprotoRepoStrongRef.Main;
|
|
26
27
|
/** Client-declared timestamp when this record was originally created */
|
|
27
28
|
createdAt: string;
|
|
28
29
|
[k: string]: unknown;
|
|
29
30
|
}
|
|
30
|
-
export declare function isMain<V>(v: V): v is import("
|
|
31
|
+
export declare function isMain<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hypercerts.collection", "main">;
|
|
31
32
|
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
32
33
|
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
33
34
|
export interface Item {
|
|
34
|
-
$type?: 'org.hypercerts.
|
|
35
|
+
$type?: 'org.hypercerts.collection#item';
|
|
35
36
|
itemIdentifier: ComAtprotoRepoStrongRef.Main;
|
|
36
37
|
/** 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
38
|
itemWeight?: string;
|
|
38
39
|
}
|
|
39
|
-
export declare function isItem<V>(v: V): v is import("
|
|
40
|
+
export declare function isItem<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hypercerts.collection", "item">;
|
|
40
41
|
export declare function validateItem<V>(v: V): ValidationResult<Item & V>;
|
|
41
42
|
//# sourceMappingURL=collection.d.ts.map
|
|
@@ -0,0 +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,6BAA6B,MAAM,2CAA2C,CAAA;AAC/F,OAAO,KAAK,KAAK,iBAAiB,MAAM,WAAW,CAAA;AACnD,OAAO,KAAK,KAAK,uBAAuB,MAAM,qCAAqC,CAAA;AAMnF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,2BAA2B,CAAA;IAClC,mHAAmH;IACnH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,wEAAwE;IACxE,KAAK,EAAE,MAAM,CAAA;IACb,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,6BAA6B,CAAC,IAAI,CAAA;IAChD,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IACd,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,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,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"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import { type $Typed } from '../../../../util';
|
|
6
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
7
|
+
import type * as OrgHypercertsDefs from '../defs.js';
|
|
8
|
+
export interface Main {
|
|
9
|
+
$type: 'org.hypercerts.context.acknowledgement';
|
|
10
|
+
subject: ComAtprotoRepoStrongRef.Main;
|
|
11
|
+
context?: $Typed<OrgHypercertsDefs.Uri> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
12
|
+
$type: string;
|
|
13
|
+
};
|
|
14
|
+
/** Whether the relationship is acknowledged (true) or rejected (false). */
|
|
15
|
+
acknowledged: boolean;
|
|
16
|
+
/** Optional plain-text comment providing additional context or reasoning. */
|
|
17
|
+
comment?: string;
|
|
18
|
+
/** Client-declared timestamp when this record was originally created. */
|
|
19
|
+
createdAt: string;
|
|
20
|
+
[k: string]: unknown;
|
|
21
|
+
}
|
|
22
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.context.acknowledgement", "main">;
|
|
23
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
24
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
25
|
+
//# sourceMappingURL=acknowledgement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acknowledgement.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/context/acknowledgement.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;AAMpD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,wCAAwC,CAAA;IAC/C,OAAO,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACrC,OAAO,CAAC,EACJ,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,2EAA2E;IAC3E,YAAY,EAAE,OAAO,CAAA;IACrB,6EAA6E;IAC7E,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,qGAE7B;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"}
|