@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.
- 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-CfAPUSb6.d.ts → network-map-BYdQF1tr.d.ts} +4 -4
- package/dist/{network-map-B2VRYlgb.d.cts → network-map-BdDqR9-B.d.cts} +4 -4
- package/dist/{org-C3e5hz3h.d.ts → org-BftCzySH.d.ts} +20 -3
- package/dist/{org-CLi7-wje.d.cts → org-DhAmipS-.d.cts} +20 -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 +22 -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 +21 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +85 -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 +84 -25
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +82 -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 +79 -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-DHLosH0F.d.cts → use-org-notification-emails-CR2PDfjF.d.cts} +13 -4
- package/dist/{use-org-notification-emails-6VO57byN.d.ts → use-org-notification-emails-CxBtveF9.d.ts} +13 -4
- package/package.json +1 -1
package/dist/{use-org-notification-emails-6VO57byN.d.ts → use-org-notification-emails-CxBtveF9.d.ts}
RENAMED
|
@@ -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,
|
|
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-
|
|
7
|
-
import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
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,
|
|
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