@singi-labs/sifa-sdk 0.12.51 → 0.12.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.
Files changed (35) hide show
  1. package/dist/{index-BzzF8wBs.d.cts → index-B-BExLL4.d.cts} +27 -3
  2. package/dist/{index-af5Pb60B.d.cts → index-B1F632lI.d.cts} +3 -3
  3. package/dist/{index-Dwo1bnqf.d.ts → index-BeiqwDak.d.ts} +27 -3
  4. package/dist/{index-C3EECrb2.d.ts → index-D9_yFc0m.d.ts} +3 -3
  5. package/dist/index.cjs +197 -1
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.cts +3 -3
  8. package/dist/index.d.ts +3 -3
  9. package/dist/index.js +195 -2
  10. package/dist/index.js.map +1 -1
  11. package/dist/{org-BSx_0eKz.d.ts → org-lRzEl8je.d.ts} +51 -3
  12. package/dist/{org-DFwVpMIH.d.cts → org-xybLlTXW.d.cts} +51 -3
  13. package/dist/{profile-summary-7d0mbAwr.d.ts → profile-summary-elBg0fG6.d.ts} +1 -1
  14. package/dist/{profile-summary-TOt7K4ai.d.cts → profile-summary-jUtrgYrA.d.cts} +1 -1
  15. package/dist/query/fetchers/index.cjs +24 -0
  16. package/dist/query/fetchers/index.cjs.map +1 -1
  17. package/dist/query/fetchers/index.d.cts +4 -4
  18. package/dist/query/fetchers/index.d.ts +4 -4
  19. package/dist/query/fetchers/index.js +22 -1
  20. package/dist/query/fetchers/index.js.map +1 -1
  21. package/dist/query/hooks/index.cjs +44 -0
  22. package/dist/query/hooks/index.cjs.map +1 -1
  23. package/dist/query/hooks/index.d.cts +3 -3
  24. package/dist/query/hooks/index.d.ts +3 -3
  25. package/dist/query/hooks/index.js +43 -1
  26. package/dist/query/hooks/index.js.map +1 -1
  27. package/dist/query/index.cjs +48 -0
  28. package/dist/query/index.cjs.map +1 -1
  29. package/dist/query/index.d.cts +7 -7
  30. package/dist/query/index.d.ts +7 -7
  31. package/dist/query/index.js +44 -1
  32. package/dist/query/index.js.map +1 -1
  33. package/dist/{adult-content-Bmk22agq.d.cts → types-CmS4Argp.d.cts} +145 -1
  34. package/dist/{adult-content-Bmk22agq.d.ts → types-CmS4Argp.d.ts} +145 -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-Bmk22agq.js';
1
+ import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel, R as RepoDeleteResult, b as RepoInventory } from './types-CmS4Argp.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';
@@ -1370,6 +1370,50 @@ declare function resetProfile(config: SifaApiConfig, deletePdsData: boolean, opt
1370
1370
  */
1371
1371
  declare function deleteAccount(config: SifaApiConfig, deletePdsData: boolean, options?: ApiFetchOptions): Promise<DeleteAccountResult>;
1372
1372
 
1373
+ /**
1374
+ * Read what the user's PDS actually holds under id.sifa.*.
1375
+ *
1376
+ * A failure is not flattened into an empty inventory. Zero records reads as
1377
+ * "Sifa has stored nothing about you", and a request that never arrived must
1378
+ * not be allowed to say that. Let it throw.
1379
+ */
1380
+ declare function fetchRepoInventory(config: SifaApiConfig, options?: ApiFetchOptions): Promise<RepoInventory>;
1381
+ interface RepoDeleteInput {
1382
+ collection: string;
1383
+ /** The records to remove. Omit and set `all` to remove the whole collection. */
1384
+ rkeys?: string[];
1385
+ /**
1386
+ * Remove every record in the collection, including ones written between the
1387
+ * inventory read and this call. A UI offering "delete all of X" must send
1388
+ * this rather than the rkeys it happened to see, or a record created in
1389
+ * between silently survives a delete the user believes was complete.
1390
+ */
1391
+ all?: boolean;
1392
+ }
1393
+ /**
1394
+ * Delete records from the user's own repo.
1395
+ *
1396
+ * The returned `success` means the request was accepted, NOT that the records
1397
+ * are gone: read `results` for that, per record. `needsScopeUpgrade` means
1398
+ * nothing was attempted and the user has to grant the scope first.
1399
+ *
1400
+ * Destructive and not undoable -- a deleted record's CID cannot be restored.
1401
+ * The server enforces the id.sifa.* boundary and the session check; the SDK
1402
+ * adds no confirmation step, so wrap call sites in one.
1403
+ */
1404
+ declare function deleteRepoRecords(config: SifaApiConfig, input: RepoDeleteInput, options?: ApiFetchOptions): Promise<RepoDeleteResult & {
1405
+ success: boolean;
1406
+ error?: string;
1407
+ }>;
1408
+ /**
1409
+ * URL of the raw-record download.
1410
+ *
1411
+ * A URL rather than a fetcher: the response is a file the browser saves, and
1412
+ * routing it through fetch would buffer the whole repo in memory to hand it
1413
+ * straight back to a download anchor.
1414
+ */
1415
+ declare function repoExportUrl(config: SifaApiConfig): string;
1416
+
1373
1417
  /**
1374
1418
  * Query key factory for TanStack Query.
1375
1419
  *
@@ -1480,12 +1524,16 @@ declare const sifaQueryKeys: {
1480
1524
  readonly all: () => readonly ["sifa", "bsky-preferences"];
1481
1525
  readonly contentLabels: () => readonly ["sifa", "bsky-preferences", "content-labels"];
1482
1526
  };
1527
+ readonly repoInventory: {
1528
+ readonly all: () => readonly ["sifa", "repo-inventory"];
1529
+ readonly list: () => readonly ["sifa", "repo-inventory", "list"];
1530
+ };
1483
1531
  readonly destructive: {
1484
1532
  readonly all: () => readonly ["sifa", "destructive"];
1485
1533
  readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
1486
1534
  };
1487
1535
  };
1488
- 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.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview>;
1536
+ 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.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
1489
1537
 
1490
1538
  /** How a single entity binding was resolved during a claim. */
1491
1539
  interface OrgClaimBinding {
@@ -1572,4 +1620,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1572
1620
  */
1573
1621
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1574
1622
 
1575
- export { type ListFeatureAllowlistOptions 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, type GivenConfirmation as Q, HIDDEN_ITEM_SOURCES as R, type SifaApiConfig as S, HIDDEN_ITEM_TYPES as T, type HeatmapDay as U, type HeatmapResponse as V, type WriteResult as W, type HiddenApp as X, type HiddenItemSource as Y, type HiddenItemType as Z, type HideProfileItemInput as _, type ConfirmEndorsementInput as a, createProfileLocation as a$, type MyGithubPullRequestsResponse as a0, type OrgClaimBinding as a1, type OrgClaimResult as a2, type OrgDomainChallengeResult as a3, type OrgDomainVerifyResult as a4, type OrgNotificationEmailAddResult as a5, type OrgNotificationEmailRemoveResult as a6, type OrgProfileEcho as a7, type OrgProfileUpdateResult as a8, type PdsWipeOutcome as a9, type SimilarProfile as aA, type SkillSearchResult as aB, type StatsResponse as aC, type SubCategoryBulkResult as aD, type SuggestionProfile as aE, type SuggestionsResponse as aF, type UpdateProfileOverrideInput as aG, type UpdateProfileSelfInput as aH, type UploadAvatarResult as aI, type VerifyExternalAccountResult as aJ, type WipePreview as aK, addFeatureAllowlist as aL, addOrgNotificationEmail as aM, apiFetch as aN, apiFetchOrNull as aO, apiWrite as aP, apiWriteCreate as aQ, bulkHideProfileItems as aR, bulkHideStandardPublications as aS, bulkUnhideProfileItems as aT, bulkUnhideStandardPublications as aU, castRoadmapVote as aV, checkAppAccount as aW, confirmEndorsement as aX, createConfirmation as aY, createEndorsement as aZ, createExternalAccount as a_, type PendingConfirmation as aa, type PendingConfirmationsPage as ab, type ProfileIndustryInput as ac, type ProfileLocationAddress as ad, type ProfileLocationInput as ae, type ProfileSearchResult as af, type ProfileSelfLocation as ag, QUOTED_POSTS_BATCH_MAX as ah, type QuotedPostAuthor as ai, type QuotedPostImage as aj, type QuotedPostResult as ak, type QuotedPostView as al, type ReactionError as am, type ReactionResult as an, type ReactionStatus as ao, type RefreshOrcidPublicationsResult as ap, type RefreshPdsResult as aq, type ResetProfileResult as ar, type ResolveQuotedPostsOptions as as, type RoadmapVoteError as at, type RoadmapVoteResult as au, type RoadmapVoter as av, type RoadmapVotesResponse as aw, type SearchFilters as ax, type SearchResponse as ay, type SifaQueryKey as az, type ConfirmEndorsementResult as b, updateProfileLocation as b$, createReaction as b0, createSkill as b1, deleteAccount as b2, deleteAvatarOverride as b3, deleteExternalAccount as b4, deleteProfileLocation as b5, deleteReaction as b6, deleteSkill as b7, dismissConfirmation as b8, fetchActivityFeed as b9, getFollowingFeed as bA, getMutuals as bB, hideOrcidPublication as bC, hideProfileItem as bD, hideSifaPublication as bE, hideStandardPublication as bF, listFeatureAllowlist as bG, refreshOrcidPublications as bH, refreshPds as bI, removeFeatureAllowlist as bJ, removeOrgNotificationEmail as bK, requestOrgDomainChallenge as bL, resetProfile as bM, resolveQuotedPosts as bN, retractRoadmapVote as bO, revokeConfirmation as bP, searchSkills as bQ, setExternalAccountPrimary as bR, submitOrgClaim as bS, unfollowUser as bT, unhideOrcidPublication as bU, unhideProfileItem as bV, unhideSifaPublication as bW, unhideStandardPublication as bX, unsetExternalAccountPrimary as bY, updateExternalAccount as bZ, updateOrgProfile as b_, fetchActivityTeaser as ba, fetchAppsRegistry as bb, fetchExternalAccounts as bc, fetchFeaturedProfile as bd, fetchFollowing as be, fetchGivenConfirmations as bf, fetchHeatmapData as bg, fetchHiddenApps as bh, fetchMyGithubPullRequests as bi, fetchMyRoadmapVotes as bj, fetchPendingConfirmations as bk, fetchReactionStatus as bl, fetchRoadmapVotes as bm, fetchSearchFilters as bn, fetchSearchProfiles as bo, fetchSimilarProfiles as bp, fetchSkillSuggestions as bq, fetchStats as br, fetchSuggestionCount as bs, fetchSuggestions as bt, fetchWipePreview as bu, followUser as bv, getAdminReviewQueues as bw, getBlueskySuggestions as bx, getFollowers as by, getFollowing as bz, type AccountCheckResult as c, updateProfileOverride as c0, updateProfileSelf as c1, updateSkill as c2, updateSkillSubCategories as c3, uploadAvatar as c4, verifyExternalAccount as c5, verifyOrgDomain as c6, 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 };
1623
+ export { type ListFeatureAllowlistOptions 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, type GivenConfirmation as Q, HIDDEN_ITEM_SOURCES as R, type SifaApiConfig as S, HIDDEN_ITEM_TYPES as T, type HeatmapDay as U, type HeatmapResponse as V, type WriteResult as W, type HiddenApp as X, type HiddenItemSource as Y, type HiddenItemType as Z, type HideProfileItemInput as _, type ConfirmEndorsementInput as a, createExternalAccount as a$, type MyGithubPullRequestsResponse as a0, type OrgClaimBinding as a1, type OrgClaimResult as a2, type OrgDomainChallengeResult as a3, type OrgDomainVerifyResult as a4, type OrgNotificationEmailAddResult as a5, type OrgNotificationEmailRemoveResult as a6, type OrgProfileEcho as a7, type OrgProfileUpdateResult as a8, type PdsWipeOutcome as a9, type SifaQueryKey as aA, type SimilarProfile as aB, type SkillSearchResult as aC, type StatsResponse as aD, type SubCategoryBulkResult as aE, type SuggestionProfile as aF, type SuggestionsResponse as aG, type UpdateProfileOverrideInput as aH, type UpdateProfileSelfInput as aI, type UploadAvatarResult as aJ, type VerifyExternalAccountResult as aK, type WipePreview as aL, addFeatureAllowlist as aM, addOrgNotificationEmail as aN, apiFetch as aO, apiFetchOrNull as aP, apiWrite as aQ, apiWriteCreate as aR, bulkHideProfileItems as aS, bulkHideStandardPublications as aT, bulkUnhideProfileItems as aU, bulkUnhideStandardPublications as aV, castRoadmapVote as aW, checkAppAccount as aX, confirmEndorsement as aY, createConfirmation as aZ, createEndorsement as a_, type PendingConfirmation as aa, type PendingConfirmationsPage as ab, type ProfileIndustryInput as ac, type ProfileLocationAddress as ad, type ProfileLocationInput as ae, type ProfileSearchResult as af, type ProfileSelfLocation as ag, QUOTED_POSTS_BATCH_MAX as ah, type QuotedPostAuthor as ai, type QuotedPostImage as aj, type QuotedPostResult as ak, type QuotedPostView as al, type ReactionError as am, type ReactionResult as an, type ReactionStatus as ao, type RefreshOrcidPublicationsResult as ap, type RefreshPdsResult as aq, type RepoDeleteInput as ar, type ResetProfileResult as as, type ResolveQuotedPostsOptions as at, type RoadmapVoteError as au, type RoadmapVoteResult as av, type RoadmapVoter as aw, type RoadmapVotesResponse as ax, type SearchFilters as ay, type SearchResponse as az, type ConfirmEndorsementResult as b, unhideStandardPublication as b$, createProfileLocation as b0, createReaction as b1, createSkill as b2, deleteAccount as b3, deleteAvatarOverride as b4, deleteExternalAccount as b5, deleteProfileLocation as b6, deleteReaction as b7, deleteRepoRecords as b8, deleteSkill as b9, getBlueskySuggestions as bA, getFollowers as bB, getFollowing as bC, getFollowingFeed as bD, getMutuals as bE, hideOrcidPublication as bF, hideProfileItem as bG, hideSifaPublication as bH, hideStandardPublication as bI, listFeatureAllowlist as bJ, refreshOrcidPublications as bK, refreshPds as bL, removeFeatureAllowlist as bM, removeOrgNotificationEmail as bN, repoExportUrl as bO, requestOrgDomainChallenge as bP, resetProfile as bQ, resolveQuotedPosts as bR, retractRoadmapVote as bS, revokeConfirmation as bT, searchSkills as bU, setExternalAccountPrimary as bV, submitOrgClaim as bW, unfollowUser as bX, unhideOrcidPublication as bY, unhideProfileItem as bZ, unhideSifaPublication as b_, dismissConfirmation as ba, fetchActivityFeed as bb, fetchActivityTeaser as bc, fetchAppsRegistry as bd, fetchExternalAccounts as be, fetchFeaturedProfile as bf, fetchFollowing as bg, fetchGivenConfirmations as bh, fetchHeatmapData as bi, fetchHiddenApps as bj, fetchMyGithubPullRequests as bk, fetchMyRoadmapVotes as bl, fetchPendingConfirmations as bm, fetchReactionStatus as bn, fetchRepoInventory as bo, fetchRoadmapVotes as bp, fetchSearchFilters as bq, fetchSearchProfiles as br, fetchSimilarProfiles as bs, fetchSkillSuggestions as bt, fetchStats as bu, fetchSuggestionCount as bv, fetchSuggestions as bw, fetchWipePreview as bx, followUser as by, getAdminReviewQueues as bz, type AccountCheckResult as c, unsetExternalAccountPrimary as c0, updateExternalAccount as c1, updateOrgProfile as c2, updateProfileLocation as c3, updateProfileOverride as c4, updateProfileSelf as c5, updateSkill as c6, updateSkillSubCategories as c7, uploadAvatar as c8, verifyExternalAccount as c9, verifyOrgDomain as ca, 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-Bmk22agq.cjs';
1
+ import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel, R as RepoDeleteResult, b as RepoInventory } from './types-CmS4Argp.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';
@@ -1370,6 +1370,50 @@ declare function resetProfile(config: SifaApiConfig, deletePdsData: boolean, opt
1370
1370
  */
1371
1371
  declare function deleteAccount(config: SifaApiConfig, deletePdsData: boolean, options?: ApiFetchOptions): Promise<DeleteAccountResult>;
1372
1372
 
1373
+ /**
1374
+ * Read what the user's PDS actually holds under id.sifa.*.
1375
+ *
1376
+ * A failure is not flattened into an empty inventory. Zero records reads as
1377
+ * "Sifa has stored nothing about you", and a request that never arrived must
1378
+ * not be allowed to say that. Let it throw.
1379
+ */
1380
+ declare function fetchRepoInventory(config: SifaApiConfig, options?: ApiFetchOptions): Promise<RepoInventory>;
1381
+ interface RepoDeleteInput {
1382
+ collection: string;
1383
+ /** The records to remove. Omit and set `all` to remove the whole collection. */
1384
+ rkeys?: string[];
1385
+ /**
1386
+ * Remove every record in the collection, including ones written between the
1387
+ * inventory read and this call. A UI offering "delete all of X" must send
1388
+ * this rather than the rkeys it happened to see, or a record created in
1389
+ * between silently survives a delete the user believes was complete.
1390
+ */
1391
+ all?: boolean;
1392
+ }
1393
+ /**
1394
+ * Delete records from the user's own repo.
1395
+ *
1396
+ * The returned `success` means the request was accepted, NOT that the records
1397
+ * are gone: read `results` for that, per record. `needsScopeUpgrade` means
1398
+ * nothing was attempted and the user has to grant the scope first.
1399
+ *
1400
+ * Destructive and not undoable -- a deleted record's CID cannot be restored.
1401
+ * The server enforces the id.sifa.* boundary and the session check; the SDK
1402
+ * adds no confirmation step, so wrap call sites in one.
1403
+ */
1404
+ declare function deleteRepoRecords(config: SifaApiConfig, input: RepoDeleteInput, options?: ApiFetchOptions): Promise<RepoDeleteResult & {
1405
+ success: boolean;
1406
+ error?: string;
1407
+ }>;
1408
+ /**
1409
+ * URL of the raw-record download.
1410
+ *
1411
+ * A URL rather than a fetcher: the response is a file the browser saves, and
1412
+ * routing it through fetch would buffer the whole repo in memory to hand it
1413
+ * straight back to a download anchor.
1414
+ */
1415
+ declare function repoExportUrl(config: SifaApiConfig): string;
1416
+
1373
1417
  /**
1374
1418
  * Query key factory for TanStack Query.
1375
1419
  *
@@ -1480,12 +1524,16 @@ declare const sifaQueryKeys: {
1480
1524
  readonly all: () => readonly ["sifa", "bsky-preferences"];
1481
1525
  readonly contentLabels: () => readonly ["sifa", "bsky-preferences", "content-labels"];
1482
1526
  };
1527
+ readonly repoInventory: {
1528
+ readonly all: () => readonly ["sifa", "repo-inventory"];
1529
+ readonly list: () => readonly ["sifa", "repo-inventory", "list"];
1530
+ };
1483
1531
  readonly destructive: {
1484
1532
  readonly all: () => readonly ["sifa", "destructive"];
1485
1533
  readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
1486
1534
  };
1487
1535
  };
1488
- 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.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview>;
1536
+ 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.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
1489
1537
 
1490
1538
  /** How a single entity binding was resolved during a claim. */
1491
1539
  interface OrgClaimBinding {
@@ -1572,4 +1620,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1572
1620
  */
1573
1621
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
1574
1622
 
1575
- export { type ListFeatureAllowlistOptions 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, type GivenConfirmation as Q, HIDDEN_ITEM_SOURCES as R, type SifaApiConfig as S, HIDDEN_ITEM_TYPES as T, type HeatmapDay as U, type HeatmapResponse as V, type WriteResult as W, type HiddenApp as X, type HiddenItemSource as Y, type HiddenItemType as Z, type HideProfileItemInput as _, type ConfirmEndorsementInput as a, createProfileLocation as a$, type MyGithubPullRequestsResponse as a0, type OrgClaimBinding as a1, type OrgClaimResult as a2, type OrgDomainChallengeResult as a3, type OrgDomainVerifyResult as a4, type OrgNotificationEmailAddResult as a5, type OrgNotificationEmailRemoveResult as a6, type OrgProfileEcho as a7, type OrgProfileUpdateResult as a8, type PdsWipeOutcome as a9, type SimilarProfile as aA, type SkillSearchResult as aB, type StatsResponse as aC, type SubCategoryBulkResult as aD, type SuggestionProfile as aE, type SuggestionsResponse as aF, type UpdateProfileOverrideInput as aG, type UpdateProfileSelfInput as aH, type UploadAvatarResult as aI, type VerifyExternalAccountResult as aJ, type WipePreview as aK, addFeatureAllowlist as aL, addOrgNotificationEmail as aM, apiFetch as aN, apiFetchOrNull as aO, apiWrite as aP, apiWriteCreate as aQ, bulkHideProfileItems as aR, bulkHideStandardPublications as aS, bulkUnhideProfileItems as aT, bulkUnhideStandardPublications as aU, castRoadmapVote as aV, checkAppAccount as aW, confirmEndorsement as aX, createConfirmation as aY, createEndorsement as aZ, createExternalAccount as a_, type PendingConfirmation as aa, type PendingConfirmationsPage as ab, type ProfileIndustryInput as ac, type ProfileLocationAddress as ad, type ProfileLocationInput as ae, type ProfileSearchResult as af, type ProfileSelfLocation as ag, QUOTED_POSTS_BATCH_MAX as ah, type QuotedPostAuthor as ai, type QuotedPostImage as aj, type QuotedPostResult as ak, type QuotedPostView as al, type ReactionError as am, type ReactionResult as an, type ReactionStatus as ao, type RefreshOrcidPublicationsResult as ap, type RefreshPdsResult as aq, type ResetProfileResult as ar, type ResolveQuotedPostsOptions as as, type RoadmapVoteError as at, type RoadmapVoteResult as au, type RoadmapVoter as av, type RoadmapVotesResponse as aw, type SearchFilters as ax, type SearchResponse as ay, type SifaQueryKey as az, type ConfirmEndorsementResult as b, updateProfileLocation as b$, createReaction as b0, createSkill as b1, deleteAccount as b2, deleteAvatarOverride as b3, deleteExternalAccount as b4, deleteProfileLocation as b5, deleteReaction as b6, deleteSkill as b7, dismissConfirmation as b8, fetchActivityFeed as b9, getFollowingFeed as bA, getMutuals as bB, hideOrcidPublication as bC, hideProfileItem as bD, hideSifaPublication as bE, hideStandardPublication as bF, listFeatureAllowlist as bG, refreshOrcidPublications as bH, refreshPds as bI, removeFeatureAllowlist as bJ, removeOrgNotificationEmail as bK, requestOrgDomainChallenge as bL, resetProfile as bM, resolveQuotedPosts as bN, retractRoadmapVote as bO, revokeConfirmation as bP, searchSkills as bQ, setExternalAccountPrimary as bR, submitOrgClaim as bS, unfollowUser as bT, unhideOrcidPublication as bU, unhideProfileItem as bV, unhideSifaPublication as bW, unhideStandardPublication as bX, unsetExternalAccountPrimary as bY, updateExternalAccount as bZ, updateOrgProfile as b_, fetchActivityTeaser as ba, fetchAppsRegistry as bb, fetchExternalAccounts as bc, fetchFeaturedProfile as bd, fetchFollowing as be, fetchGivenConfirmations as bf, fetchHeatmapData as bg, fetchHiddenApps as bh, fetchMyGithubPullRequests as bi, fetchMyRoadmapVotes as bj, fetchPendingConfirmations as bk, fetchReactionStatus as bl, fetchRoadmapVotes as bm, fetchSearchFilters as bn, fetchSearchProfiles as bo, fetchSimilarProfiles as bp, fetchSkillSuggestions as bq, fetchStats as br, fetchSuggestionCount as bs, fetchSuggestions as bt, fetchWipePreview as bu, followUser as bv, getAdminReviewQueues as bw, getBlueskySuggestions as bx, getFollowers as by, getFollowing as bz, type AccountCheckResult as c, updateProfileOverride as c0, updateProfileSelf as c1, updateSkill as c2, updateSkillSubCategories as c3, uploadAvatar as c4, verifyExternalAccount as c5, verifyOrgDomain as c6, 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 };
1623
+ export { type ListFeatureAllowlistOptions 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, type GivenConfirmation as Q, HIDDEN_ITEM_SOURCES as R, type SifaApiConfig as S, HIDDEN_ITEM_TYPES as T, type HeatmapDay as U, type HeatmapResponse as V, type WriteResult as W, type HiddenApp as X, type HiddenItemSource as Y, type HiddenItemType as Z, type HideProfileItemInput as _, type ConfirmEndorsementInput as a, createExternalAccount as a$, type MyGithubPullRequestsResponse as a0, type OrgClaimBinding as a1, type OrgClaimResult as a2, type OrgDomainChallengeResult as a3, type OrgDomainVerifyResult as a4, type OrgNotificationEmailAddResult as a5, type OrgNotificationEmailRemoveResult as a6, type OrgProfileEcho as a7, type OrgProfileUpdateResult as a8, type PdsWipeOutcome as a9, type SifaQueryKey as aA, type SimilarProfile as aB, type SkillSearchResult as aC, type StatsResponse as aD, type SubCategoryBulkResult as aE, type SuggestionProfile as aF, type SuggestionsResponse as aG, type UpdateProfileOverrideInput as aH, type UpdateProfileSelfInput as aI, type UploadAvatarResult as aJ, type VerifyExternalAccountResult as aK, type WipePreview as aL, addFeatureAllowlist as aM, addOrgNotificationEmail as aN, apiFetch as aO, apiFetchOrNull as aP, apiWrite as aQ, apiWriteCreate as aR, bulkHideProfileItems as aS, bulkHideStandardPublications as aT, bulkUnhideProfileItems as aU, bulkUnhideStandardPublications as aV, castRoadmapVote as aW, checkAppAccount as aX, confirmEndorsement as aY, createConfirmation as aZ, createEndorsement as a_, type PendingConfirmation as aa, type PendingConfirmationsPage as ab, type ProfileIndustryInput as ac, type ProfileLocationAddress as ad, type ProfileLocationInput as ae, type ProfileSearchResult as af, type ProfileSelfLocation as ag, QUOTED_POSTS_BATCH_MAX as ah, type QuotedPostAuthor as ai, type QuotedPostImage as aj, type QuotedPostResult as ak, type QuotedPostView as al, type ReactionError as am, type ReactionResult as an, type ReactionStatus as ao, type RefreshOrcidPublicationsResult as ap, type RefreshPdsResult as aq, type RepoDeleteInput as ar, type ResetProfileResult as as, type ResolveQuotedPostsOptions as at, type RoadmapVoteError as au, type RoadmapVoteResult as av, type RoadmapVoter as aw, type RoadmapVotesResponse as ax, type SearchFilters as ay, type SearchResponse as az, type ConfirmEndorsementResult as b, unhideStandardPublication as b$, createProfileLocation as b0, createReaction as b1, createSkill as b2, deleteAccount as b3, deleteAvatarOverride as b4, deleteExternalAccount as b5, deleteProfileLocation as b6, deleteReaction as b7, deleteRepoRecords as b8, deleteSkill as b9, getBlueskySuggestions as bA, getFollowers as bB, getFollowing as bC, getFollowingFeed as bD, getMutuals as bE, hideOrcidPublication as bF, hideProfileItem as bG, hideSifaPublication as bH, hideStandardPublication as bI, listFeatureAllowlist as bJ, refreshOrcidPublications as bK, refreshPds as bL, removeFeatureAllowlist as bM, removeOrgNotificationEmail as bN, repoExportUrl as bO, requestOrgDomainChallenge as bP, resetProfile as bQ, resolveQuotedPosts as bR, retractRoadmapVote as bS, revokeConfirmation as bT, searchSkills as bU, setExternalAccountPrimary as bV, submitOrgClaim as bW, unfollowUser as bX, unhideOrcidPublication as bY, unhideProfileItem as bZ, unhideSifaPublication as b_, dismissConfirmation as ba, fetchActivityFeed as bb, fetchActivityTeaser as bc, fetchAppsRegistry as bd, fetchExternalAccounts as be, fetchFeaturedProfile as bf, fetchFollowing as bg, fetchGivenConfirmations as bh, fetchHeatmapData as bi, fetchHiddenApps as bj, fetchMyGithubPullRequests as bk, fetchMyRoadmapVotes as bl, fetchPendingConfirmations as bm, fetchReactionStatus as bn, fetchRepoInventory as bo, fetchRoadmapVotes as bp, fetchSearchFilters as bq, fetchSearchProfiles as br, fetchSimilarProfiles as bs, fetchSkillSuggestions as bt, fetchStats as bu, fetchSuggestionCount as bv, fetchSuggestions as bw, fetchWipePreview as bx, followUser as by, getAdminReviewQueues as bz, type AccountCheckResult as c, unsetExternalAccountPrimary as c0, updateExternalAccount as c1, updateOrgProfile as c2, updateProfileLocation as c3, updateProfileOverride as c4, updateProfileSelf as c5, updateSkill as c6, updateSkillSubCategories as c7, uploadAvatar as c8, verifyExternalAccount as c9, verifyOrgDomain as ca, 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-Bmk22agq.js';
1
+ import { P as ProfileView } from './types-CmS4Argp.js';
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-Bmk22agq.cjs';
1
+ import { P as ProfileView } from './types-CmS4Argp.cjs';
2
2
 
3
3
  /**
4
4
  * Compact professional summary derived from a {@link ProfileView}.
@@ -1226,6 +1226,23 @@ function deleteAccount(config, deletePdsData, options = {}) {
1226
1226
  );
1227
1227
  }
1228
1228
 
1229
+ // src/query/fetchers/repo-inventory.ts
1230
+ function fetchRepoInventory(config, options = {}) {
1231
+ return apiFetch(config, "/api/me/repo-inventory", {
1232
+ credentials: "include",
1233
+ ...options
1234
+ });
1235
+ }
1236
+ function deleteRepoRecords(config, input, options = {}) {
1237
+ return apiWrite(config, "/api/me/repo-delete", "POST", {
1238
+ body: input,
1239
+ ...options
1240
+ });
1241
+ }
1242
+ function repoExportUrl(config) {
1243
+ return `${config.baseUrl}/api/me/repo-export`;
1244
+ }
1245
+
1229
1246
  // src/query/fetchers/network-map.ts
1230
1247
  function isNetworkMapResponse(value) {
1231
1248
  return "graph" in value;
@@ -1522,6 +1539,10 @@ var sifaQueryKeys = {
1522
1539
  all: () => ["sifa", "bsky-preferences"],
1523
1540
  contentLabels: () => ["sifa", "bsky-preferences", "content-labels"]
1524
1541
  },
1542
+ repoInventory: {
1543
+ all: () => ["sifa", "repo-inventory"],
1544
+ list: () => ["sifa", "repo-inventory", "list"]
1545
+ },
1525
1546
  destructive: {
1526
1547
  all: () => ["sifa", "destructive"],
1527
1548
  wipePreview: () => ["sifa", "destructive", "wipe-preview"]
@@ -1563,6 +1584,7 @@ exports.deletePosition = deletePosition;
1563
1584
  exports.deleteProfileLocation = deleteProfileLocation;
1564
1585
  exports.deleteReaction = deleteReaction;
1565
1586
  exports.deleteRecord = deleteRecord;
1587
+ exports.deleteRepoRecords = deleteRepoRecords;
1566
1588
  exports.deleteSkill = deleteSkill;
1567
1589
  exports.dismissConfirmation = dismissConfirmation;
1568
1590
  exports.dismissEndorsement = dismissEndorsement;
@@ -1588,6 +1610,7 @@ exports.fetchPendingEndorsements = fetchPendingEndorsements;
1588
1610
  exports.fetchProfile = fetchProfile;
1589
1611
  exports.fetchProfileSummary = fetchProfileSummary;
1590
1612
  exports.fetchReactionStatus = fetchReactionStatus;
1613
+ exports.fetchRepoInventory = fetchRepoInventory;
1591
1614
  exports.fetchRoadmapVotes = fetchRoadmapVotes;
1592
1615
  exports.fetchSearchFilters = fetchSearchFilters;
1593
1616
  exports.fetchSearchProfiles = fetchSearchProfiles;
@@ -1618,6 +1641,7 @@ exports.refreshOrcidPublications = refreshOrcidPublications;
1618
1641
  exports.refreshPds = refreshPds;
1619
1642
  exports.removeFeatureAllowlist = removeFeatureAllowlist;
1620
1643
  exports.removeOrgNotificationEmail = removeOrgNotificationEmail;
1644
+ exports.repoExportUrl = repoExportUrl;
1621
1645
  exports.requestOrgDomainChallenge = requestOrgDomainChallenge;
1622
1646
  exports.resetProfile = resetProfile;
1623
1647
  exports.resolveQuotedPosts = resolveQuotedPosts;