@singi-labs/sifa-sdk 0.12.47 → 0.12.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{adult-content-DVxiBP69.d.cts → adult-content-BUgP8bpf.d.cts} +10 -0
  2. package/dist/{adult-content-DVxiBP69.d.ts → adult-content-BUgP8bpf.d.ts} +10 -0
  3. package/dist/{index-CxunNumj.d.ts → index-CddvYEbj.d.ts} +12 -3
  4. package/dist/{index-DBIczOKG.d.ts → index-L1xPmzKP.d.ts} +3 -3
  5. package/dist/{index-CSzG8dx3.d.cts → index-r5KywRfC.d.cts} +12 -3
  6. package/dist/{index-Dx2d7aRo.d.cts → index-wf6rbBZZ.d.cts} +3 -3
  7. package/dist/index.cjs +1 -1
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +3 -3
  10. package/dist/index.d.ts +3 -3
  11. package/dist/index.js +1 -1
  12. package/dist/index.js.map +1 -1
  13. package/dist/{org-BWeGLW4Z.d.cts → org-CVLKBRsw.d.cts} +30 -3
  14. package/dist/{org-CLS2UnXl.d.ts → org-CZvX0wc7.d.ts} +30 -3
  15. package/dist/{profile-summary-CapVNDLP.d.cts → profile-summary-DReI-P0i.d.cts} +1 -1
  16. package/dist/{profile-summary-D4Fw8G5n.d.ts → profile-summary-DyX9EJzZ.d.ts} +1 -1
  17. package/dist/query/fetchers/index.cjs +27 -1
  18. package/dist/query/fetchers/index.cjs.map +1 -1
  19. package/dist/query/fetchers/index.d.cts +4 -4
  20. package/dist/query/fetchers/index.d.ts +4 -4
  21. package/dist/query/fetchers/index.js +27 -2
  22. package/dist/query/fetchers/index.js.map +1 -1
  23. package/dist/query/hooks/index.cjs +39 -1
  24. package/dist/query/hooks/index.cjs.map +1 -1
  25. package/dist/query/hooks/index.d.cts +3 -3
  26. package/dist/query/hooks/index.d.ts +3 -3
  27. package/dist/query/hooks/index.js +39 -2
  28. package/dist/query/hooks/index.js.map +1 -1
  29. package/dist/query/index.cjs +38 -1
  30. package/dist/query/index.cjs.map +1 -1
  31. package/dist/query/index.d.cts +7 -7
  32. package/dist/query/index.d.ts +7 -7
  33. package/dist/query/index.js +37 -2
  34. package/dist/query/index.js.map +1 -1
  35. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-DVxiBP69.cjs';
1
+ import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-BUgP8bpf.cjs';
2
2
  import { y as FollowFeedPage, B as FollowProfileItem, q as FeatureAllowlistEntry, s as FeatureFlag } from './feed-dOSy_48Z.cjs';
3
3
  import { z } from 'zod';
4
4
  import { f as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, d as OrgDomainVerifyRequestInput } from './org-settings-B8e01iZx.cjs';
@@ -889,6 +889,32 @@ declare function addFeatureAllowlist(config: SifaApiConfig, flag: FeatureFlag, d
889
889
  */
890
890
  declare function removeFeatureAllowlist(config: SifaApiConfig, flag: FeatureFlag, did: string, opts?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult>;
891
891
 
892
+ /**
893
+ * Options for {@link getAdminReviewQueues}. Supports the same `cookieHeader`
894
+ * passthrough as the other admin reads for RSC contexts.
895
+ */
896
+ interface GetAdminReviewQueuesOptions extends ApiFetchOptions {
897
+ cookieHeader?: string;
898
+ }
899
+ /** Response shape of `GET /api/admin/stats/review-queues`. */
900
+ interface AdminReviewQueues {
901
+ ideas: number;
902
+ nameCorrections: number;
903
+ pendingCompanies: number;
904
+ /** Sum of the three queues. */
905
+ total: number;
906
+ generatedAt: string;
907
+ }
908
+ /**
909
+ * Open counts for the three admin review queues (ideas, pending companies,
910
+ * name corrections) plus their total.
911
+ *
912
+ * Unlike {@link listFeatureAllowlist} this does NOT swallow errors: a zeroed
913
+ * payload would render as "all queues clear" in the admin nav, which is worse
914
+ * than rendering nothing. Callers decide how to degrade.
915
+ */
916
+ declare function getAdminReviewQueues(config: SifaApiConfig, opts?: GetAdminReviewQueuesOptions): Promise<AdminReviewQueues>;
917
+
892
918
  interface QuotedPostAuthor {
893
919
  did: string;
894
920
  handle: string;
@@ -1369,6 +1395,7 @@ declare const sifaQueryKeys: {
1369
1395
  readonly admin: {
1370
1396
  readonly all: () => readonly ["sifa", "admin"];
1371
1397
  readonly featureAllowlist: (flag: string) => readonly ["sifa", "admin", "feature-allowlist", string];
1398
+ readonly reviewQueues: () => readonly ["sifa", "admin", "review-queues"];
1372
1399
  };
1373
1400
  readonly stats: {
1374
1401
  readonly all: () => readonly ["sifa", "stats"];
@@ -1427,7 +1454,7 @@ declare const sifaQueryKeys: {
1427
1454
  readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
1428
1455
  };
1429
1456
  };
1430
- 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.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | 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.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.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | 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>;
1457
+ 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.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | 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.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | 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>;
1431
1458
 
1432
1459
  /** How a single entity binding was resolved during a claim. */
1433
1460
  interface OrgClaimBinding {
@@ -1514,4 +1541,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1514
1541
  */
1515
1542
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1516
1543
 
1517
- export { type OrgClaimResult as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchSuggestionsOptions as G, type FilterOptions as H, type FollowListPage as I, type FollowProfile as J, type FollowProfilePageResponse as K, type FollowUserResult as L, type FollowingResponse as M, type GithubPullRequest as N, HIDDEN_ITEM_SOURCES as O, HIDDEN_ITEM_TYPES as P, type HeatmapDay as Q, type HeatmapResponse as R, type SifaApiConfig as S, type HiddenApp as T, type HiddenItemSource as U, type HiddenItemType as V, type WriteResult as W, type HideProfileItemInput as X, type ListFeatureAllowlistOptions as Y, type MyGithubPullRequestsResponse as Z, type OrgClaimBinding as _, type ConfirmEndorsementInput as a, deleteAccount as a$, type OrgDomainChallengeResult as a0, type OrgDomainVerifyResult as a1, type OrgNotificationEmailAddResult as a2, type OrgNotificationEmailRemoveResult as a3, type OrgProfileEcho as a4, type OrgProfileUpdateResult as a5, type PdsWipeOutcome as a6, type PendingConfirmation as a7, type PendingConfirmationsPage as a8, type ProfileIndustryInput as a9, type SubCategoryBulkResult as aA, type SuggestionProfile as aB, type SuggestionsResponse as aC, type UpdateProfileOverrideInput as aD, type UpdateProfileSelfInput as aE, type UploadAvatarResult as aF, type VerifyExternalAccountResult as aG, type WipePreview as aH, addFeatureAllowlist as aI, addOrgNotificationEmail as aJ, apiFetch as aK, apiFetchOrNull as aL, apiWrite as aM, apiWriteCreate as aN, bulkHideProfileItems as aO, bulkHideStandardPublications as aP, bulkUnhideProfileItems as aQ, bulkUnhideStandardPublications as aR, castRoadmapVote as aS, checkAppAccount as aT, confirmEndorsement as aU, createConfirmation as aV, createEndorsement as aW, createExternalAccount as aX, createProfileLocation as aY, createReaction as aZ, createSkill as a_, type ProfileLocationAddress as aa, type ProfileLocationInput as ab, type ProfileSearchResult as ac, type ProfileSelfLocation as ad, QUOTED_POSTS_BATCH_MAX as ae, type QuotedPostAuthor as af, type QuotedPostImage as ag, type QuotedPostResult as ah, type QuotedPostView as ai, type ReactionError as aj, type ReactionResult as ak, type ReactionStatus as al, type RefreshOrcidPublicationsResult as am, type RefreshPdsResult as an, type ResetProfileResult as ao, type ResolveQuotedPostsOptions as ap, type RoadmapVoteError as aq, type RoadmapVoteResult as ar, type RoadmapVoter as as, type RoadmapVotesResponse as at, type SearchFilters as au, type SearchResponse as av, type SifaQueryKey as aw, type SimilarProfile as ax, type SkillSearchResult as ay, type StatsResponse as az, type ConfirmEndorsementResult as b, uploadAvatar as b$, deleteAvatarOverride as b0, deleteExternalAccount as b1, deleteProfileLocation as b2, deleteReaction as b3, deleteSkill as b4, dismissConfirmation as b5, fetchActivityFeed as b6, fetchActivityTeaser as b7, fetchAppsRegistry as b8, fetchExternalAccounts as b9, hideStandardPublication as bA, listFeatureAllowlist as bB, refreshOrcidPublications as bC, refreshPds as bD, removeFeatureAllowlist as bE, removeOrgNotificationEmail as bF, requestOrgDomainChallenge as bG, resetProfile as bH, resolveQuotedPosts as bI, retractRoadmapVote as bJ, revokeConfirmation as bK, searchSkills as bL, setExternalAccountPrimary as bM, submitOrgClaim as bN, unfollowUser as bO, unhideOrcidPublication as bP, unhideProfileItem as bQ, unhideSifaPublication as bR, unhideStandardPublication as bS, unsetExternalAccountPrimary as bT, updateExternalAccount as bU, updateOrgProfile as bV, updateProfileLocation as bW, updateProfileOverride as bX, updateProfileSelf as bY, updateSkill as bZ, updateSkillSubCategories as b_, fetchFeaturedProfile as ba, fetchFollowing as bb, fetchHeatmapData as bc, fetchHiddenApps as bd, fetchMyGithubPullRequests as be, fetchMyRoadmapVotes as bf, fetchPendingConfirmations as bg, fetchReactionStatus as bh, fetchRoadmapVotes as bi, fetchSearchFilters as bj, fetchSearchProfiles as bk, fetchSimilarProfiles as bl, fetchSkillSuggestions as bm, fetchStats as bn, fetchSuggestionCount as bo, fetchSuggestions as bp, fetchWipePreview as bq, followUser as br, getBlueskySuggestions as bs, getFollowers as bt, getFollowing as bu, getFollowingFeed as bv, getMutuals as bw, hideOrcidPublication as bx, hideProfileItem as by, hideSifaPublication as bz, type AccountCheckResult as c, verifyExternalAccount as c0, verifyOrgDomain as c1, type ActivityFeedResponse as d, type ActivityItem as e, type ActivityItemLinkHealth as f, type ActivityTeaserResponse as g, ApiError 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 ExternalAccountInput as o, type FeaturedProfile as p, type FetchActivityFeedOptions as q, type FetchActivityTeaserOptions as r, sifaQueryKeys as s, type FetchFollowListOptions as t, type FetchFollowProfilePageOptions as u, type FetchFollowingFeedOptions as v, type FetchHiddenAppsOptions as w, type FetchMyGithubPullRequestsOptions as x, type FetchMyRoadmapVotesOptions as y, type FetchReactionStatusOptions as z };
1544
+ export { type MyGithubPullRequestsResponse as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchReactionStatusOptions as G, type FetchSuggestionsOptions as H, type FilterOptions as I, type FollowListPage as J, type FollowProfile as K, type FollowProfilePageResponse as L, type FollowUserResult as M, type FollowingResponse as N, type GetAdminReviewQueuesOptions as O, type GithubPullRequest as P, HIDDEN_ITEM_SOURCES as Q, HIDDEN_ITEM_TYPES as R, type SifaApiConfig as S, type HeatmapDay as T, type HeatmapResponse as U, type HiddenApp as V, type WriteResult as W, type HiddenItemSource as X, type HiddenItemType as Y, type HideProfileItemInput as Z, type ListFeatureAllowlistOptions as _, type ConfirmEndorsementInput as a, createReaction as a$, type OrgClaimBinding as a0, type OrgClaimResult as a1, type OrgDomainChallengeResult as a2, type OrgDomainVerifyResult as a3, type OrgNotificationEmailAddResult as a4, type OrgNotificationEmailRemoveResult as a5, type OrgProfileEcho as a6, type OrgProfileUpdateResult as a7, type PdsWipeOutcome as a8, type PendingConfirmation as a9, type SkillSearchResult as aA, type StatsResponse as aB, type SubCategoryBulkResult as aC, type SuggestionProfile as aD, type SuggestionsResponse as aE, type UpdateProfileOverrideInput as aF, type UpdateProfileSelfInput as aG, type UploadAvatarResult as aH, type VerifyExternalAccountResult as aI, type WipePreview as aJ, addFeatureAllowlist as aK, addOrgNotificationEmail as aL, apiFetch as aM, apiFetchOrNull as aN, apiWrite as aO, apiWriteCreate as aP, bulkHideProfileItems as aQ, bulkHideStandardPublications as aR, bulkUnhideProfileItems as aS, bulkUnhideStandardPublications as aT, castRoadmapVote as aU, checkAppAccount as aV, confirmEndorsement as aW, createConfirmation as aX, createEndorsement as aY, createExternalAccount as aZ, createProfileLocation as a_, type PendingConfirmationsPage as aa, type ProfileIndustryInput as ab, type ProfileLocationAddress as ac, type ProfileLocationInput as ad, type ProfileSearchResult as ae, type ProfileSelfLocation as af, QUOTED_POSTS_BATCH_MAX as ag, type QuotedPostAuthor as ah, type QuotedPostImage as ai, type QuotedPostResult as aj, type QuotedPostView as ak, type ReactionError as al, type ReactionResult as am, type ReactionStatus as an, type RefreshOrcidPublicationsResult as ao, type RefreshPdsResult as ap, type ResetProfileResult as aq, type ResolveQuotedPostsOptions as ar, type RoadmapVoteError as as, type RoadmapVoteResult as at, type RoadmapVoter as au, type RoadmapVotesResponse as av, type SearchFilters as aw, type SearchResponse as ax, type SifaQueryKey as ay, type SimilarProfile as az, type ConfirmEndorsementResult as b, updateProfileSelf as b$, createSkill as b0, deleteAccount as b1, deleteAvatarOverride as b2, deleteExternalAccount as b3, deleteProfileLocation as b4, deleteReaction as b5, deleteSkill as b6, dismissConfirmation as b7, fetchActivityFeed as b8, fetchActivityTeaser as b9, hideOrcidPublication as bA, hideProfileItem as bB, hideSifaPublication as bC, hideStandardPublication as bD, listFeatureAllowlist as bE, refreshOrcidPublications as bF, refreshPds as bG, removeFeatureAllowlist as bH, removeOrgNotificationEmail as bI, requestOrgDomainChallenge as bJ, resetProfile as bK, resolveQuotedPosts as bL, retractRoadmapVote as bM, revokeConfirmation as bN, searchSkills as bO, setExternalAccountPrimary as bP, submitOrgClaim as bQ, unfollowUser as bR, unhideOrcidPublication as bS, unhideProfileItem as bT, unhideSifaPublication as bU, unhideStandardPublication as bV, unsetExternalAccountPrimary as bW, updateExternalAccount as bX, updateOrgProfile as bY, updateProfileLocation as bZ, updateProfileOverride as b_, fetchAppsRegistry as ba, fetchExternalAccounts as bb, fetchFeaturedProfile as bc, fetchFollowing as bd, fetchHeatmapData as be, fetchHiddenApps as bf, fetchMyGithubPullRequests as bg, fetchMyRoadmapVotes as bh, fetchPendingConfirmations as bi, fetchReactionStatus as bj, fetchRoadmapVotes as bk, fetchSearchFilters as bl, fetchSearchProfiles as bm, fetchSimilarProfiles as bn, fetchSkillSuggestions as bo, fetchStats as bp, fetchSuggestionCount as bq, fetchSuggestions as br, fetchWipePreview as bs, followUser as bt, getAdminReviewQueues as bu, getBlueskySuggestions as bv, getFollowers as bw, getFollowing as bx, getFollowingFeed as by, getMutuals as bz, type AccountCheckResult as c, updateSkill as c0, updateSkillSubCategories as c1, uploadAvatar as c2, verifyExternalAccount as c3, verifyOrgDomain as c4, type ActivityFeedResponse as d, type ActivityItem as e, type ActivityItemLinkHealth as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, ApiError as i, type AppRegistryEntry as j, type CastRoadmapVoteResult as k, type CheckAppAccountOptions as l, type ConfirmationInput as m, type ConfirmationSubjectInput as n, type CreateExternalAccountResult as o, type ExternalAccountInput as p, type FeaturedProfile as q, type FetchActivityFeedOptions as r, sifaQueryKeys as s, type FetchActivityTeaserOptions as t, type FetchFollowListOptions as u, type FetchFollowProfilePageOptions as v, type FetchFollowingFeedOptions as w, type FetchHiddenAppsOptions as x, type FetchMyGithubPullRequestsOptions as y, type FetchMyRoadmapVotesOptions as z };
@@ -1,4 +1,4 @@
1
- import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-DVxiBP69.js';
1
+ import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-BUgP8bpf.js';
2
2
  import { y as FollowFeedPage, B as FollowProfileItem, q as FeatureAllowlistEntry, s as FeatureFlag } from './feed-dOSy_48Z.js';
3
3
  import { z } from 'zod';
4
4
  import { f as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, d as OrgDomainVerifyRequestInput } from './org-settings-B8e01iZx.js';
@@ -889,6 +889,32 @@ declare function addFeatureAllowlist(config: SifaApiConfig, flag: FeatureFlag, d
889
889
  */
890
890
  declare function removeFeatureAllowlist(config: SifaApiConfig, flag: FeatureFlag, did: string, opts?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult>;
891
891
 
892
+ /**
893
+ * Options for {@link getAdminReviewQueues}. Supports the same `cookieHeader`
894
+ * passthrough as the other admin reads for RSC contexts.
895
+ */
896
+ interface GetAdminReviewQueuesOptions extends ApiFetchOptions {
897
+ cookieHeader?: string;
898
+ }
899
+ /** Response shape of `GET /api/admin/stats/review-queues`. */
900
+ interface AdminReviewQueues {
901
+ ideas: number;
902
+ nameCorrections: number;
903
+ pendingCompanies: number;
904
+ /** Sum of the three queues. */
905
+ total: number;
906
+ generatedAt: string;
907
+ }
908
+ /**
909
+ * Open counts for the three admin review queues (ideas, pending companies,
910
+ * name corrections) plus their total.
911
+ *
912
+ * Unlike {@link listFeatureAllowlist} this does NOT swallow errors: a zeroed
913
+ * payload would render as "all queues clear" in the admin nav, which is worse
914
+ * than rendering nothing. Callers decide how to degrade.
915
+ */
916
+ declare function getAdminReviewQueues(config: SifaApiConfig, opts?: GetAdminReviewQueuesOptions): Promise<AdminReviewQueues>;
917
+
892
918
  interface QuotedPostAuthor {
893
919
  did: string;
894
920
  handle: string;
@@ -1369,6 +1395,7 @@ declare const sifaQueryKeys: {
1369
1395
  readonly admin: {
1370
1396
  readonly all: () => readonly ["sifa", "admin"];
1371
1397
  readonly featureAllowlist: (flag: string) => readonly ["sifa", "admin", "feature-allowlist", string];
1398
+ readonly reviewQueues: () => readonly ["sifa", "admin", "review-queues"];
1372
1399
  };
1373
1400
  readonly stats: {
1374
1401
  readonly all: () => readonly ["sifa", "stats"];
@@ -1427,7 +1454,7 @@ declare const sifaQueryKeys: {
1427
1454
  readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
1428
1455
  };
1429
1456
  };
1430
- 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.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | 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.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.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | 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>;
1457
+ 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.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | 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.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | 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>;
1431
1458
 
1432
1459
  /** How a single entity binding was resolved during a claim. */
1433
1460
  interface OrgClaimBinding {
@@ -1514,4 +1541,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1514
1541
  */
1515
1542
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1516
1543
 
1517
- export { type OrgClaimResult as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchSuggestionsOptions as G, type FilterOptions as H, type FollowListPage as I, type FollowProfile as J, type FollowProfilePageResponse as K, type FollowUserResult as L, type FollowingResponse as M, type GithubPullRequest as N, HIDDEN_ITEM_SOURCES as O, HIDDEN_ITEM_TYPES as P, type HeatmapDay as Q, type HeatmapResponse as R, type SifaApiConfig as S, type HiddenApp as T, type HiddenItemSource as U, type HiddenItemType as V, type WriteResult as W, type HideProfileItemInput as X, type ListFeatureAllowlistOptions as Y, type MyGithubPullRequestsResponse as Z, type OrgClaimBinding as _, type ConfirmEndorsementInput as a, deleteAccount as a$, type OrgDomainChallengeResult as a0, type OrgDomainVerifyResult as a1, type OrgNotificationEmailAddResult as a2, type OrgNotificationEmailRemoveResult as a3, type OrgProfileEcho as a4, type OrgProfileUpdateResult as a5, type PdsWipeOutcome as a6, type PendingConfirmation as a7, type PendingConfirmationsPage as a8, type ProfileIndustryInput as a9, type SubCategoryBulkResult as aA, type SuggestionProfile as aB, type SuggestionsResponse as aC, type UpdateProfileOverrideInput as aD, type UpdateProfileSelfInput as aE, type UploadAvatarResult as aF, type VerifyExternalAccountResult as aG, type WipePreview as aH, addFeatureAllowlist as aI, addOrgNotificationEmail as aJ, apiFetch as aK, apiFetchOrNull as aL, apiWrite as aM, apiWriteCreate as aN, bulkHideProfileItems as aO, bulkHideStandardPublications as aP, bulkUnhideProfileItems as aQ, bulkUnhideStandardPublications as aR, castRoadmapVote as aS, checkAppAccount as aT, confirmEndorsement as aU, createConfirmation as aV, createEndorsement as aW, createExternalAccount as aX, createProfileLocation as aY, createReaction as aZ, createSkill as a_, type ProfileLocationAddress as aa, type ProfileLocationInput as ab, type ProfileSearchResult as ac, type ProfileSelfLocation as ad, QUOTED_POSTS_BATCH_MAX as ae, type QuotedPostAuthor as af, type QuotedPostImage as ag, type QuotedPostResult as ah, type QuotedPostView as ai, type ReactionError as aj, type ReactionResult as ak, type ReactionStatus as al, type RefreshOrcidPublicationsResult as am, type RefreshPdsResult as an, type ResetProfileResult as ao, type ResolveQuotedPostsOptions as ap, type RoadmapVoteError as aq, type RoadmapVoteResult as ar, type RoadmapVoter as as, type RoadmapVotesResponse as at, type SearchFilters as au, type SearchResponse as av, type SifaQueryKey as aw, type SimilarProfile as ax, type SkillSearchResult as ay, type StatsResponse as az, type ConfirmEndorsementResult as b, uploadAvatar as b$, deleteAvatarOverride as b0, deleteExternalAccount as b1, deleteProfileLocation as b2, deleteReaction as b3, deleteSkill as b4, dismissConfirmation as b5, fetchActivityFeed as b6, fetchActivityTeaser as b7, fetchAppsRegistry as b8, fetchExternalAccounts as b9, hideStandardPublication as bA, listFeatureAllowlist as bB, refreshOrcidPublications as bC, refreshPds as bD, removeFeatureAllowlist as bE, removeOrgNotificationEmail as bF, requestOrgDomainChallenge as bG, resetProfile as bH, resolveQuotedPosts as bI, retractRoadmapVote as bJ, revokeConfirmation as bK, searchSkills as bL, setExternalAccountPrimary as bM, submitOrgClaim as bN, unfollowUser as bO, unhideOrcidPublication as bP, unhideProfileItem as bQ, unhideSifaPublication as bR, unhideStandardPublication as bS, unsetExternalAccountPrimary as bT, updateExternalAccount as bU, updateOrgProfile as bV, updateProfileLocation as bW, updateProfileOverride as bX, updateProfileSelf as bY, updateSkill as bZ, updateSkillSubCategories as b_, fetchFeaturedProfile as ba, fetchFollowing as bb, fetchHeatmapData as bc, fetchHiddenApps as bd, fetchMyGithubPullRequests as be, fetchMyRoadmapVotes as bf, fetchPendingConfirmations as bg, fetchReactionStatus as bh, fetchRoadmapVotes as bi, fetchSearchFilters as bj, fetchSearchProfiles as bk, fetchSimilarProfiles as bl, fetchSkillSuggestions as bm, fetchStats as bn, fetchSuggestionCount as bo, fetchSuggestions as bp, fetchWipePreview as bq, followUser as br, getBlueskySuggestions as bs, getFollowers as bt, getFollowing as bu, getFollowingFeed as bv, getMutuals as bw, hideOrcidPublication as bx, hideProfileItem as by, hideSifaPublication as bz, type AccountCheckResult as c, verifyExternalAccount as c0, verifyOrgDomain as c1, type ActivityFeedResponse as d, type ActivityItem as e, type ActivityItemLinkHealth as f, type ActivityTeaserResponse as g, ApiError 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 ExternalAccountInput as o, type FeaturedProfile as p, type FetchActivityFeedOptions as q, type FetchActivityTeaserOptions as r, sifaQueryKeys as s, type FetchFollowListOptions as t, type FetchFollowProfilePageOptions as u, type FetchFollowingFeedOptions as v, type FetchHiddenAppsOptions as w, type FetchMyGithubPullRequestsOptions as x, type FetchMyRoadmapVotesOptions as y, type FetchReactionStatusOptions as z };
1544
+ export { type MyGithubPullRequestsResponse as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchReactionStatusOptions as G, type FetchSuggestionsOptions as H, type FilterOptions as I, type FollowListPage as J, type FollowProfile as K, type FollowProfilePageResponse as L, type FollowUserResult as M, type FollowingResponse as N, type GetAdminReviewQueuesOptions as O, type GithubPullRequest as P, HIDDEN_ITEM_SOURCES as Q, HIDDEN_ITEM_TYPES as R, type SifaApiConfig as S, type HeatmapDay as T, type HeatmapResponse as U, type HiddenApp as V, type WriteResult as W, type HiddenItemSource as X, type HiddenItemType as Y, type HideProfileItemInput as Z, type ListFeatureAllowlistOptions as _, type ConfirmEndorsementInput as a, createReaction as a$, type OrgClaimBinding as a0, type OrgClaimResult as a1, type OrgDomainChallengeResult as a2, type OrgDomainVerifyResult as a3, type OrgNotificationEmailAddResult as a4, type OrgNotificationEmailRemoveResult as a5, type OrgProfileEcho as a6, type OrgProfileUpdateResult as a7, type PdsWipeOutcome as a8, type PendingConfirmation as a9, type SkillSearchResult as aA, type StatsResponse as aB, type SubCategoryBulkResult as aC, type SuggestionProfile as aD, type SuggestionsResponse as aE, type UpdateProfileOverrideInput as aF, type UpdateProfileSelfInput as aG, type UploadAvatarResult as aH, type VerifyExternalAccountResult as aI, type WipePreview as aJ, addFeatureAllowlist as aK, addOrgNotificationEmail as aL, apiFetch as aM, apiFetchOrNull as aN, apiWrite as aO, apiWriteCreate as aP, bulkHideProfileItems as aQ, bulkHideStandardPublications as aR, bulkUnhideProfileItems as aS, bulkUnhideStandardPublications as aT, castRoadmapVote as aU, checkAppAccount as aV, confirmEndorsement as aW, createConfirmation as aX, createEndorsement as aY, createExternalAccount as aZ, createProfileLocation as a_, type PendingConfirmationsPage as aa, type ProfileIndustryInput as ab, type ProfileLocationAddress as ac, type ProfileLocationInput as ad, type ProfileSearchResult as ae, type ProfileSelfLocation as af, QUOTED_POSTS_BATCH_MAX as ag, type QuotedPostAuthor as ah, type QuotedPostImage as ai, type QuotedPostResult as aj, type QuotedPostView as ak, type ReactionError as al, type ReactionResult as am, type ReactionStatus as an, type RefreshOrcidPublicationsResult as ao, type RefreshPdsResult as ap, type ResetProfileResult as aq, type ResolveQuotedPostsOptions as ar, type RoadmapVoteError as as, type RoadmapVoteResult as at, type RoadmapVoter as au, type RoadmapVotesResponse as av, type SearchFilters as aw, type SearchResponse as ax, type SifaQueryKey as ay, type SimilarProfile as az, type ConfirmEndorsementResult as b, updateProfileSelf as b$, createSkill as b0, deleteAccount as b1, deleteAvatarOverride as b2, deleteExternalAccount as b3, deleteProfileLocation as b4, deleteReaction as b5, deleteSkill as b6, dismissConfirmation as b7, fetchActivityFeed as b8, fetchActivityTeaser as b9, hideOrcidPublication as bA, hideProfileItem as bB, hideSifaPublication as bC, hideStandardPublication as bD, listFeatureAllowlist as bE, refreshOrcidPublications as bF, refreshPds as bG, removeFeatureAllowlist as bH, removeOrgNotificationEmail as bI, requestOrgDomainChallenge as bJ, resetProfile as bK, resolveQuotedPosts as bL, retractRoadmapVote as bM, revokeConfirmation as bN, searchSkills as bO, setExternalAccountPrimary as bP, submitOrgClaim as bQ, unfollowUser as bR, unhideOrcidPublication as bS, unhideProfileItem as bT, unhideSifaPublication as bU, unhideStandardPublication as bV, unsetExternalAccountPrimary as bW, updateExternalAccount as bX, updateOrgProfile as bY, updateProfileLocation as bZ, updateProfileOverride as b_, fetchAppsRegistry as ba, fetchExternalAccounts as bb, fetchFeaturedProfile as bc, fetchFollowing as bd, fetchHeatmapData as be, fetchHiddenApps as bf, fetchMyGithubPullRequests as bg, fetchMyRoadmapVotes as bh, fetchPendingConfirmations as bi, fetchReactionStatus as bj, fetchRoadmapVotes as bk, fetchSearchFilters as bl, fetchSearchProfiles as bm, fetchSimilarProfiles as bn, fetchSkillSuggestions as bo, fetchStats as bp, fetchSuggestionCount as bq, fetchSuggestions as br, fetchWipePreview as bs, followUser as bt, getAdminReviewQueues as bu, getBlueskySuggestions as bv, getFollowers as bw, getFollowing as bx, getFollowingFeed as by, getMutuals as bz, type AccountCheckResult as c, updateSkill as c0, updateSkillSubCategories as c1, uploadAvatar as c2, verifyExternalAccount as c3, verifyOrgDomain as c4, type ActivityFeedResponse as d, type ActivityItem as e, type ActivityItemLinkHealth as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, ApiError as i, type AppRegistryEntry as j, type CastRoadmapVoteResult as k, type CheckAppAccountOptions as l, type ConfirmationInput as m, type ConfirmationSubjectInput as n, type CreateExternalAccountResult as o, type ExternalAccountInput as p, type FeaturedProfile as q, type FetchActivityFeedOptions as r, sifaQueryKeys as s, type FetchActivityTeaserOptions as t, type FetchFollowListOptions as u, type FetchFollowProfilePageOptions as v, type FetchFollowingFeedOptions as w, type FetchHiddenAppsOptions as x, type FetchMyGithubPullRequestsOptions as y, type FetchMyRoadmapVotesOptions as z };
@@ -1,4 +1,4 @@
1
- import { P as ProfileView } from './adult-content-DVxiBP69.cjs';
1
+ import { P as ProfileView } from './adult-content-BUgP8bpf.cjs';
2
2
 
3
3
  /**
4
4
  * Compact professional summary derived from a {@link ProfileView}.
@@ -1,4 +1,4 @@
1
- import { P as ProfileView } from './adult-content-DVxiBP69.js';
1
+ import { P as ProfileView } from './adult-content-BUgP8bpf.js';
2
2
 
3
3
  /**
4
4
  * Compact professional summary derived from a {@link ProfileView}.
@@ -856,6 +856,30 @@ function removeFeatureAllowlist(config, flag, did, opts = {}) {
856
856
  );
857
857
  }
858
858
 
859
+ // src/query/fetchers/admin-review-queues.ts
860
+ async function getAdminReviewQueues(config, opts = {}) {
861
+ const headers = { ...opts.headers ?? {} };
862
+ if (opts.cookieHeader) headers.cookie = opts.cookieHeader;
863
+ const res = await apiFetch(config, "/api/admin/stats/review-queues", {
864
+ credentials: "include",
865
+ cache: "no-store",
866
+ ...opts,
867
+ headers
868
+ });
869
+ const ideas = res.ideas ?? 0;
870
+ const nameCorrections = res.nameCorrections ?? 0;
871
+ const pendingCompanies = res.pendingCompanies ?? 0;
872
+ return {
873
+ ideas,
874
+ nameCorrections,
875
+ pendingCompanies,
876
+ // Derived rather than trusted so an API that predates the field still
877
+ // yields a usable pill count.
878
+ total: res.total ?? ideas + nameCorrections + pendingCompanies,
879
+ generatedAt: res.generatedAt ?? ""
880
+ };
881
+ }
882
+
859
883
  // src/query/fetchers/activity.ts
860
884
  async function fetchHeatmapData(config, handleOrDid, days, options = {}) {
861
885
  const path = `/api/activity/${encodeIdentifier(handleOrDid)}/heatmap?days=${days}`;
@@ -1430,7 +1454,8 @@ var sifaQueryKeys = {
1430
1454
  },
1431
1455
  admin: {
1432
1456
  all: () => ["sifa", "admin"],
1433
- featureAllowlist: (flag) => ["sifa", "admin", "feature-allowlist", flag]
1457
+ featureAllowlist: (flag) => ["sifa", "admin", "feature-allowlist", flag],
1458
+ reviewQueues: () => ["sifa", "admin", "review-queues"]
1434
1459
  },
1435
1460
  stats: {
1436
1461
  all: () => ["sifa", "stats"],
@@ -1558,6 +1583,7 @@ exports.fetchSuggestionCount = fetchSuggestionCount;
1558
1583
  exports.fetchSuggestions = fetchSuggestions;
1559
1584
  exports.fetchWipePreview = fetchWipePreview;
1560
1585
  exports.followUser = followUser;
1586
+ exports.getAdminReviewQueues = getAdminReviewQueues;
1561
1587
  exports.getBlueskySuggestions = getBlueskySuggestions;
1562
1588
  exports.getFollowers = getFollowers;
1563
1589
  exports.getFollowing = getFollowing;