@singi-labs/sifa-sdk 0.10.7 → 0.10.8

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
@@ -651,15 +651,62 @@ function getIndustryLabelKey(value) {
651
651
 
652
652
  // src/taxonomy/open-to.ts
653
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" }
654
+ {
655
+ value: "id.sifa.defs#fullTimeRoles",
656
+ labelKey: "fullTimeRoles",
657
+ token: "fullTime",
658
+ group: "work"
659
+ },
660
+ {
661
+ value: "id.sifa.defs#partTimeRoles",
662
+ labelKey: "partTimeRoles",
663
+ token: "partTime",
664
+ group: "work"
665
+ },
666
+ {
667
+ value: "id.sifa.defs#contractRoles",
668
+ labelKey: "contractRoles",
669
+ token: "contract",
670
+ group: "work"
671
+ },
672
+ {
673
+ value: "id.sifa.defs#commissions",
674
+ labelKey: "commissions",
675
+ token: "commissions",
676
+ group: "work"
677
+ },
678
+ {
679
+ value: "id.sifa.defs#boardPositions",
680
+ labelKey: "boardPositions",
681
+ token: "board",
682
+ group: "work"
683
+ },
684
+ {
685
+ value: "id.sifa.defs#mentoringOthers",
686
+ labelKey: "mentoringOthers",
687
+ token: "mentor",
688
+ group: "mentorship"
689
+ },
690
+ {
691
+ value: "id.sifa.defs#beingMentored",
692
+ labelKey: "beingMentored",
693
+ token: "mentee",
694
+ group: "mentorship"
695
+ },
696
+ {
697
+ value: "id.sifa.defs#collaborations",
698
+ labelKey: "collaborations",
699
+ token: "collab",
700
+ group: "peer"
701
+ }
662
702
  ];
703
+ Object.fromEntries(
704
+ OPEN_TO_OPTIONS.map((o) => [o.token, o.value])
705
+ );
706
+ Object.fromEntries(
707
+ OPEN_TO_OPTIONS.map((o) => [o.value, o.token])
708
+ );
709
+ OPEN_TO_OPTIONS.map((o) => o.token);
663
710
  var OPEN_TO_LEGACY_ALIASES = {
664
711
  "id.sifa.defs#mentoring": "mentoringOthers"
665
712
  };
@@ -2180,7 +2227,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
2180
2227
  });
2181
2228
 
2182
2229
  // src/index.ts
2183
- var SIFA_SDK_VERSION = "0.10.7";
2230
+ var SIFA_SDK_VERSION = "0.10.8";
2184
2231
 
2185
2232
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
2186
2233
  exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;