@singi-labs/sifa-sdk 0.18.14 → 0.18.16
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-DIwi3bpk.d.cts → index-E2qQbMnv.d.cts} +10 -0
- package/dist/{index-DIwi3bpk.d.ts → index-E2qQbMnv.d.ts} +10 -0
- package/dist/index.cjs +13 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -7
- package/dist/index.d.ts +32 -7
- package/dist/index.js +13 -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-DnQvqpqi.d.ts → network-map-BYdQF1tr.d.ts} +8 -4
- package/dist/{network-map-8RDsXsr0.d.cts → network-map-BdDqR9-B.d.cts} +8 -4
- package/dist/{org-DvnZsZx9.d.ts → org-BftCzySH.d.ts} +31 -3
- package/dist/{org-0uCYKpq1.d.cts → org-DhAmipS-.d.cts} +31 -3
- package/dist/{profile-investment-CIG7Hy8g.d.cts → profile-investment-vmHROP_v.d.cts} +5 -0
- package/dist/{profile-investment-CIG7Hy8g.d.ts → profile-investment-vmHROP_v.d.ts} +5 -0
- package/dist/{profile-summary-B9EQmnC7.d.cts → profile-summary-BeiM3TmH.d.cts} +1 -1
- package/dist/{profile-summary-nbzILRkf.d.ts → profile-summary-CKAuwczF.d.ts} +1 -1
- package/dist/query/fetchers/index.cjs +26 -0
- 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 +24 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +106 -24
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +5 -5
- package/dist/query/hooks/index.d.ts +5 -5
- package/dist/query/hooks/index.js +104 -25
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +104 -23
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +8 -8
- package/dist/query/index.d.ts +8 -8
- package/dist/query/index.js +99 -24
- 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 +5 -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 +5 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/{types-XejLm3AA.d.cts → types-2qTC_DBy.d.cts} +6 -1
- package/dist/{types-DqVbTzXo.d.ts → types-CLrLfvXz.d.ts} +6 -1
- package/dist/{use-org-notification-emails-BL2q3Vf2.d.cts → use-org-notification-emails-CR2PDfjF.d.cts} +19 -4
- package/dist/{use-org-notification-emails-BznKD18w.d.ts → use-org-notification-emails-CxBtveF9.d.ts} +19 -4
- package/package.json +1 -1
|
@@ -779,6 +779,63 @@ function useDeleteEducation(ownerHandleOrDid, options) {
|
|
|
779
779
|
});
|
|
780
780
|
}
|
|
781
781
|
|
|
782
|
+
// src/query/fetchers/section-primary.ts
|
|
783
|
+
function setSectionPrimary(config, section, rkey, options = {}) {
|
|
784
|
+
return apiWrite(
|
|
785
|
+
config,
|
|
786
|
+
`/api/profile/${section}/${encodeURIComponent(rkey)}/primary`,
|
|
787
|
+
"PUT",
|
|
788
|
+
options
|
|
789
|
+
);
|
|
790
|
+
}
|
|
791
|
+
function unsetSectionPrimary(config, section, rkey, options = {}) {
|
|
792
|
+
return apiWrite(
|
|
793
|
+
config,
|
|
794
|
+
`/api/profile/${section}/${encodeURIComponent(rkey)}/primary`,
|
|
795
|
+
"DELETE",
|
|
796
|
+
options
|
|
797
|
+
);
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
// src/query/hooks/use-section-primary-mutations.ts
|
|
801
|
+
async function invalidateProfile3(queryClient, ownerHandleOrDid) {
|
|
802
|
+
await queryClient.invalidateQueries({
|
|
803
|
+
queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
function useSetSectionPrimary(section, ownerHandleOrDid, options) {
|
|
807
|
+
const config = useSifaConfig();
|
|
808
|
+
const queryClient = reactQuery.useQueryClient();
|
|
809
|
+
return reactQuery.useMutation({
|
|
810
|
+
// Spread first: a consumer-supplied onSuccess would otherwise replace the
|
|
811
|
+
// handler below and silently drop cache invalidation (#453).
|
|
812
|
+
...options,
|
|
813
|
+
mutationFn: (rkey) => setSectionPrimary(config, section, rkey),
|
|
814
|
+
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
815
|
+
if (result.success) {
|
|
816
|
+
await invalidateProfile3(queryClient, ownerHandleOrDid);
|
|
817
|
+
}
|
|
818
|
+
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
819
|
+
}
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
function useUnsetSectionPrimary(section, ownerHandleOrDid, options) {
|
|
823
|
+
const config = useSifaConfig();
|
|
824
|
+
const queryClient = reactQuery.useQueryClient();
|
|
825
|
+
return reactQuery.useMutation({
|
|
826
|
+
// Spread first: a consumer-supplied onSuccess would otherwise replace the
|
|
827
|
+
// handler below and silently drop cache invalidation (#453).
|
|
828
|
+
...options,
|
|
829
|
+
mutationFn: (rkey) => unsetSectionPrimary(config, section, rkey),
|
|
830
|
+
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
831
|
+
if (result.success) {
|
|
832
|
+
await invalidateProfile3(queryClient, ownerHandleOrDid);
|
|
833
|
+
}
|
|
834
|
+
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
835
|
+
}
|
|
836
|
+
});
|
|
837
|
+
}
|
|
838
|
+
|
|
782
839
|
// src/query/fetchers/skills.ts
|
|
783
840
|
function createSkill(config, data, options = {}) {
|
|
784
841
|
return apiWriteCreate(config, "/api/profile/skill", data, options);
|
|
@@ -800,7 +857,7 @@ function deleteSkill(config, rkey, options = {}) {
|
|
|
800
857
|
}
|
|
801
858
|
|
|
802
859
|
// src/query/hooks/use-skill-mutations.ts
|
|
803
|
-
async function
|
|
860
|
+
async function invalidateProfile4(queryClient, ownerHandleOrDid) {
|
|
804
861
|
await queryClient.invalidateQueries({
|
|
805
862
|
queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
|
|
806
863
|
});
|
|
@@ -815,7 +872,7 @@ function useCreateSkill(ownerHandleOrDid, options) {
|
|
|
815
872
|
mutationFn: (data) => createSkill(config, data),
|
|
816
873
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
817
874
|
if (result.success) {
|
|
818
|
-
await
|
|
875
|
+
await invalidateProfile4(queryClient, ownerHandleOrDid);
|
|
819
876
|
}
|
|
820
877
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
821
878
|
}
|
|
@@ -831,7 +888,7 @@ function useUpdateSkill(ownerHandleOrDid, options) {
|
|
|
831
888
|
mutationFn: ({ rkey, data }) => updateSkill(config, rkey, data),
|
|
832
889
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
833
890
|
if (result.success) {
|
|
834
|
-
await
|
|
891
|
+
await invalidateProfile4(queryClient, ownerHandleOrDid);
|
|
835
892
|
}
|
|
836
893
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
837
894
|
}
|
|
@@ -849,7 +906,7 @@ function useUpdateSkillSubCategories(ownerHandleOrDid, options) {
|
|
|
849
906
|
...options,
|
|
850
907
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
851
908
|
if (result.success) {
|
|
852
|
-
await
|
|
909
|
+
await invalidateProfile4(queryClient, ownerHandleOrDid);
|
|
853
910
|
}
|
|
854
911
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
855
912
|
}
|
|
@@ -865,7 +922,7 @@ function useDeleteSkill(ownerHandleOrDid, options) {
|
|
|
865
922
|
mutationFn: (rkey) => deleteSkill(config, rkey),
|
|
866
923
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
867
924
|
if (result.success) {
|
|
868
|
-
await
|
|
925
|
+
await invalidateProfile4(queryClient, ownerHandleOrDid);
|
|
869
926
|
}
|
|
870
927
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
871
928
|
}
|
|
@@ -891,7 +948,7 @@ function deleteRecord(config, collection, rkey, options = {}) {
|
|
|
891
948
|
}
|
|
892
949
|
|
|
893
950
|
// src/query/hooks/use-record-mutations.ts
|
|
894
|
-
async function
|
|
951
|
+
async function invalidateProfile5(queryClient, ownerHandleOrDid) {
|
|
895
952
|
await queryClient.invalidateQueries({
|
|
896
953
|
queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
|
|
897
954
|
});
|
|
@@ -906,7 +963,7 @@ function useCreateRecord(ownerHandleOrDid, options) {
|
|
|
906
963
|
mutationFn: ({ collection, data }) => createRecord(config, collection, data),
|
|
907
964
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
908
965
|
if (result.success) {
|
|
909
|
-
await
|
|
966
|
+
await invalidateProfile5(queryClient, ownerHandleOrDid);
|
|
910
967
|
}
|
|
911
968
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
912
969
|
}
|
|
@@ -922,7 +979,7 @@ function useUpdateRecord(ownerHandleOrDid, options) {
|
|
|
922
979
|
mutationFn: ({ collection, rkey, data }) => updateRecord(config, collection, rkey, data),
|
|
923
980
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
924
981
|
if (result.success) {
|
|
925
|
-
await
|
|
982
|
+
await invalidateProfile5(queryClient, ownerHandleOrDid);
|
|
926
983
|
}
|
|
927
984
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
928
985
|
}
|
|
@@ -938,7 +995,7 @@ function useDeleteRecord(ownerHandleOrDid, options) {
|
|
|
938
995
|
mutationFn: ({ collection, rkey }) => deleteRecord(config, collection, rkey),
|
|
939
996
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
940
997
|
if (result.success) {
|
|
941
|
-
await
|
|
998
|
+
await invalidateProfile5(queryClient, ownerHandleOrDid);
|
|
942
999
|
}
|
|
943
1000
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
944
1001
|
}
|
|
@@ -960,7 +1017,7 @@ function deleteProfileLocation(config, rkey, options = {}) {
|
|
|
960
1017
|
}
|
|
961
1018
|
|
|
962
1019
|
// src/query/hooks/use-location-mutations.ts
|
|
963
|
-
async function
|
|
1020
|
+
async function invalidateProfile6(queryClient, ownerHandleOrDid) {
|
|
964
1021
|
await queryClient.invalidateQueries({
|
|
965
1022
|
queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
|
|
966
1023
|
});
|
|
@@ -975,7 +1032,7 @@ function useCreateProfileLocation(ownerHandleOrDid, options) {
|
|
|
975
1032
|
mutationFn: (data) => createProfileLocation(config, data),
|
|
976
1033
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
977
1034
|
if (result.success) {
|
|
978
|
-
await
|
|
1035
|
+
await invalidateProfile6(queryClient, ownerHandleOrDid);
|
|
979
1036
|
}
|
|
980
1037
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
981
1038
|
}
|
|
@@ -991,7 +1048,7 @@ function useUpdateProfileLocation(ownerHandleOrDid, options) {
|
|
|
991
1048
|
mutationFn: ({ rkey, data }) => updateProfileLocation(config, rkey, data),
|
|
992
1049
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
993
1050
|
if (result.success) {
|
|
994
|
-
await
|
|
1051
|
+
await invalidateProfile6(queryClient, ownerHandleOrDid);
|
|
995
1052
|
}
|
|
996
1053
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
997
1054
|
}
|
|
@@ -1007,7 +1064,7 @@ function useDeleteProfileLocation(ownerHandleOrDid, options) {
|
|
|
1007
1064
|
mutationFn: (rkey) => deleteProfileLocation(config, rkey),
|
|
1008
1065
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
1009
1066
|
if (result.success) {
|
|
1010
|
-
await
|
|
1067
|
+
await invalidateProfile6(queryClient, ownerHandleOrDid);
|
|
1011
1068
|
}
|
|
1012
1069
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
1013
1070
|
}
|
|
@@ -1410,6 +1467,9 @@ async function fetchUnlinkedPositions(config, options = {}) {
|
|
|
1410
1467
|
return { positions: [] };
|
|
1411
1468
|
}
|
|
1412
1469
|
}
|
|
1470
|
+
function dismissUnlinkedPosition(config, data, options = {}) {
|
|
1471
|
+
return apiWrite(config, "/api/positions/unlinked/dismiss", "POST", { body: data, ...options });
|
|
1472
|
+
}
|
|
1413
1473
|
|
|
1414
1474
|
// src/query/hooks/use-unlinked-positions.ts
|
|
1415
1475
|
function useUnlinkedPositions(options) {
|
|
@@ -1420,6 +1480,23 @@ function useUnlinkedPositions(options) {
|
|
|
1420
1480
|
...options
|
|
1421
1481
|
});
|
|
1422
1482
|
}
|
|
1483
|
+
function useDismissUnlinkedPosition(options) {
|
|
1484
|
+
const config = useSifaConfig();
|
|
1485
|
+
const queryClient = reactQuery.useQueryClient();
|
|
1486
|
+
return reactQuery.useMutation({
|
|
1487
|
+
// Spread first: a consumer-supplied handler would otherwise replace the
|
|
1488
|
+
// one below and silently drop cache invalidation (#453).
|
|
1489
|
+
...options,
|
|
1490
|
+
mutationFn: (data) => dismissUnlinkedPosition(config, data),
|
|
1491
|
+
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
1492
|
+
if (result.success) {
|
|
1493
|
+
await queryClient.invalidateQueries({ queryKey: sifaQueryKeys.position.unlinked() });
|
|
1494
|
+
await queryClient.invalidateQueries({ queryKey: sifaQueryKeys.inbox.counts() });
|
|
1495
|
+
}
|
|
1496
|
+
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
1497
|
+
}
|
|
1498
|
+
});
|
|
1499
|
+
}
|
|
1423
1500
|
|
|
1424
1501
|
// src/query/fetchers/profile-completeness.ts
|
|
1425
1502
|
var PROFILE_COMPLETENESS_SIGNALS = [
|
|
@@ -1490,7 +1567,7 @@ function unhideKeytraceClaim(config, rkey, options = {}) {
|
|
|
1490
1567
|
}
|
|
1491
1568
|
|
|
1492
1569
|
// src/query/hooks/use-keytrace-claims.ts
|
|
1493
|
-
async function
|
|
1570
|
+
async function invalidateProfile7(queryClient, ownerHandleOrDid) {
|
|
1494
1571
|
await queryClient.invalidateQueries({
|
|
1495
1572
|
queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
|
|
1496
1573
|
});
|
|
@@ -1505,7 +1582,7 @@ function useHideKeytraceClaim(ownerHandleOrDid, options) {
|
|
|
1505
1582
|
mutationFn: (rkey) => hideKeytraceClaim(config, rkey),
|
|
1506
1583
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
1507
1584
|
if (result.success) {
|
|
1508
|
-
await
|
|
1585
|
+
await invalidateProfile7(queryClient, ownerHandleOrDid);
|
|
1509
1586
|
}
|
|
1510
1587
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
1511
1588
|
}
|
|
@@ -1521,7 +1598,7 @@ function useUnhideKeytraceClaim(ownerHandleOrDid, options) {
|
|
|
1521
1598
|
mutationFn: (rkey) => unhideKeytraceClaim(config, rkey),
|
|
1522
1599
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
1523
1600
|
if (result.success) {
|
|
1524
|
-
await
|
|
1601
|
+
await invalidateProfile7(queryClient, ownerHandleOrDid);
|
|
1525
1602
|
}
|
|
1526
1603
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
1527
1604
|
}
|
|
@@ -1547,7 +1624,7 @@ function unrevealMarqueDomain(config, domain, options = {}) {
|
|
|
1547
1624
|
}
|
|
1548
1625
|
|
|
1549
1626
|
// src/query/hooks/use-marque-domains.ts
|
|
1550
|
-
async function
|
|
1627
|
+
async function invalidateProfile8(queryClient, ownerHandleOrDid) {
|
|
1551
1628
|
await queryClient.invalidateQueries({
|
|
1552
1629
|
queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
|
|
1553
1630
|
});
|
|
@@ -1562,7 +1639,7 @@ function useRevealMarqueDomain(ownerHandleOrDid, options) {
|
|
|
1562
1639
|
mutationFn: (domain) => revealMarqueDomain(config, domain),
|
|
1563
1640
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
1564
1641
|
if (result.success) {
|
|
1565
|
-
await
|
|
1642
|
+
await invalidateProfile8(queryClient, ownerHandleOrDid);
|
|
1566
1643
|
}
|
|
1567
1644
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
1568
1645
|
}
|
|
@@ -1578,7 +1655,7 @@ function useUnrevealMarqueDomain(ownerHandleOrDid, options) {
|
|
|
1578
1655
|
mutationFn: (domain) => unrevealMarqueDomain(config, domain),
|
|
1579
1656
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
1580
1657
|
if (result.success) {
|
|
1581
|
-
await
|
|
1658
|
+
await invalidateProfile8(queryClient, ownerHandleOrDid);
|
|
1582
1659
|
}
|
|
1583
1660
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
1584
1661
|
}
|
|
@@ -1640,7 +1717,7 @@ async function refreshOrcidPublications(config, options = {}) {
|
|
|
1640
1717
|
}
|
|
1641
1718
|
|
|
1642
1719
|
// src/query/hooks/use-publication-mutations.ts
|
|
1643
|
-
async function
|
|
1720
|
+
async function invalidateProfile9(queryClient, ownerHandleOrDid) {
|
|
1644
1721
|
await queryClient.invalidateQueries({
|
|
1645
1722
|
queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
|
|
1646
1723
|
});
|
|
@@ -1656,7 +1733,7 @@ function makeWriteHook(fetcher) {
|
|
|
1656
1733
|
mutationFn: (v) => fetcher(config, v),
|
|
1657
1734
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
1658
1735
|
if (result.success) {
|
|
1659
|
-
await
|
|
1736
|
+
await invalidateProfile9(queryClient, ownerHandleOrDid);
|
|
1660
1737
|
}
|
|
1661
1738
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
1662
1739
|
}
|
|
@@ -1694,7 +1771,7 @@ function useRefreshOrcidPublications(ownerHandleOrDid, options) {
|
|
|
1694
1771
|
mutationFn: () => refreshOrcidPublications(config),
|
|
1695
1772
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
1696
1773
|
if (result.success) {
|
|
1697
|
-
await
|
|
1774
|
+
await invalidateProfile9(queryClient, ownerHandleOrDid);
|
|
1698
1775
|
}
|
|
1699
1776
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
1700
1777
|
}
|
|
@@ -1716,7 +1793,7 @@ function bulkUnhideProfileItems(config, input, options = {}) {
|
|
|
1716
1793
|
}
|
|
1717
1794
|
|
|
1718
1795
|
// src/query/hooks/use-profile-items-hide.ts
|
|
1719
|
-
async function
|
|
1796
|
+
async function invalidateProfile10(queryClient, ownerHandleOrDid) {
|
|
1720
1797
|
await queryClient.invalidateQueries({
|
|
1721
1798
|
queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
|
|
1722
1799
|
});
|
|
@@ -1729,7 +1806,7 @@ function makeWriteHook2(fetcher) {
|
|
|
1729
1806
|
mutationFn: (v) => fetcher(config, v),
|
|
1730
1807
|
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
1731
1808
|
if (result.success) {
|
|
1732
|
-
await
|
|
1809
|
+
await invalidateProfile10(queryClient, ownerHandleOrDid);
|
|
1733
1810
|
}
|
|
1734
1811
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
1735
1812
|
},
|
|
@@ -3342,6 +3419,7 @@ zod.z.object({
|
|
|
3342
3419
|
startedAt: partialDateSchema.optional(),
|
|
3343
3420
|
endedAt: partialDateSchema.optional(),
|
|
3344
3421
|
labels: selfLabelsSchema.optional(),
|
|
3422
|
+
isPrimary: zod.z.boolean().optional(),
|
|
3345
3423
|
createdAt: datetimeSchema
|
|
3346
3424
|
});
|
|
3347
3425
|
|
|
@@ -3371,6 +3449,7 @@ zod.z.object({
|
|
|
3371
3449
|
labels: selfLabelsSchema.optional(),
|
|
3372
3450
|
collaborators: zod.z.array(projectMemberRefSchema).max(50).optional(),
|
|
3373
3451
|
sameAs: externalRecordRefSchema.optional(),
|
|
3452
|
+
isPrimary: zod.z.boolean().optional(),
|
|
3374
3453
|
createdAt: datetimeSchema
|
|
3375
3454
|
}).passthrough();
|
|
3376
3455
|
|
|
@@ -3511,6 +3590,7 @@ exports.useDeleteRecord = useDeleteRecord;
|
|
|
3511
3590
|
exports.useDeleteRepoRecords = useDeleteRepoRecords;
|
|
3512
3591
|
exports.useDeleteSkill = useDeleteSkill;
|
|
3513
3592
|
exports.useDismissConfirmation = useDismissConfirmation;
|
|
3593
|
+
exports.useDismissUnlinkedPosition = useDismissUnlinkedPosition;
|
|
3514
3594
|
exports.useEndorsementCount = useEndorsementCount;
|
|
3515
3595
|
exports.useEntitySearch = useEntitySearch;
|
|
3516
3596
|
exports.useExternalAccounts = useExternalAccounts;
|
|
@@ -3563,6 +3643,7 @@ exports.useSearchProfiles = useSearchProfiles;
|
|
|
3563
3643
|
exports.useSelectEntity = useSelectEntity;
|
|
3564
3644
|
exports.useSetExternalAccountPrimary = useSetExternalAccountPrimary;
|
|
3565
3645
|
exports.useSetPositionPrimary = useSetPositionPrimary;
|
|
3646
|
+
exports.useSetSectionPrimary = useSetSectionPrimary;
|
|
3566
3647
|
exports.useSifaConfig = useSifaConfig;
|
|
3567
3648
|
exports.useSimilarProfiles = useSimilarProfiles;
|
|
3568
3649
|
exports.useSkillSuggestions = useSkillSuggestions;
|
|
@@ -3581,6 +3662,7 @@ exports.useUnlinkedPositions = useUnlinkedPositions;
|
|
|
3581
3662
|
exports.useUnrevealMarqueDomain = useUnrevealMarqueDomain;
|
|
3582
3663
|
exports.useUnsetExternalAccountPrimary = useUnsetExternalAccountPrimary;
|
|
3583
3664
|
exports.useUnsetPositionPrimary = useUnsetPositionPrimary;
|
|
3665
|
+
exports.useUnsetSectionPrimary = useUnsetSectionPrimary;
|
|
3584
3666
|
exports.useUpdateEducation = useUpdateEducation;
|
|
3585
3667
|
exports.useUpdateExternalAccount = useUpdateExternalAccount;
|
|
3586
3668
|
exports.useUpdateInvestment = useUpdateInvestment;
|