@hypercerts-org/lexicon 0.10.0-beta.0 → 0.10.0-beta.2

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.
Files changed (110) hide show
  1. package/README.md +126 -13
  2. package/dist/exports.d.ts +1018 -0
  3. package/dist/exports.d.ts.map +1 -0
  4. package/dist/generated/exports.d.ts +1018 -0
  5. package/dist/generated/exports.d.ts.map +1 -0
  6. package/dist/generated/lexicons.d.ts +1805 -0
  7. package/dist/generated/lexicons.d.ts.map +1 -0
  8. package/dist/generated/types/app/certified/badge/award.d.ts +24 -0
  9. package/dist/generated/types/app/certified/badge/award.d.ts.map +1 -0
  10. package/dist/generated/types/app/certified/badge/definition.d.ts +25 -0
  11. package/dist/generated/types/app/certified/badge/definition.d.ts.map +1 -0
  12. package/dist/generated/types/app/certified/badge/response.d.ts +20 -0
  13. package/dist/generated/types/app/certified/badge/response.d.ts.map +1 -0
  14. package/dist/generated/types/app/certified/defs.d.ts +3 -0
  15. package/dist/generated/types/app/certified/defs.d.ts.map +1 -0
  16. package/dist/generated/types/app/certified/location.d.ts +29 -0
  17. package/dist/generated/types/app/certified/location.d.ts.map +1 -0
  18. package/dist/generated/types/com/atproto/repo/strongRef.d.ts +12 -0
  19. package/dist/generated/types/com/atproto/repo/strongRef.d.ts.map +1 -0
  20. package/dist/generated/types/org/hypercerts/claim/activity.d.ts +57 -0
  21. package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -0
  22. package/dist/generated/types/org/hypercerts/claim/collection.d.ts +25 -0
  23. package/dist/generated/types/org/hypercerts/claim/collection.d.ts.map +1 -0
  24. package/dist/generated/types/org/hypercerts/claim/contribution.d.ts +24 -0
  25. package/dist/generated/types/org/hypercerts/claim/contribution.d.ts.map +1 -0
  26. package/dist/generated/types/org/hypercerts/claim/evaluation.d.ts +43 -0
  27. package/dist/generated/types/org/hypercerts/claim/evaluation.d.ts.map +1 -0
  28. package/dist/generated/types/org/hypercerts/claim/evidence.d.ts +29 -0
  29. package/dist/generated/types/org/hypercerts/claim/evidence.d.ts.map +1 -0
  30. package/dist/generated/types/org/hypercerts/claim/measurement.d.ts +30 -0
  31. package/dist/generated/types/org/hypercerts/claim/measurement.d.ts.map +1 -0
  32. package/dist/generated/types/org/hypercerts/claim/project.d.ts +29 -0
  33. package/dist/generated/types/org/hypercerts/claim/project.d.ts.map +1 -0
  34. package/dist/generated/types/org/hypercerts/claim/rights.d.ts +25 -0
  35. package/dist/generated/types/org/hypercerts/claim/rights.d.ts.map +1 -0
  36. package/dist/generated/types/org/hypercerts/defs.d.ts +45 -0
  37. package/dist/generated/types/org/hypercerts/defs.d.ts.map +1 -0
  38. package/dist/generated/types/org/hypercerts/funding/receipt.d.ts +34 -0
  39. package/dist/generated/types/org/hypercerts/funding/receipt.d.ts.map +1 -0
  40. package/dist/generated/types/pub/leaflet/pages/linearDocument.d.ts +2 -0
  41. package/dist/generated/types/pub/leaflet/pages/linearDocument.d.ts.map +1 -0
  42. package/dist/generated/util.d.ts +37 -0
  43. package/dist/generated/util.d.ts.map +1 -0
  44. package/dist/index.cjs +2636 -0
  45. package/dist/index.cjs.map +1 -0
  46. package/dist/index.mjs +2560 -0
  47. package/dist/index.mjs.map +1 -0
  48. package/dist/lexicons.cjs +1002 -0
  49. package/dist/lexicons.cjs.map +1 -0
  50. package/dist/lexicons.d.ts +1805 -0
  51. package/dist/lexicons.d.ts.map +1 -0
  52. package/dist/lexicons.mjs +996 -0
  53. package/dist/lexicons.mjs.map +1 -0
  54. package/dist/types/app/certified/badge/award.d.ts +24 -0
  55. package/dist/types/app/certified/badge/award.d.ts.map +1 -0
  56. package/dist/types/app/certified/badge/definition.d.ts +25 -0
  57. package/dist/types/app/certified/badge/definition.d.ts.map +1 -0
  58. package/dist/types/app/certified/badge/response.d.ts +20 -0
  59. package/dist/types/app/certified/badge/response.d.ts.map +1 -0
  60. package/dist/types/app/certified/defs.d.ts +3 -0
  61. package/dist/types/app/certified/defs.d.ts.map +1 -0
  62. package/dist/types/app/certified/location.d.ts +29 -0
  63. package/dist/types/app/certified/location.d.ts.map +1 -0
  64. package/dist/types/com/atproto/repo/strongRef.d.ts +12 -0
  65. package/dist/types/com/atproto/repo/strongRef.d.ts.map +1 -0
  66. package/dist/types/org/hypercerts/claim/activity.d.ts +57 -0
  67. package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -0
  68. package/dist/types/org/hypercerts/claim/collection.d.ts +25 -0
  69. package/dist/types/org/hypercerts/claim/collection.d.ts.map +1 -0
  70. package/dist/types/org/hypercerts/claim/contribution.d.ts +24 -0
  71. package/dist/types/org/hypercerts/claim/contribution.d.ts.map +1 -0
  72. package/dist/types/org/hypercerts/claim/evaluation.d.ts +43 -0
  73. package/dist/types/org/hypercerts/claim/evaluation.d.ts.map +1 -0
  74. package/dist/types/org/hypercerts/claim/evidence.d.ts +29 -0
  75. package/dist/types/org/hypercerts/claim/evidence.d.ts.map +1 -0
  76. package/dist/types/org/hypercerts/claim/measurement.d.ts +30 -0
  77. package/dist/types/org/hypercerts/claim/measurement.d.ts.map +1 -0
  78. package/dist/types/org/hypercerts/claim/project.d.ts +29 -0
  79. package/dist/types/org/hypercerts/claim/project.d.ts.map +1 -0
  80. package/dist/types/org/hypercerts/claim/rights.d.ts +25 -0
  81. package/dist/types/org/hypercerts/claim/rights.d.ts.map +1 -0
  82. package/dist/types/org/hypercerts/defs.d.ts +45 -0
  83. package/dist/types/org/hypercerts/defs.d.ts.map +1 -0
  84. package/dist/types/org/hypercerts/funding/receipt.d.ts +34 -0
  85. package/dist/types/org/hypercerts/funding/receipt.d.ts.map +1 -0
  86. package/dist/types/pub/leaflet/pages/linearDocument.d.ts +2 -0
  87. package/dist/types/pub/leaflet/pages/linearDocument.d.ts.map +1 -0
  88. package/dist/util.d.ts +37 -0
  89. package/dist/util.d.ts.map +1 -0
  90. package/package.json +51 -21
  91. package/README.md.orig +0 -267
  92. package/types/index.ts +0 -1257
  93. package/types/lexicons.ts +0 -1071
  94. package/types/types/app/certified/badge/award.ts +0 -48
  95. package/types/types/app/certified/badge/definition.ts +0 -49
  96. package/types/types/app/certified/badge/response.ts +0 -44
  97. package/types/types/app/certified/defs.ts +0 -14
  98. package/types/types/app/certified/location.ts +0 -49
  99. package/types/types/com/atproto/repo/strongRef.ts +0 -31
  100. package/types/types/org/hypercerts/claim/activity.ts +0 -99
  101. package/types/types/org/hypercerts/claim/collection.ts +0 -49
  102. package/types/types/org/hypercerts/claim/contribution.ts +0 -48
  103. package/types/types/org/hypercerts/claim/evaluation.ts +0 -77
  104. package/types/types/org/hypercerts/claim/evidence.ts +0 -53
  105. package/types/types/org/hypercerts/claim/measurement.ts +0 -54
  106. package/types/types/org/hypercerts/claim/project.ts +0 -53
  107. package/types/types/org/hypercerts/claim/rights.ts +0 -49
  108. package/types/types/org/hypercerts/defs.ts +0 -96
  109. package/types/types/org/hypercerts/funding/receipt.ts +0 -58
  110. package/types/util.ts +0 -82
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAmD,CAAA;AACvE,eAAO,MAAM,QAAQ,EAAE,QAAgC,CAAA;AAEvD,wBAAgB,QAAQ,CAAC,CAAC,SAAS;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,EAClD,CAAC,EAAE,OAAO,EACV,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,IAAI,GACjB,gBAAgB,CAAC,CAAC,CAAC,CAAA;AACtB,wBAAgB,QAAQ,CAAC,CAAC,SAAS;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,EACnD,CAAC,EAAE,OAAO,EACV,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,YAAY,CAAC,EAAE,KAAK,GACnB,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAiBtB,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;CAiBN,CAAA"}
@@ -0,0 +1,24 @@
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 AppCertifiedBadgeDefinition from './definition.js';
7
+ import type * as AppCertifiedDefs from '../defs.js';
8
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
9
+ export interface Main {
10
+ $type: 'app.certified.badge.award';
11
+ badge: AppCertifiedBadgeDefinition.Main;
12
+ subject: $Typed<AppCertifiedDefs.Did> | $Typed<ComAtprotoRepoStrongRef.Main> | {
13
+ $type: string;
14
+ };
15
+ /** Optional statement explaining the reason for this badge award. */
16
+ note?: string;
17
+ /** Client-declared timestamp when this record was originally created */
18
+ createdAt: string;
19
+ [k: string]: unknown;
20
+ }
21
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.badge.award", "main">;
22
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
23
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
24
+ //# sourceMappingURL=award.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult, BlobRef } from '@atproto/lexicon';
5
+ import type * as AppCertifiedDefs from '../defs.js';
6
+ export interface Main {
7
+ $type: 'app.certified.badge.definition';
8
+ /** Category of the badge (e.g. endorsement, participation, affiliation). */
9
+ badgeType: string;
10
+ /** Human-readable title of the badge. */
11
+ title: string;
12
+ /** Icon representing the badge, stored as a blob for compact visual display. */
13
+ icon: BlobRef;
14
+ /** Optional short statement describing what the badge represents. */
15
+ description?: string;
16
+ /** Optional allowlist of DIDs allowed to issue this badge. If omitted, anyone may issue it. */
17
+ allowedIssuers?: AppCertifiedDefs.Did[];
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, "app.certified.badge.definition", "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=definition.d.ts.map
@@ -0,0 +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,4EAA4E;IAC5E,SAAS,EAAE,MAAM,CAAA;IACjB,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,gFAAgF;IAChF,IAAI,EAAE,OAAO,CAAA;IACb,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"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import type * as AppCertifiedBadgeAward from './award.js';
6
+ export interface Main {
7
+ $type: 'app.certified.badge.response';
8
+ badgeAward: AppCertifiedBadgeAward.Main;
9
+ /** The recipient’s response for the badge (accepted or rejected). */
10
+ response: 'accepted' | 'rejected';
11
+ /** Optional relative weight for accepted badges, assigned by the recipient. */
12
+ weight?: string;
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.badge.response", "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
+ //# sourceMappingURL=response.d.ts.map
@@ -0,0 +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;IACjC,+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,3 @@
1
+ /** A Decentralized Identifier (DID) string. */
2
+ export type Did = string;
3
+ //# sourceMappingURL=defs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/defs.ts"],"names":[],"mappings":"AAYA,+CAA+C;AAC/C,MAAM,MAAM,GAAG,GAAG,MAAM,CAAA"}
@@ -0,0 +1,29 @@
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.location';
9
+ /** The version of the Location Protocol */
10
+ lpVersion: string;
11
+ /** The Spatial Reference System URI (e.g., http://www.opengis.net/def/crs/OGC/1.3/CRS84) that defines the coordinate system. */
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> | {
16
+ $type: string;
17
+ };
18
+ /** Optional name for this location */
19
+ name?: string;
20
+ /** Optional description for this location */
21
+ description?: string;
22
+ /** Client-declared timestamp when this record was originally created */
23
+ createdAt: string;
24
+ [k: string]: unknown;
25
+ }
26
+ export declare function isMain<V>(v: V): v is import("../../../util").$TypedObject<V, "app.certified.location", "main">;
27
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
28
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
29
+ //# sourceMappingURL=location.d.ts.map
@@ -0,0 +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,kGAAkG;IAClG,YAAY,EAAE,oBAAoB,GAAG,eAAe,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACpE,QAAQ,EACJ,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,GACnC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,sCAAsC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6CAA6C;IAC7C,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"}
@@ -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?: 'com.atproto.repo.strongRef';
7
+ uri: string;
8
+ cid: string;
9
+ }
10
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "com.atproto.repo.strongRef", "main">;
11
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
12
+ //# sourceMappingURL=strongRef.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strongRef.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/com/atproto/repo/strongRef.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,4BAA4B,CAAA;IACpC,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
@@ -0,0 +1,57 @@
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 '../defs.js';
7
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
8
+ export interface Main {
9
+ $type: 'org.hypercerts.claim.activity';
10
+ /** Title of the hypercert. */
11
+ title: string;
12
+ /** Short blurb of the impact work done. */
13
+ shortDescription: string;
14
+ /** Optional longer description of the impact work done. */
15
+ description?: string;
16
+ image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
17
+ $type: string;
18
+ };
19
+ workScope?: WorkScope;
20
+ /** When the work began */
21
+ startDate: string;
22
+ /** When the work ended */
23
+ endDate: string;
24
+ /** A strong reference to the contributions done to create the impact in the hypercerts. The record referenced must conform with the lexicon org.hypercerts.claim.contribution. */
25
+ contributions?: ComAtprotoRepoStrongRef.Main[];
26
+ rights?: ComAtprotoRepoStrongRef.Main;
27
+ location?: ComAtprotoRepoStrongRef.Main;
28
+ /** A reference (AT-URI) to the project record that this activity is part of. The record referenced must conform with the lexicon org.hypercerts.claim.project. This activity must also be referenced by the project, establishing a bidirectional link. */
29
+ project?: string;
30
+ /** Client-declared timestamp when this record was originally created */
31
+ createdAt: string;
32
+ [k: string]: unknown;
33
+ }
34
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "main">;
35
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
36
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
37
+ /** Logical scope of the work using label-based conditions. All labels in `withinAllOf` must apply; at least one label in `withinAnyOf` must apply if provided; no label in `withinNoneOf` may apply. */
38
+ export interface WorkScope {
39
+ $type?: 'org.hypercerts.claim.activity#workScope';
40
+ /** Labels that MUST all hold for the scope to apply. */
41
+ withinAllOf?: string[];
42
+ /** Labels of which AT LEAST ONE must hold (optional). If omitted or empty, imposes no additional condition. */
43
+ withinAnyOf?: string[];
44
+ /** Labels that MUST NOT hold for the scope to apply. */
45
+ withinNoneOf?: string[];
46
+ }
47
+ export declare function isWorkScope<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "workScope">;
48
+ export declare function validateWorkScope<V>(v: V): ValidationResult<WorkScope & V>;
49
+ export interface ActivityWeight {
50
+ $type?: 'org.hypercerts.claim.activity#activityWeight';
51
+ activity: ComAtprotoRepoStrongRef.Main;
52
+ /** The relative weight/importance of this hypercert activity (stored as a string to avoid float precision issues). Weights can be any positive numeric values and do not need to sum to a specific total; normalization can be performed by the consuming application as needed. */
53
+ weight: string;
54
+ }
55
+ export declare function isActivityWeight<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "activityWeight">;
56
+ export declare function validateActivityWeight<V>(v: V): ValidationResult<ActivityWeight & V>;
57
+ //# sourceMappingURL=activity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/activity.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,+BAA+B,CAAA;IACtC,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,2CAA2C;IAC3C,gBAAgB,EAAE,MAAM,CAAA;IACxB,2DAA2D;IAC3D,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,CAA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;AAID,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sGAEvC;AAED,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wCAE7C"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult, BlobRef } from '@atproto/lexicon';
5
+ import type * as OrgHypercertsClaimActivity from './activity.js';
6
+ export interface Main {
7
+ $type: 'org.hypercerts.claim.collection';
8
+ /** The title of this collection */
9
+ title: string;
10
+ /** A short description of this collection */
11
+ shortDescription?: string;
12
+ /** Primary avatar image representing this collection across apps and views; typically a square image. */
13
+ avatar?: BlobRef;
14
+ /** The cover photo of this collection. */
15
+ coverPhoto?: BlobRef;
16
+ /** Array of activities with their associated weights in this collection */
17
+ activities: OrgHypercertsClaimActivity.ActivityWeight[];
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.claim.collection", "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=collection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/collection.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,0BAA0B,MAAM,eAAe,CAAA;AAMhE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,iCAAiC,CAAA;IACxC,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,6CAA6C;IAC7C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,yGAAyG;IACzG,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,2EAA2E;IAC3E,UAAU,EAAE,0BAA0B,CAAC,cAAc,EAAE,CAAA;IACvD,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAE7B;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,24 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ export interface Main {
6
+ $type: 'org.hypercerts.claim.contribution';
7
+ /** Role or title of the contributor(s). */
8
+ role?: string;
9
+ /** List of the contributors (names, pseudonyms, or DIDs). If multiple contributors are stored in the same hypercertContribution, then they would have the exact same role. */
10
+ contributors: string[];
11
+ /** What the contribution concretely achieved */
12
+ description?: string;
13
+ /** When this contribution started. This should be a subset of the hypercert timeframe. */
14
+ startDate?: string;
15
+ /** When this contribution finished. This should be a subset of the hypercert timeframe. */
16
+ endDate?: string;
17
+ /** Client-declared timestamp when this record was originally created */
18
+ createdAt: string;
19
+ [k: string]: unknown;
20
+ }
21
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.contribution", "main">;
22
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
23
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
24
+ //# 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,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,8KAA8K;IAC9K,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4FAA4F;IAC5F,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,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"}
@@ -0,0 +1,43 @@
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 AppCertifiedDefs from '../../../app/certified/defs.js';
8
+ import type * as OrgHypercertsDefs from '../defs.js';
9
+ /** Overall score for an evaluation on a numeric scale. */
10
+ export interface Score {
11
+ $type?: 'org.hypercerts.claim.evaluation#score';
12
+ /** Minimum value of the scale, e.g. 0 or 1. */
13
+ min: number;
14
+ /** Maximum value of the scale, e.g. 5 or 10. */
15
+ max: number;
16
+ /** Score within the inclusive range [min, max]. */
17
+ value: number;
18
+ }
19
+ export declare function isScore<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.evaluation", "score">;
20
+ export declare function validateScore<V>(v: V): ValidationResult<Score & V>;
21
+ export interface Main {
22
+ $type: 'org.hypercerts.claim.evaluation';
23
+ subject?: ComAtprotoRepoStrongRef.Main;
24
+ /** DIDs of the evaluators */
25
+ evaluators: AppCertifiedDefs.Did[];
26
+ /** Evaluation data (URIs or blobs) containing detailed reports or methodology */
27
+ content?: ($Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallBlob> | {
28
+ $type: string;
29
+ })[];
30
+ /** Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement */
31
+ measurements?: ComAtprotoRepoStrongRef.Main[];
32
+ /** Brief evaluation summary */
33
+ summary: string;
34
+ score?: Score;
35
+ location?: ComAtprotoRepoStrongRef.Main;
36
+ /** Client-declared timestamp when this record was originally created */
37
+ createdAt: string;
38
+ [k: string]: unknown;
39
+ }
40
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.evaluation", "main">;
41
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
42
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
43
+ //# sourceMappingURL=evaluation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluation.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/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,0DAA0D;AAC1D,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE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
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.claim.evidence';
10
+ subject?: ComAtprotoRepoStrongRef.Main;
11
+ content: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallBlob> | {
12
+ $type: string;
13
+ };
14
+ /** Title to describe the nature of the evidence. */
15
+ title: string;
16
+ /** Short description explaining what this evidence shows. */
17
+ shortDescription?: string;
18
+ /** Longer description describing the evidence in more detail. */
19
+ description?: string;
20
+ /** How this evidence relates to the subject. */
21
+ relationType?: 'supports' | 'challenges' | 'clarifies' | (string & {});
22
+ /** Client-declared timestamp when this record was originally created */
23
+ createdAt: string;
24
+ [k: string]: unknown;
25
+ }
26
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.evidence", "main">;
27
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
28
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
29
+ //# sourceMappingURL=evidence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evidence.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/evidence.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,+BAA+B,CAAA;IACtC,OAAO,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACtC,OAAO,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,GACnC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAA;IACb,6DAA6D;IAC7D,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iEAAiE;IACjE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gDAAgD;IAChD,YAAY,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,WAAW,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACtE,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4FAE7B;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,30 @@
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
+ import type * as AppCertifiedDefs from '../../../app/certified/defs.js';
7
+ export interface Main {
8
+ $type: 'org.hypercerts.claim.measurement';
9
+ subject?: ComAtprotoRepoStrongRef.Main;
10
+ /** DIDs of the entity (or entities) that measured this data */
11
+ measurers: AppCertifiedDefs.Did[];
12
+ /** The metric being measured */
13
+ metric: string;
14
+ /** The measured value */
15
+ value: string;
16
+ /** Short identifier for the measurement methodology */
17
+ methodType?: string;
18
+ /** URI to methodology documentation, standard protocol, or measurement procedure */
19
+ methodURI?: string;
20
+ /** URIs to related evidence or underlying data (e.g. org.hypercerts.claim.evidence records or raw datasets) */
21
+ evidenceURI?: string[];
22
+ location?: ComAtprotoRepoStrongRef.Main;
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, "org.hypercerts.claim.measurement", "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=measurement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"measurement.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/measurement.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,gBAAgB,MAAM,gCAAgC,CAAA;AAMvE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,kCAAkC,CAAA;IACzC,OAAO,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACtC,+DAA+D;IAC/D,SAAS,EAAE,gBAAgB,CAAC,GAAG,EAAE,CAAA;IACjC,gCAAgC;IAChC,MAAM,EAAE,MAAM,CAAA;IACd,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,+GAA+G;IAC/G,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,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,+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"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult, BlobRef } from '@atproto/lexicon';
5
+ import type * as PubLeafletPagesLinearDocument from '../../../pub/leaflet/pages/linearDocument.js';
6
+ import type * as OrgHypercertsClaimActivity from './activity.js';
7
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
8
+ export interface Main {
9
+ $type: 'org.hypercerts.claim.project';
10
+ /** Title of this project */
11
+ title: string;
12
+ /** Short summary of this project, suitable for previews and list views. */
13
+ shortDescription: string;
14
+ description?: PubLeafletPagesLinearDocument.Main;
15
+ /** Primary avatar image representing this project across apps and views; typically a square logo or project identity image. */
16
+ avatar?: BlobRef;
17
+ /** The cover photo of this project. */
18
+ coverPhoto?: BlobRef;
19
+ /** Array of activities with their associated weights in this project */
20
+ activities?: OrgHypercertsClaimActivity.ActivityWeight[];
21
+ location?: ComAtprotoRepoStrongRef.Main;
22
+ /** Client-declared timestamp when this record was originally created */
23
+ createdAt: string;
24
+ [k: string]: unknown;
25
+ }
26
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.project", "main">;
27
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
28
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
29
+ //# sourceMappingURL=project.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/project.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,6BAA6B,MAAM,8CAA8C,CAAA;AAClG,OAAO,KAAK,KAAK,0BAA0B,MAAM,eAAe,CAAA;AAChE,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,8BAA8B,CAAA;IACrC,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,2EAA2E;IAC3E,gBAAgB,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,6BAA6B,CAAC,IAAI,CAAA;IAChD,+HAA+H;IAC/H,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,uCAAuC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,wEAAwE;IACxE,UAAU,CAAC,EAAE,0BAA0B,CAAC,cAAc,EAAE,CAAA;IACxD,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,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,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 OrgHypercertsDefs from '../defs.js';
7
+ export interface Main {
8
+ $type: 'org.hypercerts.claim.rights';
9
+ /** Full name of the rights */
10
+ rightsName: string;
11
+ /** Short rights identifier for easier search */
12
+ rightsType: string;
13
+ /** Description of the rights of this hypercert */
14
+ rightsDescription: string;
15
+ attachment?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallBlob> | {
16
+ $type: string;
17
+ };
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.claim.rights", "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=rights.d.ts.map
@@ -0,0 +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,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,gDAAgD;IAChD,UAAU,EAAE,MAAM,CAAA;IAClB,kDAAkD;IAClD,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"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult, BlobRef } from '@atproto/lexicon';
5
+ /** Object containing a URI to external data */
6
+ export interface Uri {
7
+ $type?: 'org.hypercerts.defs#uri';
8
+ /** URI to external data */
9
+ uri: string;
10
+ }
11
+ export declare function isUri<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hypercerts.defs", "uri">;
12
+ export declare function validateUri<V>(v: V): ValidationResult<Uri & V>;
13
+ /** Object containing a blob to external data */
14
+ export interface SmallBlob {
15
+ $type?: 'org.hypercerts.defs#smallBlob';
16
+ /** Blob to external data (up to 10MB) */
17
+ blob: BlobRef;
18
+ }
19
+ export declare function isSmallBlob<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hypercerts.defs", "smallBlob">;
20
+ export declare function validateSmallBlob<V>(v: V): ValidationResult<SmallBlob & V>;
21
+ /** Object containing a blob to external data */
22
+ export interface LargeBlob {
23
+ $type?: 'org.hypercerts.defs#largeBlob';
24
+ /** Blob to external data (up to 100MB) */
25
+ blob: BlobRef;
26
+ }
27
+ export declare function isLargeBlob<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hypercerts.defs", "largeBlob">;
28
+ export declare function validateLargeBlob<V>(v: V): ValidationResult<LargeBlob & V>;
29
+ /** Object containing a small image */
30
+ export interface SmallImage {
31
+ $type?: 'org.hypercerts.defs#smallImage';
32
+ /** Image (up to 5MB) */
33
+ image: BlobRef;
34
+ }
35
+ export declare function isSmallImage<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hypercerts.defs", "smallImage">;
36
+ export declare function validateSmallImage<V>(v: V): ValidationResult<SmallImage & V>;
37
+ /** Object containing a large image */
38
+ export interface LargeImage {
39
+ $type?: 'org.hypercerts.defs#largeImage';
40
+ /** Image (up to 10MB) */
41
+ image: BlobRef;
42
+ }
43
+ export declare function isLargeImage<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hypercerts.defs", "largeImage">;
44
+ export declare function validateLargeImage<V>(v: V): ValidationResult<LargeImage & V>;
45
+ //# sourceMappingURL=defs.d.ts.map
@@ -0,0 +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;AASjE,+CAA+C;AAC/C,MAAM,WAAW,GAAG;IAClB,KAAK,CAAC,EAAE,yBAAyB,CAAA;IACjC,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8EAE5B;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6BAElC;AAED,gDAAgD;AAChD,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,+BAA+B,CAAA;IACvC,yCAAyC;IACzC,IAAI,EAAE,OAAO,CAAA;CACd;AAID,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oFAElC;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mCAExC;AAED,gDAAgD;AAChD,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,+BAA+B,CAAA;IACvC,0CAA0C;IAC1C,IAAI,EAAE,OAAO,CAAA;CACd;AAID,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oFAElC;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mCAExC;AAED,sCAAsC;AACtC,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,gCAAgC,CAAA;IACxC,wBAAwB;IACxB,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"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import type * as AppCertifiedDefs from '../../../app/certified/defs.js';
6
+ export interface Main {
7
+ $type: 'org.hypercerts.funding.receipt';
8
+ from: AppCertifiedDefs.Did;
9
+ /** The recipient of the funds. Can be identified by DID or a clear-text name. */
10
+ to: string;
11
+ /** Amount of funding received. */
12
+ amount: string;
13
+ /** Currency of the payment (e.g. EUR, USD, ETH). */
14
+ currency: string;
15
+ /** How the funds were transferred (e.g. bank_transfer, credit_card, onchain, cash, check, payment_processor). */
16
+ paymentRail?: string;
17
+ /** Optional network within the payment rail (e.g. arbitrum, ethereum, sepa, visa, paypal). */
18
+ paymentNetwork?: string;
19
+ /** 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
+ transactionId?: string;
21
+ /** Optional reference to the activity, project, or organization this funding relates to. */
22
+ for?: string;
23
+ /** Optional notes or additional context for this funding receipt. */
24
+ notes?: string;
25
+ /** Timestamp when the payment occurred. */
26
+ occurredAt?: string;
27
+ /** Client-declared timestamp when this receipt record was created. */
28
+ createdAt: string;
29
+ [k: string]: unknown;
30
+ }
31
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.funding.receipt", "main">;
32
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
33
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
34
+ //# sourceMappingURL=receipt.d.ts.map
@@ -0,0 +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;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,gCAAgC,CAAA;AAMvE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,gCAAgC,CAAA;IACvC,IAAI,EAAE,gBAAgB,CAAC,GAAG,CAAA;IAC1B,iFAAiF;IACjF,EAAE,EAAE,MAAM,CAAA;IACV,kCAAkC;IAClC,MAAM,EAAE,MAAM,CAAA;IACd,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAA;IAChB,iHAAiH;IACjH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8FAA8F;IAC9F,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,8LAA8L;IAC9L,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4FAA4F;IAC5F,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,sEAAsE;IACtE,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"}
@@ -0,0 +1,2 @@
1
+ export * from '@atcute/leaflet/types/pages/linearDocument';
2
+ //# sourceMappingURL=linearDocument.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linearDocument.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/pub/leaflet/pages/linearDocument.ts"],"names":[],"mappings":"AAEA,cAAc,4CAA4C,CAAC"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ export type OmitKey<T, K extends keyof T> = {
6
+ [K2 in keyof T as K2 extends K ? never : K2]: T[K2];
7
+ };
8
+ export type $Typed<V, T extends string = string> = V & {
9
+ $type: T;
10
+ };
11
+ export type Un$Typed<V extends {
12
+ $type?: string;
13
+ }> = OmitKey<V, '$type'>;
14
+ export type $Type<Id extends string, Hash extends string> = Hash extends 'main' ? Id : `${Id}#${Hash}`;
15
+ export type $TypedObject<V, Id extends string, Hash extends string> = V extends {
16
+ $type: $Type<Id, Hash>;
17
+ } ? V : V extends {
18
+ $type?: string;
19
+ } ? V extends {
20
+ $type?: infer T extends $Type<Id, Hash>;
21
+ } ? V & {
22
+ $type: T;
23
+ } : never : V & {
24
+ $type: $Type<Id, Hash>;
25
+ };
26
+ export declare function is$typed<V, Id extends string, Hash extends string>(v: V, id: Id, hash: Hash): v is $TypedObject<V, Id, Hash>;
27
+ export declare function maybe$typed<V, Id extends string, Hash extends string>(v: V, id: Id, hash: Hash): v is V & object & {
28
+ $type?: $Type<Id, Hash>;
29
+ };
30
+ export type Validator<R = unknown> = (v: unknown) => ValidationResult<R>;
31
+ export type ValidatorParam<V extends Validator> = V extends Validator<infer R> ? R : never;
32
+ /**
33
+ * Utility function that allows to convert a "validate*" utility function into a
34
+ * type predicate.
35
+ */
36
+ export declare function asPredicate<V extends Validator>(validate: V): <T>(v: T) => v is T & ValidatorParam<V>;
37
+ //# sourceMappingURL=util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"util.d.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