@singi-labs/sifa-sdk 0.19.33 → 0.19.34

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.
Files changed (35) hide show
  1. package/dist/index.cjs +166 -1
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +75 -3
  4. package/dist/index.d.ts +75 -3
  5. package/dist/index.js +162 -2
  6. package/dist/index.js.map +1 -1
  7. package/dist/{network-map-CemKAXaz.d.ts → network-map-CtXK5EY7.d.ts} +2 -3
  8. package/dist/{network-map-5ZQalf1g.d.cts → network-map-DG4_UpQ4.d.cts} +2 -3
  9. package/dist/{org-D-zPVoep.d.cts → org-9B__E4ad.d.cts} +5 -256
  10. package/dist/{org-Baoxl7ha.d.ts → org-C_s76iQT.d.ts} +5 -256
  11. package/dist/{profile-summary-DOkOlwml.d.cts → profile-summary-BYWU098I.d.cts} +1 -1
  12. package/dist/{profile-summary-Bw6SLwnM.d.ts → profile-summary-DXnFXPlO.d.ts} +1 -1
  13. package/dist/query/fetchers/index.cjs +3 -1
  14. package/dist/query/fetchers/index.cjs.map +1 -1
  15. package/dist/query/fetchers/index.d.cts +5 -5
  16. package/dist/query/fetchers/index.d.ts +5 -5
  17. package/dist/query/fetchers/index.js +3 -1
  18. package/dist/query/fetchers/index.js.map +1 -1
  19. package/dist/query/hooks/index.cjs +3 -1
  20. package/dist/query/hooks/index.cjs.map +1 -1
  21. package/dist/query/hooks/index.d.cts +3 -4
  22. package/dist/query/hooks/index.d.ts +3 -4
  23. package/dist/query/hooks/index.js +3 -1
  24. package/dist/query/hooks/index.js.map +1 -1
  25. package/dist/query/index.cjs +3 -1
  26. package/dist/query/index.cjs.map +1 -1
  27. package/dist/query/index.d.cts +9 -8
  28. package/dist/query/index.d.ts +9 -8
  29. package/dist/query/index.js +3 -1
  30. package/dist/query/index.js.map +1 -1
  31. package/dist/{types-CWIfTV3N.d.cts → types-By-g5caY.d.cts} +254 -2
  32. package/dist/{types-CKqres0c.d.ts → types-pK_aShdG.d.ts} +254 -2
  33. package/dist/{use-org-notification-emails-Cx-bDFpR.d.ts → use-org-notification-emails-BwYnA7tk.d.ts} +2 -2
  34. package/dist/{use-org-notification-emails-3m5Rit93.d.cts → use-org-notification-emails-DamYHmQc.d.cts} +2 -2
  35. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -686,64 +686,161 @@ function getIndustryLabelKey(value) {
686
686
  }
687
687
  return value;
688
688
  }
689
+ var INDUSTRY_LABELS = {
690
+ industryTechnology: "Technology",
691
+ domainSoftwareEngineering: "Software Engineering",
692
+ domainDataScience: "Data Science & ML",
693
+ domainCybersecurity: "Cybersecurity",
694
+ domainDevops: "DevOps & Infrastructure",
695
+ domainProductDesign: "Product & UX Design",
696
+ domainGameDev: "Game Development",
697
+ industryFinance: "Finance & Banking",
698
+ domainBanking: "Banking",
699
+ domainFintech: "Fintech",
700
+ domainInsurance: "Insurance",
701
+ domainInvestmentMgmt: "Investment Management",
702
+ industryHealthcare: "Healthcare & Life Sciences",
703
+ domainClinicalResearch: "Clinical Research",
704
+ domainHealthtech: "Health Technology",
705
+ domainPharma: "Pharmaceuticals",
706
+ industryEducation: "Education & Research",
707
+ domainHigherEd: "Higher Education",
708
+ domainEdtech: "Education Technology",
709
+ domainPrimarySecondary: "Primary & Secondary Education",
710
+ industryMedia: "Media & Entertainment",
711
+ domainJournalism: "Journalism",
712
+ domainFilmVideo: "Film & Video",
713
+ domainGaming: "Gaming & Interactive Media",
714
+ domainAdvertising: "Advertising & Marketing",
715
+ industryRetail: "Retail & E-commerce",
716
+ domainEcommerce: "E-commerce",
717
+ domainSupplyChain: "Supply Chain & Fulfillment",
718
+ industryManufacturing: "Manufacturing & Engineering",
719
+ domainAutomotive: "Automotive",
720
+ domainAerospace: "Aerospace & Defense",
721
+ domainHardware: "Hardware & Electronics",
722
+ industryEnergy: "Energy & Environment",
723
+ domainRenewables: "Renewable Energy",
724
+ domainOilGas: "Oil & Gas",
725
+ domainClimateTech: "Climate Tech",
726
+ industryGovernment: "Government & Public Sector",
727
+ domainPublicPolicy: "Public Policy",
728
+ domainDefense: "Defense & Intelligence",
729
+ industryLegal: "Legal",
730
+ domainIpLaw: "Intellectual Property",
731
+ domainCompliance: "Compliance & Regulatory",
732
+ industryConsulting: "Consulting & Professional Services",
733
+ domainManagementConsulting: "Management Consulting",
734
+ domainDevrel: "Developer Relations",
735
+ domainHrRecruitment: "HR & Recruitment",
736
+ industryNonprofit: "Non-profit & Social Impact",
737
+ domainHumanRights: "Human Rights",
738
+ domainOpenSource: "Open Source",
739
+ industryRealEstate: "Real Estate & Construction",
740
+ domainProptech: "Property Technology",
741
+ industryTransport: "Transportation & Logistics",
742
+ domainAutonomousVehicles: "Autonomous Vehicles",
743
+ domainLogistics: "Logistics & Warehousing",
744
+ industryAgriculture: "Agriculture & Food",
745
+ domainAgritech: "Agricultural Technology",
746
+ domainFoodTech: "Food Technology & Processing",
747
+ industryHospitality: "Hospitality & Tourism",
748
+ domainHotels: "Hotels & Accommodation",
749
+ domainTravelTourism: "Travel & Tourism",
750
+ domainFoodBeverage: "Food & Beverage",
751
+ industryTelecom: "Telecommunications",
752
+ domainNetworkInfra: "Network Infrastructure",
753
+ domainMobileServices: "Mobile & Wireless Services",
754
+ industryMining: "Mining & Resources",
755
+ domainExtraction: "Extraction & Processing",
756
+ domainGeological: "Geological Services",
757
+ industryFashion: "Fashion & Textiles",
758
+ domainFashionDesign: "Fashion Design",
759
+ domainTextileManufacturing: "Textile Manufacturing",
760
+ industryMaritime: "Maritime & Shipping",
761
+ domainShipping: "Shipping & Freight",
762
+ domainPortOperations: "Port & Terminal Operations",
763
+ domainNavalArchitecture: "Naval Architecture & Marine Engineering",
764
+ industryOther: "Other"
765
+ };
766
+ function getIndustryLabel(value) {
767
+ return INDUSTRY_LABELS[getIndustryLabelKey(value)] ?? value;
768
+ }
689
769
 
690
770
  // src/taxonomy/open-to.ts
691
771
  var OPEN_TO_OPTIONS = [
692
772
  {
693
773
  value: "id.sifa.defs#fullTimeRoles",
694
774
  labelKey: "fullTimeRoles",
775
+ label: "Full-time roles",
695
776
  token: "fullTime",
696
777
  group: "work"
697
778
  },
698
779
  {
699
780
  value: "id.sifa.defs#partTimeRoles",
700
781
  labelKey: "partTimeRoles",
782
+ label: "Part-time roles",
701
783
  token: "partTime",
702
784
  group: "work"
703
785
  },
704
786
  {
705
787
  value: "id.sifa.defs#contractRoles",
706
788
  labelKey: "contractRoles",
789
+ label: "Contract roles",
707
790
  token: "contract",
708
791
  group: "work"
709
792
  },
710
793
  {
711
794
  value: "id.sifa.defs#commissions",
712
795
  labelKey: "commissions",
796
+ label: "Commissioned work",
713
797
  token: "commissions",
714
798
  group: "work"
715
799
  },
716
800
  {
717
801
  value: "id.sifa.defs#boardPositions",
718
802
  labelKey: "boardPositions",
803
+ label: "Board positions",
719
804
  token: "board",
720
805
  group: "work"
721
806
  },
722
807
  {
723
808
  value: "id.sifa.defs#speakingEngagements",
724
809
  labelKey: "speakingEngagements",
810
+ label: "Speaking engagements",
725
811
  token: "speaking",
726
812
  group: "work"
727
813
  },
728
814
  {
729
815
  value: "id.sifa.defs#mentoringOthers",
730
816
  labelKey: "mentoringOthers",
817
+ label: "Mentoring others",
731
818
  token: "mentor",
732
819
  group: "mentorship"
733
820
  },
734
821
  {
735
822
  value: "id.sifa.defs#beingMentored",
736
823
  labelKey: "beingMentored",
824
+ label: "Being mentored",
737
825
  token: "mentee",
738
826
  group: "mentorship"
739
827
  },
740
828
  {
741
829
  value: "id.sifa.defs#collaborations",
742
830
  labelKey: "collaborations",
831
+ label: "Collaborations",
743
832
  token: "collab",
744
833
  group: "peer"
745
834
  }
746
835
  ];
836
+ var OPEN_TO_TOKEN_LABELS = Object.fromEntries(
837
+ OPEN_TO_OPTIONS.map((o) => [o.token, o.label])
838
+ );
839
+ var OPEN_TO_GROUP_LABELS = {
840
+ work: "Work",
841
+ mentorship: "Mentorship",
842
+ peer: "Peer"
843
+ };
747
844
  var OPEN_TO_TOKEN_TO_VALUE = Object.fromEntries(
748
845
  OPEN_TO_OPTIONS.map((o) => [o.token, o.value])
749
846
  );
@@ -785,6 +882,69 @@ function normalizeOpenTo(values) {
785
882
  return out;
786
883
  }
787
884
 
885
+ // src/taxonomy/search-filter-defs.ts
886
+ var SEARCH_FILTER_DEFS = [
887
+ {
888
+ key: "skill",
889
+ label: "Skill",
890
+ control: "skill-typeahead",
891
+ optionSource: { kind: "typeahead" },
892
+ order: 1,
893
+ peopleOnly: true
894
+ },
895
+ {
896
+ key: "country",
897
+ label: "Country",
898
+ allLabel: "All countries",
899
+ control: "select",
900
+ optionSource: { kind: "facet", ref: "countries" },
901
+ order: 2
902
+ },
903
+ {
904
+ key: "industry",
905
+ label: "Industry",
906
+ allLabel: "All industries",
907
+ control: "select",
908
+ optionSource: { kind: "taxonomy", ref: "industry" },
909
+ order: 3
910
+ },
911
+ {
912
+ key: "domain",
913
+ label: "Domain",
914
+ allLabel: "All domains",
915
+ control: "select",
916
+ optionSource: { kind: "taxonomy", ref: "domain" },
917
+ order: 4,
918
+ dependsOn: "industry"
919
+ },
920
+ {
921
+ key: "workplace",
922
+ label: "Workplace",
923
+ allLabel: "Any arrangement",
924
+ control: "select",
925
+ optionSource: { kind: "taxonomy", ref: "workplace" },
926
+ order: 5,
927
+ peopleOnly: true
928
+ },
929
+ {
930
+ key: "openTo",
931
+ label: "Open to",
932
+ control: "multi-select",
933
+ optionSource: { kind: "taxonomy", ref: "openTo" },
934
+ order: 6,
935
+ peopleOnly: true
936
+ },
937
+ {
938
+ key: "app",
939
+ label: "App",
940
+ allLabel: "All apps",
941
+ control: "select",
942
+ optionSource: { kind: "facet", ref: "apps" },
943
+ order: 7,
944
+ hidden: true
945
+ }
946
+ ];
947
+
788
948
  // src/taxonomy/workplace-type.ts
789
949
  var WORKPLACE_TYPE_OPTIONS = [
790
950
  { value: "id.sifa.defs#onSite", label: "On-site" },
@@ -6796,7 +6956,7 @@ function describeSifaRecord(collection, value) {
6796
6956
  }
6797
6957
 
6798
6958
  // src/index.ts
6799
- var SIFA_SDK_VERSION = "0.19.33";
6959
+ var SIFA_SDK_VERSION = "0.19.34";
6800
6960
 
6801
6961
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
6802
6962
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
@@ -6849,6 +7009,7 @@ exports.FollowFeedPageSchema = FollowFeedPageSchema;
6849
7009
  exports.FollowProfilePageSchema = FollowProfilePageSchema;
6850
7010
  exports.FollowProfileSchema = FollowProfileSchema;
6851
7011
  exports.GraphFollowRecordSchema = GraphFollowRecordSchema;
7012
+ exports.INDUSTRY_LABELS = INDUSTRY_LABELS;
6852
7013
  exports.INDUSTRY_OPTIONS = INDUSTRY_OPTIONS;
6853
7014
  exports.INVESTMENT_ROLE_LABELS = INVESTMENT_ROLE_LABELS;
6854
7015
  exports.INVESTMENT_ROLE_OPTIONS = INVESTMENT_ROLE_OPTIONS;
@@ -6863,8 +7024,10 @@ exports.INVOLVEMENT_KIND_OPTIONS = INVOLVEMENT_KIND_OPTIONS;
6863
7024
  exports.InvestmentAmountSchema = InvestmentAmountSchema;
6864
7025
  exports.MIN_SKILLS = MIN_SKILLS;
6865
7026
  exports.ON_BEHALF_OF_EMPLOYMENT_TYPES = ON_BEHALF_OF_EMPLOYMENT_TYPES;
7027
+ exports.OPEN_TO_GROUP_LABELS = OPEN_TO_GROUP_LABELS;
6866
7028
  exports.OPEN_TO_OPTIONS = OPEN_TO_OPTIONS;
6867
7029
  exports.OPEN_TO_TOKENS = OPEN_TO_TOKENS;
7030
+ exports.OPEN_TO_TOKEN_LABELS = OPEN_TO_TOKEN_LABELS;
6868
7031
  exports.OPEN_TO_TOKEN_TO_VALUE = OPEN_TO_TOKEN_TO_VALUE;
6869
7032
  exports.OPEN_TO_VALUE_TO_TOKEN = OPEN_TO_VALUE_TO_TOKEN;
6870
7033
  exports.OrgEmploymentAttestationRecordSchema = OrgEmploymentAttestationRecordSchema;
@@ -6903,6 +7066,7 @@ exports.PublicationAuthorSchema = PublicationAuthorSchema;
6903
7066
  exports.ROADMAP_ISSUES_REPO = ROADMAP_ISSUES_REPO;
6904
7067
  exports.ROADMAP_ITEM_META = ROADMAP_ITEM_META;
6905
7068
  exports.RelatedIdentifierSchema = RelatedIdentifierSchema;
7069
+ exports.SEARCH_FILTER_DEFS = SEARCH_FILTER_DEFS;
6906
7070
  exports.SECTION_GROUPS = SECTION_GROUPS;
6907
7071
  exports.SECTION_LABELS = SECTION_LABELS;
6908
7072
  exports.SELF_APP_ID = SELF_APP_ID;
@@ -6976,6 +7140,7 @@ exports.getEmploymentTypeLabel = getEmploymentTypeLabel;
6976
7140
  exports.getFaviconUrl = getFaviconUrl;
6977
7141
  exports.getFilledDimensionsMap = getFilledDimensionsMap;
6978
7142
  exports.getHandleStem = getHandleStem;
7143
+ exports.getIndustryLabel = getIndustryLabel;
6979
7144
  exports.getIndustryLabelKey = getIndustryLabelKey;
6980
7145
  exports.getInvestmentRoleLabel = getInvestmentRoleLabel;
6981
7146
  exports.getInvestmentStageLabel = getInvestmentStageLabel;