@singi-labs/sifa-sdk 0.21.0 → 0.23.0
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/{follow-profile-CgLLLQtJ.d.cts → follow-profile-BG_6eZwW.d.cts} +1 -1
- package/dist/{follow-profile-CVcA2w1v.d.ts → follow-profile-DGZzB5iM.d.ts} +1 -1
- package/dist/{index-BQAKeEoj.d.cts → index-BKvI1Bvg.d.cts} +1 -1
- package/dist/{index-DDh2RLvx.d.ts → index-BR8LDBo1.d.ts} +1 -1
- package/dist/index.cjs +35 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/jsonld/index.d.cts +2 -2
- package/dist/jsonld/index.d.ts +2 -2
- package/dist/{network-map-2OKh3wSB.d.ts → network-map-CMyjk6jc.d.ts} +4 -4
- package/dist/{network-map-DJonNOl0.d.cts → network-map-CqLYThmY.d.cts} +4 -4
- package/dist/{org-settings-BShvhyFp.d.ts → org-settings-BliQdqbB.d.cts} +57 -1
- package/dist/{profile-investment-QSwX2GL5.d.cts → profile-investment-BmuXFlZw.d.cts} +2 -0
- package/dist/{profile-investment-QSwX2GL5.d.ts → profile-investment-BmuXFlZw.d.ts} +2 -0
- package/dist/{org-settings-C73Sin5E.d.cts → profile-self-D59D_rhI.d.ts} +57 -1
- package/dist/{profile-summary-BCOKt3qS.d.cts → profile-summary-CoTNGDpt.d.cts} +1 -1
- package/dist/{profile-summary-DF8-evvA.d.ts → profile-summary-Sv6rqQbx.d.ts} +1 -1
- package/dist/publishing/index.cjs +21 -1
- package/dist/publishing/index.cjs.map +1 -1
- package/dist/query/fetchers/index.cjs +21 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +9 -9
- package/dist/query/fetchers/index.d.ts +9 -9
- package/dist/query/fetchers/profile-mutations.js.map +1 -1
- package/dist/query/hooks/index.cjs +21 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +7 -7
- package/dist/query/hooks/index.d.ts +7 -7
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +12 -12
- package/dist/query/index.d.ts +12 -12
- package/dist/resume/index.d.cts +2 -2
- package/dist/resume/index.d.ts +2 -2
- package/dist/schemas/index.cjs +29 -6
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +3 -3
- package/dist/schemas/index.d.ts +3 -3
- package/dist/schemas/index.js +2 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/profile-self.js +18 -6
- package/dist/schemas/profile-self.js.map +1 -1
- package/dist/schemas/shared.js +28 -1
- package/dist/schemas/shared.js.map +1 -1
- package/dist/schemas/write/certification.js +3 -3
- package/dist/schemas/write/certification.js.map +1 -1
- package/dist/schemas/write/course.js +5 -10
- package/dist/schemas/write/course.js.map +1 -1
- package/dist/schemas/write/education.js +3 -3
- package/dist/schemas/write/education.js.map +1 -1
- package/dist/schemas/write/honor.js +2 -2
- package/dist/schemas/write/honor.js.map +1 -1
- package/dist/schemas/write/index.cjs +58 -32
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +21 -64
- package/dist/schemas/write/index.d.ts +21 -64
- package/dist/schemas/write/index.js +5 -1
- package/dist/schemas/write/index.js.map +1 -1
- package/dist/schemas/write/investment.js +3 -3
- package/dist/schemas/write/investment.js.map +1 -1
- package/dist/schemas/write/involvement.js +3 -3
- package/dist/schemas/write/involvement.js.map +1 -1
- package/dist/schemas/write/position.js +8 -3
- package/dist/schemas/write/position.js.map +1 -1
- package/dist/schemas/write/profile-self.js +19 -5
- package/dist/schemas/write/profile-self.js.map +1 -1
- package/dist/schemas/write/project.js +3 -3
- package/dist/schemas/write/project.js.map +1 -1
- package/dist/schemas/write/publication.js +2 -2
- package/dist/schemas/write/publication.js.map +1 -1
- package/dist/schemas/write/shared.js +6 -0
- package/dist/schemas/write/shared.js.map +1 -1
- package/dist/schemas/write/volunteering.js +3 -3
- package/dist/schemas/write/volunteering.js.map +1 -1
- package/dist/testing/index.d.cts +2 -2
- package/dist/testing/index.d.ts +2 -2
- package/dist/{types-JydVIhN5.d.cts → types-BC4A9-W9.d.cts} +2 -2
- package/dist/{types-CkomzDlY.d.ts → types-CcVRIHcX.d.ts} +2 -2
- package/dist/{use-user-settings-DQ6Dyby7.d.ts → use-user-settings-CI9eZQpp.d.ts} +11 -6
- package/dist/{use-user-settings-Bn6g8bgr.d.cts → use-user-settings-CfQKSBAC.d.cts} +11 -6
- package/dist/{user-settings-BdNrDa9O.d.ts → user-settings-BVFxLAOa.d.cts} +6 -11
- package/dist/{user-settings-C8JUD4DM.d.cts → user-settings-C65eFsPR.d.ts} +6 -11
- package/dist/{verification-providers-DeyGqaoC.d.cts → verification-providers-DQLIOSCK.d.cts} +7 -1
- package/dist/{verification-providers-DeyGqaoC.d.ts → verification-providers-DQLIOSCK.d.ts} +7 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a2 as WriteResult, o as ProfileView, a3 as CreateResult, a5 as FilterOptions, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, ai as CompanySearchFilters, aj as CompanySearchResponse, u as RepoDeleteResult, x as RepoInventory } from './types-
|
|
3
|
+
import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a2 as WriteResult, o as ProfileView, a3 as CreateResult, a5 as FilterOptions, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, ai as CompanySearchFilters, aj as CompanySearchResponse, u as RepoDeleteResult, x as RepoInventory } from './types-CcVRIHcX.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, Y as SkillRef, p as ExternalAccount, Z as SkillSuggestion, s as OrgFloorVerdict } from './index-
|
|
7
|
-
import { s as sifaQueryKeys, aJ as RefreshPdsResult, b9 as UpdateProfileOverrideInput, ba as UpdateProfileSelfInput, bb as UploadAvatarResult, bc as UploadPronunciationAudioResult, at as PrimarySection, b2 as SubCategoryBulkResult, ay as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bg as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a3 as GivenConfirmation, as as PendingConfirmationsPage, ae as InboxCounts, p as DismissUnlinkedPositionInput, b7 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, au as ProfileCompleteness, aU as RpgClaimableResponse, aY as RpgStatusResponse, aI as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ad as HideProfileItemInput, a8 as HiddenActivityItem, ac as HideActivityItemInput, b5 as UnhideActivityItemInput, f as ActivityPreferences, b0 as SiteActivityPresetResponse, b8 as UpdateActivityPreferencesInput, b1 as StatsResponse, i as AppRegistryEntry, a9 as HiddenApp, b as AccountSummary, r as FeaturedProfile, a$ as SimilarProfile, Q as FetchSuggestionsOptions, b4 as SuggestionsResponse, W as FollowUserResult, y as FetchFollowListOptions, T as FollowListPage, a0 as FollowingResponse, G as FetchFollowingFeedOptions, _ as FollowingFeedResponse, $ as FollowingFeedVersion, z as FetchFollowProfilePageOptions, V as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, u as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a7 as HeatmapResponse, ag as MyGithubPullRequestsResponse, A as AccountCheckResult, aH as ReactionStatus, aG as ReactionResult, aF as ReactionError, j as CastRoadmapVoteResult, aQ as RoadmapItemRef, D as DeleteAccountResult, aL as ResetProfileResult, bh as WipePreview, aK as RepoDeleteInput, ai as OrgClaimResult, ao as OrgProfileUpdateResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, bd as UserSettings } from './user-settings-
|
|
6
|
+
import { c as Profile, d as ProfilePosition, Y as SkillRef, p as ExternalAccount, Z as SkillSuggestion, s as OrgFloorVerdict } from './index-BR8LDBo1.js';
|
|
7
|
+
import { s as sifaQueryKeys, aJ as RefreshPdsResult, b9 as UpdateProfileOverrideInput, ba as UpdateProfileSelfInput, bb as UploadAvatarResult, bc as UploadPronunciationAudioResult, at as PrimarySection, b2 as SubCategoryBulkResult, ay as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bg as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a3 as GivenConfirmation, as as PendingConfirmationsPage, ae as InboxCounts, p as DismissUnlinkedPositionInput, b7 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, au as ProfileCompleteness, aU as RpgClaimableResponse, aY as RpgStatusResponse, aI as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ad as HideProfileItemInput, a8 as HiddenActivityItem, ac as HideActivityItemInput, b5 as UnhideActivityItemInput, f as ActivityPreferences, b0 as SiteActivityPresetResponse, b8 as UpdateActivityPreferencesInput, b1 as StatsResponse, i as AppRegistryEntry, a9 as HiddenApp, b as AccountSummary, r as FeaturedProfile, a$ as SimilarProfile, Q as FetchSuggestionsOptions, b4 as SuggestionsResponse, W as FollowUserResult, y as FetchFollowListOptions, T as FollowListPage, a0 as FollowingResponse, G as FetchFollowingFeedOptions, _ as FollowingFeedResponse, $ as FollowingFeedVersion, z as FetchFollowProfilePageOptions, V as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, u as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a7 as HeatmapResponse, ag as MyGithubPullRequestsResponse, A as AccountCheckResult, aH as ReactionStatus, aG as ReactionResult, aF as ReactionError, j as CastRoadmapVoteResult, aQ as RoadmapItemRef, D as DeleteAccountResult, aL as ResetProfileResult, bh as WipePreview, aK as RepoDeleteInput, ai as OrgClaimResult, ao as OrgProfileUpdateResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, bd as UserSettings } from './user-settings-C65eFsPR.js';
|
|
8
8
|
import { z } from 'zod';
|
|
9
|
-
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, n as EntitySelectResponse, l as EntitySelectRequest, r as FeatureFlag } from './follow-profile-
|
|
10
|
-
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './
|
|
9
|
+
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, n as EntitySelectResponse, l as EntitySelectRequest, r as FeatureFlag } from './follow-profile-DGZzB5iM.js';
|
|
10
|
+
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './profile-self-D59D_rhI.js';
|
|
11
11
|
|
|
12
12
|
interface SifaProviderProps {
|
|
13
13
|
config: SifaApiConfig;
|
|
@@ -274,7 +274,12 @@ declare function useGetProfileView(actor: string | undefined | null, options?: O
|
|
|
274
274
|
*/
|
|
275
275
|
declare function useUpdateProfileSelf(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateProfileSelfInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateProfileSelfInput, unknown>;
|
|
276
276
|
/** React hook for updating the authenticated user's profile override fields. */
|
|
277
|
-
declare function useUpdateProfileOverride(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateProfileOverrideInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error,
|
|
277
|
+
declare function useUpdateProfileOverride(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateProfileOverrideInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, {
|
|
278
|
+
headline?: string | null | undefined;
|
|
279
|
+
about?: string | null | undefined;
|
|
280
|
+
displayName?: string | null | undefined;
|
|
281
|
+
pronouns?: string | null | undefined;
|
|
282
|
+
}, unknown>;
|
|
278
283
|
/** React hook for re-pulling the authenticated user's PDS-side profile. */
|
|
279
284
|
declare function useRefreshPds(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<RefreshPdsResult, Error, void>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<RefreshPdsResult, Error, void, unknown>;
|
|
280
285
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a2 as WriteResult, o as ProfileView, a3 as CreateResult, a5 as FilterOptions, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, ai as CompanySearchFilters, aj as CompanySearchResponse, u as RepoDeleteResult, x as RepoInventory } from './types-
|
|
3
|
+
import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a2 as WriteResult, o as ProfileView, a3 as CreateResult, a5 as FilterOptions, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, ai as CompanySearchFilters, aj as CompanySearchResponse, u as RepoDeleteResult, x as RepoInventory } from './types-BC4A9-W9.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, Y as SkillRef, p as ExternalAccount, Z as SkillSuggestion, s as OrgFloorVerdict } from './index-
|
|
7
|
-
import { s as sifaQueryKeys, aJ as RefreshPdsResult, b9 as UpdateProfileOverrideInput, ba as UpdateProfileSelfInput, bb as UploadAvatarResult, bc as UploadPronunciationAudioResult, at as PrimarySection, b2 as SubCategoryBulkResult, ay as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bg as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a3 as GivenConfirmation, as as PendingConfirmationsPage, ae as InboxCounts, p as DismissUnlinkedPositionInput, b7 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, au as ProfileCompleteness, aU as RpgClaimableResponse, aY as RpgStatusResponse, aI as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ad as HideProfileItemInput, a8 as HiddenActivityItem, ac as HideActivityItemInput, b5 as UnhideActivityItemInput, f as ActivityPreferences, b0 as SiteActivityPresetResponse, b8 as UpdateActivityPreferencesInput, b1 as StatsResponse, i as AppRegistryEntry, a9 as HiddenApp, b as AccountSummary, r as FeaturedProfile, a$ as SimilarProfile, Q as FetchSuggestionsOptions, b4 as SuggestionsResponse, W as FollowUserResult, y as FetchFollowListOptions, T as FollowListPage, a0 as FollowingResponse, G as FetchFollowingFeedOptions, _ as FollowingFeedResponse, $ as FollowingFeedVersion, z as FetchFollowProfilePageOptions, V as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, u as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a7 as HeatmapResponse, ag as MyGithubPullRequestsResponse, A as AccountCheckResult, aH as ReactionStatus, aG as ReactionResult, aF as ReactionError, j as CastRoadmapVoteResult, aQ as RoadmapItemRef, D as DeleteAccountResult, aL as ResetProfileResult, bh as WipePreview, aK as RepoDeleteInput, ai as OrgClaimResult, ao as OrgProfileUpdateResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, bd as UserSettings } from './user-settings-
|
|
6
|
+
import { c as Profile, d as ProfilePosition, Y as SkillRef, p as ExternalAccount, Z as SkillSuggestion, s as OrgFloorVerdict } from './index-BKvI1Bvg.cjs';
|
|
7
|
+
import { s as sifaQueryKeys, aJ as RefreshPdsResult, b9 as UpdateProfileOverrideInput, ba as UpdateProfileSelfInput, bb as UploadAvatarResult, bc as UploadPronunciationAudioResult, at as PrimarySection, b2 as SubCategoryBulkResult, ay as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bg as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a3 as GivenConfirmation, as as PendingConfirmationsPage, ae as InboxCounts, p as DismissUnlinkedPositionInput, b7 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, au as ProfileCompleteness, aU as RpgClaimableResponse, aY as RpgStatusResponse, aI as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ad as HideProfileItemInput, a8 as HiddenActivityItem, ac as HideActivityItemInput, b5 as UnhideActivityItemInput, f as ActivityPreferences, b0 as SiteActivityPresetResponse, b8 as UpdateActivityPreferencesInput, b1 as StatsResponse, i as AppRegistryEntry, a9 as HiddenApp, b as AccountSummary, r as FeaturedProfile, a$ as SimilarProfile, Q as FetchSuggestionsOptions, b4 as SuggestionsResponse, W as FollowUserResult, y as FetchFollowListOptions, T as FollowListPage, a0 as FollowingResponse, G as FetchFollowingFeedOptions, _ as FollowingFeedResponse, $ as FollowingFeedVersion, z as FetchFollowProfilePageOptions, V as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, u as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a7 as HeatmapResponse, ag as MyGithubPullRequestsResponse, A as AccountCheckResult, aH as ReactionStatus, aG as ReactionResult, aF as ReactionError, j as CastRoadmapVoteResult, aQ as RoadmapItemRef, D as DeleteAccountResult, aL as ResetProfileResult, bh as WipePreview, aK as RepoDeleteInput, ai as OrgClaimResult, ao as OrgProfileUpdateResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, bd as UserSettings } from './user-settings-BVFxLAOa.cjs';
|
|
8
8
|
import { z } from 'zod';
|
|
9
|
-
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, n as EntitySelectResponse, l as EntitySelectRequest, r as FeatureFlag } from './follow-profile-
|
|
10
|
-
import { O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, c as OrgDomainVerifyRequestInput, d as OrgNotificationEmailRequestInput } from './org-settings-
|
|
9
|
+
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, n as EntitySelectResponse, l as EntitySelectRequest, r as FeatureFlag } from './follow-profile-BG_6eZwW.cjs';
|
|
10
|
+
import { O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, c as OrgDomainVerifyRequestInput, d as OrgNotificationEmailRequestInput } from './org-settings-BliQdqbB.cjs';
|
|
11
11
|
|
|
12
12
|
interface SifaProviderProps {
|
|
13
13
|
config: SifaApiConfig;
|
|
@@ -274,7 +274,12 @@ declare function useGetProfileView(actor: string | undefined | null, options?: O
|
|
|
274
274
|
*/
|
|
275
275
|
declare function useUpdateProfileSelf(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateProfileSelfInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateProfileSelfInput, unknown>;
|
|
276
276
|
/** React hook for updating the authenticated user's profile override fields. */
|
|
277
|
-
declare function useUpdateProfileOverride(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateProfileOverrideInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error,
|
|
277
|
+
declare function useUpdateProfileOverride(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateProfileOverrideInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, {
|
|
278
|
+
headline?: string | null | undefined;
|
|
279
|
+
about?: string | null | undefined;
|
|
280
|
+
displayName?: string | null | undefined;
|
|
281
|
+
pronouns?: string | null | undefined;
|
|
282
|
+
}, unknown>;
|
|
278
283
|
/** React hook for re-pulling the authenticated user's PDS-side profile. */
|
|
279
284
|
declare function useRefreshPds(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<RefreshPdsResult, Error, void>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<RefreshPdsResult, Error, void, unknown>;
|
|
280
285
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a2 as WriteResult, a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, K as SiteActivityPreset, b as ActivityLabel, u as RepoDeleteResult, x as RepoInventory } from './types-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { a2 as WriteResult, a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, K as SiteActivityPreset, b as ActivityLabel, u as RepoDeleteResult, x as RepoInventory } from './types-BC4A9-W9.cjs';
|
|
2
|
+
import { P as ProfileOverrideWriteInput, d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-BliQdqbB.cjs';
|
|
3
|
+
import { p as ExternalAccount, B as PositionViewerConfirmation } from './index-BKvI1Bvg.cjs';
|
|
4
|
+
import { a as AccountVerification } from './verification-providers-DQLIOSCK.cjs';
|
|
5
|
+
import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-BG_6eZwW.cjs';
|
|
5
6
|
import { z } from 'zod';
|
|
6
|
-
import { f as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, d as OrgDomainVerifyRequestInput } from './org-settings-BShvhyFp.js';
|
|
7
7
|
|
|
8
8
|
/** Industry/domain entry on the profile self record. */
|
|
9
9
|
interface ProfileIndustryInput {
|
|
@@ -50,12 +50,7 @@ interface UpdateProfileSelfInput {
|
|
|
50
50
|
/** Update the authenticated user's `id.sifa.profile.self` record. */
|
|
51
51
|
declare function updateProfileSelf(config: SifaApiConfig, data: UpdateProfileSelfInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
52
52
|
/** Body accepted by {@link updateProfileOverride}. */
|
|
53
|
-
|
|
54
|
-
headline?: string | null;
|
|
55
|
-
about?: string | null;
|
|
56
|
-
displayName?: string | null;
|
|
57
|
-
pronouns?: string | null;
|
|
58
|
-
}
|
|
53
|
+
type UpdateProfileOverrideInput = ProfileOverrideWriteInput;
|
|
59
54
|
/**
|
|
60
55
|
* Override aggregated profile fields with sifa-specific values. `null`
|
|
61
56
|
* clears the override and falls back to the upstream PDS value.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a2 as WriteResult, a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, K as SiteActivityPreset, b as ActivityLabel, u as RepoDeleteResult, x as RepoInventory } from './types-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { a2 as WriteResult, a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, K as SiteActivityPreset, b as ActivityLabel, u as RepoDeleteResult, x as RepoInventory } from './types-CcVRIHcX.js';
|
|
2
|
+
import { P as ProfileOverrideWriteInput, f as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, d as OrgDomainVerifyRequestInput } from './profile-self-D59D_rhI.js';
|
|
3
|
+
import { p as ExternalAccount, B as PositionViewerConfirmation } from './index-BR8LDBo1.js';
|
|
4
|
+
import { a as AccountVerification } from './verification-providers-DQLIOSCK.js';
|
|
5
|
+
import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-DGZzB5iM.js';
|
|
5
6
|
import { z } from 'zod';
|
|
6
|
-
import { d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-C73Sin5E.cjs';
|
|
7
7
|
|
|
8
8
|
/** Industry/domain entry on the profile self record. */
|
|
9
9
|
interface ProfileIndustryInput {
|
|
@@ -50,12 +50,7 @@ interface UpdateProfileSelfInput {
|
|
|
50
50
|
/** Update the authenticated user's `id.sifa.profile.self` record. */
|
|
51
51
|
declare function updateProfileSelf(config: SifaApiConfig, data: UpdateProfileSelfInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
52
52
|
/** Body accepted by {@link updateProfileOverride}. */
|
|
53
|
-
|
|
54
|
-
headline?: string | null;
|
|
55
|
-
about?: string | null;
|
|
56
|
-
displayName?: string | null;
|
|
57
|
-
pronouns?: string | null;
|
|
58
|
-
}
|
|
53
|
+
type UpdateProfileOverrideInput = ProfileOverrideWriteInput;
|
|
59
54
|
/**
|
|
60
55
|
* Override aggregated profile fields with sifa-specific values. `null`
|
|
61
56
|
* clears the override and falls back to the upstream PDS value.
|
package/dist/{verification-providers-DeyGqaoC.d.cts → verification-providers-DQLIOSCK.d.cts}
RENAMED
|
@@ -8,6 +8,12 @@ import { z } from 'zod';
|
|
|
8
8
|
* count as one unit each. We use `Intl.Segmenter` to enforce this correctly.
|
|
9
9
|
*/
|
|
10
10
|
declare function maxGraphemes(max: number): (value: string) => boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Byte-length refinement matching the AT Protocol lexicon string `maxLength`
|
|
13
|
+
* constraint, which counts UTF-8 bytes (not UTF-16 code units). Uses
|
|
14
|
+
* `TextEncoder` rather than `Buffer` so it also runs in browsers.
|
|
15
|
+
*/
|
|
16
|
+
declare function maxBytes(max: number): (value: string) => boolean;
|
|
11
17
|
/** Decentralized identifier, AT Protocol `format: did`. */
|
|
12
18
|
declare const didSchema: z.ZodString;
|
|
13
19
|
/** RFC 3339 datetime with timezone offset, AT Protocol `format: datetime`. */
|
|
@@ -209,4 +215,4 @@ declare function resolveVerificationBadges(input: {
|
|
|
209
215
|
blueskyVerifiedAt?: string | null;
|
|
210
216
|
}): AccountVerification[];
|
|
211
217
|
|
|
212
|
-
export { type AgentRef as A, VERIFICATION_PROVIDERS as V, type AccountVerification as a, type VerificationProvider as b, type VerificationProviderId as c, type VerificationSource as d, type VerifierListItem as e, agentRefSchema as f, atUriSchema as g, buildVerifierListMembers as h, cidSchema as i, datetimeSchema as j, didSchema as k, externalRecordRefSchema as l, getVerificationProvider as m, isKnownVerificationProvider as n, languageTagSchema as o,
|
|
218
|
+
export { type AgentRef as A, VERIFICATION_PROVIDERS as V, type AccountVerification as a, type VerificationProvider as b, type VerificationProviderId as c, type VerificationSource as d, type VerifierListItem as e, agentRefSchema as f, atUriSchema as g, buildVerifierListMembers as h, cidSchema as i, datetimeSchema as j, didSchema as k, externalRecordRefSchema as l, getVerificationProvider as m, isKnownVerificationProvider as n, languageTagSchema as o, maxBytes as p, maxGraphemes as q, partialDateSchema as r, primaryVerification as s, resolveVerificationBadges as t, resolveVerifierProvider as u, selfLabelsSchema as v, skillRefSchema as w, strongRefSchema as x, uriSchema as y, verificationLabel as z };
|
|
@@ -8,6 +8,12 @@ import { z } from 'zod';
|
|
|
8
8
|
* count as one unit each. We use `Intl.Segmenter` to enforce this correctly.
|
|
9
9
|
*/
|
|
10
10
|
declare function maxGraphemes(max: number): (value: string) => boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Byte-length refinement matching the AT Protocol lexicon string `maxLength`
|
|
13
|
+
* constraint, which counts UTF-8 bytes (not UTF-16 code units). Uses
|
|
14
|
+
* `TextEncoder` rather than `Buffer` so it also runs in browsers.
|
|
15
|
+
*/
|
|
16
|
+
declare function maxBytes(max: number): (value: string) => boolean;
|
|
11
17
|
/** Decentralized identifier, AT Protocol `format: did`. */
|
|
12
18
|
declare const didSchema: z.ZodString;
|
|
13
19
|
/** RFC 3339 datetime with timezone offset, AT Protocol `format: datetime`. */
|
|
@@ -209,4 +215,4 @@ declare function resolveVerificationBadges(input: {
|
|
|
209
215
|
blueskyVerifiedAt?: string | null;
|
|
210
216
|
}): AccountVerification[];
|
|
211
217
|
|
|
212
|
-
export { type AgentRef as A, VERIFICATION_PROVIDERS as V, type AccountVerification as a, type VerificationProvider as b, type VerificationProviderId as c, type VerificationSource as d, type VerifierListItem as e, agentRefSchema as f, atUriSchema as g, buildVerifierListMembers as h, cidSchema as i, datetimeSchema as j, didSchema as k, externalRecordRefSchema as l, getVerificationProvider as m, isKnownVerificationProvider as n, languageTagSchema as o,
|
|
218
|
+
export { type AgentRef as A, VERIFICATION_PROVIDERS as V, type AccountVerification as a, type VerificationProvider as b, type VerificationProviderId as c, type VerificationSource as d, type VerifierListItem as e, agentRefSchema as f, atUriSchema as g, buildVerifierListMembers as h, cidSchema as i, datetimeSchema as j, didSchema as k, externalRecordRefSchema as l, getVerificationProvider as m, isKnownVerificationProvider as n, languageTagSchema as o, maxBytes as p, maxGraphemes as q, partialDateSchema as r, primaryVerification as s, resolveVerificationBadges as t, resolveVerifierProvider as u, selfLabelsSchema as v, skillRefSchema as w, strongRefSchema as x, uriSchema as y, verificationLabel as z };
|
package/package.json
CHANGED