@singi-labs/sifa-sdk 0.19.74 → 0.19.76
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/format/index.js +2 -0
- package/dist/format/index.js.map +1 -1
- package/dist/format/openalex.js +10 -0
- package/dist/format/openalex.js.map +1 -0
- package/dist/{index-BFdNI6jA.d.ts → index-DAiJZvPg.d.ts} +8 -0
- package/dist/{index-BzkaABDb.d.cts → index-k6tBrbEU.d.cts} +8 -0
- package/dist/index.cjs +71 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -6
- package/dist/index.d.ts +14 -6
- package/dist/index.js +27 -1
- package/dist/index.js.map +1 -1
- package/dist/jsonld/index.d.cts +1 -1
- package/dist/jsonld/index.d.ts +1 -1
- package/dist/logic/index.js +26 -0
- package/dist/logic/index.js.map +1 -1
- package/dist/logic/site-activity-preset.js +68 -0
- package/dist/logic/site-activity-preset.js.map +1 -0
- package/dist/{network-map-BRBzAHrT.d.cts → network-map-DInAc_DB.d.cts} +3 -3
- package/dist/{network-map-DIUQSB0r.d.ts → network-map-DvALufF9.d.ts} +3 -3
- package/dist/{profile-summary-X4MGExfS.d.cts → profile-summary-BcbJrph1.d.cts} +1 -1
- package/dist/{profile-summary-6GySSJvO.d.ts → profile-summary-PRDqxAQT.d.ts} +1 -1
- package/dist/query/fetchers/activity-preferences.js +43 -0
- package/dist/query/fetchers/activity-preferences.js.map +1 -0
- package/dist/query/fetchers/activity.js +3 -0
- package/dist/query/fetchers/activity.js.map +1 -1
- package/dist/query/fetchers/index.cjs +88 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +6 -6
- package/dist/query/fetchers/index.d.ts +6 -6
- package/dist/query/fetchers/index.js +16 -0
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/fetchers/user-settings.js +48 -0
- package/dist/query/fetchers/user-settings.js.map +1 -0
- package/dist/query/hooks/index.cjs +141 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +4 -4
- package/dist/query/hooks/index.d.ts +4 -4
- package/dist/query/hooks/index.js +11 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/hooks/use-activity-preferences.js +53 -0
- package/dist/query/hooks/use-activity-preferences.js.map +1 -0
- package/dist/query/hooks/use-activity.js.map +1 -1
- package/dist/query/hooks/use-user-settings.js +34 -0
- package/dist/query/hooks/use-user-settings.js.map +1 -0
- package/dist/query/index.cjs +143 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +9 -9
- package/dist/query/index.d.ts +9 -9
- package/dist/query/index.js +27 -0
- package/dist/query/index.js.map +1 -1
- package/dist/query/keys.js +7 -1
- package/dist/query/keys.js.map +1 -1
- package/dist/resume/index.d.cts +1 -1
- package/dist/resume/index.d.ts +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DxMMqOJo.d.ts → types-CI24asgo.d.ts} +72 -2
- package/dist/{types-DXep6553.d.cts → types-qw55KvoV.d.cts} +72 -2
- package/dist/{use-org-notification-emails-CfDfHwBl.d.ts → use-user-settings-B1rJmjQR.d.ts} +32 -5
- package/dist/{use-org-notification-emails-5V3ZAlRd.d.cts → use-user-settings-CYDXJNmI.d.cts} +32 -5
- package/dist/{org-Spq8yU-B.d.ts → user-settings-Qwi6wSnK.d.ts} +89 -4
- package/dist/{org-A9Tz-Uv9.d.cts → user-settings-lenJHz19.d.cts} +89 -4
- package/package.json +1 -1
package/dist/{use-org-notification-emails-5V3ZAlRd.d.cts → use-user-settings-CYDXJNmI.d.cts}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a3 as WriteResult, o as ProfileView, a2 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-qw55KvoV.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, W as SkillRef, p as ExternalAccount, X as SkillSuggestion, s as OrgFloorVerdict } from './index-
|
|
7
|
-
import { s as sifaQueryKeys,
|
|
6
|
+
import { c as Profile, d as ProfilePosition, W as SkillRef, p as ExternalAccount, X as SkillSuggestion, s as OrgFloorVerdict } from './index-k6tBrbEU.cjs';
|
|
7
|
+
import { s as sifaQueryKeys, aG as RefreshPdsResult, aZ as UpdateProfileOverrideInput, a_ as UpdateProfileSelfInput, a$ as UploadAvatarResult, b0 as UploadPronunciationAudioResult, aq as PrimarySection, aS as SubCategoryBulkResult, av as ProfileLocationInput, p as ExternalAccountInput, n as CreateExternalAccountResult, b4 as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a0 as GivenConfirmation, ap as PendingConfirmationsPage, ab as InboxCounts, o as DismissUnlinkedPositionInput, aX as UnlinkedPositionsResult, ar as ProfileCompleteness, aF as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, aa as HideProfileItemInput, a5 as HiddenActivityItem, a9 as HideActivityItemInput, aV as UnhideActivityItemInput, f as ActivityPreferences, aQ as SiteActivityPresetResponse, aY as UpdateActivityPreferencesInput, aR as StatsResponse, i as AppRegistryEntry, a6 as HiddenApp, b as AccountSummary, q as FeaturedProfile, aP as SimilarProfile, N as FetchSuggestionsOptions, aU as SuggestionsResponse, T as FollowUserResult, x as FetchFollowListOptions, Q as FollowListPage, Z as FollowingResponse, z as FetchFollowingFeedOptions, X as FollowingFeedResponse, Y as FollowingFeedVersion, y as FetchFollowProfilePageOptions, S as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, t as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a4 as HeatmapResponse, ad as MyGithubPullRequestsResponse, A as AccountCheckResult, aE as ReactionStatus, aD as ReactionResult, aC as ReactionError, aN as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, aI as ResetProfileResult, b5 as WipePreview, aH as RepoDeleteInput, af as OrgClaimResult, al as OrgProfileUpdateResult, ag as OrgDomainChallengeResult, ah as OrgDomainVerifyResult, ai as OrgNotificationEmailAddResult, aj as OrgNotificationEmailRemoveResult, b1 as UserSettings } from './user-settings-lenJHz19.cjs';
|
|
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-CQ3DTTak.cjs';
|
|
10
10
|
import { O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, c as OrgDomainVerifyRequestInput, d as OrgNotificationEmailRequestInput } from './org-settings-C73Sin5E.cjs';
|
|
@@ -546,6 +546,13 @@ declare const useHideActivityItem: (options?: Omit<UseMutationOptions<WriteResul
|
|
|
546
546
|
/** Restore a previously-hidden activity item. */
|
|
547
547
|
declare const useUnhideActivityItem: (options?: Omit<UseMutationOptions<WriteResult, Error, UnhideActivityItemInput, unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, UnhideActivityItemInput, unknown>;
|
|
548
548
|
|
|
549
|
+
/** The authenticated user's own activity preferences. */
|
|
550
|
+
declare function useActivityPreferences(options?: Omit<UseQueryOptions<ActivityPreferences | null, Error, ActivityPreferences | null, ReturnType<typeof sifaQueryKeys.activity.preferences>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ActivityPreferences | null, Error>;
|
|
551
|
+
/** Anyone's personal-site preset, by handle or DID. */
|
|
552
|
+
declare function useSiteActivityPreset(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<SiteActivityPresetResponse | null, Error, SiteActivityPresetResponse | null, ReturnType<typeof sifaQueryKeys.activity.sitePreset>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<SiteActivityPresetResponse | null, Error>;
|
|
553
|
+
/** Update the caller's own preferences, then refresh every activity query. */
|
|
554
|
+
declare function useUpdateActivityPreferences(options?: Omit<UseMutationOptions<WriteResult<Partial<ActivityPreferences>>, Error, UpdateActivityPreferencesInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult<Partial<ActivityPreferences>>, Error, UpdateActivityPreferencesInput, unknown>;
|
|
555
|
+
|
|
549
556
|
/**
|
|
550
557
|
* React hook for the public homepage stats. Returns `null` data on error.
|
|
551
558
|
*/
|
|
@@ -831,7 +838,7 @@ declare function useAdminReviewQueues(options?: Omit<UseQueryOptions<AdminReview
|
|
|
831
838
|
|
|
832
839
|
declare function useHeatmapData(handleOrDid: string | undefined | null, days: number, options?: Omit<UseQueryOptions<HeatmapResponse | null, Error, HeatmapResponse | null, ReturnType<typeof sifaQueryKeys.activity.heatmap>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<HeatmapResponse | null, Error>;
|
|
833
840
|
declare function useActivityTeaser(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<ActivityTeaserResponse | null, Error, ActivityTeaserResponse | null, ReturnType<typeof sifaQueryKeys.activity.teaser>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ActivityTeaserResponse | null, Error>;
|
|
834
|
-
declare function useActivityFeed(handleOrDid: string | undefined | null, opts?: Pick<FetchActivityFeedOptions, 'category' | 'limit' | 'cursor'>, options?: Omit<UseQueryOptions<ActivityFeedResponse | null, Error, ActivityFeedResponse | null, ReturnType<typeof sifaQueryKeys.activity.feed>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ActivityFeedResponse | null, Error>;
|
|
841
|
+
declare function useActivityFeed(handleOrDid: string | undefined | null, opts?: Pick<FetchActivityFeedOptions, 'category' | 'categories' | 'tags' | 'preset' | 'limit' | 'cursor'>, options?: Omit<UseQueryOptions<ActivityFeedResponse | null, Error, ActivityFeedResponse | null, ReturnType<typeof sifaQueryKeys.activity.feed>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<ActivityFeedResponse | null, Error>;
|
|
835
842
|
|
|
836
843
|
interface UseMyGithubPullRequestsParams {
|
|
837
844
|
limit?: number;
|
|
@@ -1100,4 +1107,24 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
|
|
|
1100
1107
|
email: string;
|
|
1101
1108
|
}, unknown>;
|
|
1102
1109
|
|
|
1103
|
-
|
|
1110
|
+
/** The signed-in user's account preferences; `null` when signed out. */
|
|
1111
|
+
declare function useUserSettings(options?: Omit<UseQueryOptions<UserSettings | null, Error, UserSettings | null, ReturnType<typeof sifaQueryKeys.userSettings.all>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<{
|
|
1112
|
+
respectBskyBlocks: boolean;
|
|
1113
|
+
autoLinkCompanies: boolean;
|
|
1114
|
+
showCitationCounts: boolean;
|
|
1115
|
+
} | null, Error>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Save one or more preferences, then write the stored result into the
|
|
1118
|
+
* settings cache. A failed save resolves to `null` and leaves the cache as is.
|
|
1119
|
+
*/
|
|
1120
|
+
declare function useUpdateUserSettings(): _tanstack_react_query.UseMutationResult<{
|
|
1121
|
+
respectBskyBlocks: boolean;
|
|
1122
|
+
autoLinkCompanies: boolean;
|
|
1123
|
+
showCitationCounts: boolean;
|
|
1124
|
+
} | null, Error, Partial<{
|
|
1125
|
+
respectBskyBlocks: boolean;
|
|
1126
|
+
autoLinkCompanies: boolean;
|
|
1127
|
+
showCitationCounts: boolean;
|
|
1128
|
+
}>, unknown>;
|
|
1129
|
+
|
|
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, useUserSettings 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, useUnfollow as bA, useUnhideActivityItem as bB, useUnhideKeytraceClaim as bC, useUnhideOrcidPublication as bD, useUnhideProfileItem as bE, useUnhideSifaPublication as bF, useUnhideStandardPublication as bG, useUnlinkSkillFromPosition as bH, useUnlinkedPositions as bI, useUnrevealMarqueDomain as bJ, useUnsetExternalAccountPrimary as bK, useUnsetPositionPrimary as bL, useUnsetSectionPrimary as bM, useUpdateActivityPreferences as bN, useUpdateEducation as bO, useUpdateExternalAccount as bP, useUpdateOrgProfile as bQ, useUpdatePosition as bR, useUpdateProfileLocation as bS, useUpdateProfileOverride as bT, useUpdateProfileSelf as bU, useUpdateRecord as bV, useUpdateSkill as bW, useUpdateSkillSubCategories as bX, useUpdateUserSettings as bY, useUploadAvatar as bZ, useUploadNamePronunciationAudio 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, useSearchFilters as bn, useSearchProfiles as bo, useSelectEntity as bp, useSetExternalAccountPrimary as bq, useSetPositionPrimary as br, useSetSectionPrimary as bs, useSifaConfig as bt, useSimilarProfiles as bu, useSiteActivityPreset as bv, useSkillSuggestions as bw, useStats as bx, useSuggestionCount as by, useSuggestions as bz, type AttestationStatus as c, useVerificationLog as c0, useVerifyExternalAccount as c1, useWipePreview as c2, useSearchCompanies as c3, 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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { p as ExternalAccount, y as PositionViewerConfirmation } from './index-
|
|
1
|
+
import { a3 as WriteResult, a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, K as SiteActivityPreset, b as ActivityLabel, u as RepoDeleteResult, x as RepoInventory } from './types-CI24asgo.js';
|
|
2
|
+
import { p as ExternalAccount, y as PositionViewerConfirmation } from './index-DAiJZvPg.js';
|
|
3
3
|
import { a as AccountVerification } from './verification-providers-7il3kPQS.js';
|
|
4
4
|
import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-ceqefXAw.js';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -637,6 +637,49 @@ declare function unhideActivityItem(config: SifaApiConfig, input: UnhideActivity
|
|
|
637
637
|
*/
|
|
638
638
|
declare function fetchHiddenActivityItems(config: SifaApiConfig, options?: FetchHiddenActivityItemsOptions): Promise<HiddenActivityItem[]>;
|
|
639
639
|
|
|
640
|
+
/**
|
|
641
|
+
* The authenticated user's activity preferences, resolved to an answer for
|
|
642
|
+
* every known key. `sitePreset` is the personal-site "show only" filter; both
|
|
643
|
+
* lists empty means no preset.
|
|
644
|
+
*/
|
|
645
|
+
interface ActivityPreferences {
|
|
646
|
+
streamCategories: Record<string, boolean>;
|
|
647
|
+
digestItemTypes: Record<string, boolean>;
|
|
648
|
+
sitePreset: SiteActivityPreset;
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* Partial update. Only the keys present change. `sitePreset`, when present,
|
|
652
|
+
* replaces the whole stored preset; send empty lists to clear it.
|
|
653
|
+
*/
|
|
654
|
+
interface UpdateActivityPreferencesInput {
|
|
655
|
+
streamCategories?: Record<string, boolean>;
|
|
656
|
+
digestItemTypes?: Record<string, boolean>;
|
|
657
|
+
sitePreset?: SiteActivityPreset;
|
|
658
|
+
}
|
|
659
|
+
/** A user's personal-site preset as anyone can read it. */
|
|
660
|
+
interface SiteActivityPresetResponse extends SiteActivityPreset {
|
|
661
|
+
did: string;
|
|
662
|
+
/** False when both lists are empty, i.e. the site shows all activity. */
|
|
663
|
+
active: boolean;
|
|
664
|
+
}
|
|
665
|
+
interface FetchActivityPreferencesOptions extends ApiFetchOptions {
|
|
666
|
+
/**
|
|
667
|
+
* Pass the caller's `Cookie` header on Next.js RSC server-side calls.
|
|
668
|
+
* `credentials: 'include'` does NOT propagate browser cookies in RSC.
|
|
669
|
+
*/
|
|
670
|
+
cookieHeader?: string;
|
|
671
|
+
}
|
|
672
|
+
/** The caller's own preferences. Returns `null` on any error. */
|
|
673
|
+
declare function fetchActivityPreferences(config: SifaApiConfig, options?: FetchActivityPreferencesOptions): Promise<ActivityPreferences | null>;
|
|
674
|
+
/** Update the caller's own preferences. */
|
|
675
|
+
declare function updateActivityPreferences(config: SifaApiConfig, input: UpdateActivityPreferencesInput, options?: ApiFetchOptions): Promise<WriteResult<Partial<ActivityPreferences>>>;
|
|
676
|
+
/**
|
|
677
|
+
* Public read of a user's personal-site preset, by handle or DID. Site
|
|
678
|
+
* builders use it to show the same activity page.sifa.id shows. Returns
|
|
679
|
+
* `null` on any error.
|
|
680
|
+
*/
|
|
681
|
+
declare function fetchSiteActivityPreset(config: SifaApiConfig, handleOrDid: string, options?: ApiFetchOptions): Promise<SiteActivityPresetResponse | null>;
|
|
682
|
+
|
|
640
683
|
/** Public, aggregate stats shown on the homepage and similar surfaces. */
|
|
641
684
|
interface StatsResponse {
|
|
642
685
|
profileCount: number;
|
|
@@ -982,6 +1025,21 @@ interface FetchActivityTeaserOptions extends ApiFetchOptions {
|
|
|
982
1025
|
declare function fetchActivityTeaser(config: SifaApiConfig, handleOrDid: string, options?: FetchActivityTeaserOptions): Promise<ActivityTeaserResponse | null>;
|
|
983
1026
|
interface FetchActivityFeedOptions extends ApiFetchOptions {
|
|
984
1027
|
category?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* Show only these app categories. Applies when `category` is unset (the
|
|
1030
|
+
* "all" view).
|
|
1031
|
+
*/
|
|
1032
|
+
categories?: string[];
|
|
1033
|
+
/**
|
|
1034
|
+
* Show only long-form posts carrying one of these tags. Other activity is
|
|
1035
|
+
* not filtered on tags. See `SiteActivityPreset`.
|
|
1036
|
+
*/
|
|
1037
|
+
tags?: string[];
|
|
1038
|
+
/**
|
|
1039
|
+
* Apply the profile owner's saved preset for this surface. Explicit
|
|
1040
|
+
* `categories` / `tags` override the matching half of the preset.
|
|
1041
|
+
*/
|
|
1042
|
+
preset?: 'site';
|
|
985
1043
|
limit?: number;
|
|
986
1044
|
cursor?: string;
|
|
987
1045
|
cookieHeader?: string;
|
|
@@ -1643,6 +1701,8 @@ declare const sifaQueryKeys: {
|
|
|
1643
1701
|
readonly teaser: (handleOrDid: string) => readonly ["sifa", "activity", "teaser", string];
|
|
1644
1702
|
readonly feed: (handleOrDid: string, opts: Record<string, unknown>) => readonly ["sifa", "activity", "feed", string, Record<string, unknown>];
|
|
1645
1703
|
readonly hiddenItems: () => readonly ["sifa", "activity", "hidden-items"];
|
|
1704
|
+
readonly preferences: () => readonly ["sifa", "activity", "preferences"];
|
|
1705
|
+
readonly sitePreset: (handleOrDid: string) => readonly ["sifa", "activity", "site-preset", string];
|
|
1646
1706
|
};
|
|
1647
1707
|
readonly github: {
|
|
1648
1708
|
readonly all: () => readonly ["sifa", "github"];
|
|
@@ -1697,6 +1757,9 @@ declare const sifaQueryKeys: {
|
|
|
1697
1757
|
readonly all: () => readonly ["sifa", "bsky-preferences"];
|
|
1698
1758
|
readonly contentLabels: () => readonly ["sifa", "bsky-preferences", "content-labels"];
|
|
1699
1759
|
};
|
|
1760
|
+
readonly userSettings: {
|
|
1761
|
+
readonly all: () => readonly ["sifa", "user-settings"];
|
|
1762
|
+
};
|
|
1700
1763
|
readonly repoInventory: {
|
|
1701
1764
|
readonly all: () => readonly ["sifa", "repo-inventory"];
|
|
1702
1765
|
readonly list: () => readonly ["sifa", "repo-inventory", "list"];
|
|
@@ -1706,7 +1769,7 @@ declare const sifaQueryKeys: {
|
|
|
1706
1769
|
readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
|
|
1707
1770
|
};
|
|
1708
1771
|
};
|
|
1709
|
-
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.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.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
|
|
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>;
|
|
1710
1773
|
|
|
1711
1774
|
/** How a single entity binding was resolved during a claim. */
|
|
1712
1775
|
interface OrgClaimBinding {
|
|
@@ -1798,4 +1861,26 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
|
|
|
1798
1861
|
*/
|
|
1799
1862
|
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgNotificationEmailRemoveResult>>>;
|
|
1800
1863
|
|
|
1801
|
-
|
|
1864
|
+
/**
|
|
1865
|
+
* The signed-in user's account preferences (`/api/settings`). Kept on the
|
|
1866
|
+
* AppView, not in a PDS record: they change how Sifa treats the account, not
|
|
1867
|
+
* what the account says about itself.
|
|
1868
|
+
*/
|
|
1869
|
+
declare const UserSettingsSchema: z.ZodObject<{
|
|
1870
|
+
respectBskyBlocks: z.ZodBoolean;
|
|
1871
|
+
autoLinkCompanies: z.ZodBoolean;
|
|
1872
|
+
showCitationCounts: z.ZodDefault<z.ZodBoolean>;
|
|
1873
|
+
}, z.core.$strip>;
|
|
1874
|
+
type UserSettings = z.infer<typeof UserSettingsSchema>;
|
|
1875
|
+
/** Body accepted by {@link updateUserSettings}: only the preferences to change. */
|
|
1876
|
+
type UserSettingsPatch = Partial<UserSettings>;
|
|
1877
|
+
interface FetchUserSettingsOptions extends ApiFetchOptions {
|
|
1878
|
+
/** Session cookie to forward when reading from a server context. */
|
|
1879
|
+
cookieHeader?: string;
|
|
1880
|
+
}
|
|
1881
|
+
/** The caller's settings, or `null` when signed out or the read fails. */
|
|
1882
|
+
declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSettingsOptions): Promise<UserSettings | null>;
|
|
1883
|
+
/** Save the given preferences. Returns the stored settings, or `null` on failure. */
|
|
1884
|
+
declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
|
|
1885
|
+
|
|
1886
|
+
export { type GithubPullRequest 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 FetchSuggestionsOptions as N, type FetchUnlinkedPositionsOptions as O, type FetchUserSettingsOptions as P, type FollowListPage as Q, type FollowProfile as R, type FollowProfilePageResponse as S, type FollowUserResult as T, type FollowingFeedApp as U, type FollowingFeedBuild as V, type FollowingFeedEmptyReason as W, type FollowingFeedResponse as X, type FollowingFeedVersion as Y, type FollowingResponse as Z, type GetAdminReviewQueuesOptions as _, type ConfirmEndorsementResult as a, type UploadAvatarResult as a$, type GivenConfirmation as a0, HIDDEN_ITEM_SOURCES as a1, HIDDEN_ITEM_TYPES as a2, type HeatmapDay as a3, type HeatmapResponse as a4, type HiddenActivityItem as a5, type HiddenApp as a6, type HiddenItemSource as a7, type HiddenItemType as a8, type HideActivityItemInput as a9, type QuotedPostResult as aA, type QuotedPostView as aB, type ReactionError as aC, type ReactionResult as aD, type ReactionStatus as aE, type RefreshOrcidPublicationsResult as aF, type RefreshPdsResult as aG, type RepoDeleteInput as aH, type ResetProfileResult as aI, type ResolveQuotedPostsOptions as aJ, type RoadmapVoteError as aK, type RoadmapVoteResult as aL, type RoadmapVoter as aM, type RoadmapVotesResponse as aN, type SifaQueryKey as aO, type SimilarProfile as aP, type SiteActivityPresetResponse as aQ, type StatsResponse as aR, type SubCategoryBulkResult as aS, type SuggestionProfile as aT, type SuggestionsResponse as aU, type UnhideActivityItemInput as aV, type UnlinkedPosition as aW, type UnlinkedPositionsResult as aX, type UpdateActivityPreferencesInput as aY, type UpdateProfileOverrideInput as aZ, type UpdateProfileSelfInput as a_, type HideProfileItemInput as aa, type InboxCounts as ab, type ListFeatureAllowlistOptions as ac, type MyGithubPullRequestsResponse as ad, type OrgClaimBinding as ae, type OrgClaimResult as af, type OrgDomainChallengeResult as ag, type OrgDomainVerifyResult as ah, type OrgNotificationEmailAddResult as ai, type OrgNotificationEmailRemoveResult as aj, type OrgProfileEcho as ak, type OrgProfileUpdateResult as al, PROFILE_COMPLETENESS_SIGNALS as am, type PdsWipeOutcome as an, type PendingConfirmation as ao, type PendingConfirmationsPage as ap, type PrimarySection as aq, type ProfileCompleteness as ar, type ProfileCompletenessSignal as as, type ProfileIndustryInput as at, type ProfileLocationAddress as au, type ProfileLocationInput as av, type ProfileSelfLocation as aw, QUOTED_POSTS_BATCH_MAX as ax, type QuotedPostAuthor as ay, type QuotedPostImage as az, type AccountSummary as b, getAdminReviewQueues as b$, type UploadPronunciationAudioResult as b0, type UserSettings as b1, type UserSettingsPatch as b2, UserSettingsSchema as b3, type VerifyExternalAccountResult as b4, type WipePreview as b5, addFeatureAllowlist as b6, addOrgNotificationEmail as b7, bulkHideProfileItems as b8, bulkHideStandardPublications as b9, fetchExternalAccounts as bA, fetchFeaturedProfile as bB, fetchFollowing as bC, fetchFollowingFeed as bD, fetchFollowingFeedVersion as bE, fetchGivenConfirmations as bF, fetchHeatmapData as bG, fetchHiddenActivityItems as bH, fetchHiddenApps as bI, fetchInboxCounts as bJ, fetchMyGithubPullRequests as bK, fetchMyRoadmapVotes as bL, fetchPendingConfirmations as bM, fetchProfileCompleteness as bN, fetchReactionStatus as bO, fetchRepoInventory as bP, fetchRoadmapVotes as bQ, fetchSimilarProfiles as bR, fetchSiteActivityPreset as bS, fetchStats as bT, fetchSuggestionCount as bU, fetchSuggestions as bV, fetchUnlinkedPositions as bW, fetchUserSettings as bX, fetchViewerPositionConfirmations as bY, fetchWipePreview as bZ, followUser as b_, bulkUnhideProfileItems as ba, bulkUnhideStandardPublications as bb, castRoadmapVote as bc, checkAppAccount as bd, confirmEndorsement as be, createConfirmation as bf, createEndorsement as bg, createExternalAccount as bh, createProfileLocation as bi, createReaction as bj, createSkill as bk, deleteAccount as bl, deleteAvatarOverride as bm, deleteExternalAccount as bn, deleteNamePronunciationAudio as bo, deleteProfileLocation as bp, deleteReaction as bq, deleteRepoRecords as br, deleteSkill as bs, dismissConfirmation as bt, dismissUnlinkedPosition as bu, fetchAccounts as bv, fetchActivityFeed as bw, fetchActivityPreferences as bx, fetchActivityTeaser as by, fetchAppsRegistry as bz, type ActivityFeedResponse as c, getBlueskySuggestions as c0, getFollowers as c1, getFollowing as c2, getMutuals as c3, hideActivityItem as c4, hideOrcidPublication as c5, hideProfileItem as c6, hideSifaPublication as c7, hideStandardPublication as c8, isNewerFollowingFeed as c9, updateProfileLocation as cA, updateProfileOverride as cB, updateProfileSelf as cC, updateSkill as cD, updateSkillSubCategories as cE, updateUserSettings as cF, uploadAvatar as cG, uploadNamePronunciationAudio as cH, verifyExternalAccount as cI, verifyOrgDomain as cJ, listFeatureAllowlist as ca, refreshOrcidPublications as cb, refreshPds as cc, removeFeatureAllowlist as cd, removeOrgNotificationEmail as ce, repoExportUrl as cf, requestOrgDomainChallenge as cg, resetProfile as ch, resolveQuotedPosts as ci, retractRoadmapVote as cj, revokeConfirmation as ck, setExternalAccountPrimary as cl, setSectionPrimary as cm, submitOrgClaim as cn, switchAccount as co, unfollowUser as cp, unhideActivityItem as cq, unhideOrcidPublication as cr, unhideProfileItem as cs, unhideSifaPublication as ct, unhideStandardPublication as cu, unsetExternalAccountPrimary as cv, unsetSectionPrimary as cw, updateActivityPreferences as cx, updateExternalAccount as cy, updateOrgProfile 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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { p as ExternalAccount, y as PositionViewerConfirmation } from './index-
|
|
1
|
+
import { a3 as WriteResult, a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, K as SiteActivityPreset, b as ActivityLabel, u as RepoDeleteResult, x as RepoInventory } from './types-qw55KvoV.cjs';
|
|
2
|
+
import { p as ExternalAccount, y as PositionViewerConfirmation } from './index-k6tBrbEU.cjs';
|
|
3
3
|
import { a as AccountVerification } from './verification-providers-7il3kPQS.cjs';
|
|
4
4
|
import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-CQ3DTTak.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -637,6 +637,49 @@ declare function unhideActivityItem(config: SifaApiConfig, input: UnhideActivity
|
|
|
637
637
|
*/
|
|
638
638
|
declare function fetchHiddenActivityItems(config: SifaApiConfig, options?: FetchHiddenActivityItemsOptions): Promise<HiddenActivityItem[]>;
|
|
639
639
|
|
|
640
|
+
/**
|
|
641
|
+
* The authenticated user's activity preferences, resolved to an answer for
|
|
642
|
+
* every known key. `sitePreset` is the personal-site "show only" filter; both
|
|
643
|
+
* lists empty means no preset.
|
|
644
|
+
*/
|
|
645
|
+
interface ActivityPreferences {
|
|
646
|
+
streamCategories: Record<string, boolean>;
|
|
647
|
+
digestItemTypes: Record<string, boolean>;
|
|
648
|
+
sitePreset: SiteActivityPreset;
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* Partial update. Only the keys present change. `sitePreset`, when present,
|
|
652
|
+
* replaces the whole stored preset; send empty lists to clear it.
|
|
653
|
+
*/
|
|
654
|
+
interface UpdateActivityPreferencesInput {
|
|
655
|
+
streamCategories?: Record<string, boolean>;
|
|
656
|
+
digestItemTypes?: Record<string, boolean>;
|
|
657
|
+
sitePreset?: SiteActivityPreset;
|
|
658
|
+
}
|
|
659
|
+
/** A user's personal-site preset as anyone can read it. */
|
|
660
|
+
interface SiteActivityPresetResponse extends SiteActivityPreset {
|
|
661
|
+
did: string;
|
|
662
|
+
/** False when both lists are empty, i.e. the site shows all activity. */
|
|
663
|
+
active: boolean;
|
|
664
|
+
}
|
|
665
|
+
interface FetchActivityPreferencesOptions extends ApiFetchOptions {
|
|
666
|
+
/**
|
|
667
|
+
* Pass the caller's `Cookie` header on Next.js RSC server-side calls.
|
|
668
|
+
* `credentials: 'include'` does NOT propagate browser cookies in RSC.
|
|
669
|
+
*/
|
|
670
|
+
cookieHeader?: string;
|
|
671
|
+
}
|
|
672
|
+
/** The caller's own preferences. Returns `null` on any error. */
|
|
673
|
+
declare function fetchActivityPreferences(config: SifaApiConfig, options?: FetchActivityPreferencesOptions): Promise<ActivityPreferences | null>;
|
|
674
|
+
/** Update the caller's own preferences. */
|
|
675
|
+
declare function updateActivityPreferences(config: SifaApiConfig, input: UpdateActivityPreferencesInput, options?: ApiFetchOptions): Promise<WriteResult<Partial<ActivityPreferences>>>;
|
|
676
|
+
/**
|
|
677
|
+
* Public read of a user's personal-site preset, by handle or DID. Site
|
|
678
|
+
* builders use it to show the same activity page.sifa.id shows. Returns
|
|
679
|
+
* `null` on any error.
|
|
680
|
+
*/
|
|
681
|
+
declare function fetchSiteActivityPreset(config: SifaApiConfig, handleOrDid: string, options?: ApiFetchOptions): Promise<SiteActivityPresetResponse | null>;
|
|
682
|
+
|
|
640
683
|
/** Public, aggregate stats shown on the homepage and similar surfaces. */
|
|
641
684
|
interface StatsResponse {
|
|
642
685
|
profileCount: number;
|
|
@@ -982,6 +1025,21 @@ interface FetchActivityTeaserOptions extends ApiFetchOptions {
|
|
|
982
1025
|
declare function fetchActivityTeaser(config: SifaApiConfig, handleOrDid: string, options?: FetchActivityTeaserOptions): Promise<ActivityTeaserResponse | null>;
|
|
983
1026
|
interface FetchActivityFeedOptions extends ApiFetchOptions {
|
|
984
1027
|
category?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* Show only these app categories. Applies when `category` is unset (the
|
|
1030
|
+
* "all" view).
|
|
1031
|
+
*/
|
|
1032
|
+
categories?: string[];
|
|
1033
|
+
/**
|
|
1034
|
+
* Show only long-form posts carrying one of these tags. Other activity is
|
|
1035
|
+
* not filtered on tags. See `SiteActivityPreset`.
|
|
1036
|
+
*/
|
|
1037
|
+
tags?: string[];
|
|
1038
|
+
/**
|
|
1039
|
+
* Apply the profile owner's saved preset for this surface. Explicit
|
|
1040
|
+
* `categories` / `tags` override the matching half of the preset.
|
|
1041
|
+
*/
|
|
1042
|
+
preset?: 'site';
|
|
985
1043
|
limit?: number;
|
|
986
1044
|
cursor?: string;
|
|
987
1045
|
cookieHeader?: string;
|
|
@@ -1643,6 +1701,8 @@ declare const sifaQueryKeys: {
|
|
|
1643
1701
|
readonly teaser: (handleOrDid: string) => readonly ["sifa", "activity", "teaser", string];
|
|
1644
1702
|
readonly feed: (handleOrDid: string, opts: Record<string, unknown>) => readonly ["sifa", "activity", "feed", string, Record<string, unknown>];
|
|
1645
1703
|
readonly hiddenItems: () => readonly ["sifa", "activity", "hidden-items"];
|
|
1704
|
+
readonly preferences: () => readonly ["sifa", "activity", "preferences"];
|
|
1705
|
+
readonly sitePreset: (handleOrDid: string) => readonly ["sifa", "activity", "site-preset", string];
|
|
1646
1706
|
};
|
|
1647
1707
|
readonly github: {
|
|
1648
1708
|
readonly all: () => readonly ["sifa", "github"];
|
|
@@ -1697,6 +1757,9 @@ declare const sifaQueryKeys: {
|
|
|
1697
1757
|
readonly all: () => readonly ["sifa", "bsky-preferences"];
|
|
1698
1758
|
readonly contentLabels: () => readonly ["sifa", "bsky-preferences", "content-labels"];
|
|
1699
1759
|
};
|
|
1760
|
+
readonly userSettings: {
|
|
1761
|
+
readonly all: () => readonly ["sifa", "user-settings"];
|
|
1762
|
+
};
|
|
1700
1763
|
readonly repoInventory: {
|
|
1701
1764
|
readonly all: () => readonly ["sifa", "repo-inventory"];
|
|
1702
1765
|
readonly list: () => readonly ["sifa", "repo-inventory", "list"];
|
|
@@ -1706,7 +1769,7 @@ declare const sifaQueryKeys: {
|
|
|
1706
1769
|
readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
|
|
1707
1770
|
};
|
|
1708
1771
|
};
|
|
1709
|
-
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.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.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
|
|
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>;
|
|
1710
1773
|
|
|
1711
1774
|
/** How a single entity binding was resolved during a claim. */
|
|
1712
1775
|
interface OrgClaimBinding {
|
|
@@ -1798,4 +1861,26 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
|
|
|
1798
1861
|
*/
|
|
1799
1862
|
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgNotificationEmailRemoveResult>>>;
|
|
1800
1863
|
|
|
1801
|
-
|
|
1864
|
+
/**
|
|
1865
|
+
* The signed-in user's account preferences (`/api/settings`). Kept on the
|
|
1866
|
+
* AppView, not in a PDS record: they change how Sifa treats the account, not
|
|
1867
|
+
* what the account says about itself.
|
|
1868
|
+
*/
|
|
1869
|
+
declare const UserSettingsSchema: z.ZodObject<{
|
|
1870
|
+
respectBskyBlocks: z.ZodBoolean;
|
|
1871
|
+
autoLinkCompanies: z.ZodBoolean;
|
|
1872
|
+
showCitationCounts: z.ZodDefault<z.ZodBoolean>;
|
|
1873
|
+
}, z.core.$strip>;
|
|
1874
|
+
type UserSettings = z.infer<typeof UserSettingsSchema>;
|
|
1875
|
+
/** Body accepted by {@link updateUserSettings}: only the preferences to change. */
|
|
1876
|
+
type UserSettingsPatch = Partial<UserSettings>;
|
|
1877
|
+
interface FetchUserSettingsOptions extends ApiFetchOptions {
|
|
1878
|
+
/** Session cookie to forward when reading from a server context. */
|
|
1879
|
+
cookieHeader?: string;
|
|
1880
|
+
}
|
|
1881
|
+
/** The caller's settings, or `null` when signed out or the read fails. */
|
|
1882
|
+
declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSettingsOptions): Promise<UserSettings | null>;
|
|
1883
|
+
/** Save the given preferences. Returns the stored settings, or `null` on failure. */
|
|
1884
|
+
declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
|
|
1885
|
+
|
|
1886
|
+
export { type GithubPullRequest 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 FetchSuggestionsOptions as N, type FetchUnlinkedPositionsOptions as O, type FetchUserSettingsOptions as P, type FollowListPage as Q, type FollowProfile as R, type FollowProfilePageResponse as S, type FollowUserResult as T, type FollowingFeedApp as U, type FollowingFeedBuild as V, type FollowingFeedEmptyReason as W, type FollowingFeedResponse as X, type FollowingFeedVersion as Y, type FollowingResponse as Z, type GetAdminReviewQueuesOptions as _, type ConfirmEndorsementResult as a, type UploadAvatarResult as a$, type GivenConfirmation as a0, HIDDEN_ITEM_SOURCES as a1, HIDDEN_ITEM_TYPES as a2, type HeatmapDay as a3, type HeatmapResponse as a4, type HiddenActivityItem as a5, type HiddenApp as a6, type HiddenItemSource as a7, type HiddenItemType as a8, type HideActivityItemInput as a9, type QuotedPostResult as aA, type QuotedPostView as aB, type ReactionError as aC, type ReactionResult as aD, type ReactionStatus as aE, type RefreshOrcidPublicationsResult as aF, type RefreshPdsResult as aG, type RepoDeleteInput as aH, type ResetProfileResult as aI, type ResolveQuotedPostsOptions as aJ, type RoadmapVoteError as aK, type RoadmapVoteResult as aL, type RoadmapVoter as aM, type RoadmapVotesResponse as aN, type SifaQueryKey as aO, type SimilarProfile as aP, type SiteActivityPresetResponse as aQ, type StatsResponse as aR, type SubCategoryBulkResult as aS, type SuggestionProfile as aT, type SuggestionsResponse as aU, type UnhideActivityItemInput as aV, type UnlinkedPosition as aW, type UnlinkedPositionsResult as aX, type UpdateActivityPreferencesInput as aY, type UpdateProfileOverrideInput as aZ, type UpdateProfileSelfInput as a_, type HideProfileItemInput as aa, type InboxCounts as ab, type ListFeatureAllowlistOptions as ac, type MyGithubPullRequestsResponse as ad, type OrgClaimBinding as ae, type OrgClaimResult as af, type OrgDomainChallengeResult as ag, type OrgDomainVerifyResult as ah, type OrgNotificationEmailAddResult as ai, type OrgNotificationEmailRemoveResult as aj, type OrgProfileEcho as ak, type OrgProfileUpdateResult as al, PROFILE_COMPLETENESS_SIGNALS as am, type PdsWipeOutcome as an, type PendingConfirmation as ao, type PendingConfirmationsPage as ap, type PrimarySection as aq, type ProfileCompleteness as ar, type ProfileCompletenessSignal as as, type ProfileIndustryInput as at, type ProfileLocationAddress as au, type ProfileLocationInput as av, type ProfileSelfLocation as aw, QUOTED_POSTS_BATCH_MAX as ax, type QuotedPostAuthor as ay, type QuotedPostImage as az, type AccountSummary as b, getAdminReviewQueues as b$, type UploadPronunciationAudioResult as b0, type UserSettings as b1, type UserSettingsPatch as b2, UserSettingsSchema as b3, type VerifyExternalAccountResult as b4, type WipePreview as b5, addFeatureAllowlist as b6, addOrgNotificationEmail as b7, bulkHideProfileItems as b8, bulkHideStandardPublications as b9, fetchExternalAccounts as bA, fetchFeaturedProfile as bB, fetchFollowing as bC, fetchFollowingFeed as bD, fetchFollowingFeedVersion as bE, fetchGivenConfirmations as bF, fetchHeatmapData as bG, fetchHiddenActivityItems as bH, fetchHiddenApps as bI, fetchInboxCounts as bJ, fetchMyGithubPullRequests as bK, fetchMyRoadmapVotes as bL, fetchPendingConfirmations as bM, fetchProfileCompleteness as bN, fetchReactionStatus as bO, fetchRepoInventory as bP, fetchRoadmapVotes as bQ, fetchSimilarProfiles as bR, fetchSiteActivityPreset as bS, fetchStats as bT, fetchSuggestionCount as bU, fetchSuggestions as bV, fetchUnlinkedPositions as bW, fetchUserSettings as bX, fetchViewerPositionConfirmations as bY, fetchWipePreview as bZ, followUser as b_, bulkUnhideProfileItems as ba, bulkUnhideStandardPublications as bb, castRoadmapVote as bc, checkAppAccount as bd, confirmEndorsement as be, createConfirmation as bf, createEndorsement as bg, createExternalAccount as bh, createProfileLocation as bi, createReaction as bj, createSkill as bk, deleteAccount as bl, deleteAvatarOverride as bm, deleteExternalAccount as bn, deleteNamePronunciationAudio as bo, deleteProfileLocation as bp, deleteReaction as bq, deleteRepoRecords as br, deleteSkill as bs, dismissConfirmation as bt, dismissUnlinkedPosition as bu, fetchAccounts as bv, fetchActivityFeed as bw, fetchActivityPreferences as bx, fetchActivityTeaser as by, fetchAppsRegistry as bz, type ActivityFeedResponse as c, getBlueskySuggestions as c0, getFollowers as c1, getFollowing as c2, getMutuals as c3, hideActivityItem as c4, hideOrcidPublication as c5, hideProfileItem as c6, hideSifaPublication as c7, hideStandardPublication as c8, isNewerFollowingFeed as c9, updateProfileLocation as cA, updateProfileOverride as cB, updateProfileSelf as cC, updateSkill as cD, updateSkillSubCategories as cE, updateUserSettings as cF, uploadAvatar as cG, uploadNamePronunciationAudio as cH, verifyExternalAccount as cI, verifyOrgDomain as cJ, listFeatureAllowlist as ca, refreshOrcidPublications as cb, refreshPds as cc, removeFeatureAllowlist as cd, removeOrgNotificationEmail as ce, repoExportUrl as cf, requestOrgDomainChallenge as cg, resetProfile as ch, resolveQuotedPosts as ci, retractRoadmapVote as cj, revokeConfirmation as ck, setExternalAccountPrimary as cl, setSectionPrimary as cm, submitOrgClaim as cn, switchAccount as co, unfollowUser as cp, unhideActivityItem as cq, unhideOrcidPublication as cr, unhideProfileItem as cs, unhideSifaPublication as ct, unhideStandardPublication as cu, unsetExternalAccountPrimary as cv, unsetSectionPrimary as cw, updateActivityPreferences as cx, updateExternalAccount as cy, updateOrgProfile 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