@singi-labs/sifa-sdk 0.12.84 → 0.12.85
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-D0qELxvf.d.cts → index-jNyd5QP7.d.cts} +6 -0
- package/dist/{index-D0qELxvf.d.ts → index-jNyd5QP7.d.ts} +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- 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-C5AnjGcV.d.ts → network-map-GfIVEYpr.d.ts} +4 -4
- package/dist/{network-map-CkRrVFJD.d.cts → network-map-y6U7m-hX.d.cts} +4 -4
- package/dist/{org-Be8tayoD.d.cts → org-ClDqS3CM.d.cts} +18 -3
- package/dist/{org-B2Y54EHg.d.ts → org-GlACA06R.d.ts} +18 -3
- package/dist/{profile-summary-Fieyfzzf.d.ts → profile-summary-8fapqzHv.d.ts} +1 -1
- package/dist/{profile-summary-CIkWTi6K.d.cts → profile-summary-DY78IoL9.d.cts} +1 -1
- package/dist/query/fetchers/index.cjs +30 -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 +29 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +62 -0
- 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 +61 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +64 -0
- 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 +61 -1
- package/dist/query/index.js.map +1 -1
- package/dist/{types-ClxJ0I98.d.ts → types-8JaS6abh.d.ts} +1 -1
- package/dist/{types-BEei3kVS.d.cts → types-8wAWvS-T.d.cts} +1 -1
- package/dist/{use-org-notification-emails-BdglyA2S.d.cts → use-org-notification-emails-B-oGiDHo.d.cts} +11 -4
- package/dist/{use-org-notification-emails-1ZD4ycgg.d.ts → use-org-notification-emails-DGzW9MH6.d.ts} +11 -4
- 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, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult,
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, aK as UploadPronunciationAudioResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aL as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, Q as GivenConfirmation, ab as PendingConfirmationsPage, ap as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, _ as HideProfileItemInput, aD as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ay as SearchFilters, az as SearchResponse, aC as SkillSearchResult, ce as CompanySearchFilters, cf as CompanySearchResponse, q as FeaturedProfile, aB as SimilarProfile, H as FetchSuggestionsOptions, aG as SuggestionsResponse, M as FollowUserResult, u as FetchFollowListOptions, J as FollowListPage, N as FollowingResponse, w as FetchFollowingFeedOptions, v as FetchFollowProfilePageOptions, L as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, r as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, V as HeatmapResponse, a0 as MyGithubPullRequestsResponse, c as AccountCheckResult, ao as ReactionStatus, an as ReactionResult, am as ReactionError, ax as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, as as ResetProfileResult, aM as WipePreview, ar as RepoDeleteInput, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-ClDqS3CM.cjs';
|
|
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-jNyd5QP7.cjs';
|
|
7
|
+
import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-8wAWvS-T.cjs';
|
|
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.cjs';
|
|
9
9
|
import { O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, c as OrgDomainVerifyRequestInput, d as OrgNotificationEmailRequestInput } from './org-settings-CZ_tmAYl.cjs';
|
|
10
10
|
|
|
@@ -74,6 +74,13 @@ declare function useRefreshPds(ownerHandleOrDid: string, options?: Omit<UseMutat
|
|
|
74
74
|
declare function useUploadAvatar(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<UploadAvatarResult, Error, Blob>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<UploadAvatarResult, Error, Blob, unknown>;
|
|
75
75
|
/** React hook for deleting the avatar override (revert to PDS avatar). */
|
|
76
76
|
declare function useDeleteAvatarOverride(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, void>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, void, unknown>;
|
|
77
|
+
/**
|
|
78
|
+
* React hook for uploading a name-pronunciation audio clip. Pass a `File`
|
|
79
|
+
* (browser) or `Blob` (Expo) as the mutation variable.
|
|
80
|
+
*/
|
|
81
|
+
declare function useUploadNamePronunciationAudio(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<UploadPronunciationAudioResult, Error, Blob>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<UploadPronunciationAudioResult, Error, Blob, unknown>;
|
|
82
|
+
/** React hook for deleting the name-pronunciation audio clip. */
|
|
83
|
+
declare function useDeleteNamePronunciationAudio(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, void>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, void, unknown>;
|
|
77
84
|
|
|
78
85
|
/**
|
|
79
86
|
* React hook for creating a new position record. On success, invalidates
|
|
@@ -824,4 +831,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
|
|
|
824
831
|
email: string;
|
|
825
832
|
}, unknown>;
|
|
826
833
|
|
|
827
|
-
export {
|
|
834
|
+
export { useDeleteRecord as $, type AddFeatureAllowlistVariables as A, useCastRoadmapVote as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreateConfirmation as E, type FollowVariables as F, useCreateEducation as G, useCreateEndorsement as H, useCreateExternalAccount as I, useCreatePosition as J, useCreateProfileLocation as K, useCreateReaction as L, useCreateRecord as M, useCreateSkill as N, useDebouncedValue as O, type PositionSkillLinkVariables as P, useDeleteAccount as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteAvatarOverride as T, type UnfollowVariables as U, useDeleteEducation as V, useDeleteExternalAccount as W, useDeleteNamePronunciationAudio as X, useDeletePosition as Y, useDeleteProfileLocation as Z, useDeleteReaction as _, type CreateRecordVariables as a, useUnhideStandardPublication as a$, useDeleteRepoRecords as a0, useDeleteSkill as a1, useDismissConfirmation as a2, useEndorsementCount as a3, useEntitySearch as a4, useExternalAccounts as a5, useFeatureAllowlist as a6, useFeaturedProfile as a7, useFollow as a8, useFollowers as a9, useRefreshOrcidPublications as aA, useRefreshPds as aB, useRemoveFeatureAllowlist as aC, useRemoveOrgNotificationEmail as aD, useRepoInventory as aE, useResetProfile as aF, useResolveEntityDomain as aG, useRetractRoadmapVote as aH, useRevealMarqueDomain as aI, useRevokeConfirmation as aJ, useRoadmapVotes as aK, useSearchFilters as aL, useSearchProfiles as aM, useSelectEntity as aN, useSetExternalAccountPrimary as aO, useSetPositionPrimary as aP, useSifaConfig as aQ, useSimilarProfiles as aR, useSkillSuggestions as aS, useStats as aT, useSuggestionCount as aU, useSuggestions as aV, useUnfollow as aW, useUnhideKeytraceClaim as aX, useUnhideOrcidPublication as aY, useUnhideProfileItem as aZ, useUnhideSifaPublication as a_, useFollowing as aa, useFollowingFeed as ab, useFollowingList as ac, useGetProfileView as ad, useGivenConfirmations as ae, useHeatmapData as af, useHiddenApps as ag, useHideKeytraceClaim as ah, useHideOrcidPublication as ai, useHideProfileItem as aj, useHideSifaPublication as ak, useHideStandardPublication as al, useImportSearchEntities as am, useLinkSkillToPosition as an, useMintEntityDomain as ao, useMutuals as ap, useMyGithubPullRequests as aq, useMyRoadmapVotes as ar, useNetworkStreamCount as as, useOrgClaim as at, useOrgDomainChallenge as au, useOrgDomainVerify as av, useOrgProfile as aw, usePendingConfirmations as ax, useProfile as ay, useReactionStatus as az, type DeleteRecordVariables as b, useUnlinkSkillFromPosition as b0, useUnrevealMarqueDomain as b1, useUnsetExternalAccountPrimary as b2, useUnsetPositionPrimary as b3, useUpdateEducation as b4, useUpdateExternalAccount as b5, useUpdateOrgProfile as b6, useUpdatePosition as b7, useUpdateProfileLocation as b8, useUpdateProfileOverride as b9, useUpdateProfileSelf as ba, useUpdateRecord as bb, useUpdateSkill as bc, useUpdateSkillSubCategories as bd, useUploadAvatar as be, useUploadNamePronunciationAudio as bf, useVerifyExternalAccount as bg, useWipePreview as bh, useSearchCompanies as bi, 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, useActivityTeaser as m, useAddFeatureAllowlist as n, useAddOrgNotificationEmail as o, useAdminReviewQueues as p, useAppAccountCheck as q, useAppsRegistry as r, useAtFundLink as s, useBlueskySuggestions as t, useActivityFeed as u, useBulkHideProfileItems as v, useBulkHideStandardPublications as w, useBulkUnhideProfileItems as x, useBulkUnhideStandardPublications as y, useCanonicalSkillSearch as z };
|
package/dist/{use-org-notification-emails-1ZD4ycgg.d.ts → use-org-notification-emails-DGzW9MH6.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, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult,
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, aK as UploadPronunciationAudioResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aL as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, Q as GivenConfirmation, ab as PendingConfirmationsPage, ap as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, _ as HideProfileItemInput, aD as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ay as SearchFilters, az as SearchResponse, aC as SkillSearchResult, ce as CompanySearchFilters, cf as CompanySearchResponse, q as FeaturedProfile, aB as SimilarProfile, H as FetchSuggestionsOptions, aG as SuggestionsResponse, M as FollowUserResult, u as FetchFollowListOptions, J as FollowListPage, N as FollowingResponse, w as FetchFollowingFeedOptions, v as FetchFollowProfilePageOptions, L as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, r as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, V as HeatmapResponse, a0 as MyGithubPullRequestsResponse, c as AccountCheckResult, ao as ReactionStatus, an as ReactionResult, am as ReactionError, ax as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, as as ResetProfileResult, aM as WipePreview, ar as RepoDeleteInput, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-GlACA06R.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-jNyd5QP7.js';
|
|
7
|
+
import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-8JaS6abh.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
|
|
|
@@ -74,6 +74,13 @@ declare function useRefreshPds(ownerHandleOrDid: string, options?: Omit<UseMutat
|
|
|
74
74
|
declare function useUploadAvatar(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<UploadAvatarResult, Error, Blob>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<UploadAvatarResult, Error, Blob, unknown>;
|
|
75
75
|
/** React hook for deleting the avatar override (revert to PDS avatar). */
|
|
76
76
|
declare function useDeleteAvatarOverride(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, void>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, void, unknown>;
|
|
77
|
+
/**
|
|
78
|
+
* React hook for uploading a name-pronunciation audio clip. Pass a `File`
|
|
79
|
+
* (browser) or `Blob` (Expo) as the mutation variable.
|
|
80
|
+
*/
|
|
81
|
+
declare function useUploadNamePronunciationAudio(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<UploadPronunciationAudioResult, Error, Blob>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<UploadPronunciationAudioResult, Error, Blob, unknown>;
|
|
82
|
+
/** React hook for deleting the name-pronunciation audio clip. */
|
|
83
|
+
declare function useDeleteNamePronunciationAudio(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, void>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, void, unknown>;
|
|
77
84
|
|
|
78
85
|
/**
|
|
79
86
|
* React hook for creating a new position record. On success, invalidates
|
|
@@ -824,4 +831,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
|
|
|
824
831
|
email: string;
|
|
825
832
|
}, unknown>;
|
|
826
833
|
|
|
827
|
-
export {
|
|
834
|
+
export { useDeleteRecord as $, type AddFeatureAllowlistVariables as A, useCastRoadmapVote as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreateConfirmation as E, type FollowVariables as F, useCreateEducation as G, useCreateEndorsement as H, useCreateExternalAccount as I, useCreatePosition as J, useCreateProfileLocation as K, useCreateReaction as L, useCreateRecord as M, useCreateSkill as N, useDebouncedValue as O, type PositionSkillLinkVariables as P, useDeleteAccount as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteAvatarOverride as T, type UnfollowVariables as U, useDeleteEducation as V, useDeleteExternalAccount as W, useDeleteNamePronunciationAudio as X, useDeletePosition as Y, useDeleteProfileLocation as Z, useDeleteReaction as _, type CreateRecordVariables as a, useUnhideStandardPublication as a$, useDeleteRepoRecords as a0, useDeleteSkill as a1, useDismissConfirmation as a2, useEndorsementCount as a3, useEntitySearch as a4, useExternalAccounts as a5, useFeatureAllowlist as a6, useFeaturedProfile as a7, useFollow as a8, useFollowers as a9, useRefreshOrcidPublications as aA, useRefreshPds as aB, useRemoveFeatureAllowlist as aC, useRemoveOrgNotificationEmail as aD, useRepoInventory as aE, useResetProfile as aF, useResolveEntityDomain as aG, useRetractRoadmapVote as aH, useRevealMarqueDomain as aI, useRevokeConfirmation as aJ, useRoadmapVotes as aK, useSearchFilters as aL, useSearchProfiles as aM, useSelectEntity as aN, useSetExternalAccountPrimary as aO, useSetPositionPrimary as aP, useSifaConfig as aQ, useSimilarProfiles as aR, useSkillSuggestions as aS, useStats as aT, useSuggestionCount as aU, useSuggestions as aV, useUnfollow as aW, useUnhideKeytraceClaim as aX, useUnhideOrcidPublication as aY, useUnhideProfileItem as aZ, useUnhideSifaPublication as a_, useFollowing as aa, useFollowingFeed as ab, useFollowingList as ac, useGetProfileView as ad, useGivenConfirmations as ae, useHeatmapData as af, useHiddenApps as ag, useHideKeytraceClaim as ah, useHideOrcidPublication as ai, useHideProfileItem as aj, useHideSifaPublication as ak, useHideStandardPublication as al, useImportSearchEntities as am, useLinkSkillToPosition as an, useMintEntityDomain as ao, useMutuals as ap, useMyGithubPullRequests as aq, useMyRoadmapVotes as ar, useNetworkStreamCount as as, useOrgClaim as at, useOrgDomainChallenge as au, useOrgDomainVerify as av, useOrgProfile as aw, usePendingConfirmations as ax, useProfile as ay, useReactionStatus as az, type DeleteRecordVariables as b, useUnlinkSkillFromPosition as b0, useUnrevealMarqueDomain as b1, useUnsetExternalAccountPrimary as b2, useUnsetPositionPrimary as b3, useUpdateEducation as b4, useUpdateExternalAccount as b5, useUpdateOrgProfile as b6, useUpdatePosition as b7, useUpdateProfileLocation as b8, useUpdateProfileOverride as b9, useUpdateProfileSelf as ba, useUpdateRecord as bb, useUpdateSkill as bc, useUpdateSkillSubCategories as bd, useUploadAvatar as be, useUploadNamePronunciationAudio as bf, useVerifyExternalAccount as bg, useWipePreview as bh, useSearchCompanies as bi, 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, useActivityTeaser as m, useAddFeatureAllowlist as n, useAddOrgNotificationEmail as o, useAdminReviewQueues as p, useAppAccountCheck as q, useAppsRegistry as r, useAtFundLink as s, useBlueskySuggestions as t, useActivityFeed as u, useBulkHideProfileItems as v, useBulkHideStandardPublications as w, useBulkUnhideProfileItems as x, useBulkUnhideStandardPublications as y, useCanonicalSkillSearch as z };
|
package/package.json
CHANGED