@singi-labs/sifa-sdk 0.19.51 → 0.19.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +33 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +36 -1
- package/dist/index.d.ts +36 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/{network-map-B0bp4-ex.d.cts → network-map-C-p-k3gB.d.cts} +1 -0
- package/dist/{network-map-C-y5XxLI.d.ts → network-map-CnVlBE0G.d.ts} +1 -0
- package/dist/query/fetchers/index.cjs +2 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +1 -1
- package/dist/query/fetchers/index.d.ts +1 -1
- package/dist/query/fetchers/rpg.js +2 -0
- package/dist/query/fetchers/rpg.js.map +1 -1
- package/dist/query/index.cjs +2 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +2 -2
- package/dist/query/index.d.ts +2 -2
- package/dist/rpg/catalog.js +1 -1
- package/dist/rpg/catalog.js.map +1 -1
- package/dist/rpg/index.cjs +1 -1
- package/dist/rpg/index.cjs.map +1 -1
- package/dist/stream/index.js +8 -0
- package/dist/stream/index.js.map +1 -1
- package/dist/stream/stream-card-content.js +34 -0
- package/dist/stream/stream-card-content.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, W as WriteResult } from '../../types-DAGqE0b9.cjs';
|
|
2
2
|
export { O as ApiError, a4 as CompanySearchFilters, a5 as CompanySearchResponse, a6 as CompanySearchResult, Q as FilterOptions, T as ProfileSearchResult, S as SearchFilters, U as SearchResponse, X as SkillSearchResult, Y as apiFetch, Z as apiFetchOrNull, _ as apiWrite, $ as apiWriteCreate, a7 as fetchSearchCompanies, a0 as fetchSearchFilters, a1 as fetchSearchProfiles, a2 as fetchSkillSuggestions, a3 as searchSkills } from '../../types-DAGqE0b9.cjs';
|
|
3
|
-
export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, c as FetchRpgStatusOptions, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, l as RpgItemStatus, m as RpgItemStatusSchema, n as RpgStatusResponse, o as RpgStatusResponseSchema, S as SpeakerCard, p as SpeakerDirectoryFilters, q as SpeakerGroup, r as SpeakersResponse, T as TalkEvent, s as TalkRow, t as TalkSpeaker, u as TalksResponse, v as checkNetworkMapJobStatus, w as createEducation, x as createPosition, y as createRecord, z as deleteEducation, A as deletePosition, B as deleteRecord, C as dismissEndorsement, E as fetchAtFundLink, G as fetchEndorsementCount, H as fetchEntitySearch, I as fetchGetProfileView, J as fetchNetworkMap, K as fetchNetworkStreamCount, L as fetchPendingEndorsements, M as fetchProfile, O as fetchProfileSummary, Q as fetchReceivedEndorsements, U as fetchReciprocityCandidate, V as fetchRpgStatus, W as fetchSpeakers, X as fetchTalks, Y as hideKeytraceClaim, Z as importSearchEntities, _ as initiateNetworkMapGeneration, $ as isNetworkMapResponse, a0 as linkSkillToPosition, a3 as revealMarqueDomain, a4 as selectEntity, a5 as setPositionPrimary, a6 as unhideKeytraceClaim, a7 as unlinkSkillFromPosition, a8 as unrevealMarqueDomain, a9 as unsetPositionPrimary, aa as updateEducation, ab as updatePosition, ac as updateRecord } from '../../network-map-
|
|
3
|
+
export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, c as FetchRpgStatusOptions, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, l as RpgItemStatus, m as RpgItemStatusSchema, n as RpgStatusResponse, o as RpgStatusResponseSchema, S as SpeakerCard, p as SpeakerDirectoryFilters, q as SpeakerGroup, r as SpeakersResponse, T as TalkEvent, s as TalkRow, t as TalkSpeaker, u as TalksResponse, v as checkNetworkMapJobStatus, w as createEducation, x as createPosition, y as createRecord, z as deleteEducation, A as deletePosition, B as deleteRecord, C as dismissEndorsement, E as fetchAtFundLink, G as fetchEndorsementCount, H as fetchEntitySearch, I as fetchGetProfileView, J as fetchNetworkMap, K as fetchNetworkStreamCount, L as fetchPendingEndorsements, M as fetchProfile, O as fetchProfileSummary, Q as fetchReceivedEndorsements, U as fetchReciprocityCandidate, V as fetchRpgStatus, W as fetchSpeakers, X as fetchTalks, Y as hideKeytraceClaim, Z as importSearchEntities, _ as initiateNetworkMapGeneration, $ as isNetworkMapResponse, a0 as linkSkillToPosition, a3 as revealMarqueDomain, a4 as selectEntity, a5 as setPositionPrimary, a6 as unhideKeytraceClaim, a7 as unlinkSkillFromPosition, a8 as unrevealMarqueDomain, a9 as unsetPositionPrimary, aa as updateEducation, ab as updatePosition, ac as updateRecord } from '../../network-map-C-p-k3gB.cjs';
|
|
4
4
|
export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as AdminReviewQueues, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, C as ConfirmEndorsementInput, k as ConfirmationInput, l as ConfirmationSubjectInput, m as CreateExternalAccountResult, D as DeleteAccountResult, n as DismissUnlinkedPositionInput, E as EndorsementInput, o as ExternalAccountInput, F as FeatureAllowlistResponse, p as FeaturedProfile, q as FetchAccountsOptions, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchConfirmationsOptions, v as FetchFollowListOptions, w as FetchFollowProfilePageOptions, x as FetchFollowingFeedOptions, y as FetchHiddenActivityItemsOptions, z as FetchHiddenAppsOptions, G as FetchInboxCountsOptions, H as FetchMyGithubPullRequestsOptions, I as FetchMyRoadmapVotesOptions, J as FetchProfileCompletenessOptions, K as FetchReactionStatusOptions, L as FetchSuggestionsOptions, M as FetchUnlinkedPositionsOptions, N as FollowListPage, O as FollowProfile, P as FollowProfilePageResponse, Q as FollowUserResult, R as FollowingFeedApp, S as FollowingFeedEmptyReason, T as FollowingFeedResponse, U as FollowingFeedVersion, V as FollowingResponse, W as GetAdminReviewQueuesOptions, X as GithubPullRequest, Y as GivenConfirmation, Z as HIDDEN_ITEM_SOURCES, _ as HIDDEN_ITEM_TYPES, $ as HeatmapDay, a0 as HeatmapResponse, a1 as HiddenActivityItem, a2 as HiddenApp, a3 as HiddenItemSource, a4 as HiddenItemType, a5 as HideActivityItemInput, a6 as HideProfileItemInput, a7 as InboxCounts, a8 as ListFeatureAllowlistOptions, a9 as MyGithubPullRequestsResponse, aa as OrgClaimBinding, ab as OrgClaimResult, ac as OrgDomainChallengeResult, ad as OrgDomainVerifyResult, ae as OrgNotificationEmailAddResult, af as OrgNotificationEmailRemoveResult, ag as OrgProfileEcho, ah as OrgProfileUpdateResult, ai as PROFILE_COMPLETENESS_SIGNALS, aj as PdsWipeOutcome, ak as PendingConfirmation, al as PendingConfirmationsPage, am as PrimarySection, an as ProfileCompleteness, ao as ProfileCompletenessSignal, ap as ProfileIndustryInput, aq as ProfileLocationAddress, ar as ProfileLocationInput, as as ProfileSelfLocation, at as QUOTED_POSTS_BATCH_MAX, au as QuotedPostAuthor, av as QuotedPostImage, aw as QuotedPostResult, ax as QuotedPostView, ay as ReactionError, az as ReactionResult, aA as ReactionStatus, aB as RefreshOrcidPublicationsResult, aC as RefreshPdsResult, aD as RepoDeleteInput, aE as ResetProfileResult, aF as ResolveQuotedPostsOptions, aG as RoadmapVoteError, aH as RoadmapVoteResult, aI as RoadmapVoter, aJ as RoadmapVotesResponse, aK as SifaQueryKey, aL as SimilarProfile, aM as StatsResponse, aO as SuggestionProfile, aP as SuggestionsResponse, aQ as UnhideActivityItemInput, aR as UnlinkedPosition, aS as UnlinkedPositionsResult, aT as UpdateProfileOverrideInput, aU as UpdateProfileSelfInput, aV as UploadAvatarResult, aW as UploadPronunciationAudioResult, aX as VerifyExternalAccountResult, aY as WipePreview, aZ as addFeatureAllowlist, a_ as addOrgNotificationEmail, a$ as bulkHideProfileItems, b0 as bulkHideStandardPublications, b1 as bulkUnhideProfileItems, b2 as bulkUnhideStandardPublications, b3 as castRoadmapVote, b4 as checkAppAccount, b5 as confirmEndorsement, b6 as createConfirmation, b7 as createEndorsement, b8 as createExternalAccount, b9 as createProfileLocation, ba as createReaction, bb as createSkill, bc as deleteAccount, bd as deleteAvatarOverride, be as deleteExternalAccount, bf as deleteNamePronunciationAudio, bg as deleteProfileLocation, bh as deleteReaction, bi as deleteRepoRecords, bj as deleteSkill, bk as dismissConfirmation, bl as dismissUnlinkedPosition, bm as fetchAccounts, bn as fetchActivityFeed, bo as fetchActivityTeaser, bp as fetchAppsRegistry, bq as fetchExternalAccounts, br as fetchFeaturedProfile, bs as fetchFollowing, bt as fetchFollowingFeed, bu as fetchFollowingFeedVersion, bv as fetchGivenConfirmations, bw as fetchHeatmapData, bx as fetchHiddenActivityItems, by as fetchHiddenApps, bz as fetchInboxCounts, bA as fetchMyGithubPullRequests, bB as fetchMyRoadmapVotes, bC as fetchPendingConfirmations, bD as fetchProfileCompleteness, bE as fetchReactionStatus, bF as fetchRepoInventory, bG as fetchRoadmapVotes, bH as fetchSimilarProfiles, bI as fetchStats, bJ as fetchSuggestionCount, bK as fetchSuggestions, bL as fetchUnlinkedPositions, bM as fetchWipePreview, bN as followUser, bO as getAdminReviewQueues, bP as getBlueskySuggestions, bQ as getFollowers, bR as getFollowing, bS as getMutuals, bT as hideActivityItem, bU as hideOrcidPublication, bV as hideProfileItem, bW as hideSifaPublication, bX as hideStandardPublication, bY as isNewerFollowingFeed, bZ as listFeatureAllowlist, b_ as refreshOrcidPublications, b$ as refreshPds, c0 as removeFeatureAllowlist, c1 as removeOrgNotificationEmail, c2 as repoExportUrl, c3 as requestOrgDomainChallenge, c4 as resetProfile, c5 as resolveQuotedPosts, c6 as retractRoadmapVote, c7 as revokeConfirmation, c8 as setExternalAccountPrimary, c9 as setSectionPrimary, s as sifaQueryKeys, ca as submitOrgClaim, cb as switchAccount, cc as unfollowUser, cd as unhideActivityItem, ce as unhideOrcidPublication, cf as unhideProfileItem, cg as unhideSifaPublication, ch as unhideStandardPublication, ci as unsetExternalAccountPrimary, cj as unsetSectionPrimary, ck as updateExternalAccount, cl as updateOrgProfile, cm as updateProfileLocation, cn as updateProfileOverride, co as updateProfileSelf, cp as updateSkill, cr as uploadAvatar, cs as uploadNamePronunciationAudio, ct as verifyExternalAccount, cu as verifyOrgDomain } from '../../org-CFzRg61Q.cjs';
|
|
5
5
|
import '../../index-DmlIG8sJ.cjs';
|
|
6
6
|
import '../../shared-v0vl5hov.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, W as WriteResult } from '../../types-CK8KgdqA.js';
|
|
2
2
|
export { O as ApiError, a4 as CompanySearchFilters, a5 as CompanySearchResponse, a6 as CompanySearchResult, Q as FilterOptions, T as ProfileSearchResult, S as SearchFilters, U as SearchResponse, X as SkillSearchResult, Y as apiFetch, Z as apiFetchOrNull, _ as apiWrite, $ as apiWriteCreate, a7 as fetchSearchCompanies, a0 as fetchSearchFilters, a1 as fetchSearchProfiles, a2 as fetchSkillSuggestions, a3 as searchSkills } from '../../types-CK8KgdqA.js';
|
|
3
|
-
export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, c as FetchRpgStatusOptions, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, l as RpgItemStatus, m as RpgItemStatusSchema, n as RpgStatusResponse, o as RpgStatusResponseSchema, S as SpeakerCard, p as SpeakerDirectoryFilters, q as SpeakerGroup, r as SpeakersResponse, T as TalkEvent, s as TalkRow, t as TalkSpeaker, u as TalksResponse, v as checkNetworkMapJobStatus, w as createEducation, x as createPosition, y as createRecord, z as deleteEducation, A as deletePosition, B as deleteRecord, C as dismissEndorsement, E as fetchAtFundLink, G as fetchEndorsementCount, H as fetchEntitySearch, I as fetchGetProfileView, J as fetchNetworkMap, K as fetchNetworkStreamCount, L as fetchPendingEndorsements, M as fetchProfile, O as fetchProfileSummary, Q as fetchReceivedEndorsements, U as fetchReciprocityCandidate, V as fetchRpgStatus, W as fetchSpeakers, X as fetchTalks, Y as hideKeytraceClaim, Z as importSearchEntities, _ as initiateNetworkMapGeneration, $ as isNetworkMapResponse, a0 as linkSkillToPosition, a3 as revealMarqueDomain, a4 as selectEntity, a5 as setPositionPrimary, a6 as unhideKeytraceClaim, a7 as unlinkSkillFromPosition, a8 as unrevealMarqueDomain, a9 as unsetPositionPrimary, aa as updateEducation, ab as updatePosition, ac as updateRecord } from '../../network-map-
|
|
3
|
+
export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, c as FetchRpgStatusOptions, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, l as RpgItemStatus, m as RpgItemStatusSchema, n as RpgStatusResponse, o as RpgStatusResponseSchema, S as SpeakerCard, p as SpeakerDirectoryFilters, q as SpeakerGroup, r as SpeakersResponse, T as TalkEvent, s as TalkRow, t as TalkSpeaker, u as TalksResponse, v as checkNetworkMapJobStatus, w as createEducation, x as createPosition, y as createRecord, z as deleteEducation, A as deletePosition, B as deleteRecord, C as dismissEndorsement, E as fetchAtFundLink, G as fetchEndorsementCount, H as fetchEntitySearch, I as fetchGetProfileView, J as fetchNetworkMap, K as fetchNetworkStreamCount, L as fetchPendingEndorsements, M as fetchProfile, O as fetchProfileSummary, Q as fetchReceivedEndorsements, U as fetchReciprocityCandidate, V as fetchRpgStatus, W as fetchSpeakers, X as fetchTalks, Y as hideKeytraceClaim, Z as importSearchEntities, _ as initiateNetworkMapGeneration, $ as isNetworkMapResponse, a0 as linkSkillToPosition, a3 as revealMarqueDomain, a4 as selectEntity, a5 as setPositionPrimary, a6 as unhideKeytraceClaim, a7 as unlinkSkillFromPosition, a8 as unrevealMarqueDomain, a9 as unsetPositionPrimary, aa as updateEducation, ab as updatePosition, ac as updateRecord } from '../../network-map-CnVlBE0G.js';
|
|
4
4
|
export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as AdminReviewQueues, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, C as ConfirmEndorsementInput, k as ConfirmationInput, l as ConfirmationSubjectInput, m as CreateExternalAccountResult, D as DeleteAccountResult, n as DismissUnlinkedPositionInput, E as EndorsementInput, o as ExternalAccountInput, F as FeatureAllowlistResponse, p as FeaturedProfile, q as FetchAccountsOptions, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchConfirmationsOptions, v as FetchFollowListOptions, w as FetchFollowProfilePageOptions, x as FetchFollowingFeedOptions, y as FetchHiddenActivityItemsOptions, z as FetchHiddenAppsOptions, G as FetchInboxCountsOptions, H as FetchMyGithubPullRequestsOptions, I as FetchMyRoadmapVotesOptions, J as FetchProfileCompletenessOptions, K as FetchReactionStatusOptions, L as FetchSuggestionsOptions, M as FetchUnlinkedPositionsOptions, N as FollowListPage, O as FollowProfile, P as FollowProfilePageResponse, Q as FollowUserResult, R as FollowingFeedApp, S as FollowingFeedEmptyReason, T as FollowingFeedResponse, U as FollowingFeedVersion, V as FollowingResponse, W as GetAdminReviewQueuesOptions, X as GithubPullRequest, Y as GivenConfirmation, Z as HIDDEN_ITEM_SOURCES, _ as HIDDEN_ITEM_TYPES, $ as HeatmapDay, a0 as HeatmapResponse, a1 as HiddenActivityItem, a2 as HiddenApp, a3 as HiddenItemSource, a4 as HiddenItemType, a5 as HideActivityItemInput, a6 as HideProfileItemInput, a7 as InboxCounts, a8 as ListFeatureAllowlistOptions, a9 as MyGithubPullRequestsResponse, aa as OrgClaimBinding, ab as OrgClaimResult, ac as OrgDomainChallengeResult, ad as OrgDomainVerifyResult, ae as OrgNotificationEmailAddResult, af as OrgNotificationEmailRemoveResult, ag as OrgProfileEcho, ah as OrgProfileUpdateResult, ai as PROFILE_COMPLETENESS_SIGNALS, aj as PdsWipeOutcome, ak as PendingConfirmation, al as PendingConfirmationsPage, am as PrimarySection, an as ProfileCompleteness, ao as ProfileCompletenessSignal, ap as ProfileIndustryInput, aq as ProfileLocationAddress, ar as ProfileLocationInput, as as ProfileSelfLocation, at as QUOTED_POSTS_BATCH_MAX, au as QuotedPostAuthor, av as QuotedPostImage, aw as QuotedPostResult, ax as QuotedPostView, ay as ReactionError, az as ReactionResult, aA as ReactionStatus, aB as RefreshOrcidPublicationsResult, aC as RefreshPdsResult, aD as RepoDeleteInput, aE as ResetProfileResult, aF as ResolveQuotedPostsOptions, aG as RoadmapVoteError, aH as RoadmapVoteResult, aI as RoadmapVoter, aJ as RoadmapVotesResponse, aK as SifaQueryKey, aL as SimilarProfile, aM as StatsResponse, aO as SuggestionProfile, aP as SuggestionsResponse, aQ as UnhideActivityItemInput, aR as UnlinkedPosition, aS as UnlinkedPositionsResult, aT as UpdateProfileOverrideInput, aU as UpdateProfileSelfInput, aV as UploadAvatarResult, aW as UploadPronunciationAudioResult, aX as VerifyExternalAccountResult, aY as WipePreview, aZ as addFeatureAllowlist, a_ as addOrgNotificationEmail, a$ as bulkHideProfileItems, b0 as bulkHideStandardPublications, b1 as bulkUnhideProfileItems, b2 as bulkUnhideStandardPublications, b3 as castRoadmapVote, b4 as checkAppAccount, b5 as confirmEndorsement, b6 as createConfirmation, b7 as createEndorsement, b8 as createExternalAccount, b9 as createProfileLocation, ba as createReaction, bb as createSkill, bc as deleteAccount, bd as deleteAvatarOverride, be as deleteExternalAccount, bf as deleteNamePronunciationAudio, bg as deleteProfileLocation, bh as deleteReaction, bi as deleteRepoRecords, bj as deleteSkill, bk as dismissConfirmation, bl as dismissUnlinkedPosition, bm as fetchAccounts, bn as fetchActivityFeed, bo as fetchActivityTeaser, bp as fetchAppsRegistry, bq as fetchExternalAccounts, br as fetchFeaturedProfile, bs as fetchFollowing, bt as fetchFollowingFeed, bu as fetchFollowingFeedVersion, bv as fetchGivenConfirmations, bw as fetchHeatmapData, bx as fetchHiddenActivityItems, by as fetchHiddenApps, bz as fetchInboxCounts, bA as fetchMyGithubPullRequests, bB as fetchMyRoadmapVotes, bC as fetchPendingConfirmations, bD as fetchProfileCompleteness, bE as fetchReactionStatus, bF as fetchRepoInventory, bG as fetchRoadmapVotes, bH as fetchSimilarProfiles, bI as fetchStats, bJ as fetchSuggestionCount, bK as fetchSuggestions, bL as fetchUnlinkedPositions, bM as fetchWipePreview, bN as followUser, bO as getAdminReviewQueues, bP as getBlueskySuggestions, bQ as getFollowers, bR as getFollowing, bS as getMutuals, bT as hideActivityItem, bU as hideOrcidPublication, bV as hideProfileItem, bW as hideSifaPublication, bX as hideStandardPublication, bY as isNewerFollowingFeed, bZ as listFeatureAllowlist, b_ as refreshOrcidPublications, b$ as refreshPds, c0 as removeFeatureAllowlist, c1 as removeOrgNotificationEmail, c2 as repoExportUrl, c3 as requestOrgDomainChallenge, c4 as resetProfile, c5 as resolveQuotedPosts, c6 as retractRoadmapVote, c7 as revokeConfirmation, c8 as setExternalAccountPrimary, c9 as setSectionPrimary, s as sifaQueryKeys, ca as submitOrgClaim, cb as switchAccount, cc as unfollowUser, cd as unhideActivityItem, ce as unhideOrcidPublication, cf as unhideProfileItem, cg as unhideSifaPublication, ch as unhideStandardPublication, ci as unsetExternalAccountPrimary, cj as unsetSectionPrimary, ck as updateExternalAccount, cl as updateOrgProfile, cm as updateProfileLocation, cn as updateProfileOverride, co as updateProfileSelf, cp as updateSkill, cr as uploadAvatar, cs as uploadNamePronunciationAudio, ct as verifyExternalAccount, cu as verifyOrgDomain } from '../../org-Bp4mNT8K.js';
|
|
5
5
|
import '../../index-D9GC0u__.js';
|
|
6
6
|
import '../../shared-v0vl5hov.js';
|
|
@@ -14,6 +14,8 @@ var RpgStatusResponseSchema = z.object({
|
|
|
14
14
|
hasCharacter: z.boolean(),
|
|
15
15
|
/** True when the user granted the `repo:equipment.rpg.item` OAuth scope. */
|
|
16
16
|
canWriteItems: z.boolean(),
|
|
17
|
+
/** True when collecting (Sifa writing the gift) is switched on for this user. */
|
|
18
|
+
canCollect: z.boolean().default(false),
|
|
17
19
|
items: z.array(RpgItemStatusSchema)
|
|
18
20
|
});
|
|
19
21
|
async function fetchRpgStatus(config, options = {}) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/query/fetchers/rpg.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { apiFetch, type ApiFetchOptions, type SifaApiConfig } from '../client.js';\n\n/** One rpg.actor item and the viewer's progress on it, as served by `GET /api/rpg/status`. */\nexport const RpgItemStatusSchema = z.object({\n id: z.string(),\n title: z.string(),\n description: z.string(),\n category: z.string(),\n earned: z.boolean(),\n state: z.enum(['locked', 'earned', 'given', 'claimed']),\n iconUrl: z.string().url().nullable(),\n});\nexport type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;\n\nexport const RpgStatusResponseSchema = z.object({\n hasCharacter: z.boolean(),\n /** True when the user granted the `repo:equipment.rpg.item` OAuth scope. */\n canWriteItems: z.boolean(),\n items: z.array(RpgItemStatusSchema),\n});\nexport type RpgStatusResponse = z.infer<typeof RpgStatusResponseSchema>;\n\nexport interface FetchRpgStatusOptions extends ApiFetchOptions {\n /** Forwarded as the `cookie` header for server-side (SSR) calls. */\n cookieHeader?: string;\n}\n\n/**\n * Fetch the authenticated viewer's rpg.actor item status. Auth-scoped: relies\n * on the session cookie (`credentials: 'include'`).\n */\nexport async function fetchRpgStatus(\n config: SifaApiConfig,\n options: FetchRpgStatusOptions = {},\n): Promise<RpgStatusResponse> {\n const { cookieHeader, ...fetchOptions } = options;\n\n const headers: Record<string, string> = { ...(options.headers ?? {}) };\n if (cookieHeader) headers.cookie = cookieHeader;\n\n const data = await apiFetch<unknown>(config, '/api/rpg/status', {\n credentials: 'include',\n cache: 'no-store',\n ...fetchOptions,\n headers,\n });\n\n return RpgStatusResponseSchema.parse(data);\n}\n"],"mappings":";AAAA,SAAS,SAAS;AAElB,SAAS,gBAA0D;AAG5D,IAAM,sBAAsB,EAAE,OAAO;AAAA,EAC1C,IAAI,EAAE,OAAO;AAAA,EACb,OAAO,EAAE,OAAO;AAAA,EAChB,aAAa,EAAE,OAAO;AAAA,EACtB,UAAU,EAAE,OAAO;AAAA,EACnB,QAAQ,EAAE,QAAQ;AAAA,EAClB,OAAO,EAAE,KAAK,CAAC,UAAU,UAAU,SAAS,SAAS,CAAC;AAAA,EACtD,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS;AACrC,CAAC;AAGM,IAAM,0BAA0B,EAAE,OAAO;AAAA,EAC9C,cAAc,EAAE,QAAQ;AAAA;AAAA,EAExB,eAAe,EAAE,QAAQ;AAAA,
|
|
1
|
+
{"version":3,"sources":["../../../src/query/fetchers/rpg.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { apiFetch, type ApiFetchOptions, type SifaApiConfig } from '../client.js';\n\n/** One rpg.actor item and the viewer's progress on it, as served by `GET /api/rpg/status`. */\nexport const RpgItemStatusSchema = z.object({\n id: z.string(),\n title: z.string(),\n description: z.string(),\n category: z.string(),\n earned: z.boolean(),\n state: z.enum(['locked', 'earned', 'given', 'claimed']),\n iconUrl: z.string().url().nullable(),\n});\nexport type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;\n\nexport const RpgStatusResponseSchema = z.object({\n hasCharacter: z.boolean(),\n /** True when the user granted the `repo:equipment.rpg.item` OAuth scope. */\n canWriteItems: z.boolean(),\n /** True when collecting (Sifa writing the gift) is switched on for this user. */\n canCollect: z.boolean().default(false),\n items: z.array(RpgItemStatusSchema),\n});\nexport type RpgStatusResponse = z.infer<typeof RpgStatusResponseSchema>;\n\nexport interface FetchRpgStatusOptions extends ApiFetchOptions {\n /** Forwarded as the `cookie` header for server-side (SSR) calls. */\n cookieHeader?: string;\n}\n\n/**\n * Fetch the authenticated viewer's rpg.actor item status. Auth-scoped: relies\n * on the session cookie (`credentials: 'include'`).\n */\nexport async function fetchRpgStatus(\n config: SifaApiConfig,\n options: FetchRpgStatusOptions = {},\n): Promise<RpgStatusResponse> {\n const { cookieHeader, ...fetchOptions } = options;\n\n const headers: Record<string, string> = { ...(options.headers ?? {}) };\n if (cookieHeader) headers.cookie = cookieHeader;\n\n const data = await apiFetch<unknown>(config, '/api/rpg/status', {\n credentials: 'include',\n cache: 'no-store',\n ...fetchOptions,\n headers,\n });\n\n return RpgStatusResponseSchema.parse(data);\n}\n"],"mappings":";AAAA,SAAS,SAAS;AAElB,SAAS,gBAA0D;AAG5D,IAAM,sBAAsB,EAAE,OAAO;AAAA,EAC1C,IAAI,EAAE,OAAO;AAAA,EACb,OAAO,EAAE,OAAO;AAAA,EAChB,aAAa,EAAE,OAAO;AAAA,EACtB,UAAU,EAAE,OAAO;AAAA,EACnB,QAAQ,EAAE,QAAQ;AAAA,EAClB,OAAO,EAAE,KAAK,CAAC,UAAU,UAAU,SAAS,SAAS,CAAC;AAAA,EACtD,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS;AACrC,CAAC;AAGM,IAAM,0BAA0B,EAAE,OAAO;AAAA,EAC9C,cAAc,EAAE,QAAQ;AAAA;AAAA,EAExB,eAAe,EAAE,QAAQ;AAAA;AAAA,EAEzB,YAAY,EAAE,QAAQ,EAAE,QAAQ,KAAK;AAAA,EACrC,OAAO,EAAE,MAAM,mBAAmB;AACpC,CAAC;AAYD,eAAsB,eACpB,QACA,UAAiC,CAAC,GACN;AAC5B,QAAM,EAAE,cAAc,GAAG,aAAa,IAAI;AAE1C,QAAM,UAAkC,EAAE,GAAI,QAAQ,WAAW,CAAC,EAAG;AACrE,MAAI,aAAc,SAAQ,SAAS;AAEnC,QAAM,OAAO,MAAM,SAAkB,QAAQ,mBAAmB;AAAA,IAC9D,aAAa;AAAA,IACb,OAAO;AAAA,IACP,GAAG;AAAA,IACH;AAAA,EACF,CAAC;AAED,SAAO,wBAAwB,MAAM,IAAI;AAC3C;","names":[]}
|
package/dist/query/index.cjs
CHANGED
|
@@ -1496,6 +1496,8 @@ var RpgStatusResponseSchema = zod.z.object({
|
|
|
1496
1496
|
hasCharacter: zod.z.boolean(),
|
|
1497
1497
|
/** True when the user granted the `repo:equipment.rpg.item` OAuth scope. */
|
|
1498
1498
|
canWriteItems: zod.z.boolean(),
|
|
1499
|
+
/** True when collecting (Sifa writing the gift) is switched on for this user. */
|
|
1500
|
+
canCollect: zod.z.boolean().default(false),
|
|
1499
1501
|
items: zod.z.array(RpgItemStatusSchema)
|
|
1500
1502
|
});
|
|
1501
1503
|
async function fetchRpgStatus(config, options = {}) {
|