@singi-labs/sifa-sdk 0.12.31 → 0.12.33
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/README.md +1 -1
- package/dist/{index-ZoAKneCP.d.ts → index-CQiMQ3NO.d.ts} +21 -2
- package/dist/{index-CZAG8uku.d.ts → index-CtWYlM7v.d.ts} +2 -12
- package/dist/{index-C95t5Gg5.d.cts → index-D-Vlq0r4.d.cts} +21 -2
- package/dist/{index-O2oJHRq0.d.cts → index-DhO1kFRj.d.cts} +2 -12
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{org-Octhy3vS.d.ts → org-BjiTIiWq.d.ts} +59 -2
- package/dist/{org-DWAqK-TV.d.cts → org-CcbXH1FW.d.cts} +59 -2
- package/dist/query/fetchers/index.cjs +11 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +2 -2
- package/dist/query/fetchers/index.d.ts +2 -2
- package/dist/query/fetchers/index.js +11 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +46 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +45 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +48 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +4 -4
- package/dist/query/index.d.ts +4 -4
- package/dist/query/index.js +45 -1
- package/dist/query/index.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**Public client library for the Sifa AppView on AT Protocol.**
|
|
6
6
|
|
|
7
|
-
[]()
|
|
7
|
+
[](<>)
|
|
8
8
|
[](https://opensource.org/licenses/MIT)
|
|
9
9
|
[](https://github.com/singi-labs/sifa-sdk/actions/workflows/ci.yml)
|
|
10
10
|
[](https://www.npmjs.com/package/@singi-labs/sifa-sdk)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ah as RefreshPdsResult,
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ah as RefreshPdsResult, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, j as CreateResult, au as SubCategoryBulkResult, a5 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aA as VerifyExternalAccountResult, E as EndorsementInput, ag as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, R as HideProfileItemInput, at as StatsResponse, g as AppRegistryEntry, O as HiddenApp, x as FilterOptions, ao as SearchFilters, ap as SearchResponse, as as SkillSearchResult, l as FeaturedProfile, ar as SimilarProfile, w as FetchSuggestionsOptions, aw as SuggestionsResponse, H as FollowUserResult, o as FetchFollowListOptions, y as FollowListPage, I as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, G as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, N as HeatmapResponse, U as MyGithubPullRequestsResponse, a as AccountCheckResult, af as ReactionStatus, ae as ReactionResult, ad as ReactionError, an as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, ai as ResetProfileResult, aB as WipePreview, X as OrgClaimResult, a1 as OrgProfileUpdateResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult } from './org-BjiTIiWq.js';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
|
|
6
6
|
import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef, E as ExternalAccount, S as SkillSuggestion, M as OrgFloorVerdict } from './adult-content-BHIB4rxu.js';
|
|
@@ -128,6 +128,16 @@ interface UpdateSkillVariables {
|
|
|
128
128
|
}
|
|
129
129
|
/** React hook for updating a skill record. */
|
|
130
130
|
declare function useUpdateSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateSkillVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateSkillVariables, unknown>;
|
|
131
|
+
/** Variables for {@link useUpdateSkillSubCategories}. */
|
|
132
|
+
interface UpdateSkillSubCategoriesVariables {
|
|
133
|
+
rkeys: string[];
|
|
134
|
+
subCategory: string;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* React hook for setting (or clearing) the sub-category on many skills in a
|
|
138
|
+
* single request. An empty `subCategory` clears the field.
|
|
139
|
+
*/
|
|
140
|
+
declare function useUpdateSkillSubCategories(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult & SubCategoryBulkResult, Error, UpdateSkillSubCategoriesVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult & SubCategoryBulkResult, Error, UpdateSkillSubCategoriesVariables, unknown>;
|
|
131
141
|
/** React hook for deleting a skill record. Variable: the `rkey` string. */
|
|
132
142
|
declare function useDeleteSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
|
|
133
143
|
|
|
@@ -624,6 +634,15 @@ declare function useCastRoadmapVote(options?: Omit<UseMutationOptions<CastRoadma
|
|
|
624
634
|
/** React hook for retracting a previously-cast roadmap vote. */
|
|
625
635
|
declare function useRetractRoadmapVote(options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
|
|
626
636
|
|
|
637
|
+
/**
|
|
638
|
+
* Read which id.sifa.* collections the current grant cannot delete, so a
|
|
639
|
+
* delete-account UI can ask for the missing scope BEFORE the destructive step.
|
|
640
|
+
*
|
|
641
|
+
* Not cached: the whole point is to reflect the grant as it stands right now,
|
|
642
|
+
* and the grant changes underneath this hook when the user returns from the
|
|
643
|
+
* consent screen. A stale "no gaps" here is the failure this exists to prevent.
|
|
644
|
+
*/
|
|
645
|
+
declare function useWipePreview(options?: Omit<UseQueryOptions<WipePreview, Error, WipePreview, ReturnType<typeof sifaQueryKeys.destructive.wipePreview>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<WipePreview>, Error>;
|
|
627
646
|
/**
|
|
628
647
|
* React hook for resetting the authenticated user's Sifa profile.
|
|
629
648
|
* Variable: `deletePdsData` boolean.
|
|
@@ -723,4 +742,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
|
|
|
723
742
|
email: string;
|
|
724
743
|
}, unknown>;
|
|
725
744
|
|
|
726
|
-
export {
|
|
745
|
+
export { useEntitySearch as $, type AddFeatureAllowlistVariables as A, useCreateEducation as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreateEndorsement as E, type FollowVariables as F, useCreateExternalAccount as G, useCreatePosition as H, useCreateProfileLocation as I, useCreateReaction as J, useCreateRecord as K, useCreateSkill as L, useDebouncedValue as M, useDeleteAccount as N, useDeleteAvatarOverride as O, type PositionSkillLinkVariables as P, useDeleteEducation as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteExternalAccount as T, type UnfollowVariables as U, useDeletePosition as V, useDeleteProfileLocation as W, useDeleteReaction as X, useDeleteRecord as Y, useDeleteSkill as Z, useEndorsementCount as _, type CreateRecordVariables as a, useUpdateProfileLocation as a$, useExternalAccounts as a0, useFeatureAllowlist as a1, useFeaturedProfile as a2, useFollow as a3, useFollowers as a4, useFollowing as a5, useFollowingFeed as a6, useFollowingList as a7, useGetProfileView as a8, useHeatmapData as a9, useRevealMarqueDomain as aA, useRoadmapVotes as aB, useSearchFilters as aC, useSearchProfiles as aD, useSelectEntity as aE, useSetExternalAccountPrimary as aF, useSetPositionPrimary as aG, useSifaConfig as aH, useSimilarProfiles as aI, useSkillSuggestions as aJ, useStats as aK, useSuggestionCount as aL, useSuggestions as aM, useUnfollow as aN, useUnhideKeytraceClaim as aO, useUnhideOrcidPublication as aP, useUnhideProfileItem as aQ, useUnhideSifaPublication as aR, useUnhideStandardPublication as aS, useUnlinkSkillFromPosition as aT, useUnrevealMarqueDomain as aU, useUnsetExternalAccountPrimary as aV, useUnsetPositionPrimary as aW, useUpdateEducation as aX, useUpdateExternalAccount as aY, useUpdateOrgProfile as aZ, useUpdatePosition as a_, useHiddenApps as aa, useHideKeytraceClaim as ab, useHideOrcidPublication as ac, useHideProfileItem as ad, useHideSifaPublication as ae, useHideStandardPublication as af, useImportSearchEntities as ag, useLinkSkillToPosition as ah, useMintEntityDomain as ai, useMutuals as aj, useMyGithubPullRequests as ak, useMyRoadmapVotes as al, useNetworkStreamCount as am, useOrgClaim as an, useOrgDomainChallenge as ao, useOrgDomainVerify as ap, useOrgProfile as aq, useProfile as ar, useReactionStatus as as, useRefreshOrcidPublications as at, useRefreshPds as au, useRemoveFeatureAllowlist as av, useRemoveOrgNotificationEmail as aw, useResetProfile as ax, useResolveEntityDomain as ay, useRetractRoadmapVote as az, type DeleteRecordVariables as b, useUpdateProfileOverride as b0, useUpdateProfileSelf as b1, useUpdateRecord as b2, useUpdateSkill as b3, useUpdateSkillSubCategories as b4, useUploadAvatar as b5, useVerifyExternalAccount as b6, useWipePreview as b7, 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, useAppAccountCheck as p, useAppsRegistry as q, useAtFundLink as r, useBlueskySuggestions as s, useBulkHideProfileItems as t, useActivityFeed as u, useBulkHideStandardPublications as v, useBulkUnhideProfileItems as w, useBulkUnhideStandardPublications as x, useCanonicalSkillSearch as y, useCastRoadmapVote as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-BjiTIiWq.js';
|
|
2
2
|
import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef } from './adult-content-BHIB4rxu.js';
|
|
3
3
|
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-D2ZV8Eaj.js';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-sWTKu58A.js';
|
|
@@ -85,16 +85,6 @@ declare function updateEducation(config: SifaApiConfig, rkey: string, data: Reco
|
|
|
85
85
|
/** Delete an education record by `rkey`. */
|
|
86
86
|
declare function deleteEducation(config: SifaApiConfig, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
87
87
|
|
|
88
|
-
/**
|
|
89
|
-
* Create a new `id.sifa.profile.skill` record on the authenticated
|
|
90
|
-
* user's PDS.
|
|
91
|
-
*/
|
|
92
|
-
declare function createSkill(config: SifaApiConfig, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<CreateResult>;
|
|
93
|
-
/** Update an existing skill record by `rkey`. */
|
|
94
|
-
declare function updateSkill(config: SifaApiConfig, rkey: string, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
95
|
-
/** Delete a skill record by `rkey`. */
|
|
96
|
-
declare function deleteSkill(config: SifaApiConfig, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
97
|
-
|
|
98
88
|
/**
|
|
99
89
|
* Generic record-create escape hatch. Most callers should prefer the
|
|
100
90
|
* dedicated section helpers (`createPosition`, `createEducation`, etc.)
|
|
@@ -283,4 +273,4 @@ declare function checkNetworkMapJobStatus(config: SifaApiConfig, jobId: string,
|
|
|
283
273
|
*/
|
|
284
274
|
declare function fetchNetworkMap(config: SifaApiConfig, options?: ApiFetchOptions): Promise<NetworkMapResponse | null>;
|
|
285
275
|
|
|
286
|
-
export {
|
|
276
|
+
export { resolveEntityDomain as A, revealMarqueDomain as B, selectEntity as C, setPositionPrimary as D, unhideKeytraceClaim as E, type FetchNetworkStreamCountOptions as F, unlinkSkillFromPosition as G, unrevealMarqueDomain as H, unsetPositionPrimary as I, updateEducation as J, updatePosition as K, updateRecord as L, type NetworkMapEdge as N, type NetworkMapGenerationJob as a, type NetworkMapGraphData as b, type NetworkMapNode as c, type NetworkMapPendingJob as d, type NetworkMapResponse as e, checkNetworkMapJobStatus as f, createEducation as g, createPosition as h, createRecord as i, deleteEducation as j, deletePosition as k, deleteRecord as l, fetchAtFundLink as m, fetchEndorsementCount as n, fetchEntitySearch as o, fetchGetProfileView as p, fetchNetworkMap as q, fetchNetworkStreamCount as r, fetchProfile as s, fetchProfileSummary as t, hideKeytraceClaim as u, importSearchEntities as v, initiateNetworkMapGeneration as w, isNetworkMapResponse as x, linkSkillToPosition as y, mintEntityDomain as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ah as RefreshPdsResult,
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ah as RefreshPdsResult, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, j as CreateResult, au as SubCategoryBulkResult, a5 as ProfileLocationInput, k as ExternalAccountInput, i as CreateExternalAccountResult, aA as VerifyExternalAccountResult, E as EndorsementInput, ag as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, R as HideProfileItemInput, at as StatsResponse, g as AppRegistryEntry, O as HiddenApp, x as FilterOptions, ao as SearchFilters, ap as SearchResponse, as as SkillSearchResult, l as FeaturedProfile, ar as SimilarProfile, w as FetchSuggestionsOptions, aw as SuggestionsResponse, H as FollowUserResult, o as FetchFollowListOptions, y as FollowListPage, I as FollowingResponse, q as FetchFollowingFeedOptions, p as FetchFollowProfilePageOptions, G as FollowProfilePageResponse, F as FeatureAllowlistResponse, m as FetchActivityFeedOptions, b as ActivityFeedResponse, e as ActivityTeaserResponse, N as HeatmapResponse, U as MyGithubPullRequestsResponse, a as AccountCheckResult, af as ReactionStatus, ae as ReactionResult, ad as ReactionError, an as RoadmapVotesResponse, C as CastRoadmapVoteResult, D as DeleteAccountResult, ai as ResetProfileResult, aB as WipePreview, X as OrgClaimResult, a1 as OrgProfileUpdateResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult } from './org-CcbXH1FW.cjs';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
|
|
6
6
|
import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef, E as ExternalAccount, S as SkillSuggestion, M as OrgFloorVerdict } from './adult-content-BHIB4rxu.cjs';
|
|
@@ -128,6 +128,16 @@ interface UpdateSkillVariables {
|
|
|
128
128
|
}
|
|
129
129
|
/** React hook for updating a skill record. */
|
|
130
130
|
declare function useUpdateSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateSkillVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateSkillVariables, unknown>;
|
|
131
|
+
/** Variables for {@link useUpdateSkillSubCategories}. */
|
|
132
|
+
interface UpdateSkillSubCategoriesVariables {
|
|
133
|
+
rkeys: string[];
|
|
134
|
+
subCategory: string;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* React hook for setting (or clearing) the sub-category on many skills in a
|
|
138
|
+
* single request. An empty `subCategory` clears the field.
|
|
139
|
+
*/
|
|
140
|
+
declare function useUpdateSkillSubCategories(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult & SubCategoryBulkResult, Error, UpdateSkillSubCategoriesVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult & SubCategoryBulkResult, Error, UpdateSkillSubCategoriesVariables, unknown>;
|
|
131
141
|
/** React hook for deleting a skill record. Variable: the `rkey` string. */
|
|
132
142
|
declare function useDeleteSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
|
|
133
143
|
|
|
@@ -624,6 +634,15 @@ declare function useCastRoadmapVote(options?: Omit<UseMutationOptions<CastRoadma
|
|
|
624
634
|
/** React hook for retracting a previously-cast roadmap vote. */
|
|
625
635
|
declare function useRetractRoadmapVote(options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
|
|
626
636
|
|
|
637
|
+
/**
|
|
638
|
+
* Read which id.sifa.* collections the current grant cannot delete, so a
|
|
639
|
+
* delete-account UI can ask for the missing scope BEFORE the destructive step.
|
|
640
|
+
*
|
|
641
|
+
* Not cached: the whole point is to reflect the grant as it stands right now,
|
|
642
|
+
* and the grant changes underneath this hook when the user returns from the
|
|
643
|
+
* consent screen. A stale "no gaps" here is the failure this exists to prevent.
|
|
644
|
+
*/
|
|
645
|
+
declare function useWipePreview(options?: Omit<UseQueryOptions<WipePreview, Error, WipePreview, ReturnType<typeof sifaQueryKeys.destructive.wipePreview>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<WipePreview>, Error>;
|
|
627
646
|
/**
|
|
628
647
|
* React hook for resetting the authenticated user's Sifa profile.
|
|
629
648
|
* Variable: `deletePdsData` boolean.
|
|
@@ -723,4 +742,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
|
|
|
723
742
|
email: string;
|
|
724
743
|
}, unknown>;
|
|
725
744
|
|
|
726
|
-
export {
|
|
745
|
+
export { useEntitySearch as $, type AddFeatureAllowlistVariables as A, useCreateEducation as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreateEndorsement as E, type FollowVariables as F, useCreateExternalAccount as G, useCreatePosition as H, useCreateProfileLocation as I, useCreateReaction as J, useCreateRecord as K, useCreateSkill as L, useDebouncedValue as M, useDeleteAccount as N, useDeleteAvatarOverride as O, type PositionSkillLinkVariables as P, useDeleteEducation as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteExternalAccount as T, type UnfollowVariables as U, useDeletePosition as V, useDeleteProfileLocation as W, useDeleteReaction as X, useDeleteRecord as Y, useDeleteSkill as Z, useEndorsementCount as _, type CreateRecordVariables as a, useUpdateProfileLocation as a$, useExternalAccounts as a0, useFeatureAllowlist as a1, useFeaturedProfile as a2, useFollow as a3, useFollowers as a4, useFollowing as a5, useFollowingFeed as a6, useFollowingList as a7, useGetProfileView as a8, useHeatmapData as a9, useRevealMarqueDomain as aA, useRoadmapVotes as aB, useSearchFilters as aC, useSearchProfiles as aD, useSelectEntity as aE, useSetExternalAccountPrimary as aF, useSetPositionPrimary as aG, useSifaConfig as aH, useSimilarProfiles as aI, useSkillSuggestions as aJ, useStats as aK, useSuggestionCount as aL, useSuggestions as aM, useUnfollow as aN, useUnhideKeytraceClaim as aO, useUnhideOrcidPublication as aP, useUnhideProfileItem as aQ, useUnhideSifaPublication as aR, useUnhideStandardPublication as aS, useUnlinkSkillFromPosition as aT, useUnrevealMarqueDomain as aU, useUnsetExternalAccountPrimary as aV, useUnsetPositionPrimary as aW, useUpdateEducation as aX, useUpdateExternalAccount as aY, useUpdateOrgProfile as aZ, useUpdatePosition as a_, useHiddenApps as aa, useHideKeytraceClaim as ab, useHideOrcidPublication as ac, useHideProfileItem as ad, useHideSifaPublication as ae, useHideStandardPublication as af, useImportSearchEntities as ag, useLinkSkillToPosition as ah, useMintEntityDomain as ai, useMutuals as aj, useMyGithubPullRequests as ak, useMyRoadmapVotes as al, useNetworkStreamCount as am, useOrgClaim as an, useOrgDomainChallenge as ao, useOrgDomainVerify as ap, useOrgProfile as aq, useProfile as ar, useReactionStatus as as, useRefreshOrcidPublications as at, useRefreshPds as au, useRemoveFeatureAllowlist as av, useRemoveOrgNotificationEmail as aw, useResetProfile as ax, useResolveEntityDomain as ay, useRetractRoadmapVote as az, type DeleteRecordVariables as b, useUpdateProfileOverride as b0, useUpdateProfileSelf as b1, useUpdateRecord as b2, useUpdateSkill as b3, useUpdateSkillSubCategories as b4, useUploadAvatar as b5, useVerifyExternalAccount as b6, useWipePreview as b7, 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, useAppAccountCheck as p, useAppsRegistry as q, useAtFundLink as r, useBlueskySuggestions as s, useBulkHideProfileItems as t, useActivityFeed as u, useBulkHideStandardPublications as v, useBulkUnhideProfileItems as w, useBulkUnhideStandardPublications as x, useCanonicalSkillSearch as y, useCastRoadmapVote as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-CcbXH1FW.cjs';
|
|
2
2
|
import { e as Profile, P as ProfileView, f as ProfilePosition, a6 as SkillRef } from './adult-content-BHIB4rxu.cjs';
|
|
3
3
|
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-D2ZV8Eaj.cjs';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-DsaEk_GD.cjs';
|
|
@@ -85,16 +85,6 @@ declare function updateEducation(config: SifaApiConfig, rkey: string, data: Reco
|
|
|
85
85
|
/** Delete an education record by `rkey`. */
|
|
86
86
|
declare function deleteEducation(config: SifaApiConfig, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
87
87
|
|
|
88
|
-
/**
|
|
89
|
-
* Create a new `id.sifa.profile.skill` record on the authenticated
|
|
90
|
-
* user's PDS.
|
|
91
|
-
*/
|
|
92
|
-
declare function createSkill(config: SifaApiConfig, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<CreateResult>;
|
|
93
|
-
/** Update an existing skill record by `rkey`. */
|
|
94
|
-
declare function updateSkill(config: SifaApiConfig, rkey: string, data: Record<string, unknown>, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
95
|
-
/** Delete a skill record by `rkey`. */
|
|
96
|
-
declare function deleteSkill(config: SifaApiConfig, rkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
97
|
-
|
|
98
88
|
/**
|
|
99
89
|
* Generic record-create escape hatch. Most callers should prefer the
|
|
100
90
|
* dedicated section helpers (`createPosition`, `createEducation`, etc.)
|
|
@@ -283,4 +273,4 @@ declare function checkNetworkMapJobStatus(config: SifaApiConfig, jobId: string,
|
|
|
283
273
|
*/
|
|
284
274
|
declare function fetchNetworkMap(config: SifaApiConfig, options?: ApiFetchOptions): Promise<NetworkMapResponse | null>;
|
|
285
275
|
|
|
286
|
-
export {
|
|
276
|
+
export { resolveEntityDomain as A, revealMarqueDomain as B, selectEntity as C, setPositionPrimary as D, unhideKeytraceClaim as E, type FetchNetworkStreamCountOptions as F, unlinkSkillFromPosition as G, unrevealMarqueDomain as H, unsetPositionPrimary as I, updateEducation as J, updatePosition as K, updateRecord as L, type NetworkMapEdge as N, type NetworkMapGenerationJob as a, type NetworkMapGraphData as b, type NetworkMapNode as c, type NetworkMapPendingJob as d, type NetworkMapResponse as e, checkNetworkMapJobStatus as f, createEducation as g, createPosition as h, createRecord as i, deleteEducation as j, deletePosition as k, deleteRecord as l, fetchAtFundLink as m, fetchEndorsementCount as n, fetchEntitySearch as o, fetchGetProfileView as p, fetchNetworkMap as q, fetchNetworkStreamCount as r, fetchProfile as s, fetchProfileSummary as t, hideKeytraceClaim as u, importSearchEntities as v, initiateNetworkMapGeneration as w, isNetworkMapResponse as x, linkSkillToPosition as y, mintEntityDomain as z };
|
package/dist/index.cjs
CHANGED