@singi-labs/sifa-sdk 0.19.32 → 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.
- package/dist/{index-piLIwMN1.d.cts → index-CH8NiQwH.d.cts} +18 -1
- package/dist/{index-CpbCm2Fe.d.ts → index-ayiu2kGy.d.ts} +18 -1
- package/dist/index.cjs +268 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +125 -7
- package/dist/index.d.ts +125 -7
- package/dist/index.js +262 -2
- package/dist/index.js.map +1 -1
- package/dist/jsonld/index.d.cts +1 -1
- package/dist/jsonld/index.d.ts +1 -1
- package/dist/{network-map-BgeHssxs.d.ts → network-map-CtXK5EY7.d.ts} +3 -4
- package/dist/{network-map-9VAyPnle.d.cts → network-map-DG4_UpQ4.d.cts} +3 -4
- package/dist/{org-BIbPhHLx.d.cts → org-9B__E4ad.d.cts} +5 -256
- package/dist/{org-Dx8K7Mh8.d.ts → org-C_s76iQT.d.ts} +5 -256
- package/dist/{profile-investment-PDLfao_i.d.cts → profile-investment-BIOYJf-x.d.cts} +12 -1
- package/dist/{profile-investment-PDLfao_i.d.ts → profile-investment-BIOYJf-x.d.ts} +12 -1
- package/dist/{profile-summary-Bm3gJPKC.d.cts → profile-summary-BYWU098I.d.cts} +1 -1
- package/dist/{profile-summary-CHUPtU__.d.ts → profile-summary-DXnFXPlO.d.ts} +1 -1
- package/dist/query/fetchers/index.cjs +3 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +6 -6
- package/dist/query/fetchers/index.d.ts +6 -6
- package/dist/query/fetchers/index.js +3 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +3 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +4 -5
- package/dist/query/hooks/index.d.ts +4 -5
- package/dist/query/hooks/index.js +3 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +3 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +10 -9
- package/dist/query/index.d.ts +10 -9
- package/dist/query/index.js +3 -1
- package/dist/query/index.js.map +1 -1
- package/dist/resume/index.d.cts +1 -1
- package/dist/resume/index.d.ts +1 -1
- package/dist/schemas/index.cjs +7 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +7 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +9 -0
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +39 -1
- package/dist/schemas/write/index.d.ts +39 -1
- package/dist/schemas/write/index.js +9 -1
- package/dist/schemas/write/index.js.map +1 -1
- package/dist/{types-mmGgHkik.d.cts → types-By-g5caY.d.cts} +259 -2
- package/dist/{types-Mosj_JIx.d.ts → types-pK_aShdG.d.ts} +259 -2
- package/dist/{use-org-notification-emails-Dsek36iZ.d.ts → use-org-notification-emails-BwYnA7tk.d.ts} +3 -3
- package/dist/{use-org-notification-emails-OHgt6WRP.d.cts → use-org-notification-emails-DamYHmQc.d.cts} +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -684,64 +684,161 @@ function getIndustryLabelKey(value) {
|
|
|
684
684
|
}
|
|
685
685
|
return value;
|
|
686
686
|
}
|
|
687
|
+
var INDUSTRY_LABELS = {
|
|
688
|
+
industryTechnology: "Technology",
|
|
689
|
+
domainSoftwareEngineering: "Software Engineering",
|
|
690
|
+
domainDataScience: "Data Science & ML",
|
|
691
|
+
domainCybersecurity: "Cybersecurity",
|
|
692
|
+
domainDevops: "DevOps & Infrastructure",
|
|
693
|
+
domainProductDesign: "Product & UX Design",
|
|
694
|
+
domainGameDev: "Game Development",
|
|
695
|
+
industryFinance: "Finance & Banking",
|
|
696
|
+
domainBanking: "Banking",
|
|
697
|
+
domainFintech: "Fintech",
|
|
698
|
+
domainInsurance: "Insurance",
|
|
699
|
+
domainInvestmentMgmt: "Investment Management",
|
|
700
|
+
industryHealthcare: "Healthcare & Life Sciences",
|
|
701
|
+
domainClinicalResearch: "Clinical Research",
|
|
702
|
+
domainHealthtech: "Health Technology",
|
|
703
|
+
domainPharma: "Pharmaceuticals",
|
|
704
|
+
industryEducation: "Education & Research",
|
|
705
|
+
domainHigherEd: "Higher Education",
|
|
706
|
+
domainEdtech: "Education Technology",
|
|
707
|
+
domainPrimarySecondary: "Primary & Secondary Education",
|
|
708
|
+
industryMedia: "Media & Entertainment",
|
|
709
|
+
domainJournalism: "Journalism",
|
|
710
|
+
domainFilmVideo: "Film & Video",
|
|
711
|
+
domainGaming: "Gaming & Interactive Media",
|
|
712
|
+
domainAdvertising: "Advertising & Marketing",
|
|
713
|
+
industryRetail: "Retail & E-commerce",
|
|
714
|
+
domainEcommerce: "E-commerce",
|
|
715
|
+
domainSupplyChain: "Supply Chain & Fulfillment",
|
|
716
|
+
industryManufacturing: "Manufacturing & Engineering",
|
|
717
|
+
domainAutomotive: "Automotive",
|
|
718
|
+
domainAerospace: "Aerospace & Defense",
|
|
719
|
+
domainHardware: "Hardware & Electronics",
|
|
720
|
+
industryEnergy: "Energy & Environment",
|
|
721
|
+
domainRenewables: "Renewable Energy",
|
|
722
|
+
domainOilGas: "Oil & Gas",
|
|
723
|
+
domainClimateTech: "Climate Tech",
|
|
724
|
+
industryGovernment: "Government & Public Sector",
|
|
725
|
+
domainPublicPolicy: "Public Policy",
|
|
726
|
+
domainDefense: "Defense & Intelligence",
|
|
727
|
+
industryLegal: "Legal",
|
|
728
|
+
domainIpLaw: "Intellectual Property",
|
|
729
|
+
domainCompliance: "Compliance & Regulatory",
|
|
730
|
+
industryConsulting: "Consulting & Professional Services",
|
|
731
|
+
domainManagementConsulting: "Management Consulting",
|
|
732
|
+
domainDevrel: "Developer Relations",
|
|
733
|
+
domainHrRecruitment: "HR & Recruitment",
|
|
734
|
+
industryNonprofit: "Non-profit & Social Impact",
|
|
735
|
+
domainHumanRights: "Human Rights",
|
|
736
|
+
domainOpenSource: "Open Source",
|
|
737
|
+
industryRealEstate: "Real Estate & Construction",
|
|
738
|
+
domainProptech: "Property Technology",
|
|
739
|
+
industryTransport: "Transportation & Logistics",
|
|
740
|
+
domainAutonomousVehicles: "Autonomous Vehicles",
|
|
741
|
+
domainLogistics: "Logistics & Warehousing",
|
|
742
|
+
industryAgriculture: "Agriculture & Food",
|
|
743
|
+
domainAgritech: "Agricultural Technology",
|
|
744
|
+
domainFoodTech: "Food Technology & Processing",
|
|
745
|
+
industryHospitality: "Hospitality & Tourism",
|
|
746
|
+
domainHotels: "Hotels & Accommodation",
|
|
747
|
+
domainTravelTourism: "Travel & Tourism",
|
|
748
|
+
domainFoodBeverage: "Food & Beverage",
|
|
749
|
+
industryTelecom: "Telecommunications",
|
|
750
|
+
domainNetworkInfra: "Network Infrastructure",
|
|
751
|
+
domainMobileServices: "Mobile & Wireless Services",
|
|
752
|
+
industryMining: "Mining & Resources",
|
|
753
|
+
domainExtraction: "Extraction & Processing",
|
|
754
|
+
domainGeological: "Geological Services",
|
|
755
|
+
industryFashion: "Fashion & Textiles",
|
|
756
|
+
domainFashionDesign: "Fashion Design",
|
|
757
|
+
domainTextileManufacturing: "Textile Manufacturing",
|
|
758
|
+
industryMaritime: "Maritime & Shipping",
|
|
759
|
+
domainShipping: "Shipping & Freight",
|
|
760
|
+
domainPortOperations: "Port & Terminal Operations",
|
|
761
|
+
domainNavalArchitecture: "Naval Architecture & Marine Engineering",
|
|
762
|
+
industryOther: "Other"
|
|
763
|
+
};
|
|
764
|
+
function getIndustryLabel(value) {
|
|
765
|
+
return INDUSTRY_LABELS[getIndustryLabelKey(value)] ?? value;
|
|
766
|
+
}
|
|
687
767
|
|
|
688
768
|
// src/taxonomy/open-to.ts
|
|
689
769
|
var OPEN_TO_OPTIONS = [
|
|
690
770
|
{
|
|
691
771
|
value: "id.sifa.defs#fullTimeRoles",
|
|
692
772
|
labelKey: "fullTimeRoles",
|
|
773
|
+
label: "Full-time roles",
|
|
693
774
|
token: "fullTime",
|
|
694
775
|
group: "work"
|
|
695
776
|
},
|
|
696
777
|
{
|
|
697
778
|
value: "id.sifa.defs#partTimeRoles",
|
|
698
779
|
labelKey: "partTimeRoles",
|
|
780
|
+
label: "Part-time roles",
|
|
699
781
|
token: "partTime",
|
|
700
782
|
group: "work"
|
|
701
783
|
},
|
|
702
784
|
{
|
|
703
785
|
value: "id.sifa.defs#contractRoles",
|
|
704
786
|
labelKey: "contractRoles",
|
|
787
|
+
label: "Contract roles",
|
|
705
788
|
token: "contract",
|
|
706
789
|
group: "work"
|
|
707
790
|
},
|
|
708
791
|
{
|
|
709
792
|
value: "id.sifa.defs#commissions",
|
|
710
793
|
labelKey: "commissions",
|
|
794
|
+
label: "Commissioned work",
|
|
711
795
|
token: "commissions",
|
|
712
796
|
group: "work"
|
|
713
797
|
},
|
|
714
798
|
{
|
|
715
799
|
value: "id.sifa.defs#boardPositions",
|
|
716
800
|
labelKey: "boardPositions",
|
|
801
|
+
label: "Board positions",
|
|
717
802
|
token: "board",
|
|
718
803
|
group: "work"
|
|
719
804
|
},
|
|
720
805
|
{
|
|
721
806
|
value: "id.sifa.defs#speakingEngagements",
|
|
722
807
|
labelKey: "speakingEngagements",
|
|
808
|
+
label: "Speaking engagements",
|
|
723
809
|
token: "speaking",
|
|
724
810
|
group: "work"
|
|
725
811
|
},
|
|
726
812
|
{
|
|
727
813
|
value: "id.sifa.defs#mentoringOthers",
|
|
728
814
|
labelKey: "mentoringOthers",
|
|
815
|
+
label: "Mentoring others",
|
|
729
816
|
token: "mentor",
|
|
730
817
|
group: "mentorship"
|
|
731
818
|
},
|
|
732
819
|
{
|
|
733
820
|
value: "id.sifa.defs#beingMentored",
|
|
734
821
|
labelKey: "beingMentored",
|
|
822
|
+
label: "Being mentored",
|
|
735
823
|
token: "mentee",
|
|
736
824
|
group: "mentorship"
|
|
737
825
|
},
|
|
738
826
|
{
|
|
739
827
|
value: "id.sifa.defs#collaborations",
|
|
740
828
|
labelKey: "collaborations",
|
|
829
|
+
label: "Collaborations",
|
|
741
830
|
token: "collab",
|
|
742
831
|
group: "peer"
|
|
743
832
|
}
|
|
744
833
|
];
|
|
834
|
+
var OPEN_TO_TOKEN_LABELS = Object.fromEntries(
|
|
835
|
+
OPEN_TO_OPTIONS.map((o) => [o.token, o.label])
|
|
836
|
+
);
|
|
837
|
+
var OPEN_TO_GROUP_LABELS = {
|
|
838
|
+
work: "Work",
|
|
839
|
+
mentorship: "Mentorship",
|
|
840
|
+
peer: "Peer"
|
|
841
|
+
};
|
|
745
842
|
var OPEN_TO_TOKEN_TO_VALUE = Object.fromEntries(
|
|
746
843
|
OPEN_TO_OPTIONS.map((o) => [o.token, o.value])
|
|
747
844
|
);
|
|
@@ -783,6 +880,69 @@ function normalizeOpenTo(values) {
|
|
|
783
880
|
return out;
|
|
784
881
|
}
|
|
785
882
|
|
|
883
|
+
// src/taxonomy/search-filter-defs.ts
|
|
884
|
+
var SEARCH_FILTER_DEFS = [
|
|
885
|
+
{
|
|
886
|
+
key: "skill",
|
|
887
|
+
label: "Skill",
|
|
888
|
+
control: "skill-typeahead",
|
|
889
|
+
optionSource: { kind: "typeahead" },
|
|
890
|
+
order: 1,
|
|
891
|
+
peopleOnly: true
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
key: "country",
|
|
895
|
+
label: "Country",
|
|
896
|
+
allLabel: "All countries",
|
|
897
|
+
control: "select",
|
|
898
|
+
optionSource: { kind: "facet", ref: "countries" },
|
|
899
|
+
order: 2
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
key: "industry",
|
|
903
|
+
label: "Industry",
|
|
904
|
+
allLabel: "All industries",
|
|
905
|
+
control: "select",
|
|
906
|
+
optionSource: { kind: "taxonomy", ref: "industry" },
|
|
907
|
+
order: 3
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
key: "domain",
|
|
911
|
+
label: "Domain",
|
|
912
|
+
allLabel: "All domains",
|
|
913
|
+
control: "select",
|
|
914
|
+
optionSource: { kind: "taxonomy", ref: "domain" },
|
|
915
|
+
order: 4,
|
|
916
|
+
dependsOn: "industry"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
key: "workplace",
|
|
920
|
+
label: "Workplace",
|
|
921
|
+
allLabel: "Any arrangement",
|
|
922
|
+
control: "select",
|
|
923
|
+
optionSource: { kind: "taxonomy", ref: "workplace" },
|
|
924
|
+
order: 5,
|
|
925
|
+
peopleOnly: true
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
key: "openTo",
|
|
929
|
+
label: "Open to",
|
|
930
|
+
control: "multi-select",
|
|
931
|
+
optionSource: { kind: "taxonomy", ref: "openTo" },
|
|
932
|
+
order: 6,
|
|
933
|
+
peopleOnly: true
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
key: "app",
|
|
937
|
+
label: "App",
|
|
938
|
+
allLabel: "All apps",
|
|
939
|
+
control: "select",
|
|
940
|
+
optionSource: { kind: "facet", ref: "apps" },
|
|
941
|
+
order: 7,
|
|
942
|
+
hidden: true
|
|
943
|
+
}
|
|
944
|
+
];
|
|
945
|
+
|
|
786
946
|
// src/taxonomy/workplace-type.ts
|
|
787
947
|
var WORKPLACE_TYPE_OPTIONS = [
|
|
788
948
|
{ value: "id.sifa.defs#onSite", label: "On-site" },
|
|
@@ -5667,6 +5827,100 @@ function groupInvolvementByHeading(items) {
|
|
|
5667
5827
|
return groups;
|
|
5668
5828
|
}
|
|
5669
5829
|
|
|
5830
|
+
// src/profile/publication-versions.ts
|
|
5831
|
+
var PREPRINT_OF = /* @__PURE__ */ new Set(["IsPreprintOf", "IsPublishedIn"]);
|
|
5832
|
+
var DEFERS_TO = /* @__PURE__ */ new Set(["IsVersionOf", "IsPreviousVersionOf"]);
|
|
5833
|
+
var doiKey = (doi) => `doi:${normalizeDoi(doi).toLowerCase()}`;
|
|
5834
|
+
function targetKey(rel) {
|
|
5835
|
+
const id = rel.identifier?.trim();
|
|
5836
|
+
if (!id) return void 0;
|
|
5837
|
+
const type = rel.identifierType ?? "DOI";
|
|
5838
|
+
if (type === "AT-URI") return `uri:${id}`;
|
|
5839
|
+
if (type === "URL") {
|
|
5840
|
+
const bare = normalizeDoi(id);
|
|
5841
|
+
return bare.startsWith("10.") ? doiKey(bare) : `url:${id}`;
|
|
5842
|
+
}
|
|
5843
|
+
return doiKey(id);
|
|
5844
|
+
}
|
|
5845
|
+
function groupPublicationVersions(pubs, options = {}) {
|
|
5846
|
+
const keyToIndex = /* @__PURE__ */ new Map();
|
|
5847
|
+
pubs.forEach((p, i) => {
|
|
5848
|
+
if (p.doi) keyToIndex.set(doiKey(p.doi), i);
|
|
5849
|
+
if (options.ownerDid && (!p.source || p.source === "sifa")) {
|
|
5850
|
+
keyToIndex.set(`uri:at://${options.ownerDid}/id.sifa.profile.publication/${p.rkey}`, i);
|
|
5851
|
+
}
|
|
5852
|
+
if (p.publicationUri) keyToIndex.set(`uri:${p.publicationUri}`, i);
|
|
5853
|
+
});
|
|
5854
|
+
const parent = pubs.map((_, i) => i);
|
|
5855
|
+
const find = (i) => {
|
|
5856
|
+
while (parent[i] !== i) {
|
|
5857
|
+
parent[i] = parent[parent[i]];
|
|
5858
|
+
i = parent[i];
|
|
5859
|
+
}
|
|
5860
|
+
return i;
|
|
5861
|
+
};
|
|
5862
|
+
const union = (a, b) => {
|
|
5863
|
+
const ra = find(a);
|
|
5864
|
+
const rb = find(b);
|
|
5865
|
+
if (ra !== rb) parent[rb] = ra;
|
|
5866
|
+
};
|
|
5867
|
+
const preprints = /* @__PURE__ */ new Set();
|
|
5868
|
+
const deferring = /* @__PURE__ */ new Set();
|
|
5869
|
+
const siblingsOf = /* @__PURE__ */ new Map();
|
|
5870
|
+
pubs.forEach((p, i) => {
|
|
5871
|
+
if (p.type === "preprint") preprints.add(i);
|
|
5872
|
+
for (const rel of p.relatedIdentifiers ?? []) {
|
|
5873
|
+
const key = targetKey(rel);
|
|
5874
|
+
if (!key) continue;
|
|
5875
|
+
const j = keyToIndex.get(key);
|
|
5876
|
+
if (j === void 0) {
|
|
5877
|
+
if (rel.relationType === "IsVersionOf") {
|
|
5878
|
+
const first = siblingsOf.get(key);
|
|
5879
|
+
if (first === void 0) siblingsOf.set(key, i);
|
|
5880
|
+
else union(first, i);
|
|
5881
|
+
}
|
|
5882
|
+
continue;
|
|
5883
|
+
}
|
|
5884
|
+
if (j === i) continue;
|
|
5885
|
+
union(i, j);
|
|
5886
|
+
if (PREPRINT_OF.has(rel.relationType)) preprints.add(i);
|
|
5887
|
+
if (DEFERS_TO.has(rel.relationType)) deferring.add(i);
|
|
5888
|
+
if (rel.relationType === "HasPreprint") preprints.add(j);
|
|
5889
|
+
}
|
|
5890
|
+
});
|
|
5891
|
+
const members = /* @__PURE__ */ new Map();
|
|
5892
|
+
pubs.forEach((_, i) => {
|
|
5893
|
+
const root = find(i);
|
|
5894
|
+
const list = members.get(root);
|
|
5895
|
+
if (list) list.push(i);
|
|
5896
|
+
else members.set(root, [i]);
|
|
5897
|
+
});
|
|
5898
|
+
const newestFirst = (a, b) => {
|
|
5899
|
+
const da = pubs[a].date ?? "";
|
|
5900
|
+
const db = pubs[b].date ?? "";
|
|
5901
|
+
if (da !== db) return db.localeCompare(da);
|
|
5902
|
+
const fa = deferring.has(a) ? 1 : 0;
|
|
5903
|
+
const fb = deferring.has(b) ? 1 : 0;
|
|
5904
|
+
if (fa !== fb) return fa - fb;
|
|
5905
|
+
return a - b;
|
|
5906
|
+
};
|
|
5907
|
+
const groups = [];
|
|
5908
|
+
for (const indexes of members.values()) {
|
|
5909
|
+
const primary = indexes.find((i) => pubs[i].primary);
|
|
5910
|
+
const published = indexes.filter((i) => !preprints.has(i));
|
|
5911
|
+
const pool = published.length ? published : indexes;
|
|
5912
|
+
const lead = primary ?? [...pool].sort(newestFirst)[0];
|
|
5913
|
+
groups.push({
|
|
5914
|
+
order: Math.min(...indexes),
|
|
5915
|
+
group: {
|
|
5916
|
+
lead: pubs[lead],
|
|
5917
|
+
versions: indexes.filter((i) => i !== lead).sort(newestFirst).map((i) => ({ pub: pubs[i], kind: preprints.has(i) ? "preprint" : "version" }))
|
|
5918
|
+
}
|
|
5919
|
+
});
|
|
5920
|
+
}
|
|
5921
|
+
return groups.sort((a, b) => a.order - b.order).map((g) => g.group);
|
|
5922
|
+
}
|
|
5923
|
+
|
|
5670
5924
|
// src/profile/highlights.ts
|
|
5671
5925
|
function coPeopleLabel(people, self) {
|
|
5672
5926
|
const names = (people ?? []).filter((p) => p.did !== self.did && (!p.handle || p.handle !== self.handle)).map((p) => p.displayName ?? p.name ?? p.handle).filter((n) => Boolean(n && n.trim()));
|
|
@@ -6324,6 +6578,11 @@ var PublicationAuthorSchema = z.object({
|
|
|
6324
6578
|
name: z.string().min(1).refine(maxGraphemes(100)).max(1e3),
|
|
6325
6579
|
did: didSchema.optional()
|
|
6326
6580
|
});
|
|
6581
|
+
var RelatedIdentifierSchema = z.object({
|
|
6582
|
+
identifier: z.string().min(1).max(2048),
|
|
6583
|
+
identifierType: z.string().max(32).optional(),
|
|
6584
|
+
relationType: z.string().min(1).max(64)
|
|
6585
|
+
});
|
|
6327
6586
|
var ProfilePublicationRecordSchema = z.object({
|
|
6328
6587
|
title: z.string().min(1).refine(maxGraphemes(200)).max(2e3),
|
|
6329
6588
|
subtitle: z.string().refine(maxGraphemes(200)).max(2e3).optional(),
|
|
@@ -6331,6 +6590,7 @@ var ProfilePublicationRecordSchema = z.object({
|
|
|
6331
6590
|
url: uriSchema.optional(),
|
|
6332
6591
|
description: z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
|
|
6333
6592
|
authors: z.array(PublicationAuthorSchema).max(50).optional(),
|
|
6593
|
+
relatedIdentifiers: z.array(RelatedIdentifierSchema).max(20).optional(),
|
|
6334
6594
|
publishedAt: partialDateSchema.optional(),
|
|
6335
6595
|
isPrimary: z.boolean().optional(),
|
|
6336
6596
|
createdAt: datetimeSchema
|
|
@@ -6694,8 +6954,8 @@ function describeSifaRecord(collection, value) {
|
|
|
6694
6954
|
}
|
|
6695
6955
|
|
|
6696
6956
|
// src/index.ts
|
|
6697
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
6957
|
+
var SIFA_SDK_VERSION = "0.19.34";
|
|
6698
6958
|
|
|
6699
|
-
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, COURSE_ROLE_LABELS, COURSE_ROLE_OPTIONS, COURSE_ROLE_TAKEN, COURSE_ROLE_TAUGHT, COURSE_ROLE_TEACHING_ASSISTANT, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, InvestmentAmountSchema, MIN_SKILLS, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVESTMENT_NSID, PROFILE_INVOLVEMENT_NSID, PROJECT_ROLES, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvestmentRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_REPO_GROUPS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, actorShowsIdentity, agentRefSchema, atUriSchema, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, collapseContributors, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, excludeSelfApp, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatIsoTitle, formatLocation, formatPresentationDuration, formatRelationship, formatRelativeTime, formatSingleDate, formatSpanDate, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getCourseRoleLabel, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRelationalActivity, isRoleLineRedundant, isSectionPopulated, isSelfAuthoredRich, isTeachingCourse, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseEndorsementComment, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, renderAsLine, rendersCompanyProfile, rendersPersonalProfile, repoGroupForCollection, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, shouldRenderHighlights, singleDateExtractor, skillRefSchema, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, splitCoursesByRole, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
|
|
6959
|
+
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, COURSE_ROLE_LABELS, COURSE_ROLE_OPTIONS, COURSE_ROLE_TAKEN, COURSE_ROLE_TAUGHT, COURSE_ROLE_TEACHING_ASSISTANT, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_LABELS, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, InvestmentAmountSchema, MIN_SKILLS, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_GROUP_LABELS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_LABELS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVESTMENT_NSID, PROFILE_INVOLVEMENT_NSID, PROJECT_ROLES, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvestmentRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, RelatedIdentifierSchema, SEARCH_FILTER_DEFS, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_REPO_GROUPS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, actorShowsIdentity, agentRefSchema, atUriSchema, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, collapseContributors, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, excludeSelfApp, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatIsoTitle, formatLocation, formatPresentationDuration, formatRelationship, formatRelativeTime, formatSingleDate, formatSpanDate, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getCourseRoleLabel, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabel, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupPublicationVersions, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRelationalActivity, isRoleLineRedundant, isSectionPopulated, isSelfAuthoredRich, isTeachingCourse, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseEndorsementComment, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, renderAsLine, rendersCompanyProfile, rendersPersonalProfile, repoGroupForCollection, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, shouldRenderHighlights, singleDateExtractor, skillRefSchema, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, splitCoursesByRole, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
|
|
6700
6960
|
//# sourceMappingURL=index.js.map
|
|
6701
6961
|
//# sourceMappingURL=index.js.map
|