@singi-labs/sifa-sdk 0.19.76 → 0.19.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{network-map-DvALufF9.d.ts → network-map-D8JcKu28.d.ts} +1 -50
- package/dist/{network-map-DInAc_DB.d.cts → network-map-Db_EPUDX.d.cts} +1 -50
- package/dist/query/fetchers/index.cjs +28 -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 +5 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/fetchers/rpg.js +22 -0
- package/dist/query/fetchers/rpg.js.map +1 -1
- package/dist/query/hooks/index.cjs +59 -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 +2 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/hooks/use-rpg-claimable.js +19 -0
- package/dist/query/hooks/use-rpg-claimable.js.map +1 -0
- package/dist/query/index.cjs +37 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +5 -5
- package/dist/query/index.d.ts +5 -5
- package/dist/query/index.js +7 -1
- package/dist/query/index.js.map +1 -1
- package/dist/query/keys.js +6 -0
- package/dist/query/keys.js.map +1 -1
- package/dist/resume/funder-cv.js +343 -0
- package/dist/resume/funder-cv.js.map +1 -0
- package/dist/resume/index.cjs +365 -0
- package/dist/resume/index.cjs.map +1 -1
- package/dist/resume/index.d.cts +236 -3
- package/dist/resume/index.d.ts +236 -3
- package/dist/resume/index.js +20 -0
- package/dist/resume/index.js.map +1 -1
- package/dist/{use-user-settings-CYDXJNmI.d.cts → use-user-settings-DWj8BC5K.d.cts} +11 -2
- package/dist/{use-user-settings-B1rJmjQR.d.ts → use-user-settings-fWHkdX3c.d.ts} +11 -2
- package/dist/{user-settings-Qwi6wSnK.d.ts → user-settings-nov4rgwR.d.ts} +74 -2
- package/dist/{user-settings-lenJHz19.d.cts → user-settings-qkxxTwFP.d.cts} +74 -2
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a3 as WriteResult, o as Pro
|
|
|
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 { c as Profile, d as ProfilePosition, W as SkillRef, p as ExternalAccount, X as SkillSuggestion, s as OrgFloorVerdict } from './index-DAiJZvPg.js';
|
|
7
|
-
import { s as sifaQueryKeys,
|
|
7
|
+
import { s as sifaQueryKeys, aI as RefreshPdsResult, b5 as UpdateProfileOverrideInput, b6 as UpdateProfileSelfInput, b7 as UploadAvatarResult, b8 as UploadPronunciationAudioResult, as as PrimarySection, a_ as SubCategoryBulkResult, ax as ProfileLocationInput, p as ExternalAccountInput, n as CreateExternalAccountResult, bc as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a2 as GivenConfirmation, ar as PendingConfirmationsPage, ad as InboxCounts, o as DismissUnlinkedPositionInput, b3 as UnlinkedPositionsResult, at as ProfileCompleteness, aQ as RpgClaimableResponse, aH as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ac as HideProfileItemInput, a7 as HiddenActivityItem, ab as HideActivityItemInput, b1 as UnhideActivityItemInput, f as ActivityPreferences, aY as SiteActivityPresetResponse, b4 as UpdateActivityPreferencesInput, aZ as StatsResponse, i as AppRegistryEntry, a8 as HiddenApp, b as AccountSummary, q as FeaturedProfile, aX as SimilarProfile, P as FetchSuggestionsOptions, b0 as SuggestionsResponse, V as FollowUserResult, x as FetchFollowListOptions, S as FollowListPage, $ as FollowingResponse, z as FetchFollowingFeedOptions, Z as FollowingFeedResponse, _ as FollowingFeedVersion, y as FetchFollowProfilePageOptions, U as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, t as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a6 as HeatmapResponse, af as MyGithubPullRequestsResponse, A as AccountCheckResult, aG as ReactionStatus, aF as ReactionResult, aE as ReactionError, aP as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, aK as ResetProfileResult, bd as WipePreview, aJ as RepoDeleteInput, ah as OrgClaimResult, an as OrgProfileUpdateResult, ai as OrgDomainChallengeResult, aj as OrgDomainVerifyResult, ak as OrgNotificationEmailAddResult, al as OrgNotificationEmailRemoveResult, b9 as UserSettings } from './user-settings-nov4rgwR.js';
|
|
8
8
|
import { z } from 'zod';
|
|
9
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-ceqefXAw.js';
|
|
10
10
|
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-BShvhyFp.js';
|
|
@@ -491,6 +491,15 @@ declare function useDismissUnlinkedPosition(options?: Omit<UseMutationOptions<Wr
|
|
|
491
491
|
*/
|
|
492
492
|
declare function useProfileCompleteness(options?: Omit<UseQueryOptions<ProfileCompleteness, Error, ProfileCompleteness, ReturnType<typeof sifaQueryKeys.profile.completeness>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ProfileCompleteness, Error>;
|
|
493
493
|
|
|
494
|
+
/**
|
|
495
|
+
* How many rpg.actor items the signed-in user can claim right now, for the
|
|
496
|
+
* Inbox item and the bell dropdown. Returns `{ count: 0 }` when signed out or
|
|
497
|
+
* on error.
|
|
498
|
+
*/
|
|
499
|
+
declare function useRpgClaimable(options?: Omit<UseQueryOptions<RpgClaimableResponse, Error, RpgClaimableResponse, ReturnType<typeof sifaQueryKeys.rpg.claimable>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<{
|
|
500
|
+
count: number;
|
|
501
|
+
}, Error>;
|
|
502
|
+
|
|
494
503
|
/** React hook for hiding a keytrace claim. Variable: the claim `rkey` string. */
|
|
495
504
|
declare function useHideKeytraceClaim(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
|
|
496
505
|
/** React hook for unhiding a previously-hidden keytrace claim. */
|
|
@@ -1127,4 +1136,4 @@ declare function useUpdateUserSettings(): _tanstack_react_query.UseMutationResul
|
|
|
1127
1136
|
showCitationCounts: boolean;
|
|
1128
1137
|
}>, unknown>;
|
|
1129
1138
|
|
|
1130
|
-
export { useAppsRegistry as $, type AddFeatureAllowlistVariables as A, VerificationLogSchema as B, type CreateOrgAttestationInput as C, type DeleteReactionVariables as D, createOrgAttestation as E, type FetchOrgAttestationOptions as F, fetchAttestationRequests as G, fetchOrgAttestations as H, fetchVerificationLog as I, offboardOrgAttestation as J, rejectAttestationRequest as K, requestEmploymentConfirmation as L, revokeOrgAttestation as M, useAccounts as N, type OrgAttestation as O, type PositionSkillLinkVariables as P, useActivityFeed as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useActivityPreferences as T, type UnfollowVariables as U, VERIFICATION_EVENT_KINDS as V, useActivityTeaser as W, useAddFeatureAllowlist as X, useAddOrgNotificationEmail as Y, useAdminReviewQueues as Z, useAppAccountCheck as _, type AttestationRequest as a, useOffboardOrgAttestation as a$, useAtFundLink as a0, useAttestationRequests as a1, useBlueskySuggestions as a2, useBulkHideProfileItems as a3, useBulkHideStandardPublications as a4, useBulkUnhideProfileItems as a5, useBulkUnhideStandardPublications as a6, useCanonicalSkillSearch as a7, useCastRoadmapVote as a8, useCreateConfirmation as a9, useFeatureAllowlist as aA, useFeaturedProfile as aB, useFollow as aC, useFollowers as aD, useFollowing as aE, useFollowingFeed as aF, useFollowingFeedVersion as aG, useFollowingList as aH, useGetProfileView as aI, useGivenConfirmations as aJ, useHeatmapData as aK, useHiddenActivityItems as aL, useHiddenApps as aM, useHideActivityItem as aN, useHideKeytraceClaim as aO, useHideOrcidPublication as aP, useHideProfileItem as aQ, useHideSifaPublication as aR, useHideStandardPublication as aS, useImportSearchEntities as aT, useInboxCounts as aU, useLinkSkillToPosition as aV, useMintEntityDomain as aW, useMutuals as aX, useMyGithubPullRequests as aY, useMyRoadmapVotes as aZ, useNetworkStreamCount as a_, useCreateEducation as aa, useCreateEndorsement as ab, useCreateExternalAccount as ac, useCreateOrgAttestation as ad, useCreatePosition as ae, useCreateProfileLocation as af, useCreateReaction as ag, useCreateRecord as ah, useCreateSkill as ai, useDebouncedValue as aj, useDeleteAccount as ak, useDeleteAvatarOverride as al, useDeleteEducation as am, useDeleteExternalAccount as an, useDeleteNamePronunciationAudio as ao, useDeletePosition as ap, useDeleteProfileLocation as aq, useDeleteReaction as ar, useDeleteRecord as as, useDeleteRepoRecords as at, useDeleteSkill as au, useDismissConfirmation as av, useDismissUnlinkedPosition as aw, useEndorsementCount as ax, useEntitySearch as ay, useExternalAccounts as az, AttestationRequestSchema as b,
|
|
1139
|
+
export { useAppsRegistry as $, type AddFeatureAllowlistVariables as A, VerificationLogSchema as B, type CreateOrgAttestationInput as C, type DeleteReactionVariables as D, createOrgAttestation as E, type FetchOrgAttestationOptions as F, fetchAttestationRequests as G, fetchOrgAttestations as H, fetchVerificationLog as I, offboardOrgAttestation as J, rejectAttestationRequest as K, requestEmploymentConfirmation as L, revokeOrgAttestation as M, useAccounts as N, type OrgAttestation as O, type PositionSkillLinkVariables as P, useActivityFeed as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useActivityPreferences as T, type UnfollowVariables as U, VERIFICATION_EVENT_KINDS as V, useActivityTeaser as W, useAddFeatureAllowlist as X, useAddOrgNotificationEmail as Y, useAdminReviewQueues as Z, useAppAccountCheck as _, type AttestationRequest as a, useOffboardOrgAttestation as a$, useAtFundLink as a0, useAttestationRequests as a1, useBlueskySuggestions as a2, useBulkHideProfileItems as a3, useBulkHideStandardPublications as a4, useBulkUnhideProfileItems as a5, useBulkUnhideStandardPublications as a6, useCanonicalSkillSearch as a7, useCastRoadmapVote as a8, useCreateConfirmation as a9, useFeatureAllowlist as aA, useFeaturedProfile as aB, useFollow as aC, useFollowers as aD, useFollowing as aE, useFollowingFeed as aF, useFollowingFeedVersion as aG, useFollowingList as aH, useGetProfileView as aI, useGivenConfirmations as aJ, useHeatmapData as aK, useHiddenActivityItems as aL, useHiddenApps as aM, useHideActivityItem as aN, useHideKeytraceClaim as aO, useHideOrcidPublication as aP, useHideProfileItem as aQ, useHideSifaPublication as aR, useHideStandardPublication as aS, useImportSearchEntities as aT, useInboxCounts as aU, useLinkSkillToPosition as aV, useMintEntityDomain as aW, useMutuals as aX, useMyGithubPullRequests as aY, useMyRoadmapVotes as aZ, useNetworkStreamCount as a_, useCreateEducation as aa, useCreateEndorsement as ab, useCreateExternalAccount as ac, useCreateOrgAttestation as ad, useCreatePosition as ae, useCreateProfileLocation as af, useCreateReaction as ag, useCreateRecord as ah, useCreateSkill as ai, useDebouncedValue as aj, useDeleteAccount as ak, useDeleteAvatarOverride as al, useDeleteEducation as am, useDeleteExternalAccount as an, useDeleteNamePronunciationAudio as ao, useDeletePosition as ap, useDeleteProfileLocation as aq, useDeleteReaction as ar, useDeleteRecord as as, useDeleteRepoRecords as at, useDeleteSkill as au, useDismissConfirmation as av, useDismissUnlinkedPosition as aw, useEndorsementCount as ax, useEntitySearch as ay, useExternalAccounts as az, AttestationRequestSchema as b, useUploadNamePronunciationAudio as b$, useOrgAttestations as b0, useOrgClaim as b1, useOrgDomainChallenge as b2, useOrgDomainVerify as b3, useOrgProfile as b4, usePendingConfirmations as b5, useProfile as b6, useProfileCompleteness as b7, useReactionStatus as b8, useRefreshOrcidPublications as b9, useSuggestions as bA, useUnfollow as bB, useUnhideActivityItem as bC, useUnhideKeytraceClaim as bD, useUnhideOrcidPublication as bE, useUnhideProfileItem as bF, useUnhideSifaPublication as bG, useUnhideStandardPublication as bH, useUnlinkSkillFromPosition as bI, useUnlinkedPositions as bJ, useUnrevealMarqueDomain as bK, useUnsetExternalAccountPrimary as bL, useUnsetPositionPrimary as bM, useUnsetSectionPrimary as bN, useUpdateActivityPreferences as bO, useUpdateEducation as bP, useUpdateExternalAccount as bQ, useUpdateOrgProfile as bR, useUpdatePosition as bS, useUpdateProfileLocation as bT, useUpdateProfileOverride as bU, useUpdateProfileSelf as bV, useUpdateRecord as bW, useUpdateSkill as bX, useUpdateSkillSubCategories as bY, useUpdateUserSettings as bZ, useUploadAvatar as b_, useRefreshPds as ba, useRejectAttestationRequest as bb, useRemoveFeatureAllowlist as bc, useRemoveOrgNotificationEmail as bd, useRepoInventory as be, useRequestEmploymentConfirmation as bf, useResetProfile as bg, useResolveEntityDomain as bh, useRetractRoadmapVote as bi, useRevealMarqueDomain as bj, useRevokeConfirmation as bk, useRevokeOrgAttestation as bl, useRoadmapVotes as bm, useRpgClaimable as bn, useSearchFilters as bo, useSearchProfiles as bp, useSelectEntity as bq, useSetExternalAccountPrimary as br, useSetPositionPrimary as bs, useSetSectionPrimary as bt, useSifaConfig as bu, useSimilarProfiles as bv, useSiteActivityPreset as bw, useSkillSuggestions as bx, useStats as by, useSuggestionCount as bz, type AttestationStatus as c, useUserSettings as c0, useVerificationLog as c1, useVerifyExternalAccount as c2, useWipePreview as c3, useSearchCompanies as c4, type CreateOrgAttestationResult as d, type CreateReactionVariables as e, type CreateRecordVariables as f, type DeleteRecordVariables as g, type FetchVerificationLogOptions as h, type FollowVariables as i, OrgAttestationSchema as j, type RequestEmploymentConfirmationInput as k, type RequestEmploymentConfirmationResult as l, type SifaProviderProps as m, type UpdateEducationVariables as n, type UpdateExternalAccountVariables as o, type UpdatePositionVariables as p, type UpdateProfileLocationVariables as q, type UpdateRecordVariables as r, type UpdateSkillSubCategoriesVariables as s, type UpdateSkillVariables as t, type UseEntitySearchOptions as u, type UseMyGithubPullRequestsParams as v, type VerificationEventKind as w, type VerificationLog as x, type VerificationLogEntry as y, VerificationLogEntrySchema as z };
|
|
@@ -1353,6 +1353,74 @@ interface FetchMyGithubPullRequestsOptions extends ApiFetchOptions {
|
|
|
1353
1353
|
*/
|
|
1354
1354
|
declare function fetchMyGithubPullRequests(config: SifaApiConfig, options?: FetchMyGithubPullRequestsOptions): Promise<MyGithubPullRequestsResponse>;
|
|
1355
1355
|
|
|
1356
|
+
/** One rpg.actor item and the viewer's progress on it, as served by `GET /api/rpg/status`. */
|
|
1357
|
+
declare const RpgItemStatusSchema: z.ZodObject<{
|
|
1358
|
+
id: z.ZodString;
|
|
1359
|
+
title: z.ZodString;
|
|
1360
|
+
description: z.ZodString;
|
|
1361
|
+
category: z.ZodString;
|
|
1362
|
+
earned: z.ZodBoolean;
|
|
1363
|
+
state: z.ZodEnum<{
|
|
1364
|
+
claimed: "claimed";
|
|
1365
|
+
earned: "earned";
|
|
1366
|
+
locked: "locked";
|
|
1367
|
+
given: "given";
|
|
1368
|
+
}>;
|
|
1369
|
+
worn: z.ZodDefault<z.ZodBoolean>;
|
|
1370
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
1371
|
+
}, z.core.$strip>;
|
|
1372
|
+
type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;
|
|
1373
|
+
declare const RpgStatusResponseSchema: z.ZodObject<{
|
|
1374
|
+
hasCharacter: z.ZodBoolean;
|
|
1375
|
+
canWriteItems: z.ZodBoolean;
|
|
1376
|
+
canCollect: z.ZodDefault<z.ZodBoolean>;
|
|
1377
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1378
|
+
id: z.ZodString;
|
|
1379
|
+
title: z.ZodString;
|
|
1380
|
+
description: z.ZodString;
|
|
1381
|
+
category: z.ZodString;
|
|
1382
|
+
earned: z.ZodBoolean;
|
|
1383
|
+
state: z.ZodEnum<{
|
|
1384
|
+
claimed: "claimed";
|
|
1385
|
+
earned: "earned";
|
|
1386
|
+
locked: "locked";
|
|
1387
|
+
given: "given";
|
|
1388
|
+
}>;
|
|
1389
|
+
worn: z.ZodDefault<z.ZodBoolean>;
|
|
1390
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
1391
|
+
}, z.core.$strip>>;
|
|
1392
|
+
}, z.core.$strip>;
|
|
1393
|
+
type RpgStatusResponse = z.infer<typeof RpgStatusResponseSchema>;
|
|
1394
|
+
interface FetchRpgStatusOptions extends ApiFetchOptions {
|
|
1395
|
+
/** Forwarded as the `cookie` header for server-side (SSR) calls. */
|
|
1396
|
+
cookieHeader?: string;
|
|
1397
|
+
}
|
|
1398
|
+
/**
|
|
1399
|
+
* Fetch the authenticated viewer's rpg.actor item status. Auth-scoped: relies
|
|
1400
|
+
* on the session cookie (`credentials: 'include'`).
|
|
1401
|
+
*/
|
|
1402
|
+
declare function fetchRpgStatus(config: SifaApiConfig, options?: FetchRpgStatusOptions): Promise<RpgStatusResponse>;
|
|
1403
|
+
/**
|
|
1404
|
+
* How many rpg.actor items the signed-in user can claim right now, for the
|
|
1405
|
+
* Inbox and the bell (`GET /api/rpg/claimable`). The AppView returns 0 unless
|
|
1406
|
+
* the user has a character, collecting is open to them, and at least one item
|
|
1407
|
+
* is earned or given but not yet claimed.
|
|
1408
|
+
*/
|
|
1409
|
+
declare const RpgClaimableResponseSchema: z.ZodObject<{
|
|
1410
|
+
count: z.ZodNumber;
|
|
1411
|
+
}, z.core.$strip>;
|
|
1412
|
+
type RpgClaimableResponse = z.infer<typeof RpgClaimableResponseSchema>;
|
|
1413
|
+
interface FetchRpgClaimableOptions extends ApiFetchOptions {
|
|
1414
|
+
/** Forwarded as the `cookie` header for server-side (SSR) calls. */
|
|
1415
|
+
cookieHeader?: string;
|
|
1416
|
+
}
|
|
1417
|
+
/**
|
|
1418
|
+
* Fetch the viewer's claimable rpg.actor item count. Auth-scoped: relies on the
|
|
1419
|
+
* session cookie. Degrades to `{ count: 0 }` on any failure, so a broken call
|
|
1420
|
+
* means "nothing to claim" rather than a phantom Inbox item.
|
|
1421
|
+
*/
|
|
1422
|
+
declare function fetchRpgClaimable(config: SifaApiConfig, options?: FetchRpgClaimableOptions): Promise<RpgClaimableResponse>;
|
|
1423
|
+
|
|
1356
1424
|
/** Per-URI reaction state for the authenticated viewer. */
|
|
1357
1425
|
interface ReactionStatus {
|
|
1358
1426
|
reacted: boolean;
|
|
@@ -1648,6 +1716,10 @@ declare const sifaQueryKeys: {
|
|
|
1648
1716
|
readonly all: () => readonly ["sifa", "inbox"];
|
|
1649
1717
|
readonly counts: () => readonly ["sifa", "inbox", "counts"];
|
|
1650
1718
|
};
|
|
1719
|
+
readonly rpg: {
|
|
1720
|
+
readonly all: () => readonly ["sifa", "rpg"];
|
|
1721
|
+
readonly claimable: () => readonly ["sifa", "rpg", "claimable"];
|
|
1722
|
+
};
|
|
1651
1723
|
readonly search: {
|
|
1652
1724
|
readonly all: () => readonly ["sifa", "search"];
|
|
1653
1725
|
readonly profiles: (filters: Record<string, unknown>) => readonly ["sifa", "search", "profiles", Record<string, unknown>];
|
|
@@ -1769,7 +1841,7 @@ declare const sifaQueryKeys: {
|
|
|
1769
1841
|
readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
|
|
1770
1842
|
};
|
|
1771
1843
|
};
|
|
1772
|
-
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.profile.completeness> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.position.unlinked> | ReturnType<typeof sifaQueryKeys.inbox.all> | ReturnType<typeof sifaQueryKeys.inbox.counts> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.activity.preferences> | ReturnType<typeof sifaQueryKeys.activity.sitePreset> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.userSettings.all> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
|
|
1844
|
+
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.profile.completeness> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.position.unlinked> | ReturnType<typeof sifaQueryKeys.inbox.all> | ReturnType<typeof sifaQueryKeys.inbox.counts> | ReturnType<typeof sifaQueryKeys.rpg.all> | ReturnType<typeof sifaQueryKeys.rpg.claimable> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.activity.preferences> | ReturnType<typeof sifaQueryKeys.activity.sitePreset> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.userSettings.all> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
|
|
1773
1845
|
|
|
1774
1846
|
/** How a single entity binding was resolved during a claim. */
|
|
1775
1847
|
interface OrgClaimBinding {
|
|
@@ -1883,4 +1955,4 @@ declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSet
|
|
|
1883
1955
|
/** Save the given preferences. Returns the stored settings, or `null` on failure. */
|
|
1884
1956
|
declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
|
|
1885
1957
|
|
|
1886
|
-
export { type
|
|
1958
|
+
export { type FollowingResponse as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchHiddenActivityItemsOptions as G, type FetchHiddenAppsOptions as H, type FetchInboxCountsOptions as I, type FetchMyGithubPullRequestsOptions as J, type FetchMyRoadmapVotesOptions as K, type FetchProfileCompletenessOptions as L, type FetchReactionStatusOptions as M, type FetchRpgClaimableOptions as N, type FetchRpgStatusOptions as O, type FetchSuggestionsOptions as P, type FetchUnlinkedPositionsOptions as Q, type FetchUserSettingsOptions as R, type FollowListPage as S, type FollowProfile as T, type FollowProfilePageResponse as U, type FollowUserResult as V, type FollowingFeedApp as W, type FollowingFeedBuild as X, type FollowingFeedEmptyReason as Y, type FollowingFeedResponse as Z, type FollowingFeedVersion as _, type ConfirmEndorsementResult as a, type SuggestionProfile as a$, type GetAdminReviewQueuesOptions as a0, type GithubPullRequest as a1, type GivenConfirmation as a2, HIDDEN_ITEM_SOURCES as a3, HIDDEN_ITEM_TYPES as a4, type HeatmapDay as a5, type HeatmapResponse as a6, type HiddenActivityItem as a7, type HiddenApp as a8, type HiddenItemSource as a9, type QuotedPostAuthor as aA, type QuotedPostImage as aB, type QuotedPostResult as aC, type QuotedPostView as aD, type ReactionError as aE, type ReactionResult as aF, type ReactionStatus as aG, type RefreshOrcidPublicationsResult as aH, type RefreshPdsResult as aI, type RepoDeleteInput as aJ, type ResetProfileResult as aK, type ResolveQuotedPostsOptions as aL, type RoadmapVoteError as aM, type RoadmapVoteResult as aN, type RoadmapVoter as aO, type RoadmapVotesResponse as aP, type RpgClaimableResponse as aQ, RpgClaimableResponseSchema as aR, type RpgItemStatus as aS, RpgItemStatusSchema as aT, type RpgStatusResponse as aU, RpgStatusResponseSchema as aV, type SifaQueryKey as aW, type SimilarProfile as aX, type SiteActivityPresetResponse as aY, type StatsResponse as aZ, type SubCategoryBulkResult as a_, type HiddenItemType as aa, type HideActivityItemInput as ab, type HideProfileItemInput as ac, type InboxCounts as ad, type ListFeatureAllowlistOptions as ae, type MyGithubPullRequestsResponse as af, type OrgClaimBinding as ag, type OrgClaimResult as ah, type OrgDomainChallengeResult as ai, type OrgDomainVerifyResult as aj, type OrgNotificationEmailAddResult as ak, type OrgNotificationEmailRemoveResult as al, type OrgProfileEcho as am, type OrgProfileUpdateResult as an, PROFILE_COMPLETENESS_SIGNALS as ao, type PdsWipeOutcome as ap, type PendingConfirmation as aq, type PendingConfirmationsPage as ar, type PrimarySection as as, type ProfileCompleteness as at, type ProfileCompletenessSignal as au, type ProfileIndustryInput as av, type ProfileLocationAddress as aw, type ProfileLocationInput as ax, type ProfileSelfLocation as ay, QUOTED_POSTS_BATCH_MAX as az, type AccountSummary as b, fetchSimilarProfiles as b$, type SuggestionsResponse as b0, type UnhideActivityItemInput as b1, type UnlinkedPosition as b2, type UnlinkedPositionsResult as b3, type UpdateActivityPreferencesInput as b4, type UpdateProfileOverrideInput as b5, type UpdateProfileSelfInput as b6, type UploadAvatarResult as b7, type UploadPronunciationAudioResult as b8, type UserSettings as b9, deleteSkill as bA, dismissConfirmation as bB, dismissUnlinkedPosition as bC, fetchAccounts as bD, fetchActivityFeed as bE, fetchActivityPreferences as bF, fetchActivityTeaser as bG, fetchAppsRegistry as bH, fetchExternalAccounts as bI, fetchFeaturedProfile as bJ, fetchFollowing as bK, fetchFollowingFeed as bL, fetchFollowingFeedVersion as bM, fetchGivenConfirmations as bN, fetchHeatmapData as bO, fetchHiddenActivityItems as bP, fetchHiddenApps as bQ, fetchInboxCounts as bR, fetchMyGithubPullRequests as bS, fetchMyRoadmapVotes as bT, fetchPendingConfirmations as bU, fetchProfileCompleteness as bV, fetchReactionStatus as bW, fetchRepoInventory as bX, fetchRoadmapVotes as bY, fetchRpgClaimable as bZ, fetchRpgStatus as b_, type UserSettingsPatch as ba, UserSettingsSchema as bb, type VerifyExternalAccountResult as bc, type WipePreview as bd, addFeatureAllowlist as be, addOrgNotificationEmail as bf, bulkHideProfileItems as bg, bulkHideStandardPublications as bh, bulkUnhideProfileItems as bi, bulkUnhideStandardPublications as bj, castRoadmapVote as bk, checkAppAccount as bl, confirmEndorsement as bm, createConfirmation as bn, createEndorsement as bo, createExternalAccount as bp, createProfileLocation as bq, createReaction as br, createSkill as bs, deleteAccount as bt, deleteAvatarOverride as bu, deleteExternalAccount as bv, deleteNamePronunciationAudio as bw, deleteProfileLocation as bx, deleteReaction as by, deleteRepoRecords as bz, type ActivityFeedResponse as c, fetchSiteActivityPreset as c0, fetchStats as c1, fetchSuggestionCount as c2, fetchSuggestions as c3, fetchUnlinkedPositions as c4, fetchUserSettings as c5, fetchViewerPositionConfirmations as c6, fetchWipePreview as c7, followUser as c8, getAdminReviewQueues as c9, unhideActivityItem as cA, unhideOrcidPublication as cB, unhideProfileItem as cC, unhideSifaPublication as cD, unhideStandardPublication as cE, unsetExternalAccountPrimary as cF, unsetSectionPrimary as cG, updateActivityPreferences as cH, updateExternalAccount as cI, updateOrgProfile as cJ, updateProfileLocation as cK, updateProfileOverride as cL, updateProfileSelf as cM, updateSkill as cN, updateSkillSubCategories as cO, updateUserSettings as cP, uploadAvatar as cQ, uploadNamePronunciationAudio as cR, verifyExternalAccount as cS, verifyOrgDomain as cT, getBlueskySuggestions as ca, getFollowers as cb, getFollowing as cc, getMutuals as cd, hideActivityItem as ce, hideOrcidPublication as cf, hideProfileItem as cg, hideSifaPublication as ch, hideStandardPublication as ci, isNewerFollowingFeed as cj, listFeatureAllowlist as ck, refreshOrcidPublications as cl, refreshPds as cm, removeFeatureAllowlist as cn, removeOrgNotificationEmail as co, repoExportUrl as cp, requestOrgDomainChallenge as cq, resetProfile as cr, resolveQuotedPosts as cs, retractRoadmapVote as ct, revokeConfirmation as cu, setExternalAccountPrimary as cv, setSectionPrimary as cw, submitOrgClaim as cx, switchAccount as cy, unfollowUser as cz, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type DismissUnlinkedPositionInput as o, type ExternalAccountInput as p, type FeaturedProfile as q, type FetchAccountsOptions as r, sifaQueryKeys as s, type FetchActivityFeedOptions as t, type FetchActivityPreferencesOptions as u, type FetchActivityTeaserOptions as v, type FetchConfirmationsOptions as w, type FetchFollowListOptions as x, type FetchFollowProfilePageOptions as y, type FetchFollowingFeedOptions as z };
|
|
@@ -1353,6 +1353,74 @@ interface FetchMyGithubPullRequestsOptions extends ApiFetchOptions {
|
|
|
1353
1353
|
*/
|
|
1354
1354
|
declare function fetchMyGithubPullRequests(config: SifaApiConfig, options?: FetchMyGithubPullRequestsOptions): Promise<MyGithubPullRequestsResponse>;
|
|
1355
1355
|
|
|
1356
|
+
/** One rpg.actor item and the viewer's progress on it, as served by `GET /api/rpg/status`. */
|
|
1357
|
+
declare const RpgItemStatusSchema: z.ZodObject<{
|
|
1358
|
+
id: z.ZodString;
|
|
1359
|
+
title: z.ZodString;
|
|
1360
|
+
description: z.ZodString;
|
|
1361
|
+
category: z.ZodString;
|
|
1362
|
+
earned: z.ZodBoolean;
|
|
1363
|
+
state: z.ZodEnum<{
|
|
1364
|
+
claimed: "claimed";
|
|
1365
|
+
earned: "earned";
|
|
1366
|
+
locked: "locked";
|
|
1367
|
+
given: "given";
|
|
1368
|
+
}>;
|
|
1369
|
+
worn: z.ZodDefault<z.ZodBoolean>;
|
|
1370
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
1371
|
+
}, z.core.$strip>;
|
|
1372
|
+
type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;
|
|
1373
|
+
declare const RpgStatusResponseSchema: z.ZodObject<{
|
|
1374
|
+
hasCharacter: z.ZodBoolean;
|
|
1375
|
+
canWriteItems: z.ZodBoolean;
|
|
1376
|
+
canCollect: z.ZodDefault<z.ZodBoolean>;
|
|
1377
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1378
|
+
id: z.ZodString;
|
|
1379
|
+
title: z.ZodString;
|
|
1380
|
+
description: z.ZodString;
|
|
1381
|
+
category: z.ZodString;
|
|
1382
|
+
earned: z.ZodBoolean;
|
|
1383
|
+
state: z.ZodEnum<{
|
|
1384
|
+
claimed: "claimed";
|
|
1385
|
+
earned: "earned";
|
|
1386
|
+
locked: "locked";
|
|
1387
|
+
given: "given";
|
|
1388
|
+
}>;
|
|
1389
|
+
worn: z.ZodDefault<z.ZodBoolean>;
|
|
1390
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
1391
|
+
}, z.core.$strip>>;
|
|
1392
|
+
}, z.core.$strip>;
|
|
1393
|
+
type RpgStatusResponse = z.infer<typeof RpgStatusResponseSchema>;
|
|
1394
|
+
interface FetchRpgStatusOptions extends ApiFetchOptions {
|
|
1395
|
+
/** Forwarded as the `cookie` header for server-side (SSR) calls. */
|
|
1396
|
+
cookieHeader?: string;
|
|
1397
|
+
}
|
|
1398
|
+
/**
|
|
1399
|
+
* Fetch the authenticated viewer's rpg.actor item status. Auth-scoped: relies
|
|
1400
|
+
* on the session cookie (`credentials: 'include'`).
|
|
1401
|
+
*/
|
|
1402
|
+
declare function fetchRpgStatus(config: SifaApiConfig, options?: FetchRpgStatusOptions): Promise<RpgStatusResponse>;
|
|
1403
|
+
/**
|
|
1404
|
+
* How many rpg.actor items the signed-in user can claim right now, for the
|
|
1405
|
+
* Inbox and the bell (`GET /api/rpg/claimable`). The AppView returns 0 unless
|
|
1406
|
+
* the user has a character, collecting is open to them, and at least one item
|
|
1407
|
+
* is earned or given but not yet claimed.
|
|
1408
|
+
*/
|
|
1409
|
+
declare const RpgClaimableResponseSchema: z.ZodObject<{
|
|
1410
|
+
count: z.ZodNumber;
|
|
1411
|
+
}, z.core.$strip>;
|
|
1412
|
+
type RpgClaimableResponse = z.infer<typeof RpgClaimableResponseSchema>;
|
|
1413
|
+
interface FetchRpgClaimableOptions extends ApiFetchOptions {
|
|
1414
|
+
/** Forwarded as the `cookie` header for server-side (SSR) calls. */
|
|
1415
|
+
cookieHeader?: string;
|
|
1416
|
+
}
|
|
1417
|
+
/**
|
|
1418
|
+
* Fetch the viewer's claimable rpg.actor item count. Auth-scoped: relies on the
|
|
1419
|
+
* session cookie. Degrades to `{ count: 0 }` on any failure, so a broken call
|
|
1420
|
+
* means "nothing to claim" rather than a phantom Inbox item.
|
|
1421
|
+
*/
|
|
1422
|
+
declare function fetchRpgClaimable(config: SifaApiConfig, options?: FetchRpgClaimableOptions): Promise<RpgClaimableResponse>;
|
|
1423
|
+
|
|
1356
1424
|
/** Per-URI reaction state for the authenticated viewer. */
|
|
1357
1425
|
interface ReactionStatus {
|
|
1358
1426
|
reacted: boolean;
|
|
@@ -1648,6 +1716,10 @@ declare const sifaQueryKeys: {
|
|
|
1648
1716
|
readonly all: () => readonly ["sifa", "inbox"];
|
|
1649
1717
|
readonly counts: () => readonly ["sifa", "inbox", "counts"];
|
|
1650
1718
|
};
|
|
1719
|
+
readonly rpg: {
|
|
1720
|
+
readonly all: () => readonly ["sifa", "rpg"];
|
|
1721
|
+
readonly claimable: () => readonly ["sifa", "rpg", "claimable"];
|
|
1722
|
+
};
|
|
1651
1723
|
readonly search: {
|
|
1652
1724
|
readonly all: () => readonly ["sifa", "search"];
|
|
1653
1725
|
readonly profiles: (filters: Record<string, unknown>) => readonly ["sifa", "search", "profiles", Record<string, unknown>];
|
|
@@ -1769,7 +1841,7 @@ declare const sifaQueryKeys: {
|
|
|
1769
1841
|
readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
|
|
1770
1842
|
};
|
|
1771
1843
|
};
|
|
1772
|
-
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.profile.completeness> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.position.unlinked> | ReturnType<typeof sifaQueryKeys.inbox.all> | ReturnType<typeof sifaQueryKeys.inbox.counts> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.activity.preferences> | ReturnType<typeof sifaQueryKeys.activity.sitePreset> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.userSettings.all> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
|
|
1844
|
+
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.profile.completeness> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.position.unlinked> | ReturnType<typeof sifaQueryKeys.inbox.all> | ReturnType<typeof sifaQueryKeys.inbox.counts> | ReturnType<typeof sifaQueryKeys.rpg.all> | ReturnType<typeof sifaQueryKeys.rpg.claimable> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.activity.preferences> | ReturnType<typeof sifaQueryKeys.activity.sitePreset> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.userSettings.all> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
|
|
1773
1845
|
|
|
1774
1846
|
/** How a single entity binding was resolved during a claim. */
|
|
1775
1847
|
interface OrgClaimBinding {
|
|
@@ -1883,4 +1955,4 @@ declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSet
|
|
|
1883
1955
|
/** Save the given preferences. Returns the stored settings, or `null` on failure. */
|
|
1884
1956
|
declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
|
|
1885
1957
|
|
|
1886
|
-
export { type
|
|
1958
|
+
export { type FollowingResponse as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchHiddenActivityItemsOptions as G, type FetchHiddenAppsOptions as H, type FetchInboxCountsOptions as I, type FetchMyGithubPullRequestsOptions as J, type FetchMyRoadmapVotesOptions as K, type FetchProfileCompletenessOptions as L, type FetchReactionStatusOptions as M, type FetchRpgClaimableOptions as N, type FetchRpgStatusOptions as O, type FetchSuggestionsOptions as P, type FetchUnlinkedPositionsOptions as Q, type FetchUserSettingsOptions as R, type FollowListPage as S, type FollowProfile as T, type FollowProfilePageResponse as U, type FollowUserResult as V, type FollowingFeedApp as W, type FollowingFeedBuild as X, type FollowingFeedEmptyReason as Y, type FollowingFeedResponse as Z, type FollowingFeedVersion as _, type ConfirmEndorsementResult as a, type SuggestionProfile as a$, type GetAdminReviewQueuesOptions as a0, type GithubPullRequest as a1, type GivenConfirmation as a2, HIDDEN_ITEM_SOURCES as a3, HIDDEN_ITEM_TYPES as a4, type HeatmapDay as a5, type HeatmapResponse as a6, type HiddenActivityItem as a7, type HiddenApp as a8, type HiddenItemSource as a9, type QuotedPostAuthor as aA, type QuotedPostImage as aB, type QuotedPostResult as aC, type QuotedPostView as aD, type ReactionError as aE, type ReactionResult as aF, type ReactionStatus as aG, type RefreshOrcidPublicationsResult as aH, type RefreshPdsResult as aI, type RepoDeleteInput as aJ, type ResetProfileResult as aK, type ResolveQuotedPostsOptions as aL, type RoadmapVoteError as aM, type RoadmapVoteResult as aN, type RoadmapVoter as aO, type RoadmapVotesResponse as aP, type RpgClaimableResponse as aQ, RpgClaimableResponseSchema as aR, type RpgItemStatus as aS, RpgItemStatusSchema as aT, type RpgStatusResponse as aU, RpgStatusResponseSchema as aV, type SifaQueryKey as aW, type SimilarProfile as aX, type SiteActivityPresetResponse as aY, type StatsResponse as aZ, type SubCategoryBulkResult as a_, type HiddenItemType as aa, type HideActivityItemInput as ab, type HideProfileItemInput as ac, type InboxCounts as ad, type ListFeatureAllowlistOptions as ae, type MyGithubPullRequestsResponse as af, type OrgClaimBinding as ag, type OrgClaimResult as ah, type OrgDomainChallengeResult as ai, type OrgDomainVerifyResult as aj, type OrgNotificationEmailAddResult as ak, type OrgNotificationEmailRemoveResult as al, type OrgProfileEcho as am, type OrgProfileUpdateResult as an, PROFILE_COMPLETENESS_SIGNALS as ao, type PdsWipeOutcome as ap, type PendingConfirmation as aq, type PendingConfirmationsPage as ar, type PrimarySection as as, type ProfileCompleteness as at, type ProfileCompletenessSignal as au, type ProfileIndustryInput as av, type ProfileLocationAddress as aw, type ProfileLocationInput as ax, type ProfileSelfLocation as ay, QUOTED_POSTS_BATCH_MAX as az, type AccountSummary as b, fetchSimilarProfiles as b$, type SuggestionsResponse as b0, type UnhideActivityItemInput as b1, type UnlinkedPosition as b2, type UnlinkedPositionsResult as b3, type UpdateActivityPreferencesInput as b4, type UpdateProfileOverrideInput as b5, type UpdateProfileSelfInput as b6, type UploadAvatarResult as b7, type UploadPronunciationAudioResult as b8, type UserSettings as b9, deleteSkill as bA, dismissConfirmation as bB, dismissUnlinkedPosition as bC, fetchAccounts as bD, fetchActivityFeed as bE, fetchActivityPreferences as bF, fetchActivityTeaser as bG, fetchAppsRegistry as bH, fetchExternalAccounts as bI, fetchFeaturedProfile as bJ, fetchFollowing as bK, fetchFollowingFeed as bL, fetchFollowingFeedVersion as bM, fetchGivenConfirmations as bN, fetchHeatmapData as bO, fetchHiddenActivityItems as bP, fetchHiddenApps as bQ, fetchInboxCounts as bR, fetchMyGithubPullRequests as bS, fetchMyRoadmapVotes as bT, fetchPendingConfirmations as bU, fetchProfileCompleteness as bV, fetchReactionStatus as bW, fetchRepoInventory as bX, fetchRoadmapVotes as bY, fetchRpgClaimable as bZ, fetchRpgStatus as b_, type UserSettingsPatch as ba, UserSettingsSchema as bb, type VerifyExternalAccountResult as bc, type WipePreview as bd, addFeatureAllowlist as be, addOrgNotificationEmail as bf, bulkHideProfileItems as bg, bulkHideStandardPublications as bh, bulkUnhideProfileItems as bi, bulkUnhideStandardPublications as bj, castRoadmapVote as bk, checkAppAccount as bl, confirmEndorsement as bm, createConfirmation as bn, createEndorsement as bo, createExternalAccount as bp, createProfileLocation as bq, createReaction as br, createSkill as bs, deleteAccount as bt, deleteAvatarOverride as bu, deleteExternalAccount as bv, deleteNamePronunciationAudio as bw, deleteProfileLocation as bx, deleteReaction as by, deleteRepoRecords as bz, type ActivityFeedResponse as c, fetchSiteActivityPreset as c0, fetchStats as c1, fetchSuggestionCount as c2, fetchSuggestions as c3, fetchUnlinkedPositions as c4, fetchUserSettings as c5, fetchViewerPositionConfirmations as c6, fetchWipePreview as c7, followUser as c8, getAdminReviewQueues as c9, unhideActivityItem as cA, unhideOrcidPublication as cB, unhideProfileItem as cC, unhideSifaPublication as cD, unhideStandardPublication as cE, unsetExternalAccountPrimary as cF, unsetSectionPrimary as cG, updateActivityPreferences as cH, updateExternalAccount as cI, updateOrgProfile as cJ, updateProfileLocation as cK, updateProfileOverride as cL, updateProfileSelf as cM, updateSkill as cN, updateSkillSubCategories as cO, updateUserSettings as cP, uploadAvatar as cQ, uploadNamePronunciationAudio as cR, verifyExternalAccount as cS, verifyOrgDomain as cT, getBlueskySuggestions as ca, getFollowers as cb, getFollowing as cc, getMutuals as cd, hideActivityItem as ce, hideOrcidPublication as cf, hideProfileItem as cg, hideSifaPublication as ch, hideStandardPublication as ci, isNewerFollowingFeed as cj, listFeatureAllowlist as ck, refreshOrcidPublications as cl, refreshPds as cm, removeFeatureAllowlist as cn, removeOrgNotificationEmail as co, repoExportUrl as cp, requestOrgDomainChallenge as cq, resetProfile as cr, resolveQuotedPosts as cs, retractRoadmapVote as ct, revokeConfirmation as cu, setExternalAccountPrimary as cv, setSectionPrimary as cw, submitOrgClaim as cx, switchAccount as cy, unfollowUser as cz, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type DismissUnlinkedPositionInput as o, type ExternalAccountInput as p, type FeaturedProfile as q, type FetchAccountsOptions as r, sifaQueryKeys as s, type FetchActivityFeedOptions as t, type FetchActivityPreferencesOptions as u, type FetchActivityTeaserOptions as v, type FetchConfirmationsOptions as w, type FetchFollowListOptions as x, type FetchFollowProfilePageOptions as y, type FetchFollowingFeedOptions as z };
|
package/package.json
CHANGED