@singi-labs/sifa-sdk 0.11.14 → 0.11.16
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/dist/{adult-content-BpZD_3ow.d.cts → adult-content-C6G7CmKJ.d.cts} +11 -1
- package/dist/{adult-content-BpZD_3ow.d.ts → adult-content-C6G7CmKJ.d.ts} +11 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/{keys-DLxYsNCp.d.cts → keys-BfJ913N2.d.cts} +1 -1
- package/dist/{keys-C0AracRc.d.ts → keys-DHvBRuPo.d.ts} +1 -1
- package/dist/query/fetchers/index.d.cts +3 -3
- package/dist/query/fetchers/index.d.ts +3 -3
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/index.d.cts +3 -3
- package/dist/query/index.d.ts +3 -3
- package/dist/schemas/index.cjs +3 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +1 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +3 -0
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,17 @@ interface SkillRef {
|
|
|
13
13
|
}
|
|
14
14
|
interface ProfilePosition {
|
|
15
15
|
rkey: string;
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Optional: omitted for self-employed / freelance / independent positions.
|
|
18
|
+
* The lexicon and the record schema already make company optional.
|
|
19
|
+
*/
|
|
20
|
+
company?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Portable org entity identifier (Wikidata/ROR/LEI URI) written when the user
|
|
23
|
+
* picks an organization from the resolver typeahead. Absent for free-text or
|
|
24
|
+
* independent positions (#159).
|
|
25
|
+
*/
|
|
26
|
+
entityRef?: string;
|
|
17
27
|
title: string;
|
|
18
28
|
description?: string;
|
|
19
29
|
startedAt: string;
|
|
@@ -13,7 +13,17 @@ interface SkillRef {
|
|
|
13
13
|
}
|
|
14
14
|
interface ProfilePosition {
|
|
15
15
|
rkey: string;
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Optional: omitted for self-employed / freelance / independent positions.
|
|
18
|
+
* The lexicon and the record schema already make company optional.
|
|
19
|
+
*/
|
|
20
|
+
company?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Portable org entity identifier (Wikidata/ROR/LEI URI) written when the user
|
|
23
|
+
* picks an organization from the resolver typeahead. Absent for free-text or
|
|
24
|
+
* independent positions (#159).
|
|
25
|
+
*/
|
|
26
|
+
entityRef?: string;
|
|
17
27
|
title: string;
|
|
18
28
|
description?: string;
|
|
19
29
|
startedAt: string;
|
package/dist/index.cjs
CHANGED
|
@@ -2690,6 +2690,9 @@ var ProfileLanguageRecordSchema = zod.z.object({
|
|
|
2690
2690
|
var ProfilePositionRecordSchema = zod.z.object({
|
|
2691
2691
|
company: zod.z.string().min(1).refine(maxGraphemes(100)).max(1e3).optional(),
|
|
2692
2692
|
companyDid: didSchema.optional(),
|
|
2693
|
+
// Portable org entity identifier (Wikidata/ROR/LEI URI) from the typeahead.
|
|
2694
|
+
// Constrained to http(s) so a script-bearing scheme is never a valid ref (#159).
|
|
2695
|
+
entityRef: zod.z.string().url().refine((s) => /^https?:\/\//i.test(s), { message: "entityRef must be an http(s) URL" }).max(2048).optional(),
|
|
2693
2696
|
title: zod.z.string().min(1).refine(maxGraphemes(100)).max(1e3),
|
|
2694
2697
|
description: zod.z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
|
|
2695
2698
|
employmentType: zod.z.string().optional(),
|
|
@@ -2797,7 +2800,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
2797
2800
|
});
|
|
2798
2801
|
|
|
2799
2802
|
// src/index.ts
|
|
2800
|
-
var SIFA_SDK_VERSION = "0.11.
|
|
2803
|
+
var SIFA_SDK_VERSION = "0.11.16";
|
|
2801
2804
|
|
|
2802
2805
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
2803
2806
|
exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
|