@singi-labs/sifa-sdk 0.18.15 → 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.
Files changed (49) hide show
  1. package/dist/{index-DIwi3bpk.d.cts → index-E2qQbMnv.d.cts} +10 -0
  2. package/dist/{index-DIwi3bpk.d.ts → index-E2qQbMnv.d.ts} +10 -0
  3. package/dist/index.cjs +13 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +32 -7
  6. package/dist/index.d.ts +32 -7
  7. package/dist/index.js +13 -2
  8. package/dist/index.js.map +1 -1
  9. package/dist/jsonld/index.d.cts +1 -1
  10. package/dist/jsonld/index.d.ts +1 -1
  11. package/dist/{network-map-CfAPUSb6.d.ts → network-map-BYdQF1tr.d.ts} +4 -4
  12. package/dist/{network-map-B2VRYlgb.d.cts → network-map-BdDqR9-B.d.cts} +4 -4
  13. package/dist/{org-C3e5hz3h.d.ts → org-BftCzySH.d.ts} +20 -3
  14. package/dist/{org-CLi7-wje.d.cts → org-DhAmipS-.d.cts} +20 -3
  15. package/dist/{profile-investment-CIG7Hy8g.d.cts → profile-investment-vmHROP_v.d.cts} +5 -0
  16. package/dist/{profile-investment-CIG7Hy8g.d.ts → profile-investment-vmHROP_v.d.ts} +5 -0
  17. package/dist/{profile-summary-B9EQmnC7.d.cts → profile-summary-BeiM3TmH.d.cts} +1 -1
  18. package/dist/{profile-summary-nbzILRkf.d.ts → profile-summary-CKAuwczF.d.ts} +1 -1
  19. package/dist/query/fetchers/index.cjs +22 -0
  20. package/dist/query/fetchers/index.cjs.map +1 -1
  21. package/dist/query/fetchers/index.d.cts +6 -6
  22. package/dist/query/fetchers/index.d.ts +6 -6
  23. package/dist/query/fetchers/index.js +21 -1
  24. package/dist/query/fetchers/index.js.map +1 -1
  25. package/dist/query/hooks/index.cjs +85 -24
  26. package/dist/query/hooks/index.cjs.map +1 -1
  27. package/dist/query/hooks/index.d.cts +5 -5
  28. package/dist/query/hooks/index.d.ts +5 -5
  29. package/dist/query/hooks/index.js +84 -25
  30. package/dist/query/hooks/index.js.map +1 -1
  31. package/dist/query/index.cjs +82 -23
  32. package/dist/query/index.cjs.map +1 -1
  33. package/dist/query/index.d.cts +8 -8
  34. package/dist/query/index.d.ts +8 -8
  35. package/dist/query/index.js +79 -24
  36. package/dist/query/index.js.map +1 -1
  37. package/dist/resume/index.d.cts +1 -1
  38. package/dist/resume/index.d.ts +1 -1
  39. package/dist/schemas/index.cjs +5 -0
  40. package/dist/schemas/index.cjs.map +1 -1
  41. package/dist/schemas/index.d.cts +1 -1
  42. package/dist/schemas/index.d.ts +1 -1
  43. package/dist/schemas/index.js +5 -0
  44. package/dist/schemas/index.js.map +1 -1
  45. package/dist/{types-XejLm3AA.d.cts → types-2qTC_DBy.d.cts} +6 -1
  46. package/dist/{types-DqVbTzXo.d.ts → types-CLrLfvXz.d.ts} +6 -1
  47. package/dist/{use-org-notification-emails-DHLosH0F.d.cts → use-org-notification-emails-CR2PDfjF.d.cts} +13 -4
  48. package/dist/{use-org-notification-emails-6VO57byN.d.ts → use-org-notification-emails-CxBtveF9.d.ts} +13 -4
  49. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aE as RefreshPdsResult, aY as UpdateProfileOverrideInput, aZ as UpdateProfileSelfInput, a_ as UploadAvatarResult, a$ as UploadPronunciationAudioResult, C as CreateResult, aS as SubCategoryBulkResult, as as ProfileLocationInput, r as ExternalAccountInput, p as CreateExternalAccountResult, b0 as VerifyExternalAccountResult, E as EndorsementInput, n as ConfirmationInput, o as ConfirmationSubjectInput, _ as GivenConfirmation, an as PendingConfirmationsPage, a9 as InboxCounts, q as DismissUnlinkedPositionInput, aX as UnlinkedPositionsResult, ao as ProfileCompleteness, aD as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a8 as HideProfileItemInput, a3 as HiddenActivityItem, a7 as HideActivityItemInput, aV as UnhideActivityItemInput, aR as StatsResponse, k as AppRegistryEntry, a4 as HiddenApp, d as AccountSummary, Q as FilterOptions, aM as SearchFilters, aN as SearchResponse, aQ as SkillSearchResult, cE as CompanySearchFilters, cF as CompanySearchResponse, t as FeaturedProfile, aP as SimilarProfile, O as FetchSuggestionsOptions, aU as SuggestionsResponse, V as FollowUserResult, y as FetchFollowListOptions, R as FollowListPage, X as FollowingResponse, G as FetchFollowingFeedOptions, z as FetchFollowProfilePageOptions, U as FollowProfilePageResponse, F as FeatureAllowlistResponse, i as AdminReviewQueues, v as FetchActivityFeedOptions, e as ActivityFeedResponse, h as ActivityTeaserResponse, a2 as HeatmapResponse, ab as MyGithubPullRequestsResponse, c as AccountCheckResult, aC as ReactionStatus, aB as ReactionResult, aA as ReactionError, aL as RoadmapVotesResponse, l as CastRoadmapVoteResult, D as DeleteAccountResult, aG as ResetProfileResult, b1 as WipePreview, aF as RepoDeleteInput, ad as OrgClaimResult, aj as OrgProfileUpdateResult, ae as OrgDomainChallengeResult, af as OrgDomainVerifyResult, ag as OrgNotificationEmailAddResult, ah as OrgNotificationEmailRemoveResult } from './org-C3e5hz3h.js';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aF as RefreshPdsResult, aZ as UpdateProfileOverrideInput, a_ as UpdateProfileSelfInput, a$ as UploadAvatarResult, b0 as UploadPronunciationAudioResult, C as CreateResult, ao as PrimarySection, aT as SubCategoryBulkResult, at as ProfileLocationInput, r as ExternalAccountInput, p as CreateExternalAccountResult, b1 as VerifyExternalAccountResult, E as EndorsementInput, n as ConfirmationInput, o as ConfirmationSubjectInput, _ as GivenConfirmation, an as PendingConfirmationsPage, a9 as InboxCounts, q as DismissUnlinkedPositionInput, aY as UnlinkedPositionsResult, ap as ProfileCompleteness, aE as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a8 as HideProfileItemInput, a3 as HiddenActivityItem, a7 as HideActivityItemInput, aW as UnhideActivityItemInput, aS as StatsResponse, k as AppRegistryEntry, a4 as HiddenApp, d as AccountSummary, Q as FilterOptions, aN as SearchFilters, aO as SearchResponse, aR as SkillSearchResult, cH as CompanySearchFilters, cI as CompanySearchResponse, t as FeaturedProfile, aQ as SimilarProfile, O as FetchSuggestionsOptions, aV as SuggestionsResponse, V as FollowUserResult, y as FetchFollowListOptions, R as FollowListPage, X as FollowingResponse, G as FetchFollowingFeedOptions, z as FetchFollowProfilePageOptions, U as FollowProfilePageResponse, F as FeatureAllowlistResponse, i as AdminReviewQueues, v as FetchActivityFeedOptions, e as ActivityFeedResponse, h as ActivityTeaserResponse, a2 as HeatmapResponse, ab as MyGithubPullRequestsResponse, c as AccountCheckResult, aD as ReactionStatus, aC as ReactionResult, aB as ReactionError, aM as RoadmapVotesResponse, l as CastRoadmapVoteResult, D as DeleteAccountResult, aH as ResetProfileResult, b2 as WipePreview, aG as RepoDeleteInput, ad as OrgClaimResult, aj as OrgProfileUpdateResult, ae as OrgDomainChallengeResult, af as OrgDomainVerifyResult, ag as OrgNotificationEmailAddResult, ah as OrgNotificationEmailRemoveResult } from './org-BftCzySH.js';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
- import { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, Q as SkillSuggestion, s as OrgFloorVerdict } from './index-DIwi3bpk.js';
7
- import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-DqVbTzXo.js';
6
+ import { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, Q as SkillSuggestion, s as OrgFloorVerdict } from './index-E2qQbMnv.js';
7
+ import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-CLrLfvXz.js';
8
8
  import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, o as EntitySelectResponse, m as EntitySelectRequest, y as FollowFeedPage, s as FeatureFlag } from './feed-BMm9Pkew.js';
9
9
  import { O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, c as OrgDomainVerifyRequestInput, d as OrgNotificationEmailRequestInput } from './org-settings-CZ_tmAYl.js';
10
10
 
@@ -127,6 +127,15 @@ declare function useUpdateEducation(ownerHandleOrDid: string, options?: Omit<Use
127
127
  /** React hook for deleting an education record. Variable: the `rkey` string. */
128
128
  declare function useDeleteEducation(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
129
129
 
130
+ /**
131
+ * React hook for marking a section record as the user's primary item. Variable:
132
+ * the record's `rkey`. Invalidates the owner's profile query on success so the
133
+ * Highlights block and section editors re-render with the new choice.
134
+ */
135
+ declare function useSetSectionPrimary(section: PrimarySection, ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
136
+ /** React hook for clearing the primary flag on a section record. */
137
+ declare function useUnsetSectionPrimary(section: PrimarySection, ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
138
+
130
139
  /** React hook for creating a skill record. */
131
140
  declare function useCreateSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<CreateResult, Error, Record<string, unknown>>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, Record<string, unknown>, unknown>;
132
141
  /** Variables for {@link useUpdateSkill}. */
@@ -879,4 +888,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
879
888
  email: string;
880
889
  }, unknown>;
881
890
 
882
- export { useDeleteReaction as $, type AddFeatureAllowlistVariables as A, useCanonicalSkillSearch as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCastRoadmapVote as E, type FollowVariables as F, useCreateConfirmation as G, useCreateEducation as H, useCreateEndorsement as I, useCreateExternalAccount as J, useCreatePosition as K, useCreateProfileLocation as L, useCreateReaction as M, useCreateRecord as N, useCreateSkill as O, type PositionSkillLinkVariables as P, useDebouncedValue as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteAccount as T, type UnfollowVariables as U, useDeleteAvatarOverride as V, useDeleteEducation as W, useDeleteExternalAccount as X, useDeleteNamePronunciationAudio as Y, useDeletePosition as Z, useDeleteProfileLocation as _, type CreateRecordVariables as a, useSuggestions as a$, useDeleteRecord as a0, useDeleteRepoRecords as a1, useDeleteSkill as a2, useDismissConfirmation as a3, useDismissUnlinkedPosition as a4, useEndorsementCount as a5, useEntitySearch as a6, useExternalAccounts as a7, useFeatureAllowlist as a8, useFeaturedProfile as a9, useOrgDomainVerify as aA, useOrgProfile as aB, usePendingConfirmations as aC, useProfile as aD, useProfileCompleteness as aE, useReactionStatus as aF, useRefreshOrcidPublications as aG, useRefreshPds as aH, useRemoveFeatureAllowlist as aI, useRemoveOrgNotificationEmail as aJ, useRepoInventory as aK, useResetProfile as aL, useResolveEntityDomain as aM, useRetractRoadmapVote as aN, useRevealMarqueDomain as aO, useRevokeConfirmation as aP, useRoadmapVotes as aQ, useSearchFilters as aR, useSearchProfiles as aS, useSelectEntity as aT, useSetExternalAccountPrimary as aU, useSetPositionPrimary as aV, useSifaConfig as aW, useSimilarProfiles as aX, useSkillSuggestions as aY, useStats as aZ, useSuggestionCount as a_, useFollow as aa, useFollowers as ab, useFollowing as ac, useFollowingFeed as ad, useFollowingList as ae, useGetProfileView as af, useGivenConfirmations as ag, useHeatmapData as ah, useHiddenActivityItems as ai, useHiddenApps as aj, useHideActivityItem as ak, useHideKeytraceClaim as al, useHideOrcidPublication as am, useHideProfileItem as an, useHideSifaPublication as ao, useHideStandardPublication as ap, useImportSearchEntities as aq, useInboxCounts as ar, useLinkSkillToPosition as as, useMintEntityDomain as at, useMutuals as au, useMyGithubPullRequests as av, useMyRoadmapVotes as aw, useNetworkStreamCount as ax, useOrgClaim as ay, useOrgDomainChallenge as az, type DeleteRecordVariables as b, useUnfollow as b0, useUnhideActivityItem as b1, useUnhideKeytraceClaim as b2, useUnhideOrcidPublication as b3, useUnhideProfileItem as b4, useUnhideSifaPublication as b5, useUnhideStandardPublication as b6, useUnlinkSkillFromPosition as b7, useUnlinkedPositions as b8, useUnrevealMarqueDomain as b9, useUnsetExternalAccountPrimary as ba, useUnsetPositionPrimary as bb, useUpdateEducation as bc, useUpdateExternalAccount as bd, useUpdateOrgProfile as be, useUpdatePosition as bf, useUpdateProfileLocation as bg, useUpdateProfileOverride as bh, useUpdateProfileSelf as bi, useUpdateRecord as bj, useUpdateSkill as bk, useUpdateSkillSubCategories as bl, useUploadAvatar as bm, useUploadNamePronunciationAudio as bn, useVerifyExternalAccount as bo, useWipePreview as bp, useSearchCompanies as bq, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillSubCategoriesVariables as i, type UpdateSkillVariables as j, type UseEntitySearchOptions as k, type UseMyGithubPullRequestsParams as l, useActivityFeed as m, useActivityTeaser as n, useAddFeatureAllowlist as o, useAddOrgNotificationEmail as p, useAdminReviewQueues as q, useAppAccountCheck as r, useAppsRegistry as s, useAtFundLink as t, useAccounts as u, useBlueskySuggestions as v, useBulkHideProfileItems as w, useBulkHideStandardPublications as x, useBulkUnhideProfileItems as y, useBulkUnhideStandardPublications as z };
891
+ export { useDeleteReaction as $, type AddFeatureAllowlistVariables as A, useCanonicalSkillSearch as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCastRoadmapVote as E, type FollowVariables as F, useCreateConfirmation as G, useCreateEducation as H, useCreateEndorsement as I, useCreateExternalAccount as J, useCreatePosition as K, useCreateProfileLocation as L, useCreateReaction as M, useCreateRecord as N, useCreateSkill as O, type PositionSkillLinkVariables as P, useDebouncedValue as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteAccount as T, type UnfollowVariables as U, useDeleteAvatarOverride as V, useDeleteEducation as W, useDeleteExternalAccount as X, useDeleteNamePronunciationAudio as Y, useDeletePosition as Z, useDeleteProfileLocation as _, type CreateRecordVariables as a, useSuggestionCount as a$, useDeleteRecord as a0, useDeleteRepoRecords as a1, useDeleteSkill as a2, useDismissConfirmation as a3, useDismissUnlinkedPosition as a4, useEndorsementCount as a5, useEntitySearch as a6, useExternalAccounts as a7, useFeatureAllowlist as a8, useFeaturedProfile as a9, useOrgDomainVerify as aA, useOrgProfile as aB, usePendingConfirmations as aC, useProfile as aD, useProfileCompleteness as aE, useReactionStatus as aF, useRefreshOrcidPublications as aG, useRefreshPds as aH, useRemoveFeatureAllowlist as aI, useRemoveOrgNotificationEmail as aJ, useRepoInventory as aK, useResetProfile as aL, useResolveEntityDomain as aM, useRetractRoadmapVote as aN, useRevealMarqueDomain as aO, useRevokeConfirmation as aP, useRoadmapVotes as aQ, useSearchFilters as aR, useSearchProfiles as aS, useSelectEntity as aT, useSetExternalAccountPrimary as aU, useSetPositionPrimary as aV, useSetSectionPrimary as aW, useSifaConfig as aX, useSimilarProfiles as aY, useSkillSuggestions as aZ, useStats as a_, useFollow as aa, useFollowers as ab, useFollowing as ac, useFollowingFeed as ad, useFollowingList as ae, useGetProfileView as af, useGivenConfirmations as ag, useHeatmapData as ah, useHiddenActivityItems as ai, useHiddenApps as aj, useHideActivityItem as ak, useHideKeytraceClaim as al, useHideOrcidPublication as am, useHideProfileItem as an, useHideSifaPublication as ao, useHideStandardPublication as ap, useImportSearchEntities as aq, useInboxCounts as ar, useLinkSkillToPosition as as, useMintEntityDomain as at, useMutuals as au, useMyGithubPullRequests as av, useMyRoadmapVotes as aw, useNetworkStreamCount as ax, useOrgClaim as ay, useOrgDomainChallenge as az, type DeleteRecordVariables as b, useSuggestions as b0, useUnfollow as b1, useUnhideActivityItem as b2, useUnhideKeytraceClaim as b3, useUnhideOrcidPublication as b4, useUnhideProfileItem as b5, useUnhideSifaPublication as b6, useUnhideStandardPublication as b7, useUnlinkSkillFromPosition as b8, useUnlinkedPositions as b9, useUnrevealMarqueDomain as ba, useUnsetExternalAccountPrimary as bb, useUnsetPositionPrimary as bc, useUnsetSectionPrimary as bd, useUpdateEducation as be, useUpdateExternalAccount as bf, useUpdateOrgProfile as bg, useUpdatePosition as bh, useUpdateProfileLocation as bi, useUpdateProfileOverride as bj, useUpdateProfileSelf as bk, useUpdateRecord as bl, useUpdateSkill as bm, useUpdateSkillSubCategories as bn, useUploadAvatar as bo, useUploadNamePronunciationAudio as bp, useVerifyExternalAccount as bq, useWipePreview as br, useSearchCompanies as bs, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillSubCategoriesVariables as i, type UpdateSkillVariables as j, type UseEntitySearchOptions as k, type UseMyGithubPullRequestsParams as l, useActivityFeed as m, useActivityTeaser as n, useAddFeatureAllowlist as o, useAddOrgNotificationEmail as p, useAdminReviewQueues as q, useAppAccountCheck as r, useAppsRegistry as s, useAtFundLink as t, useAccounts as u, useBlueskySuggestions as v, useBulkHideProfileItems as w, useBulkHideStandardPublications as x, useBulkUnhideProfileItems as y, useBulkUnhideStandardPublications as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singi-labs/sifa-sdk",
3
- "version": "0.18.15",
3
+ "version": "0.18.16",
4
4
  "description": "Sifa SDK — public client library for the Sifa AppView on AT Protocol. Shared by sifa-web and sifa-app.",
5
5
  "license": "MIT",
6
6
  "type": "module",