@hypercerts-org/lexicon 0.10.0-beta.4 → 0.10.0-beta.6
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 +82 -0
- package/README.md +66 -311
- package/SCHEMAS.md +284 -0
- package/dist/exports.d.ts +76 -118
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +76 -118
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +182 -266
- package/dist/generated/lexicons.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts +21 -18
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/collection.d.ts +9 -9
- package/dist/generated/types/org/hypercerts/claim/collection.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/{contribution.d.ts → contributionDetails.d.ts} +8 -10
- package/dist/generated/types/org/hypercerts/claim/contributionDetails.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts +23 -0
- package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -0
- package/dist/index.cjs +270 -357
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +263 -350
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +102 -141
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +182 -266
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +102 -141
- package/dist/lexicons.mjs.map +1 -1
- package/dist/types/org/hypercerts/claim/activity.d.ts +21 -18
- package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/collection.d.ts +9 -9
- package/dist/types/org/hypercerts/claim/collection.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/{contribution.d.ts → contributionDetails.d.ts} +8 -10
- package/dist/types/org/hypercerts/claim/contributionDetails.d.ts.map +1 -0
- package/dist/types/org/hypercerts/claim/contributorInformation.d.ts +23 -0
- package/dist/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -0
- package/lexicons/org/hypercerts/claim/activity.json +29 -39
- package/lexicons/org/hypercerts/claim/collection.json +14 -17
- package/lexicons/org/hypercerts/claim/contributionDetails.json +43 -0
- package/lexicons/org/hypercerts/claim/contributorInformation.json +39 -0
- package/lexicons/org/hypercerts/claim/evaluation.json +1 -1
- package/package.json +6 -2
- package/dist/generated/types/org/hypercerts/claim/contribution.d.ts.map +0 -1
- package/dist/generated/types/org/hypercerts/claim/project.d.ts +0 -29
- package/dist/generated/types/org/hypercerts/claim/project.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/contribution.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/project.d.ts +0 -29
- package/dist/types/org/hypercerts/claim/project.d.ts.map +0 -1
- package/lexicons/org/hypercerts/claim/contribution.json +0 -50
- package/lexicons/org/hypercerts/claim/project.json +0 -64
|
@@ -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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ertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
17
17
|
$type: string;
|
|
18
18
|
};
|
|
19
|
-
workScope?:
|
|
19
|
+
workScope?: ComAtprotoRepoStrongRef.Main;
|
|
20
20
|
/** When the work began */
|
|
21
|
-
startDate
|
|
21
|
+
startDate?: string;
|
|
22
22
|
/** When the work ended */
|
|
23
|
-
endDate
|
|
24
|
-
/**
|
|
25
|
-
|
|
23
|
+
endDate?: string;
|
|
24
|
+
/** An array of contributor objects, each containing contributor information, weight, and contribution details. */
|
|
25
|
+
contributors?: Contributor[];
|
|
26
26
|
rights?: ComAtprotoRepoStrongRef.Main;
|
|
27
27
|
/** An array of strong references to the location where activity was performed. The record referenced must conform with the lexicon app.certified.location. */
|
|
28
28
|
locations?: ComAtprotoRepoStrongRef.Main[];
|
|
29
|
-
/** 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. */
|
|
30
|
-
project?: string;
|
|
31
29
|
/** Client-declared timestamp when this record was originally created */
|
|
32
30
|
createdAt: string;
|
|
33
31
|
[k: string]: unknown;
|
|
@@ -35,18 +33,23 @@ export interface Main {
|
|
|
35
33
|
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "main">;
|
|
36
34
|
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
37
35
|
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
$
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
36
|
+
export interface Contributor {
|
|
37
|
+
$type?: 'org.hypercerts.claim.activity#contributor';
|
|
38
|
+
contributorInformation: $Typed<ContributorIdentity> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
39
|
+
$type: string;
|
|
40
|
+
};
|
|
41
|
+
/** The relative weight/importance of this contribution (stored as a string to avoid float precision issues). Must be a positive numeric value. Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed. */
|
|
42
|
+
weight?: string;
|
|
43
|
+
contributionDetails?: $Typed<ContributorRole> | $Typed<ComAtprotoRepoStrongRef.Main> | {
|
|
44
|
+
$type: string;
|
|
45
|
+
};
|
|
47
46
|
}
|
|
48
|
-
export declare function
|
|
49
|
-
export declare function
|
|
47
|
+
export declare function isContributor<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "contributor">;
|
|
48
|
+
export declare function validateContributor<V>(v: V): ValidationResult<Contributor & V>;
|
|
49
|
+
/** Contributor information as a string (DID or identifier). */
|
|
50
|
+
export type ContributorIdentity = string;
|
|
51
|
+
/** Contribution details as a string. */
|
|
52
|
+
export type ContributorRole = string;
|
|
50
53
|
export interface ActivityWeight {
|
|
51
54
|
$type?: 'org.hypercerts.claim.activity#activityWeight';
|
|
52
55
|
activity: ComAtprotoRepoStrongRef.Main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/activity.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,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,CAAA;KAAE,CAAA;IACrB,SAAS,CAAC,EAAE,
|
|
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,CAAA;KAAE,CAAA;IACrB,SAAS,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACxC,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0BAA0B;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,kHAAkH;IAClH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;IAC5B,MAAM,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACrC,8JAA8J;IAC9J,SAAS,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IAC1C,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA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
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
|
-
import { type ValidationResult
|
|
5
|
-
import type * as
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import type * as PubLeafletPagesLinearDocument from '../../../pub/leaflet/pages/linearDocument.js';
|
|
6
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
6
7
|
export interface Main {
|
|
7
8
|
$type: 'org.hypercerts.claim.collection';
|
|
9
|
+
/** The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection. */
|
|
10
|
+
type?: string;
|
|
8
11
|
/** The title of this collection */
|
|
9
12
|
title: string;
|
|
10
|
-
/**
|
|
13
|
+
/** Short summary of this collection, suitable for previews and list views */
|
|
11
14
|
shortDescription?: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
coverPhoto?: BlobRef;
|
|
16
|
-
/** Array of activities with their associated weights in this collection */
|
|
17
|
-
activities: OrgHypercertsClaimActivity.ActivityWeight[];
|
|
15
|
+
description?: PubLeafletPagesLinearDocument.Main;
|
|
16
|
+
/** Array of strong references to items in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection). */
|
|
17
|
+
items: ComAtprotoRepoStrongRef.Main[];
|
|
18
18
|
/** Client-declared timestamp when this record was originally created */
|
|
19
19
|
createdAt: string;
|
|
20
20
|
[k: string]: unknown;
|
|
@@ -1 +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,
|
|
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,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,6BAA6B,MAAM,8CAA8C,CAAA;AAClG,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,iCAAiC,CAAA;IACxC,mHAAmH;IACnH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,6BAA6B,CAAC,IAAI,CAAA;IAChD,kLAAkL;IAClL,KAAK,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IACrC,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"}
|
package/dist/generated/types/org/hypercerts/claim/{contribution.d.ts → contributionDetails.d.ts}
RENAMED
|
@@ -3,22 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
5
|
export interface Main {
|
|
6
|
-
$type: 'org.hypercerts.claim.
|
|
7
|
-
/** Role or title of the contributor
|
|
6
|
+
$type: 'org.hypercerts.claim.contributionDetails';
|
|
7
|
+
/** Role or title of the contributor. */
|
|
8
8
|
role?: string;
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
/** What the contribution concretely achieved */
|
|
12
|
-
description?: string;
|
|
9
|
+
/** What the contribution concretely was. */
|
|
10
|
+
contributionDescription?: string;
|
|
13
11
|
/** When this contribution started. This should be a subset of the hypercert timeframe. */
|
|
14
12
|
startDate?: string;
|
|
15
|
-
/** When this contribution finished.
|
|
13
|
+
/** When this contribution finished. This should be a subset of the hypercert timeframe. */
|
|
16
14
|
endDate?: string;
|
|
17
|
-
/** Client-declared timestamp when this record was originally created */
|
|
15
|
+
/** Client-declared timestamp when this record was originally created. */
|
|
18
16
|
createdAt: string;
|
|
19
17
|
[k: string]: unknown;
|
|
20
18
|
}
|
|
21
|
-
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.contributionDetails", "main">;
|
|
22
20
|
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
23
21
|
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
24
|
-
//# sourceMappingURL=
|
|
22
|
+
//# sourceMappingURL=contributionDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contributionDetails.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/contributionDetails.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,0CAA0C,CAAA;IACjD,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2FAA2F;IAC3F,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uGAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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.contributorInformation';
|
|
9
|
+
/** DID or a URI to a social profile of the contributor. */
|
|
10
|
+
identifier?: string;
|
|
11
|
+
/** Display name of the contributor. */
|
|
12
|
+
displayName?: string;
|
|
13
|
+
image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
|
|
14
|
+
$type: string;
|
|
15
|
+
};
|
|
16
|
+
/** Client-declared timestamp when this record was originally created. */
|
|
17
|
+
createdAt: string;
|
|
18
|
+
[k: string]: unknown;
|
|
19
|
+
}
|
|
20
|
+
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.contributorInformation", "main">;
|
|
21
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
22
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
23
|
+
//# sourceMappingURL=contributorInformation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contributorInformation.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/contributorInformation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AAMpD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,6CAA6C,CAAA;IACpD,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EACF,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0GAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
|