@singi-labs/sifa-sdk 0.12.49 → 0.12.51

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/{adult-content-BUgP8bpf.d.cts → adult-content-Bmk22agq.d.cts} +8 -0
  2. package/dist/{adult-content-BUgP8bpf.d.ts → adult-content-Bmk22agq.d.ts} +8 -0
  3. package/dist/{index-r5KywRfC.d.cts → index-BzzF8wBs.d.cts} +14 -3
  4. package/dist/{index-L1xPmzKP.d.ts → index-C3EECrb2.d.ts} +3 -3
  5. package/dist/{index-CddvYEbj.d.ts → index-Dwo1bnqf.d.ts} +14 -3
  6. package/dist/{index-wf6rbBZZ.d.cts → index-af5Pb60B.d.cts} +3 -3
  7. package/dist/index.cjs +33 -29
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +5 -5
  10. package/dist/index.d.ts +5 -5
  11. package/dist/index.js +33 -29
  12. package/dist/index.js.map +1 -1
  13. package/dist/{org-CZvX0wc7.d.ts → org-BSx_0eKz.d.ts} +34 -3
  14. package/dist/{org-CVLKBRsw.d.cts → org-DFwVpMIH.d.cts} +34 -3
  15. package/dist/{profile-summary-DyX9EJzZ.d.ts → profile-summary-7d0mbAwr.d.ts} +1 -1
  16. package/dist/{profile-summary-DReI-P0i.d.cts → profile-summary-TOt7K4ai.d.cts} +1 -1
  17. package/dist/query/fetchers/index.cjs +16 -1
  18. package/dist/query/fetchers/index.cjs.map +1 -1
  19. package/dist/query/fetchers/index.d.cts +4 -4
  20. package/dist/query/fetchers/index.d.ts +4 -4
  21. package/dist/query/fetchers/index.js +16 -2
  22. package/dist/query/fetchers/index.js.map +1 -1
  23. package/dist/query/hooks/index.cjs +27 -1
  24. package/dist/query/hooks/index.cjs.map +1 -1
  25. package/dist/query/hooks/index.d.cts +3 -3
  26. package/dist/query/hooks/index.d.ts +3 -3
  27. package/dist/query/hooks/index.js +27 -2
  28. package/dist/query/hooks/index.js.map +1 -1
  29. package/dist/query/index.cjs +28 -1
  30. package/dist/query/index.cjs.map +1 -1
  31. package/dist/query/index.d.cts +7 -7
  32. package/dist/query/index.d.ts +7 -7
  33. package/dist/query/index.js +27 -2
  34. package/dist/query/index.js.map +1 -1
  35. package/dist/schemas/index.cjs +32 -28
  36. package/dist/schemas/index.cjs.map +1 -1
  37. package/dist/schemas/index.d.cts +1 -1
  38. package/dist/schemas/index.d.ts +1 -1
  39. package/dist/schemas/index.js +32 -28
  40. package/dist/schemas/index.js.map +1 -1
  41. package/dist/schemas/write/index.cjs +23 -17
  42. package/dist/schemas/write/index.cjs.map +1 -1
  43. package/dist/schemas/write/index.d.cts +9 -0
  44. package/dist/schemas/write/index.d.ts +9 -0
  45. package/dist/schemas/write/index.js +23 -17
  46. package/dist/schemas/write/index.js.map +1 -1
  47. package/dist/{shared-CqayM24g.d.cts → shared-B9ng04Kt.d.cts} +9 -0
  48. package/dist/{shared-CqayM24g.d.ts → shared-B9ng04Kt.d.ts} +9 -0
  49. package/package.json +1 -1
@@ -333,6 +333,10 @@ interface ProfileInvolvement {
333
333
  */
334
334
  legacy?: boolean;
335
335
  hidden?: boolean;
336
+ /** Other people named on this involvement, hydrated from the stored DIDs. */
337
+ collaborators?: ProjectMemberCard[];
338
+ /** AT-URI of the same involvement as recorded on another person's profile. */
339
+ sameAs?: string;
336
340
  }
337
341
  type LanguageProficiency = 'elementary' | 'limited_working' | 'professional_working' | 'full_professional' | 'native';
338
342
  interface ProfileLanguage {
@@ -848,6 +852,10 @@ interface InvolvementView {
848
852
  endedAt?: string;
849
853
  links: InvolvementLinkView[];
850
854
  legacy: boolean;
855
+ /** Other people named on this involvement, hydrated from the stored DIDs. */
856
+ collaborators?: ProjectMemberView[];
857
+ /** AT-URI of the same involvement as recorded on another person's profile. */
858
+ sameAs?: string;
851
859
  }
852
860
  interface ContributorView {
853
861
  name: string;
@@ -333,6 +333,10 @@ interface ProfileInvolvement {
333
333
  */
334
334
  legacy?: boolean;
335
335
  hidden?: boolean;
336
+ /** Other people named on this involvement, hydrated from the stored DIDs. */
337
+ collaborators?: ProjectMemberCard[];
338
+ /** AT-URI of the same involvement as recorded on another person's profile. */
339
+ sameAs?: string;
336
340
  }
337
341
  type LanguageProficiency = 'elementary' | 'limited_working' | 'professional_working' | 'full_professional' | 'native';
338
342
  interface ProfileLanguage {
@@ -848,6 +852,10 @@ interface InvolvementView {
848
852
  endedAt?: string;
849
853
  links: InvolvementLinkView[];
850
854
  legacy: boolean;
855
+ /** Other people named on this involvement, hydrated from the stored DIDs. */
856
+ collaborators?: ProjectMemberView[];
857
+ /** AT-URI of the same involvement as recorded on another person's profile. */
858
+ sameAs?: string;
851
859
  }
852
860
  interface ContributorView {
853
861
  name: string;
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ap as RefreshPdsResult, aF as UpdateProfileOverrideInput, aG as UpdateProfileSelfInput, aH as UploadAvatarResult, C as CreateResult, aC as SubCategoryBulkResult, ad as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aI as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, aa as PendingConfirmationsPage, ao as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, Z as HideProfileItemInput, aB as StatsResponse, j as AppRegistryEntry, V as HiddenApp, I as FilterOptions, aw as SearchFilters, ax as SearchResponse, aA as SkillSearchResult, q as FeaturedProfile, az as SimilarProfile, H as FetchSuggestionsOptions, aE 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, U as HeatmapResponse, $ as MyGithubPullRequestsResponse, c as AccountCheckResult, an as ReactionStatus, am as ReactionResult, al as ReactionError, av as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, aq as ResetProfileResult, aJ as WipePreview, a1 as OrgClaimResult, a7 as OrgProfileUpdateResult, a2 as OrgDomainChallengeResult, a3 as OrgDomainVerifyResult, a4 as OrgNotificationEmailAddResult, a5 as OrgNotificationEmailRemoveResult } from './org-CVLKBRsw.cjs';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aq as RefreshPdsResult, aG as UpdateProfileOverrideInput, aH as UpdateProfileSelfInput, aI as UploadAvatarResult, C as CreateResult, aD as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aJ 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, aC as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ax as SearchFilters, ay as SearchResponse, aB as SkillSearchResult, q as FeaturedProfile, aA as SimilarProfile, H as FetchSuggestionsOptions, aF 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, aw as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, ar as ResetProfileResult, aK as WipePreview, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-DFwVpMIH.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 { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef, E as ExternalAccount, S as SkillSuggestion, Q as OrgFloorVerdict } from './adult-content-BUgP8bpf.cjs';
6
+ import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef, E as ExternalAccount, S as SkillSuggestion, Q as OrgFloorVerdict } from './adult-content-Bmk22agq.cjs';
7
7
  import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, o as EntitySelectResponse, m as EntitySelectRequest, y as FollowFeedPage, s as FeatureFlag } from './feed-dOSy_48Z.cjs';
8
8
  import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-B8e01iZx.cjs';
9
9
 
@@ -216,6 +216,17 @@ declare function useCreateEndorsement(endorsedHandleOrDid: string | null, option
216
216
  * without special-casing either.
217
217
  */
218
218
  declare function usePendingConfirmations(options?: Omit<UseQueryOptions<PendingConfirmationsPage, Error, PendingConfirmationsPage, ReturnType<typeof sifaQueryKeys.confirmation.pending>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<PendingConfirmationsPage>, Error>;
219
+ /**
220
+ * Confirmations the signed-in user has already given, with whether each has
221
+ * drifted since. Returns an empty list when signed out or on error.
222
+ */
223
+ declare function useGivenConfirmations(options?: Omit<UseQueryOptions<{
224
+ confirmations: GivenConfirmation[];
225
+ }, Error, {
226
+ confirmations: GivenConfirmation[];
227
+ }, ReturnType<typeof sifaQueryKeys.confirmation.given>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<{
228
+ confirmations: GivenConfirmation[];
229
+ }>, Error>;
219
230
  /**
220
231
  * Affirm a claim naming you. On success it leaves the inbox and starts
221
232
  * rendering with your name and avatar on the claimer's profile, so both the
@@ -782,4 +793,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
782
793
  email: string;
783
794
  }, unknown>;
784
795
 
785
- export { useDeleteSkill 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, useDeletePosition as X, useDeleteProfileLocation as Y, useDeleteReaction as Z, useDeleteRecord as _, type CreateRecordVariables as a, useUnsetPositionPrimary as a$, useDismissConfirmation as a0, useEndorsementCount as a1, useEntitySearch as a2, useExternalAccounts as a3, useFeatureAllowlist as a4, useFeaturedProfile as a5, useFollow as a6, useFollowers as a7, useFollowing as a8, useFollowingFeed as a9, useRemoveOrgNotificationEmail as aA, useResetProfile as aB, useResolveEntityDomain as aC, useRetractRoadmapVote as aD, useRevealMarqueDomain as aE, useRevokeConfirmation as aF, useRoadmapVotes as aG, useSearchFilters as aH, useSearchProfiles as aI, useSelectEntity as aJ, useSetExternalAccountPrimary as aK, useSetPositionPrimary as aL, useSifaConfig as aM, useSimilarProfiles as aN, useSkillSuggestions as aO, useStats as aP, useSuggestionCount as aQ, useSuggestions as aR, useUnfollow as aS, useUnhideKeytraceClaim as aT, useUnhideOrcidPublication as aU, useUnhideProfileItem as aV, useUnhideSifaPublication as aW, useUnhideStandardPublication as aX, useUnlinkSkillFromPosition as aY, useUnrevealMarqueDomain as aZ, useUnsetExternalAccountPrimary as a_, useFollowingList as aa, useGetProfileView as ab, useHeatmapData as ac, useHiddenApps as ad, useHideKeytraceClaim as ae, useHideOrcidPublication as af, useHideProfileItem as ag, useHideSifaPublication as ah, useHideStandardPublication as ai, useImportSearchEntities as aj, useLinkSkillToPosition as ak, useMintEntityDomain as al, useMutuals as am, useMyGithubPullRequests as an, useMyRoadmapVotes as ao, useNetworkStreamCount as ap, useOrgClaim as aq, useOrgDomainChallenge as ar, useOrgDomainVerify as as, useOrgProfile as at, usePendingConfirmations as au, useProfile as av, useReactionStatus as aw, useRefreshOrcidPublications as ax, useRefreshPds as ay, useRemoveFeatureAllowlist as az, type DeleteRecordVariables as b, useUpdateEducation as b0, useUpdateExternalAccount as b1, useUpdateOrgProfile as b2, useUpdatePosition as b3, useUpdateProfileLocation as b4, useUpdateProfileOverride as b5, useUpdateProfileSelf as b6, useUpdateRecord as b7, useUpdateSkill as b8, useUpdateSkillSubCategories as b9, useUploadAvatar as ba, useVerifyExternalAccount as bb, useWipePreview as bc, 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 };
796
+ export { useDeleteSkill 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, useDeletePosition as X, useDeleteProfileLocation as Y, useDeleteReaction as Z, useDeleteRecord as _, type CreateRecordVariables as a, useUnsetExternalAccountPrimary as a$, useDismissConfirmation as a0, useEndorsementCount as a1, useEntitySearch as a2, useExternalAccounts as a3, useFeatureAllowlist as a4, useFeaturedProfile as a5, useFollow as a6, useFollowers as a7, useFollowing as a8, useFollowingFeed as a9, useRemoveFeatureAllowlist as aA, useRemoveOrgNotificationEmail as aB, useResetProfile as aC, useResolveEntityDomain as aD, useRetractRoadmapVote as aE, useRevealMarqueDomain as aF, useRevokeConfirmation as aG, useRoadmapVotes as aH, useSearchFilters as aI, useSearchProfiles as aJ, useSelectEntity as aK, useSetExternalAccountPrimary as aL, useSetPositionPrimary as aM, useSifaConfig as aN, useSimilarProfiles as aO, useSkillSuggestions as aP, useStats as aQ, useSuggestionCount as aR, useSuggestions as aS, useUnfollow as aT, useUnhideKeytraceClaim as aU, useUnhideOrcidPublication as aV, useUnhideProfileItem as aW, useUnhideSifaPublication as aX, useUnhideStandardPublication as aY, useUnlinkSkillFromPosition as aZ, useUnrevealMarqueDomain as a_, useFollowingList as aa, useGetProfileView as ab, useGivenConfirmations as ac, useHeatmapData as ad, useHiddenApps as ae, useHideKeytraceClaim as af, useHideOrcidPublication as ag, useHideProfileItem as ah, useHideSifaPublication as ai, useHideStandardPublication as aj, useImportSearchEntities as ak, useLinkSkillToPosition as al, useMintEntityDomain as am, useMutuals as an, useMyGithubPullRequests as ao, useMyRoadmapVotes as ap, useNetworkStreamCount as aq, useOrgClaim as ar, useOrgDomainChallenge as as, useOrgDomainVerify as at, useOrgProfile as au, usePendingConfirmations as av, useProfile as aw, useReactionStatus as ax, useRefreshOrcidPublications as ay, useRefreshPds as az, type DeleteRecordVariables as b, useUnsetPositionPrimary as b0, useUpdateEducation as b1, useUpdateExternalAccount as b2, useUpdateOrgProfile as b3, useUpdatePosition as b4, useUpdateProfileLocation as b5, useUpdateProfileOverride as b6, useUpdateProfileSelf as b7, useUpdateRecord as b8, useUpdateSkill as b9, useUpdateSkillSubCategories as ba, useUploadAvatar as bb, useVerifyExternalAccount as bc, useWipePreview as bd, 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 };
@@ -1,7 +1,7 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-CZvX0wc7.js';
2
- import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef } from './adult-content-BUgP8bpf.js';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-BSx_0eKz.js';
2
+ import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef } from './adult-content-Bmk22agq.js';
3
3
  import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-dOSy_48Z.js';
4
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-DyX9EJzZ.js';
4
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-7d0mbAwr.js';
5
5
 
6
6
  /**
7
7
  * Read the aggregated profile for a handle or DID.
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ap as RefreshPdsResult, aF as UpdateProfileOverrideInput, aG as UpdateProfileSelfInput, aH as UploadAvatarResult, C as CreateResult, aC as SubCategoryBulkResult, ad as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aI as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, aa as PendingConfirmationsPage, ao as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, Z as HideProfileItemInput, aB as StatsResponse, j as AppRegistryEntry, V as HiddenApp, I as FilterOptions, aw as SearchFilters, ax as SearchResponse, aA as SkillSearchResult, q as FeaturedProfile, az as SimilarProfile, H as FetchSuggestionsOptions, aE 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, U as HeatmapResponse, $ as MyGithubPullRequestsResponse, c as AccountCheckResult, an as ReactionStatus, am as ReactionResult, al as ReactionError, av as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, aq as ResetProfileResult, aJ as WipePreview, a1 as OrgClaimResult, a7 as OrgProfileUpdateResult, a2 as OrgDomainChallengeResult, a3 as OrgDomainVerifyResult, a4 as OrgNotificationEmailAddResult, a5 as OrgNotificationEmailRemoveResult } from './org-CZvX0wc7.js';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aq as RefreshPdsResult, aG as UpdateProfileOverrideInput, aH as UpdateProfileSelfInput, aI as UploadAvatarResult, C as CreateResult, aD as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aJ 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, aC as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ax as SearchFilters, ay as SearchResponse, aB as SkillSearchResult, q as FeaturedProfile, aA as SimilarProfile, H as FetchSuggestionsOptions, aF 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, aw as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, ar as ResetProfileResult, aK as WipePreview, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-BSx_0eKz.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 { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef, E as ExternalAccount, S as SkillSuggestion, Q as OrgFloorVerdict } from './adult-content-BUgP8bpf.js';
6
+ import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef, E as ExternalAccount, S as SkillSuggestion, Q as OrgFloorVerdict } from './adult-content-Bmk22agq.js';
7
7
  import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, o as EntitySelectResponse, m as EntitySelectRequest, y as FollowFeedPage, s as FeatureFlag } from './feed-dOSy_48Z.js';
8
8
  import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-B8e01iZx.js';
9
9
 
@@ -216,6 +216,17 @@ declare function useCreateEndorsement(endorsedHandleOrDid: string | null, option
216
216
  * without special-casing either.
217
217
  */
218
218
  declare function usePendingConfirmations(options?: Omit<UseQueryOptions<PendingConfirmationsPage, Error, PendingConfirmationsPage, ReturnType<typeof sifaQueryKeys.confirmation.pending>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<PendingConfirmationsPage>, Error>;
219
+ /**
220
+ * Confirmations the signed-in user has already given, with whether each has
221
+ * drifted since. Returns an empty list when signed out or on error.
222
+ */
223
+ declare function useGivenConfirmations(options?: Omit<UseQueryOptions<{
224
+ confirmations: GivenConfirmation[];
225
+ }, Error, {
226
+ confirmations: GivenConfirmation[];
227
+ }, ReturnType<typeof sifaQueryKeys.confirmation.given>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<{
228
+ confirmations: GivenConfirmation[];
229
+ }>, Error>;
219
230
  /**
220
231
  * Affirm a claim naming you. On success it leaves the inbox and starts
221
232
  * rendering with your name and avatar on the claimer's profile, so both the
@@ -782,4 +793,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
782
793
  email: string;
783
794
  }, unknown>;
784
795
 
785
- export { useDeleteSkill 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, useDeletePosition as X, useDeleteProfileLocation as Y, useDeleteReaction as Z, useDeleteRecord as _, type CreateRecordVariables as a, useUnsetPositionPrimary as a$, useDismissConfirmation as a0, useEndorsementCount as a1, useEntitySearch as a2, useExternalAccounts as a3, useFeatureAllowlist as a4, useFeaturedProfile as a5, useFollow as a6, useFollowers as a7, useFollowing as a8, useFollowingFeed as a9, useRemoveOrgNotificationEmail as aA, useResetProfile as aB, useResolveEntityDomain as aC, useRetractRoadmapVote as aD, useRevealMarqueDomain as aE, useRevokeConfirmation as aF, useRoadmapVotes as aG, useSearchFilters as aH, useSearchProfiles as aI, useSelectEntity as aJ, useSetExternalAccountPrimary as aK, useSetPositionPrimary as aL, useSifaConfig as aM, useSimilarProfiles as aN, useSkillSuggestions as aO, useStats as aP, useSuggestionCount as aQ, useSuggestions as aR, useUnfollow as aS, useUnhideKeytraceClaim as aT, useUnhideOrcidPublication as aU, useUnhideProfileItem as aV, useUnhideSifaPublication as aW, useUnhideStandardPublication as aX, useUnlinkSkillFromPosition as aY, useUnrevealMarqueDomain as aZ, useUnsetExternalAccountPrimary as a_, useFollowingList as aa, useGetProfileView as ab, useHeatmapData as ac, useHiddenApps as ad, useHideKeytraceClaim as ae, useHideOrcidPublication as af, useHideProfileItem as ag, useHideSifaPublication as ah, useHideStandardPublication as ai, useImportSearchEntities as aj, useLinkSkillToPosition as ak, useMintEntityDomain as al, useMutuals as am, useMyGithubPullRequests as an, useMyRoadmapVotes as ao, useNetworkStreamCount as ap, useOrgClaim as aq, useOrgDomainChallenge as ar, useOrgDomainVerify as as, useOrgProfile as at, usePendingConfirmations as au, useProfile as av, useReactionStatus as aw, useRefreshOrcidPublications as ax, useRefreshPds as ay, useRemoveFeatureAllowlist as az, type DeleteRecordVariables as b, useUpdateEducation as b0, useUpdateExternalAccount as b1, useUpdateOrgProfile as b2, useUpdatePosition as b3, useUpdateProfileLocation as b4, useUpdateProfileOverride as b5, useUpdateProfileSelf as b6, useUpdateRecord as b7, useUpdateSkill as b8, useUpdateSkillSubCategories as b9, useUploadAvatar as ba, useVerifyExternalAccount as bb, useWipePreview as bc, 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 };
796
+ export { useDeleteSkill 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, useDeletePosition as X, useDeleteProfileLocation as Y, useDeleteReaction as Z, useDeleteRecord as _, type CreateRecordVariables as a, useUnsetExternalAccountPrimary as a$, useDismissConfirmation as a0, useEndorsementCount as a1, useEntitySearch as a2, useExternalAccounts as a3, useFeatureAllowlist as a4, useFeaturedProfile as a5, useFollow as a6, useFollowers as a7, useFollowing as a8, useFollowingFeed as a9, useRemoveFeatureAllowlist as aA, useRemoveOrgNotificationEmail as aB, useResetProfile as aC, useResolveEntityDomain as aD, useRetractRoadmapVote as aE, useRevealMarqueDomain as aF, useRevokeConfirmation as aG, useRoadmapVotes as aH, useSearchFilters as aI, useSearchProfiles as aJ, useSelectEntity as aK, useSetExternalAccountPrimary as aL, useSetPositionPrimary as aM, useSifaConfig as aN, useSimilarProfiles as aO, useSkillSuggestions as aP, useStats as aQ, useSuggestionCount as aR, useSuggestions as aS, useUnfollow as aT, useUnhideKeytraceClaim as aU, useUnhideOrcidPublication as aV, useUnhideProfileItem as aW, useUnhideSifaPublication as aX, useUnhideStandardPublication as aY, useUnlinkSkillFromPosition as aZ, useUnrevealMarqueDomain as a_, useFollowingList as aa, useGetProfileView as ab, useGivenConfirmations as ac, useHeatmapData as ad, useHiddenApps as ae, useHideKeytraceClaim as af, useHideOrcidPublication as ag, useHideProfileItem as ah, useHideSifaPublication as ai, useHideStandardPublication as aj, useImportSearchEntities as ak, useLinkSkillToPosition as al, useMintEntityDomain as am, useMutuals as an, useMyGithubPullRequests as ao, useMyRoadmapVotes as ap, useNetworkStreamCount as aq, useOrgClaim as ar, useOrgDomainChallenge as as, useOrgDomainVerify as at, useOrgProfile as au, usePendingConfirmations as av, useProfile as aw, useReactionStatus as ax, useRefreshOrcidPublications as ay, useRefreshPds as az, type DeleteRecordVariables as b, useUnsetPositionPrimary as b0, useUpdateEducation as b1, useUpdateExternalAccount as b2, useUpdateOrgProfile as b3, useUpdatePosition as b4, useUpdateProfileLocation as b5, useUpdateProfileOverride as b6, useUpdateProfileSelf as b7, useUpdateRecord as b8, useUpdateSkill as b9, useUpdateSkillSubCategories as ba, useUploadAvatar as bb, useVerifyExternalAccount as bc, useWipePreview as bd, 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 };
@@ -1,7 +1,7 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-CVLKBRsw.cjs';
2
- import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef } from './adult-content-BUgP8bpf.cjs';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-DFwVpMIH.cjs';
2
+ import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef } from './adult-content-Bmk22agq.cjs';
3
3
  import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-dOSy_48Z.cjs';
4
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-DReI-P0i.cjs';
4
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-TOt7K4ai.cjs';
5
5
 
6
6
  /**
7
7
  * Read the aggregated profile for a handle or DID.
package/dist/index.cjs CHANGED
@@ -5114,6 +5114,36 @@ var ProfileHonorRecordSchema = zod.z.object({
5114
5114
  awardedAt: partialDateSchema.optional(),
5115
5115
  createdAt: datetimeSchema
5116
5116
  });
5117
+ var projectMemberRefSchema = zod.z.object({
5118
+ did: didSchema,
5119
+ role: zod.z.string().optional(),
5120
+ title: zod.z.string().refine(maxGraphemes(128)).max(1280).optional()
5121
+ });
5122
+ var ProfileProjectRecordSchema = zod.z.object({
5123
+ name: zod.z.string().min(1).refine(maxGraphemes(256)).max(2560),
5124
+ description: zod.z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
5125
+ url: uriSchema.optional(),
5126
+ members: zod.z.array(projectMemberRefSchema).max(50).optional(),
5127
+ /**
5128
+ * The canonical `id.sifa.project.self` this personal entry corresponds to.
5129
+ * A composition link. For the same project recorded on someone else's
5130
+ * profile, see `sameAs`.
5131
+ */
5132
+ projectRef: strongRefSchema.optional(),
5133
+ /**
5134
+ * The same project as recorded on another person's profile. Each side stays
5135
+ * its own record; this only says the two describe one thing. Resolves by
5136
+ * AT-URI, since they will keep editing their copy.
5137
+ */
5138
+ sameAs: externalRecordRefSchema.optional(),
5139
+ position: strongRefSchema.optional(),
5140
+ startedAt: partialDateSchema.optional(),
5141
+ endedAt: partialDateSchema.optional(),
5142
+ labels: selfLabelsSchema.optional(),
5143
+ createdAt: datetimeSchema
5144
+ });
5145
+
5146
+ // src/schemas/profile-involvement.ts
5117
5147
  var PROFILE_INVOLVEMENT_NSID = "id.sifa.profile.involvement";
5118
5148
  var ArtifactLinkSchema = zod.z.object({
5119
5149
  url: uriSchema,
@@ -5138,6 +5168,8 @@ var ProfileInvolvementRecordSchema = zod.z.object({
5138
5168
  // id.sifa.defs#skillRef references (at-uri to a skill record in the same repo).
5139
5169
  skills: zod.z.array(zod.z.object({ uri: zod.z.string() })).max(50).optional(),
5140
5170
  labels: selfLabelsSchema.optional(),
5171
+ collaborators: zod.z.array(projectMemberRefSchema).max(50).optional(),
5172
+ sameAs: externalRecordRefSchema.optional(),
5141
5173
  createdAt: datetimeSchema
5142
5174
  }).passthrough();
5143
5175
  var ProfileLanguageRecordSchema = zod.z.object({
@@ -5220,34 +5252,6 @@ var ProfilePresentationDeliveryRecordSchema = zod.z.object({
5220
5252
  coSpeakers: zod.z.array(zod.z.string().regex(/^did:[a-z]+:[^\s]+$/, "must be a DID")).max(20).optional(),
5221
5253
  createdAt: datetimeSchema
5222
5254
  });
5223
- var projectMemberRefSchema = zod.z.object({
5224
- did: didSchema,
5225
- role: zod.z.string().optional(),
5226
- title: zod.z.string().refine(maxGraphemes(128)).max(1280).optional()
5227
- });
5228
- var ProfileProjectRecordSchema = zod.z.object({
5229
- name: zod.z.string().min(1).refine(maxGraphemes(256)).max(2560),
5230
- description: zod.z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
5231
- url: uriSchema.optional(),
5232
- members: zod.z.array(projectMemberRefSchema).max(50).optional(),
5233
- /**
5234
- * The canonical `id.sifa.project.self` this personal entry corresponds to.
5235
- * A composition link. For the same project recorded on someone else's
5236
- * profile, see `sameAs`.
5237
- */
5238
- projectRef: strongRefSchema.optional(),
5239
- /**
5240
- * The same project as recorded on another person's profile. Each side stays
5241
- * its own record; this only says the two describe one thing. Resolves by
5242
- * AT-URI, since they will keep editing their copy.
5243
- */
5244
- sameAs: externalRecordRefSchema.optional(),
5245
- position: strongRefSchema.optional(),
5246
- startedAt: partialDateSchema.optional(),
5247
- endedAt: partialDateSchema.optional(),
5248
- labels: selfLabelsSchema.optional(),
5249
- createdAt: datetimeSchema
5250
- });
5251
5255
  var PublicationAuthorSchema = zod.z.object({
5252
5256
  name: zod.z.string().min(1).refine(maxGraphemes(100)).max(1e3),
5253
5257
  did: didSchema.optional()
@@ -5393,7 +5397,7 @@ function roadmapIssueUrl(issue) {
5393
5397
  }
5394
5398
 
5395
5399
  // src/index.ts
5396
- var SIFA_SDK_VERSION = "0.12.49";
5400
+ var SIFA_SDK_VERSION = "0.12.51";
5397
5401
 
5398
5402
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
5399
5403
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;