@singi-labs/sifa-sdk 0.11.20 → 0.11.21
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-Qf1-uAyx.d.cts → adult-content-B6aagF8N.d.cts} +8 -0
- package/dist/{adult-content-Qf1-uAyx.d.ts → adult-content-B6aagF8N.d.ts} +8 -0
- package/dist/index.cjs +12 -8
- 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 +12 -8
- package/dist/index.js.map +1 -1
- package/dist/{keys-CYYLvHnh.d.cts → keys-D3urUnj8.d.cts} +1 -1
- package/dist/{keys-BTitrLGA.d.ts → keys-cT1ORNOu.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/package.json +1 -1
|
@@ -24,6 +24,14 @@ interface ProfilePosition {
|
|
|
24
24
|
* independent positions (#159).
|
|
25
25
|
*/
|
|
26
26
|
entityRef?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Resolved current canonical name of the durably-linked company (#240),
|
|
29
|
+
* computed by the AppView at read time. Render this over `company` for a
|
|
30
|
+
* linked position, so a name correction reaches every linked profile without
|
|
31
|
+
* a PDS write. Absent for free-text or unresolved positions (fall back to
|
|
32
|
+
* `company`).
|
|
33
|
+
*/
|
|
34
|
+
entityName?: string;
|
|
27
35
|
title: string;
|
|
28
36
|
description?: string;
|
|
29
37
|
startedAt: string;
|
|
@@ -24,6 +24,14 @@ interface ProfilePosition {
|
|
|
24
24
|
* independent positions (#159).
|
|
25
25
|
*/
|
|
26
26
|
entityRef?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Resolved current canonical name of the durably-linked company (#240),
|
|
29
|
+
* computed by the AppView at read time. Render this over `company` for a
|
|
30
|
+
* linked position, so a name correction reaches every linked profile without
|
|
31
|
+
* a PDS write. Absent for free-text or unresolved positions (fall back to
|
|
32
|
+
* `company`).
|
|
33
|
+
*/
|
|
34
|
+
entityName?: string;
|
|
27
35
|
title: string;
|
|
28
36
|
description?: string;
|
|
29
37
|
startedAt: string;
|
package/dist/index.cjs
CHANGED
|
@@ -441,15 +441,19 @@ var EMPLOYMENT_TYPE_GROUPS = [
|
|
|
441
441
|
{ value: "id.sifa.defs#fellowship", label: "Fellowship" },
|
|
442
442
|
{ value: "id.sifa.defs#trainee", label: "Trainee" }
|
|
443
443
|
]
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
label: "Other",
|
|
447
|
-
items: [{ value: "id.sifa.defs#volunteer", label: "Volunteer" }]
|
|
448
444
|
}
|
|
449
445
|
];
|
|
450
|
-
var EMPLOYMENT_TYPE_LABELS =
|
|
451
|
-
|
|
452
|
-
)
|
|
446
|
+
var EMPLOYMENT_TYPE_LABELS = {
|
|
447
|
+
...Object.fromEntries(
|
|
448
|
+
EMPLOYMENT_TYPE_GROUPS.flatMap((g) => g.items).map((o) => [o.value, o.label])
|
|
449
|
+
),
|
|
450
|
+
// `volunteer` is retained for legacy records but no longer offered in the
|
|
451
|
+
// editor dropdown. Volunteering is a distinct thing (no payroll, no formal
|
|
452
|
+
// role, no obligation) rather than a kind of employment, so it lives in the
|
|
453
|
+
// dedicated `id.sifa.profile.volunteering` section, not on the employment-type
|
|
454
|
+
// axis. Kept here so old positions still render a human label, not the raw NSID.
|
|
455
|
+
"id.sifa.defs#volunteer": "Volunteer"
|
|
456
|
+
};
|
|
453
457
|
function getEmploymentTypeLabel(value) {
|
|
454
458
|
if (!value) return void 0;
|
|
455
459
|
return EMPLOYMENT_TYPE_LABELS[value] ?? value;
|
|
@@ -2895,7 +2899,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
2895
2899
|
});
|
|
2896
2900
|
|
|
2897
2901
|
// src/index.ts
|
|
2898
|
-
var SIFA_SDK_VERSION = "0.11.
|
|
2902
|
+
var SIFA_SDK_VERSION = "0.11.21";
|
|
2899
2903
|
|
|
2900
2904
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
2901
2905
|
exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
|