@singi-labs/sifa-sdk 0.9.0 → 0.9.1

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/index.cjs CHANGED
@@ -649,6 +649,29 @@ function getIndustryLabelKey(value) {
649
649
  return value;
650
650
  }
651
651
 
652
+ // src/taxonomy/open-to.ts
653
+ var OPEN_TO_OPTIONS = [
654
+ { value: "id.sifa.defs#fullTimeRoles", labelKey: "fullTimeRoles" },
655
+ { value: "id.sifa.defs#partTimeRoles", labelKey: "partTimeRoles" },
656
+ { value: "id.sifa.defs#contractRoles", labelKey: "contractRoles" },
657
+ { value: "id.sifa.defs#commissions", labelKey: "commissions" },
658
+ { value: "id.sifa.defs#boardPositions", labelKey: "boardPositions" },
659
+ { value: "id.sifa.defs#mentoringOthers", labelKey: "mentoringOthers" },
660
+ { value: "id.sifa.defs#beingMentored", labelKey: "beingMentored" },
661
+ { value: "id.sifa.defs#collaborations", labelKey: "collaborations" }
662
+ ];
663
+ var OPEN_TO_LEGACY_ALIASES = {
664
+ "id.sifa.defs#mentoring": "mentoringOthers"
665
+ };
666
+ var OPEN_TO_LABEL_KEY_MAP = {
667
+ ...Object.fromEntries(OPEN_TO_OPTIONS.map((o) => [o.value, o.labelKey])),
668
+ ...OPEN_TO_LEGACY_ALIASES
669
+ };
670
+ function getOpenToLabelKey(value) {
671
+ if (!value) return void 0;
672
+ return OPEN_TO_LABEL_KEY_MAP[value];
673
+ }
674
+
652
675
  // src/taxonomy/workplace-type.ts
653
676
  var WORKPLACE_TYPE_OPTIONS = [
654
677
  { value: "id.sifa.defs#onSite", label: "On-site" },
@@ -1206,7 +1229,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
1206
1229
  });
1207
1230
 
1208
1231
  // src/index.ts
1209
- var SIFA_SDK_VERSION = "0.9.0";
1232
+ var SIFA_SDK_VERSION = "0.9.1";
1210
1233
 
1211
1234
  exports.CATEGORY_LABELS = CATEGORY_LABELS;
1212
1235
  exports.CATEGORY_ORDER = CATEGORY_ORDER;
@@ -1221,6 +1244,7 @@ exports.EndorsementRecordSchema = EndorsementRecordSchema;
1221
1244
  exports.GraphFollowRecordSchema = GraphFollowRecordSchema;
1222
1245
  exports.INDUSTRY_OPTIONS = INDUSTRY_OPTIONS;
1223
1246
  exports.MIN_SKILLS = MIN_SKILLS;
1247
+ exports.OPEN_TO_OPTIONS = OPEN_TO_OPTIONS;
1224
1248
  exports.PLATFORM_LABELS = PLATFORM_LABELS;
1225
1249
  exports.PLATFORM_OPTIONS = PLATFORM_OPTIONS;
1226
1250
  exports.ProfileCertificationRecordSchema = ProfileCertificationRecordSchema;
@@ -1265,6 +1289,7 @@ exports.getFaviconUrl = getFaviconUrl;
1265
1289
  exports.getFilledDimensionsMap = getFilledDimensionsMap;
1266
1290
  exports.getHandleStem = getHandleStem;
1267
1291
  exports.getIndustryLabelKey = getIndustryLabelKey;
1292
+ exports.getOpenToLabelKey = getOpenToLabelKey;
1268
1293
  exports.getPdsDisplayName = getPdsDisplayName;
1269
1294
  exports.getPlatformLabel = getPlatformLabel;
1270
1295
  exports.getWorkplaceTypeLabel = getWorkplaceTypeLabel;