@singi-labs/sifa-sdk 0.12.48 → 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.
- package/dist/{index-D5yf1X4k.d.ts → index-CddvYEbj.d.ts} +11 -2
- package/dist/{index-DS-cxfHb.d.ts → index-L1xPmzKP.d.ts} +1 -1
- package/dist/{index-TELQkOMk.d.cts → index-r5KywRfC.d.cts} +11 -2
- package/dist/{index-X9PQhUnB.d.cts → index-wf6rbBZZ.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{org-C5Dzmo38.d.cts → org-CVLKBRsw.d.cts} +29 -2
- package/dist/{org-BtdoBUT6.d.ts → org-CZvX0wc7.d.ts} +29 -2
- package/dist/query/fetchers/index.cjs +27 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +2 -2
- package/dist/query/fetchers/index.d.ts +2 -2
- package/dist/query/fetchers/index.js +27 -2
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +39 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +39 -2
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +38 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +5 -5
- package/dist/query/index.d.ts +5 -5
- package/dist/query/index.js +37 -2
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
package/dist/query/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, a as ConfirmEndorsementInput, b as ConfirmEndorsementResult, W as WriteResult, s as sifaQueryKeys } from '../org-
|
|
2
|
-
export { c as AccountCheckResult, d as ActivityFeedResponse, e as ActivityItem, f as ActivityItemLinkHealth, g as ActivityTeaserResponse, h as
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillSubCategoriesVariables, j as UpdateSkillVariables, k as UseEntitySearchOptions, l as UseMyGithubPullRequestsParams, u as useActivityFeed, m as useActivityTeaser, n as useAddFeatureAllowlist, o as useAddOrgNotificationEmail, p as
|
|
4
|
-
import { D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../index-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as PendingEndorsement, g as checkNetworkMapJobStatus, h as createEducation, i as createPosition, j as createRecord, k as deleteEducation, l as deletePosition, m as deleteRecord, n as dismissEndorsement, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchPendingEndorsements, v as fetchProfile, w as fetchProfileSummary, x as hideKeytraceClaim, y as importSearchEntities, z as initiateNetworkMapGeneration, A as isNetworkMapResponse, B as linkSkillToPosition, C as mintEntityDomain, E as resolveEntityDomain, G as revealMarqueDomain, H as selectEntity, I as setPositionPrimary, J as unhideKeytraceClaim, K as unlinkSkillFromPosition, L as unrevealMarqueDomain, M as unsetPositionPrimary, O as updateEducation, Q as updatePosition, R as updateRecord } from '../index-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, a as ConfirmEndorsementInput, b as ConfirmEndorsementResult, W as WriteResult, s as sifaQueryKeys } from '../org-CVLKBRsw.cjs';
|
|
2
|
+
export { c as AccountCheckResult, d as ActivityFeedResponse, e as ActivityItem, f as ActivityItemLinkHealth, g as ActivityTeaserResponse, h as AdminReviewQueues, i as ApiError, j as AppRegistryEntry, B as BulkHideProfileItemInput, k as CastRoadmapVoteResult, l as CheckAppAccountOptions, m as ConfirmationInput, n as ConfirmationSubjectInput, o as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchFollowListOptions, v as FetchFollowProfilePageOptions, w as FetchFollowingFeedOptions, x as FetchHiddenAppsOptions, y as FetchMyGithubPullRequestsOptions, z as FetchMyRoadmapVotesOptions, G as FetchReactionStatusOptions, H as FetchSuggestionsOptions, I as FilterOptions, J as FollowListPage, K as FollowProfile, L as FollowProfilePageResponse, M as FollowUserResult, N as FollowingResponse, O as GetAdminReviewQueuesOptions, P as GithubPullRequest, Q as HIDDEN_ITEM_SOURCES, R as HIDDEN_ITEM_TYPES, T as HeatmapDay, U as HeatmapResponse, V as HiddenApp, X as HiddenItemSource, Y as HiddenItemType, Z as HideProfileItemInput, _ as ListFeatureAllowlistOptions, $ as MyGithubPullRequestsResponse, a0 as OrgClaimBinding, a1 as OrgClaimResult, a2 as OrgDomainChallengeResult, a3 as OrgDomainVerifyResult, a4 as OrgNotificationEmailAddResult, a5 as OrgNotificationEmailRemoveResult, a6 as OrgProfileEcho, a7 as OrgProfileUpdateResult, a8 as PdsWipeOutcome, a9 as PendingConfirmation, aa as PendingConfirmationsPage, ab as ProfileIndustryInput, ac as ProfileLocationAddress, ad as ProfileLocationInput, ae as ProfileSearchResult, af as ProfileSelfLocation, ag as QUOTED_POSTS_BATCH_MAX, ah as QuotedPostAuthor, ai as QuotedPostImage, aj as QuotedPostResult, ak as QuotedPostView, al as ReactionError, am as ReactionResult, an as ReactionStatus, ao as RefreshOrcidPublicationsResult, ap as RefreshPdsResult, aq as ResetProfileResult, ar as ResolveQuotedPostsOptions, as as RoadmapVoteError, at as RoadmapVoteResult, au as RoadmapVoter, av as RoadmapVotesResponse, aw as SearchFilters, ax as SearchResponse, ay as SifaQueryKey, az as SimilarProfile, aA as SkillSearchResult, aB as StatsResponse, aC as SubCategoryBulkResult, aD as SuggestionProfile, aE as SuggestionsResponse, aF as UpdateProfileOverrideInput, aG as UpdateProfileSelfInput, aH as UploadAvatarResult, aI as VerifyExternalAccountResult, aJ as WipePreview, aK as addFeatureAllowlist, aL as addOrgNotificationEmail, aM as apiFetch, aN as apiFetchOrNull, aO as apiWrite, aP as apiWriteCreate, aQ as bulkHideProfileItems, aR as bulkHideStandardPublications, aS as bulkUnhideProfileItems, aT as bulkUnhideStandardPublications, aU as castRoadmapVote, aV as checkAppAccount, aW as confirmEndorsement, aX as createConfirmation, aY as createEndorsement, aZ as createExternalAccount, a_ as createProfileLocation, a$ as createReaction, b0 as createSkill, b1 as deleteAccount, b2 as deleteAvatarOverride, b3 as deleteExternalAccount, b4 as deleteProfileLocation, b5 as deleteReaction, b6 as deleteSkill, b7 as dismissConfirmation, b8 as fetchActivityFeed, b9 as fetchActivityTeaser, ba as fetchAppsRegistry, bb as fetchExternalAccounts, bc as fetchFeaturedProfile, bd as fetchFollowing, be as fetchHeatmapData, bf as fetchHiddenApps, bg as fetchMyGithubPullRequests, bh as fetchMyRoadmapVotes, bi as fetchPendingConfirmations, bj as fetchReactionStatus, bk as fetchRoadmapVotes, bl as fetchSearchFilters, bm as fetchSearchProfiles, bn as fetchSimilarProfiles, bo as fetchSkillSuggestions, bp as fetchStats, bq as fetchSuggestionCount, br as fetchSuggestions, bs as fetchWipePreview, bt as followUser, bu as getAdminReviewQueues, bv as getBlueskySuggestions, bw as getFollowers, bx as getFollowing, by as getFollowingFeed, bz as getMutuals, bA as hideOrcidPublication, bB as hideProfileItem, bC as hideSifaPublication, bD as hideStandardPublication, bE as listFeatureAllowlist, bF as refreshOrcidPublications, bG as refreshPds, bH as removeFeatureAllowlist, bI as removeOrgNotificationEmail, bJ as requestOrgDomainChallenge, bK as resetProfile, bL as resolveQuotedPosts, bM as retractRoadmapVote, bN as revokeConfirmation, bO as searchSkills, bP as setExternalAccountPrimary, bQ as submitOrgClaim, bR as unfollowUser, bS as unhideOrcidPublication, bT as unhideProfileItem, bU as unhideSifaPublication, bV as unhideStandardPublication, bW as unsetExternalAccountPrimary, bX as updateExternalAccount, bY as updateOrgProfile, bZ as updateProfileLocation, b_ as updateProfileOverride, b$ as updateProfileSelf, c0 as updateSkill, c1 as updateSkillSubCategories, c2 as uploadAvatar, c3 as verifyExternalAccount, c4 as verifyOrgDomain } from '../org-CVLKBRsw.cjs';
|
|
3
|
+
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillSubCategoriesVariables, j as UpdateSkillVariables, k as UseEntitySearchOptions, l as UseMyGithubPullRequestsParams, u as useActivityFeed, m as useActivityTeaser, n as useAddFeatureAllowlist, o as useAddOrgNotificationEmail, p as useAdminReviewQueues, q as useAppAccountCheck, r as useAppsRegistry, s as useAtFundLink, t as useBlueskySuggestions, v as useBulkHideProfileItems, w as useBulkHideStandardPublications, x as useBulkUnhideProfileItems, y as useBulkUnhideStandardPublications, z as useCanonicalSkillSearch, B as useCastRoadmapVote, E as useCreateConfirmation, G as useCreateEducation, H as useCreateEndorsement, I as useCreateExternalAccount, J as useCreatePosition, K as useCreateProfileLocation, L as useCreateReaction, M as useCreateRecord, N as useCreateSkill, O as useDebouncedValue, Q as useDeleteAccount, T as useDeleteAvatarOverride, V as useDeleteEducation, W as useDeleteExternalAccount, X as useDeletePosition, Y as useDeleteProfileLocation, Z as useDeleteReaction, _ as useDeleteRecord, $ as useDeleteSkill, a0 as useDismissConfirmation, a1 as useEndorsementCount, a2 as useEntitySearch, a3 as useExternalAccounts, a4 as useFeatureAllowlist, a5 as useFeaturedProfile, a6 as useFollow, a7 as useFollowers, a8 as useFollowing, a9 as useFollowingFeed, aa as useFollowingList, ab as useGetProfileView, ac as useHeatmapData, ad as useHiddenApps, ae as useHideKeytraceClaim, af as useHideOrcidPublication, ag as useHideProfileItem, ah as useHideSifaPublication, ai as useHideStandardPublication, aj as useImportSearchEntities, ak as useLinkSkillToPosition, al as useMintEntityDomain, am as useMutuals, an as useMyGithubPullRequests, ao as useMyRoadmapVotes, ap as useNetworkStreamCount, aq as useOrgClaim, ar as useOrgDomainChallenge, as as useOrgDomainVerify, at as useOrgProfile, au as usePendingConfirmations, av as useProfile, aw as useReactionStatus, ax as useRefreshOrcidPublications, ay as useRefreshPds, az as useRemoveFeatureAllowlist, aA as useRemoveOrgNotificationEmail, aB as useResetProfile, aC as useResolveEntityDomain, aD as useRetractRoadmapVote, aE as useRevealMarqueDomain, aF as useRevokeConfirmation, aG as useRoadmapVotes, aH as useSearchFilters, aI as useSearchProfiles, aJ as useSelectEntity, aK as useSetExternalAccountPrimary, aL as useSetPositionPrimary, aM as useSifaConfig, aN as useSimilarProfiles, aO as useSkillSuggestions, aP as useStats, aQ as useSuggestionCount, aR as useSuggestions, aS as useUnfollow, aT as useUnhideKeytraceClaim, aU as useUnhideOrcidPublication, aV as useUnhideProfileItem, aW as useUnhideSifaPublication, aX as useUnhideStandardPublication, aY as useUnlinkSkillFromPosition, aZ as useUnrevealMarqueDomain, a_ as useUnsetExternalAccountPrimary, a$ as useUnsetPositionPrimary, b0 as useUpdateEducation, b1 as useUpdateExternalAccount, b2 as useUpdateOrgProfile, b3 as useUpdatePosition, b4 as useUpdateProfileLocation, b5 as useUpdateProfileOverride, b6 as useUpdateProfileSelf, b7 as useUpdateRecord, b8 as useUpdateSkill, b9 as useUpdateSkillSubCategories, ba as useUploadAvatar, bb as useVerifyExternalAccount, bc as useWipePreview } from '../index-r5KywRfC.cjs';
|
|
4
|
+
import { D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../index-wf6rbBZZ.cjs';
|
|
5
|
+
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as PendingEndorsement, g as checkNetworkMapJobStatus, h as createEducation, i as createPosition, j as createRecord, k as deleteEducation, l as deletePosition, m as deleteRecord, n as dismissEndorsement, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchPendingEndorsements, v as fetchProfile, w as fetchProfileSummary, x as hideKeytraceClaim, y as importSearchEntities, z as initiateNetworkMapGeneration, A as isNetworkMapResponse, B as linkSkillToPosition, C as mintEntityDomain, E as resolveEntityDomain, G as revealMarqueDomain, H as selectEntity, I as setPositionPrimary, J as unhideKeytraceClaim, K as unlinkSkillFromPosition, L as unrevealMarqueDomain, M as unsetPositionPrimary, O as updateEducation, Q as updatePosition, R as updateRecord } from '../index-wf6rbBZZ.cjs';
|
|
6
6
|
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-BUgP8bpf.cjs';
|
|
7
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
8
|
import { UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, a as ConfirmEndorsementInput, b as ConfirmEndorsementResult, W as WriteResult, s as sifaQueryKeys } from '../org-
|
|
2
|
-
export { c as AccountCheckResult, d as ActivityFeedResponse, e as ActivityItem, f as ActivityItemLinkHealth, g as ActivityTeaserResponse, h as
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillSubCategoriesVariables, j as UpdateSkillVariables, k as UseEntitySearchOptions, l as UseMyGithubPullRequestsParams, u as useActivityFeed, m as useActivityTeaser, n as useAddFeatureAllowlist, o as useAddOrgNotificationEmail, p as
|
|
4
|
-
import { D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../index-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as PendingEndorsement, g as checkNetworkMapJobStatus, h as createEducation, i as createPosition, j as createRecord, k as deleteEducation, l as deletePosition, m as deleteRecord, n as dismissEndorsement, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchPendingEndorsements, v as fetchProfile, w as fetchProfileSummary, x as hideKeytraceClaim, y as importSearchEntities, z as initiateNetworkMapGeneration, A as isNetworkMapResponse, B as linkSkillToPosition, C as mintEntityDomain, E as resolveEntityDomain, G as revealMarqueDomain, H as selectEntity, I as setPositionPrimary, J as unhideKeytraceClaim, K as unlinkSkillFromPosition, L as unrevealMarqueDomain, M as unsetPositionPrimary, O as updateEducation, Q as updatePosition, R as updateRecord } from '../index-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, a as ConfirmEndorsementInput, b as ConfirmEndorsementResult, W as WriteResult, s as sifaQueryKeys } from '../org-CZvX0wc7.js';
|
|
2
|
+
export { c as AccountCheckResult, d as ActivityFeedResponse, e as ActivityItem, f as ActivityItemLinkHealth, g as ActivityTeaserResponse, h as AdminReviewQueues, i as ApiError, j as AppRegistryEntry, B as BulkHideProfileItemInput, k as CastRoadmapVoteResult, l as CheckAppAccountOptions, m as ConfirmationInput, n as ConfirmationSubjectInput, o as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchFollowListOptions, v as FetchFollowProfilePageOptions, w as FetchFollowingFeedOptions, x as FetchHiddenAppsOptions, y as FetchMyGithubPullRequestsOptions, z as FetchMyRoadmapVotesOptions, G as FetchReactionStatusOptions, H as FetchSuggestionsOptions, I as FilterOptions, J as FollowListPage, K as FollowProfile, L as FollowProfilePageResponse, M as FollowUserResult, N as FollowingResponse, O as GetAdminReviewQueuesOptions, P as GithubPullRequest, Q as HIDDEN_ITEM_SOURCES, R as HIDDEN_ITEM_TYPES, T as HeatmapDay, U as HeatmapResponse, V as HiddenApp, X as HiddenItemSource, Y as HiddenItemType, Z as HideProfileItemInput, _ as ListFeatureAllowlistOptions, $ as MyGithubPullRequestsResponse, a0 as OrgClaimBinding, a1 as OrgClaimResult, a2 as OrgDomainChallengeResult, a3 as OrgDomainVerifyResult, a4 as OrgNotificationEmailAddResult, a5 as OrgNotificationEmailRemoveResult, a6 as OrgProfileEcho, a7 as OrgProfileUpdateResult, a8 as PdsWipeOutcome, a9 as PendingConfirmation, aa as PendingConfirmationsPage, ab as ProfileIndustryInput, ac as ProfileLocationAddress, ad as ProfileLocationInput, ae as ProfileSearchResult, af as ProfileSelfLocation, ag as QUOTED_POSTS_BATCH_MAX, ah as QuotedPostAuthor, ai as QuotedPostImage, aj as QuotedPostResult, ak as QuotedPostView, al as ReactionError, am as ReactionResult, an as ReactionStatus, ao as RefreshOrcidPublicationsResult, ap as RefreshPdsResult, aq as ResetProfileResult, ar as ResolveQuotedPostsOptions, as as RoadmapVoteError, at as RoadmapVoteResult, au as RoadmapVoter, av as RoadmapVotesResponse, aw as SearchFilters, ax as SearchResponse, ay as SifaQueryKey, az as SimilarProfile, aA as SkillSearchResult, aB as StatsResponse, aC as SubCategoryBulkResult, aD as SuggestionProfile, aE as SuggestionsResponse, aF as UpdateProfileOverrideInput, aG as UpdateProfileSelfInput, aH as UploadAvatarResult, aI as VerifyExternalAccountResult, aJ as WipePreview, aK as addFeatureAllowlist, aL as addOrgNotificationEmail, aM as apiFetch, aN as apiFetchOrNull, aO as apiWrite, aP as apiWriteCreate, aQ as bulkHideProfileItems, aR as bulkHideStandardPublications, aS as bulkUnhideProfileItems, aT as bulkUnhideStandardPublications, aU as castRoadmapVote, aV as checkAppAccount, aW as confirmEndorsement, aX as createConfirmation, aY as createEndorsement, aZ as createExternalAccount, a_ as createProfileLocation, a$ as createReaction, b0 as createSkill, b1 as deleteAccount, b2 as deleteAvatarOverride, b3 as deleteExternalAccount, b4 as deleteProfileLocation, b5 as deleteReaction, b6 as deleteSkill, b7 as dismissConfirmation, b8 as fetchActivityFeed, b9 as fetchActivityTeaser, ba as fetchAppsRegistry, bb as fetchExternalAccounts, bc as fetchFeaturedProfile, bd as fetchFollowing, be as fetchHeatmapData, bf as fetchHiddenApps, bg as fetchMyGithubPullRequests, bh as fetchMyRoadmapVotes, bi as fetchPendingConfirmations, bj as fetchReactionStatus, bk as fetchRoadmapVotes, bl as fetchSearchFilters, bm as fetchSearchProfiles, bn as fetchSimilarProfiles, bo as fetchSkillSuggestions, bp as fetchStats, bq as fetchSuggestionCount, br as fetchSuggestions, bs as fetchWipePreview, bt as followUser, bu as getAdminReviewQueues, bv as getBlueskySuggestions, bw as getFollowers, bx as getFollowing, by as getFollowingFeed, bz as getMutuals, bA as hideOrcidPublication, bB as hideProfileItem, bC as hideSifaPublication, bD as hideStandardPublication, bE as listFeatureAllowlist, bF as refreshOrcidPublications, bG as refreshPds, bH as removeFeatureAllowlist, bI as removeOrgNotificationEmail, bJ as requestOrgDomainChallenge, bK as resetProfile, bL as resolveQuotedPosts, bM as retractRoadmapVote, bN as revokeConfirmation, bO as searchSkills, bP as setExternalAccountPrimary, bQ as submitOrgClaim, bR as unfollowUser, bS as unhideOrcidPublication, bT as unhideProfileItem, bU as unhideSifaPublication, bV as unhideStandardPublication, bW as unsetExternalAccountPrimary, bX as updateExternalAccount, bY as updateOrgProfile, bZ as updateProfileLocation, b_ as updateProfileOverride, b$ as updateProfileSelf, c0 as updateSkill, c1 as updateSkillSubCategories, c2 as uploadAvatar, c3 as verifyExternalAccount, c4 as verifyOrgDomain } from '../org-CZvX0wc7.js';
|
|
3
|
+
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillSubCategoriesVariables, j as UpdateSkillVariables, k as UseEntitySearchOptions, l as UseMyGithubPullRequestsParams, u as useActivityFeed, m as useActivityTeaser, n as useAddFeatureAllowlist, o as useAddOrgNotificationEmail, p as useAdminReviewQueues, q as useAppAccountCheck, r as useAppsRegistry, s as useAtFundLink, t as useBlueskySuggestions, v as useBulkHideProfileItems, w as useBulkHideStandardPublications, x as useBulkUnhideProfileItems, y as useBulkUnhideStandardPublications, z as useCanonicalSkillSearch, B as useCastRoadmapVote, E as useCreateConfirmation, G as useCreateEducation, H as useCreateEndorsement, I as useCreateExternalAccount, J as useCreatePosition, K as useCreateProfileLocation, L as useCreateReaction, M as useCreateRecord, N as useCreateSkill, O as useDebouncedValue, Q as useDeleteAccount, T as useDeleteAvatarOverride, V as useDeleteEducation, W as useDeleteExternalAccount, X as useDeletePosition, Y as useDeleteProfileLocation, Z as useDeleteReaction, _ as useDeleteRecord, $ as useDeleteSkill, a0 as useDismissConfirmation, a1 as useEndorsementCount, a2 as useEntitySearch, a3 as useExternalAccounts, a4 as useFeatureAllowlist, a5 as useFeaturedProfile, a6 as useFollow, a7 as useFollowers, a8 as useFollowing, a9 as useFollowingFeed, aa as useFollowingList, ab as useGetProfileView, ac as useHeatmapData, ad as useHiddenApps, ae as useHideKeytraceClaim, af as useHideOrcidPublication, ag as useHideProfileItem, ah as useHideSifaPublication, ai as useHideStandardPublication, aj as useImportSearchEntities, ak as useLinkSkillToPosition, al as useMintEntityDomain, am as useMutuals, an as useMyGithubPullRequests, ao as useMyRoadmapVotes, ap as useNetworkStreamCount, aq as useOrgClaim, ar as useOrgDomainChallenge, as as useOrgDomainVerify, at as useOrgProfile, au as usePendingConfirmations, av as useProfile, aw as useReactionStatus, ax as useRefreshOrcidPublications, ay as useRefreshPds, az as useRemoveFeatureAllowlist, aA as useRemoveOrgNotificationEmail, aB as useResetProfile, aC as useResolveEntityDomain, aD as useRetractRoadmapVote, aE as useRevealMarqueDomain, aF as useRevokeConfirmation, aG as useRoadmapVotes, aH as useSearchFilters, aI as useSearchProfiles, aJ as useSelectEntity, aK as useSetExternalAccountPrimary, aL as useSetPositionPrimary, aM as useSifaConfig, aN as useSimilarProfiles, aO as useSkillSuggestions, aP as useStats, aQ as useSuggestionCount, aR as useSuggestions, aS as useUnfollow, aT as useUnhideKeytraceClaim, aU as useUnhideOrcidPublication, aV as useUnhideProfileItem, aW as useUnhideSifaPublication, aX as useUnhideStandardPublication, aY as useUnlinkSkillFromPosition, aZ as useUnrevealMarqueDomain, a_ as useUnsetExternalAccountPrimary, a$ as useUnsetPositionPrimary, b0 as useUpdateEducation, b1 as useUpdateExternalAccount, b2 as useUpdateOrgProfile, b3 as useUpdatePosition, b4 as useUpdateProfileLocation, b5 as useUpdateProfileOverride, b6 as useUpdateProfileSelf, b7 as useUpdateRecord, b8 as useUpdateSkill, b9 as useUpdateSkillSubCategories, ba as useUploadAvatar, bb as useVerifyExternalAccount, bc as useWipePreview } from '../index-CddvYEbj.js';
|
|
4
|
+
import { D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../index-L1xPmzKP.js';
|
|
5
|
+
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as PendingEndorsement, g as checkNetworkMapJobStatus, h as createEducation, i as createPosition, j as createRecord, k as deleteEducation, l as deletePosition, m as deleteRecord, n as dismissEndorsement, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchPendingEndorsements, v as fetchProfile, w as fetchProfileSummary, x as hideKeytraceClaim, y as importSearchEntities, z as initiateNetworkMapGeneration, A as isNetworkMapResponse, B as linkSkillToPosition, C as mintEntityDomain, E as resolveEntityDomain, G as revealMarqueDomain, H as selectEntity, I as setPositionPrimary, J as unhideKeytraceClaim, K as unlinkSkillFromPosition, L as unrevealMarqueDomain, M as unsetPositionPrimary, O as updateEducation, Q as updatePosition, R as updateRecord } from '../index-L1xPmzKP.js';
|
|
6
6
|
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-BUgP8bpf.js';
|
|
7
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
8
|
import { UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
|
package/dist/query/index.js
CHANGED
|
@@ -1033,6 +1033,30 @@ function removeFeatureAllowlist(config, flag, did, opts = {}) {
|
|
|
1033
1033
|
);
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
|
+
// src/query/fetchers/admin-review-queues.ts
|
|
1037
|
+
async function getAdminReviewQueues(config, opts = {}) {
|
|
1038
|
+
const headers = { ...opts.headers ?? {} };
|
|
1039
|
+
if (opts.cookieHeader) headers.cookie = opts.cookieHeader;
|
|
1040
|
+
const res = await apiFetch(config, "/api/admin/stats/review-queues", {
|
|
1041
|
+
credentials: "include",
|
|
1042
|
+
cache: "no-store",
|
|
1043
|
+
...opts,
|
|
1044
|
+
headers
|
|
1045
|
+
});
|
|
1046
|
+
const ideas = res.ideas ?? 0;
|
|
1047
|
+
const nameCorrections = res.nameCorrections ?? 0;
|
|
1048
|
+
const pendingCompanies = res.pendingCompanies ?? 0;
|
|
1049
|
+
return {
|
|
1050
|
+
ideas,
|
|
1051
|
+
nameCorrections,
|
|
1052
|
+
pendingCompanies,
|
|
1053
|
+
// Derived rather than trusted so an API that predates the field still
|
|
1054
|
+
// yields a usable pill count.
|
|
1055
|
+
total: res.total ?? ideas + nameCorrections + pendingCompanies,
|
|
1056
|
+
generatedAt: res.generatedAt ?? ""
|
|
1057
|
+
};
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1036
1060
|
// src/query/fetchers/activity.ts
|
|
1037
1061
|
async function fetchHeatmapData(config, handleOrDid, days, options = {}) {
|
|
1038
1062
|
const path = `/api/activity/${encodeIdentifier(handleOrDid)}/heatmap?days=${days}`;
|
|
@@ -1439,7 +1463,8 @@ var sifaQueryKeys = {
|
|
|
1439
1463
|
},
|
|
1440
1464
|
admin: {
|
|
1441
1465
|
all: () => ["sifa", "admin"],
|
|
1442
|
-
featureAllowlist: (flag) => ["sifa", "admin", "feature-allowlist", flag]
|
|
1466
|
+
featureAllowlist: (flag) => ["sifa", "admin", "feature-allowlist", flag],
|
|
1467
|
+
reviewQueues: () => ["sifa", "admin", "review-queues"]
|
|
1443
1468
|
},
|
|
1444
1469
|
stats: {
|
|
1445
1470
|
all: () => ["sifa", "stats"],
|
|
@@ -2628,6 +2653,16 @@ function useRemoveFeatureAllowlist(flag, options) {
|
|
|
2628
2653
|
}
|
|
2629
2654
|
);
|
|
2630
2655
|
}
|
|
2656
|
+
var REVIEW_QUEUES_STALE_TIME_MS = 6e4;
|
|
2657
|
+
function useAdminReviewQueues(options) {
|
|
2658
|
+
const config = useSifaConfig();
|
|
2659
|
+
return useQuery({
|
|
2660
|
+
queryKey: sifaQueryKeys.admin.reviewQueues(),
|
|
2661
|
+
queryFn: () => getAdminReviewQueues(config),
|
|
2662
|
+
staleTime: REVIEW_QUEUES_STALE_TIME_MS,
|
|
2663
|
+
...options
|
|
2664
|
+
});
|
|
2665
|
+
}
|
|
2631
2666
|
function useHeatmapData(handleOrDid, days, options) {
|
|
2632
2667
|
const config = useSifaConfig();
|
|
2633
2668
|
return useQuery({
|
|
@@ -2998,6 +3033,6 @@ function useRemoveOrgNotificationEmail(options) {
|
|
|
2998
3033
|
});
|
|
2999
3034
|
}
|
|
3000
3035
|
|
|
3001
|
-
export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, QUOTED_POSTS_BATCH_MAX, SifaProvider, addFeatureAllowlist, addOrgNotificationEmail, apiFetch, apiFetchOrNull, apiWrite, apiWriteCreate, bulkHideProfileItems, bulkHideStandardPublications, bulkUnhideProfileItems, bulkUnhideStandardPublications, castRoadmapVote, checkAppAccount, checkNetworkMapJobStatus, confirmEndorsement, createConfirmation, createEducation, createEndorsement, createExternalAccount, createPosition, createProfileLocation, createReaction, createRecord, createSkill, deleteAccount, deleteAvatarOverride, deleteEducation, deleteExternalAccount, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteSkill, dismissConfirmation, dismissEndorsement, effectiveContentVisibility, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchHeatmapData, fetchHiddenApps, fetchMyGithubPullRequests, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchPendingConfirmations, fetchPendingEndorsements, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, fetchWipePreview, followUser, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, mintEntityDomain, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, requestOrgDomainChallenge, resetProfile, resolveEntityDomain, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, revokeConfirmation, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, shouldGateAdultMedia, sifaQueryKeys, submitOrgClaim, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateBskyContentLabelPrefs, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, updateSkillSubCategories, uploadAvatar, useActivityFeed, useActivityTeaser, useAddFeatureAllowlist, useAddOrgNotificationEmail, useAppAccountCheck, useAppsRegistry, useAtFundLink, useBlueskySuggestions, useBskyContentLabelPrefs, useBulkHideProfileItems, useBulkHideStandardPublications, useBulkUnhideProfileItems, useBulkUnhideStandardPublications, useCanonicalSkillSearch, useCastRoadmapVote, useConfirmEndorsement, useCreateConfirmation, useCreateEducation, useCreateEndorsement, useCreateExternalAccount, useCreatePosition, useCreateProfileLocation, useCreateReaction, useCreateRecord, useCreateSkill, useDebouncedValue, useDeleteAccount, useDeleteAvatarOverride, useDeleteEducation, useDeleteExternalAccount, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteSkill, useDismissConfirmation, useDismissEndorsement, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useGetProfileView, useHeatmapData, useHiddenApps, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyGithubPullRequests, useMyRoadmapVotes, useNetworkStreamCount, useOrgClaim, useOrgDomainChallenge, useOrgDomainVerify, useOrgProfile, usePendingConfirmations, usePendingEndorsements, useProfile, useReactionStatus, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useRemoveOrgNotificationEmail, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, useRevokeConfirmation, useRoadmapVotes, useSearchFilters, useSearchProfiles, useSelectEntity, useSetExternalAccountPrimary, useSetPositionPrimary, useSifaConfig, useSimilarProfiles, useSkillSuggestions, useStats, useSuggestionCount, useSuggestions, useUnfollow, useUnhideKeytraceClaim, useUnhideOrcidPublication, useUnhideProfileItem, useUnhideSifaPublication, useUnhideStandardPublication, useUnlinkSkillFromPosition, useUnrevealMarqueDomain, useUnsetExternalAccountPrimary, useUnsetPositionPrimary, useUpdateBskyContentLabelPrefs, useUpdateEducation, useUpdateExternalAccount, useUpdateOrgProfile, useUpdatePosition, useUpdateProfileLocation, useUpdateProfileOverride, useUpdateProfileSelf, useUpdateRecord, useUpdateSkill, useUpdateSkillSubCategories, useUploadAvatar, useVerifyExternalAccount, useWipePreview, verifyExternalAccount, verifyOrgDomain };
|
|
3036
|
+
export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, QUOTED_POSTS_BATCH_MAX, SifaProvider, addFeatureAllowlist, addOrgNotificationEmail, apiFetch, apiFetchOrNull, apiWrite, apiWriteCreate, bulkHideProfileItems, bulkHideStandardPublications, bulkUnhideProfileItems, bulkUnhideStandardPublications, castRoadmapVote, checkAppAccount, checkNetworkMapJobStatus, confirmEndorsement, createConfirmation, createEducation, createEndorsement, createExternalAccount, createPosition, createProfileLocation, createReaction, createRecord, createSkill, deleteAccount, deleteAvatarOverride, deleteEducation, deleteExternalAccount, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteSkill, dismissConfirmation, dismissEndorsement, effectiveContentVisibility, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchHeatmapData, fetchHiddenApps, fetchMyGithubPullRequests, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchPendingConfirmations, fetchPendingEndorsements, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, fetchWipePreview, followUser, getAdminReviewQueues, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, mintEntityDomain, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, requestOrgDomainChallenge, resetProfile, resolveEntityDomain, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, revokeConfirmation, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, shouldGateAdultMedia, sifaQueryKeys, submitOrgClaim, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateBskyContentLabelPrefs, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, updateSkillSubCategories, uploadAvatar, useActivityFeed, useActivityTeaser, useAddFeatureAllowlist, useAddOrgNotificationEmail, useAdminReviewQueues, useAppAccountCheck, useAppsRegistry, useAtFundLink, useBlueskySuggestions, useBskyContentLabelPrefs, useBulkHideProfileItems, useBulkHideStandardPublications, useBulkUnhideProfileItems, useBulkUnhideStandardPublications, useCanonicalSkillSearch, useCastRoadmapVote, useConfirmEndorsement, useCreateConfirmation, useCreateEducation, useCreateEndorsement, useCreateExternalAccount, useCreatePosition, useCreateProfileLocation, useCreateReaction, useCreateRecord, useCreateSkill, useDebouncedValue, useDeleteAccount, useDeleteAvatarOverride, useDeleteEducation, useDeleteExternalAccount, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteSkill, useDismissConfirmation, useDismissEndorsement, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useGetProfileView, useHeatmapData, useHiddenApps, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyGithubPullRequests, useMyRoadmapVotes, useNetworkStreamCount, useOrgClaim, useOrgDomainChallenge, useOrgDomainVerify, useOrgProfile, usePendingConfirmations, usePendingEndorsements, useProfile, useReactionStatus, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useRemoveOrgNotificationEmail, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, useRevokeConfirmation, useRoadmapVotes, useSearchFilters, useSearchProfiles, useSelectEntity, useSetExternalAccountPrimary, useSetPositionPrimary, useSifaConfig, useSimilarProfiles, useSkillSuggestions, useStats, useSuggestionCount, useSuggestions, useUnfollow, useUnhideKeytraceClaim, useUnhideOrcidPublication, useUnhideProfileItem, useUnhideSifaPublication, useUnhideStandardPublication, useUnlinkSkillFromPosition, useUnrevealMarqueDomain, useUnsetExternalAccountPrimary, useUnsetPositionPrimary, useUpdateBskyContentLabelPrefs, useUpdateEducation, useUpdateExternalAccount, useUpdateOrgProfile, useUpdatePosition, useUpdateProfileLocation, useUpdateProfileOverride, useUpdateProfileSelf, useUpdateRecord, useUpdateSkill, useUpdateSkillSubCategories, useUploadAvatar, useVerifyExternalAccount, useWipePreview, verifyExternalAccount, verifyOrgDomain };
|
|
3002
3037
|
//# sourceMappingURL=index.js.map
|
|
3003
3038
|
//# sourceMappingURL=index.js.map
|