@hypercerts-org/lexicon 0.11.2 → 0.12.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 +10 -0
- package/README.md +9 -9
- package/SCHEMAS.md +9 -7
- package/dist/exports.d.ts +11 -1
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +11 -1
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +20 -0
- package/dist/generated/lexicons.d.ts.map +1 -1
- package/dist/generated/types/app/certified/actor/organization.d.ts +8 -0
- package/dist/generated/types/app/certified/actor/organization.d.ts.map +1 -1
- package/dist/index.cjs +32 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +32 -1
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +14 -0
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +20 -0
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +14 -0
- package/dist/lexicons.mjs.map +1 -1
- package/dist/types/app/certified/actor/organization.d.ts +8 -0
- package/dist/types/app/certified/actor/organization.d.ts.map +1 -1
- package/lexicons/app/certified/actor/organization.json +14 -0
- package/package.json +1 -1
|
@@ -2,7 +2,10 @@
|
|
|
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 ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
7
|
+
import type * as OrgHypercertsDefs from '../../../org/hypercerts/defs.js';
|
|
8
|
+
import type * as PubLeafletPagesLinearDocument from '../../../pub/leaflet/pages/linearDocument.js';
|
|
6
9
|
export interface Main {
|
|
7
10
|
$type: 'app.certified.actor.organization';
|
|
8
11
|
/** Legal or operational structures of the organization (e.g. 'nonprofit', 'ngo', 'government', 'social-enterprise', 'cooperative'). */
|
|
@@ -12,6 +15,11 @@ export interface Main {
|
|
|
12
15
|
location?: ComAtprotoRepoStrongRef.Main;
|
|
13
16
|
/** 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
17
|
foundedDate?: string;
|
|
18
|
+
longDescription?: $Typed<OrgHypercertsDefs.DescriptionString> | $Typed<PubLeafletPagesLinearDocument.Main> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
19
|
+
$type: string;
|
|
20
|
+
};
|
|
21
|
+
/** Controls whether the organization or project is publicly discoverable on platforms that honor this setting. */
|
|
22
|
+
visibility?: 'public' | 'unlisted' | (string & {});
|
|
15
23
|
/** Client-declared timestamp when this record was originally created. */
|
|
16
24
|
createdAt: string;
|
|
17
25
|
[k: string]: unknown;
|
|
@@ -1 +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;
|
|
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;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,iBAAiB,MAAM,iCAAiC,CAAA;AACzE,OAAO,KAAK,KAAK,6BAA6B,MAAM,8CAA8C,CAAA;AAMlG,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,eAAe,CAAC,EACZ,MAAM,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,GAC3C,MAAM,CAAC,6BAA6B,CAAC,IAAI,CAAC,GAC1C,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,kHAAkH;IAClH,UAAU,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IAClD,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"}
|
|
@@ -38,6 +38,20 @@
|
|
|
38
38
|
"format": "datetime",
|
|
39
39
|
"description": "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."
|
|
40
40
|
},
|
|
41
|
+
"longDescription": {
|
|
42
|
+
"type": "union",
|
|
43
|
+
"refs": [
|
|
44
|
+
"org.hypercerts.defs#descriptionString",
|
|
45
|
+
"pub.leaflet.pages.linearDocument",
|
|
46
|
+
"com.atproto.repo.strongRef"
|
|
47
|
+
],
|
|
48
|
+
"description": "Long-form description of the organization, such as its mission, history, or detailed project narrative. An inline string for plain text or markdown, a Leaflet linear document record embedded directly, or a strong reference to an existing document record."
|
|
49
|
+
},
|
|
50
|
+
"visibility": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"knownValues": ["public", "unlisted"],
|
|
53
|
+
"description": "Controls whether the organization or project is publicly discoverable on platforms that honor this setting."
|
|
54
|
+
},
|
|
41
55
|
"createdAt": {
|
|
42
56
|
"type": "string",
|
|
43
57
|
"format": "datetime",
|