@singi-labs/sifa-sdk 0.12.44 → 0.12.46
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/{adult-content-JKDlPIbL.d.cts → adult-content-9l3Xmixn.d.cts} +68 -2
- package/dist/{adult-content-JKDlPIbL.d.ts → adult-content-9l3Xmixn.d.ts} +68 -2
- package/dist/{feed-C8aHEPw4.d.cts → feed-dOSy_48Z.d.cts} +1 -1
- package/dist/{feed-C8aHEPw4.d.ts → feed-dOSy_48Z.d.ts} +1 -1
- package/dist/{index-DRSrcDoq.d.cts → index--Q8kEaBH.d.cts} +4 -4
- package/dist/{index-BzfWwovU.d.ts → index-Bq1mfC91.d.ts} +4 -4
- package/dist/{index-BFO1nfxZ.d.cts → index-Bvr6ZlZ1.d.cts} +31 -4
- package/dist/{index-C-k5JuRG.d.ts → index-Dvw2NPpk.d.ts} +31 -4
- package/dist/index.cjs +32 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +32 -7
- package/dist/index.js.map +1 -1
- package/dist/{org-Bijq3reg.d.ts → org-Bqu4G83p.d.ts} +94 -4
- package/dist/{org-D_0P4klw.d.cts → org-CNsjSfE4.d.cts} +94 -4
- package/dist/{profile-summary-CSmXD7ll.d.cts → profile-summary-BcWQzphy.d.cts} +1 -1
- package/dist/{profile-summary-C9E-HPeP.d.ts → profile-summary-DITGRCHe.d.ts} +1 -1
- package/dist/query/fetchers/index.cjs +35 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +5 -5
- package/dist/query/fetchers/index.d.ts +5 -5
- package/dist/query/fetchers/index.js +32 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +103 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +4 -4
- package/dist/query/hooks/index.d.ts +4 -4
- package/dist/query/hooks/index.js +100 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +105 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +8 -8
- package/dist/query/index.d.ts +8 -8
- package/dist/query/index.js +98 -1
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/index.cjs +31 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +20 -593
- package/dist/schemas/index.d.ts +20 -593
- package/dist/schemas/index.js +30 -2
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +8 -0
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +9 -0
- package/dist/schemas/write/index.d.ts +9 -0
- package/dist/schemas/write/index.js +8 -0
- package/dist/schemas/write/index.js.map +1 -1
- package/dist/shared-CNr-iMpc.d.cts +614 -0
- package/dist/shared-CNr-iMpc.d.ts +614 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-
|
|
2
|
-
import {
|
|
1
|
+
import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-9l3Xmixn.js';
|
|
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';
|
|
5
5
|
|
|
@@ -344,6 +344,92 @@ declare function createEndorsement(config: SifaApiConfig, data: EndorsementInput
|
|
|
344
344
|
*/
|
|
345
345
|
declare function confirmEndorsement(config: SifaApiConfig, data: ConfirmEndorsementInput, options?: ApiFetchOptions): Promise<CreateResult & ConfirmEndorsementResult>;
|
|
346
346
|
|
|
347
|
+
/** A claim naming the signed-in user that they have neither confirmed nor dismissed. */
|
|
348
|
+
interface PendingConfirmation {
|
|
349
|
+
/** DID of the person who wrote the claim. */
|
|
350
|
+
claimerDid: string;
|
|
351
|
+
/**
|
|
352
|
+
* Claimer's handle, when the AppView has resolved one. Absent when they have
|
|
353
|
+
* no Sifa profile: a claim can be written by any AT Protocol app, so the UI
|
|
354
|
+
* needs a fallback for having no name to show.
|
|
355
|
+
*/
|
|
356
|
+
claimerHandle?: string;
|
|
357
|
+
claimerDisplayName?: string;
|
|
358
|
+
claimerAvatar?: string;
|
|
359
|
+
/** AT-URI of the record that names you. The confirm mutation needs a strongRef. */
|
|
360
|
+
subjectUri: string;
|
|
361
|
+
/**
|
|
362
|
+
* CID of that record, when the AppView has it. Often absent, since a record
|
|
363
|
+
* indexed from another app can arrive without one. Pass it through when
|
|
364
|
+
* present; the AppView resolves it from the claimer's PDS when it is not.
|
|
365
|
+
* Never substitute a different record's CID.
|
|
366
|
+
*/
|
|
367
|
+
subjectCid?: string;
|
|
368
|
+
relation: string;
|
|
369
|
+
/** Name or title the subject record carries right now, for display and snapshotting. */
|
|
370
|
+
subjectName: string;
|
|
371
|
+
/** Role the claimer assigned you, for `projectMember`. Display only. */
|
|
372
|
+
role?: string;
|
|
373
|
+
title?: string;
|
|
374
|
+
createdAt: string;
|
|
375
|
+
}
|
|
376
|
+
interface PendingConfirmationsPage {
|
|
377
|
+
confirmations: PendingConfirmation[];
|
|
378
|
+
cursor?: string;
|
|
379
|
+
}
|
|
380
|
+
/** Body accepted by {@link createConfirmation}. */
|
|
381
|
+
interface ConfirmationInput {
|
|
382
|
+
subjectUri: string;
|
|
383
|
+
subjectCid?: string;
|
|
384
|
+
relation: string;
|
|
385
|
+
/**
|
|
386
|
+
* Snapshot of the subject's name at confirmation time. Stored in your own
|
|
387
|
+
* repo, out of the claimer's reach, so a later rename is detectable.
|
|
388
|
+
*/
|
|
389
|
+
subjectName?: string;
|
|
390
|
+
}
|
|
391
|
+
/** Body accepted by {@link dismissConfirmation} and {@link revokeConfirmation}. */
|
|
392
|
+
interface ConfirmationSubjectInput {
|
|
393
|
+
subjectUri: string;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Claims awaiting the signed-in user's decision. Requires credentials -- the
|
|
397
|
+
* AppView reads the subject DID from the session, not from a parameter, so
|
|
398
|
+
* there is no way to read someone else's inbox.
|
|
399
|
+
*
|
|
400
|
+
* Returns an empty page on failure so a broken inbox degrades to "nothing
|
|
401
|
+
* pending" rather than breaking the surface hosting it.
|
|
402
|
+
*/
|
|
403
|
+
declare function fetchPendingConfirmations(config: SifaApiConfig, options?: ApiFetchOptions): Promise<PendingConfirmationsPage>;
|
|
404
|
+
/**
|
|
405
|
+
* Affirm that a record naming you is accurate, writing an `id.sifa.confirmation`
|
|
406
|
+
* to your own PDS. Until this exists the claim renders as a bare handle with no
|
|
407
|
+
* display name, avatar, or link back to you.
|
|
408
|
+
*
|
|
409
|
+
* Confirming does not put the claimer's record on your profile. That record
|
|
410
|
+
* lives in their repository and they can rename it at will; keeping your own
|
|
411
|
+
* entry is a separate, deliberate step.
|
|
412
|
+
*/
|
|
413
|
+
declare function createConfirmation(config: SifaApiConfig, data: ConfirmationInput, options?: ApiFetchOptions): Promise<CreateResult>;
|
|
414
|
+
/**
|
|
415
|
+
* Take a claim out of the inbox without confirming it.
|
|
416
|
+
*
|
|
417
|
+
* This writes nothing to any PDS. A claim only gains your identity once you
|
|
418
|
+
* have confirmed it, so declining is already the default state -- the dismissal
|
|
419
|
+
* is a local flag that stops it reappearing, not a published rejection the
|
|
420
|
+
* claimer can read.
|
|
421
|
+
*/
|
|
422
|
+
declare function dismissConfirmation(config: SifaApiConfig, data: ConfirmationSubjectInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
423
|
+
/**
|
|
424
|
+
* Withdraw a confirmation you previously gave, deleting the record from your
|
|
425
|
+
* PDS. The claim reverts to rendering as a bare handle.
|
|
426
|
+
*
|
|
427
|
+
* The usual reason is drift: the claimer renamed the project or changed the
|
|
428
|
+
* role after you confirmed, so what you affirmed is no longer what is shown.
|
|
429
|
+
* Also writes a dismissal, or the still-live claim returns to your inbox.
|
|
430
|
+
*/
|
|
431
|
+
declare function revokeConfirmation(config: SifaApiConfig, data: ConfirmationSubjectInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
432
|
+
|
|
347
433
|
/** Extended result for {@link refreshOrcidPublications}. */
|
|
348
434
|
interface RefreshOrcidPublicationsResult extends WriteResult {
|
|
349
435
|
added?: number;
|
|
@@ -1314,6 +1400,10 @@ declare const sifaQueryKeys: {
|
|
|
1314
1400
|
readonly count: (did: string) => readonly ["sifa", "endorsement", "count", string];
|
|
1315
1401
|
readonly pending: () => readonly ["sifa", "endorsement", "pending"];
|
|
1316
1402
|
};
|
|
1403
|
+
readonly confirmation: {
|
|
1404
|
+
readonly all: () => readonly ["sifa", "confirmation"];
|
|
1405
|
+
readonly pending: () => readonly ["sifa", "confirmation", "pending"];
|
|
1406
|
+
};
|
|
1317
1407
|
readonly stream: {
|
|
1318
1408
|
readonly all: () => readonly ["sifa", "stream"];
|
|
1319
1409
|
readonly networkCount: (did: string) => readonly ["sifa", "stream", "network-count", string];
|
|
@@ -1337,7 +1427,7 @@ declare const sifaQueryKeys: {
|
|
|
1337
1427
|
readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
|
|
1338
1428
|
};
|
|
1339
1429
|
};
|
|
1340
|
-
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.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>;
|
|
1430
|
+
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview>;
|
|
1341
1431
|
|
|
1342
1432
|
/** How a single entity binding was resolved during a claim. */
|
|
1343
1433
|
interface OrgClaimBinding {
|
|
@@ -1424,4 +1514,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
|
|
|
1424
1514
|
*/
|
|
1425
1515
|
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
|
|
1426
1516
|
|
|
1427
|
-
export { type
|
|
1517
|
+
export { type OrgClaimResult as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchSuggestionsOptions as G, type FilterOptions as H, type FollowListPage as I, type FollowProfile as J, type FollowProfilePageResponse as K, type FollowUserResult as L, type FollowingResponse as M, type GithubPullRequest as N, HIDDEN_ITEM_SOURCES as O, HIDDEN_ITEM_TYPES as P, type HeatmapDay as Q, type HeatmapResponse as R, type SifaApiConfig as S, type HiddenApp as T, type HiddenItemSource as U, type HiddenItemType as V, type WriteResult as W, type HideProfileItemInput as X, type ListFeatureAllowlistOptions as Y, type MyGithubPullRequestsResponse as Z, type OrgClaimBinding as _, type ConfirmEndorsementInput as a, deleteAccount as a$, type OrgDomainChallengeResult as a0, type OrgDomainVerifyResult as a1, type OrgNotificationEmailAddResult as a2, type OrgNotificationEmailRemoveResult as a3, type OrgProfileEcho as a4, type OrgProfileUpdateResult as a5, type PdsWipeOutcome as a6, type PendingConfirmation as a7, type PendingConfirmationsPage as a8, type ProfileIndustryInput as a9, type SubCategoryBulkResult as aA, type SuggestionProfile as aB, type SuggestionsResponse as aC, type UpdateProfileOverrideInput as aD, type UpdateProfileSelfInput as aE, type UploadAvatarResult as aF, type VerifyExternalAccountResult as aG, type WipePreview as aH, addFeatureAllowlist as aI, addOrgNotificationEmail as aJ, apiFetch as aK, apiFetchOrNull as aL, apiWrite as aM, apiWriteCreate as aN, bulkHideProfileItems as aO, bulkHideStandardPublications as aP, bulkUnhideProfileItems as aQ, bulkUnhideStandardPublications as aR, castRoadmapVote as aS, checkAppAccount as aT, confirmEndorsement as aU, createConfirmation as aV, createEndorsement as aW, createExternalAccount as aX, createProfileLocation as aY, createReaction as aZ, createSkill as a_, type ProfileLocationAddress as aa, type ProfileLocationInput as ab, type ProfileSearchResult as ac, type ProfileSelfLocation as ad, QUOTED_POSTS_BATCH_MAX as ae, type QuotedPostAuthor as af, type QuotedPostImage as ag, type QuotedPostResult as ah, type QuotedPostView as ai, type ReactionError as aj, type ReactionResult as ak, type ReactionStatus as al, type RefreshOrcidPublicationsResult as am, type RefreshPdsResult as an, type ResetProfileResult as ao, type ResolveQuotedPostsOptions as ap, type RoadmapVoteError as aq, type RoadmapVoteResult as ar, type RoadmapVoter as as, type RoadmapVotesResponse as at, type SearchFilters as au, type SearchResponse as av, type SifaQueryKey as aw, type SimilarProfile as ax, type SkillSearchResult as ay, type StatsResponse as az, type ConfirmEndorsementResult as b, uploadAvatar as b$, deleteAvatarOverride as b0, deleteExternalAccount as b1, deleteProfileLocation as b2, deleteReaction as b3, deleteSkill as b4, dismissConfirmation as b5, fetchActivityFeed as b6, fetchActivityTeaser as b7, fetchAppsRegistry as b8, fetchExternalAccounts as b9, hideStandardPublication as bA, listFeatureAllowlist as bB, refreshOrcidPublications as bC, refreshPds as bD, removeFeatureAllowlist as bE, removeOrgNotificationEmail as bF, requestOrgDomainChallenge as bG, resetProfile as bH, resolveQuotedPosts as bI, retractRoadmapVote as bJ, revokeConfirmation as bK, searchSkills as bL, setExternalAccountPrimary as bM, submitOrgClaim as bN, unfollowUser as bO, unhideOrcidPublication as bP, unhideProfileItem as bQ, unhideSifaPublication as bR, unhideStandardPublication as bS, unsetExternalAccountPrimary as bT, updateExternalAccount as bU, updateOrgProfile as bV, updateProfileLocation as bW, updateProfileOverride as bX, updateProfileSelf as bY, updateSkill as bZ, updateSkillSubCategories as b_, fetchFeaturedProfile as ba, fetchFollowing as bb, fetchHeatmapData as bc, fetchHiddenApps as bd, fetchMyGithubPullRequests as be, fetchMyRoadmapVotes as bf, fetchPendingConfirmations as bg, fetchReactionStatus as bh, fetchRoadmapVotes as bi, fetchSearchFilters as bj, fetchSearchProfiles as bk, fetchSimilarProfiles as bl, fetchSkillSuggestions as bm, fetchStats as bn, fetchSuggestionCount as bo, fetchSuggestions as bp, fetchWipePreview as bq, followUser as br, getBlueskySuggestions as bs, getFollowers as bt, getFollowing as bu, getFollowingFeed as bv, getMutuals as bw, hideOrcidPublication as bx, hideProfileItem as by, hideSifaPublication as bz, type AccountCheckResult as c, verifyExternalAccount as c0, verifyOrgDomain as c1, type ActivityFeedResponse as d, type ActivityItem as e, type ActivityItemLinkHealth as f, type ActivityTeaserResponse as g, ApiError as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type ExternalAccountInput as o, type FeaturedProfile as p, type FetchActivityFeedOptions as q, type FetchActivityTeaserOptions as r, sifaQueryKeys as s, type FetchFollowListOptions as t, type FetchFollowProfilePageOptions as u, type FetchFollowingFeedOptions as v, type FetchHiddenAppsOptions as w, type FetchMyGithubPullRequestsOptions as x, type FetchMyRoadmapVotesOptions as y, type FetchReactionStatusOptions as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-
|
|
2
|
-
import {
|
|
1
|
+
import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-9l3Xmixn.cjs';
|
|
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';
|
|
5
5
|
|
|
@@ -344,6 +344,92 @@ declare function createEndorsement(config: SifaApiConfig, data: EndorsementInput
|
|
|
344
344
|
*/
|
|
345
345
|
declare function confirmEndorsement(config: SifaApiConfig, data: ConfirmEndorsementInput, options?: ApiFetchOptions): Promise<CreateResult & ConfirmEndorsementResult>;
|
|
346
346
|
|
|
347
|
+
/** A claim naming the signed-in user that they have neither confirmed nor dismissed. */
|
|
348
|
+
interface PendingConfirmation {
|
|
349
|
+
/** DID of the person who wrote the claim. */
|
|
350
|
+
claimerDid: string;
|
|
351
|
+
/**
|
|
352
|
+
* Claimer's handle, when the AppView has resolved one. Absent when they have
|
|
353
|
+
* no Sifa profile: a claim can be written by any AT Protocol app, so the UI
|
|
354
|
+
* needs a fallback for having no name to show.
|
|
355
|
+
*/
|
|
356
|
+
claimerHandle?: string;
|
|
357
|
+
claimerDisplayName?: string;
|
|
358
|
+
claimerAvatar?: string;
|
|
359
|
+
/** AT-URI of the record that names you. The confirm mutation needs a strongRef. */
|
|
360
|
+
subjectUri: string;
|
|
361
|
+
/**
|
|
362
|
+
* CID of that record, when the AppView has it. Often absent, since a record
|
|
363
|
+
* indexed from another app can arrive without one. Pass it through when
|
|
364
|
+
* present; the AppView resolves it from the claimer's PDS when it is not.
|
|
365
|
+
* Never substitute a different record's CID.
|
|
366
|
+
*/
|
|
367
|
+
subjectCid?: string;
|
|
368
|
+
relation: string;
|
|
369
|
+
/** Name or title the subject record carries right now, for display and snapshotting. */
|
|
370
|
+
subjectName: string;
|
|
371
|
+
/** Role the claimer assigned you, for `projectMember`. Display only. */
|
|
372
|
+
role?: string;
|
|
373
|
+
title?: string;
|
|
374
|
+
createdAt: string;
|
|
375
|
+
}
|
|
376
|
+
interface PendingConfirmationsPage {
|
|
377
|
+
confirmations: PendingConfirmation[];
|
|
378
|
+
cursor?: string;
|
|
379
|
+
}
|
|
380
|
+
/** Body accepted by {@link createConfirmation}. */
|
|
381
|
+
interface ConfirmationInput {
|
|
382
|
+
subjectUri: string;
|
|
383
|
+
subjectCid?: string;
|
|
384
|
+
relation: string;
|
|
385
|
+
/**
|
|
386
|
+
* Snapshot of the subject's name at confirmation time. Stored in your own
|
|
387
|
+
* repo, out of the claimer's reach, so a later rename is detectable.
|
|
388
|
+
*/
|
|
389
|
+
subjectName?: string;
|
|
390
|
+
}
|
|
391
|
+
/** Body accepted by {@link dismissConfirmation} and {@link revokeConfirmation}. */
|
|
392
|
+
interface ConfirmationSubjectInput {
|
|
393
|
+
subjectUri: string;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Claims awaiting the signed-in user's decision. Requires credentials -- the
|
|
397
|
+
* AppView reads the subject DID from the session, not from a parameter, so
|
|
398
|
+
* there is no way to read someone else's inbox.
|
|
399
|
+
*
|
|
400
|
+
* Returns an empty page on failure so a broken inbox degrades to "nothing
|
|
401
|
+
* pending" rather than breaking the surface hosting it.
|
|
402
|
+
*/
|
|
403
|
+
declare function fetchPendingConfirmations(config: SifaApiConfig, options?: ApiFetchOptions): Promise<PendingConfirmationsPage>;
|
|
404
|
+
/**
|
|
405
|
+
* Affirm that a record naming you is accurate, writing an `id.sifa.confirmation`
|
|
406
|
+
* to your own PDS. Until this exists the claim renders as a bare handle with no
|
|
407
|
+
* display name, avatar, or link back to you.
|
|
408
|
+
*
|
|
409
|
+
* Confirming does not put the claimer's record on your profile. That record
|
|
410
|
+
* lives in their repository and they can rename it at will; keeping your own
|
|
411
|
+
* entry is a separate, deliberate step.
|
|
412
|
+
*/
|
|
413
|
+
declare function createConfirmation(config: SifaApiConfig, data: ConfirmationInput, options?: ApiFetchOptions): Promise<CreateResult>;
|
|
414
|
+
/**
|
|
415
|
+
* Take a claim out of the inbox without confirming it.
|
|
416
|
+
*
|
|
417
|
+
* This writes nothing to any PDS. A claim only gains your identity once you
|
|
418
|
+
* have confirmed it, so declining is already the default state -- the dismissal
|
|
419
|
+
* is a local flag that stops it reappearing, not a published rejection the
|
|
420
|
+
* claimer can read.
|
|
421
|
+
*/
|
|
422
|
+
declare function dismissConfirmation(config: SifaApiConfig, data: ConfirmationSubjectInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
423
|
+
/**
|
|
424
|
+
* Withdraw a confirmation you previously gave, deleting the record from your
|
|
425
|
+
* PDS. The claim reverts to rendering as a bare handle.
|
|
426
|
+
*
|
|
427
|
+
* The usual reason is drift: the claimer renamed the project or changed the
|
|
428
|
+
* role after you confirmed, so what you affirmed is no longer what is shown.
|
|
429
|
+
* Also writes a dismissal, or the still-live claim returns to your inbox.
|
|
430
|
+
*/
|
|
431
|
+
declare function revokeConfirmation(config: SifaApiConfig, data: ConfirmationSubjectInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
432
|
+
|
|
347
433
|
/** Extended result for {@link refreshOrcidPublications}. */
|
|
348
434
|
interface RefreshOrcidPublicationsResult extends WriteResult {
|
|
349
435
|
added?: number;
|
|
@@ -1314,6 +1400,10 @@ declare const sifaQueryKeys: {
|
|
|
1314
1400
|
readonly count: (did: string) => readonly ["sifa", "endorsement", "count", string];
|
|
1315
1401
|
readonly pending: () => readonly ["sifa", "endorsement", "pending"];
|
|
1316
1402
|
};
|
|
1403
|
+
readonly confirmation: {
|
|
1404
|
+
readonly all: () => readonly ["sifa", "confirmation"];
|
|
1405
|
+
readonly pending: () => readonly ["sifa", "confirmation", "pending"];
|
|
1406
|
+
};
|
|
1317
1407
|
readonly stream: {
|
|
1318
1408
|
readonly all: () => readonly ["sifa", "stream"];
|
|
1319
1409
|
readonly networkCount: (did: string) => readonly ["sifa", "stream", "network-count", string];
|
|
@@ -1337,7 +1427,7 @@ declare const sifaQueryKeys: {
|
|
|
1337
1427
|
readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
|
|
1338
1428
|
};
|
|
1339
1429
|
};
|
|
1340
|
-
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.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>;
|
|
1430
|
+
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview>;
|
|
1341
1431
|
|
|
1342
1432
|
/** How a single entity binding was resolved during a claim. */
|
|
1343
1433
|
interface OrgClaimBinding {
|
|
@@ -1424,4 +1514,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
|
|
|
1424
1514
|
*/
|
|
1425
1515
|
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
|
|
1426
1516
|
|
|
1427
|
-
export { type
|
|
1517
|
+
export { type OrgClaimResult as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchSuggestionsOptions as G, type FilterOptions as H, type FollowListPage as I, type FollowProfile as J, type FollowProfilePageResponse as K, type FollowUserResult as L, type FollowingResponse as M, type GithubPullRequest as N, HIDDEN_ITEM_SOURCES as O, HIDDEN_ITEM_TYPES as P, type HeatmapDay as Q, type HeatmapResponse as R, type SifaApiConfig as S, type HiddenApp as T, type HiddenItemSource as U, type HiddenItemType as V, type WriteResult as W, type HideProfileItemInput as X, type ListFeatureAllowlistOptions as Y, type MyGithubPullRequestsResponse as Z, type OrgClaimBinding as _, type ConfirmEndorsementInput as a, deleteAccount as a$, type OrgDomainChallengeResult as a0, type OrgDomainVerifyResult as a1, type OrgNotificationEmailAddResult as a2, type OrgNotificationEmailRemoveResult as a3, type OrgProfileEcho as a4, type OrgProfileUpdateResult as a5, type PdsWipeOutcome as a6, type PendingConfirmation as a7, type PendingConfirmationsPage as a8, type ProfileIndustryInput as a9, type SubCategoryBulkResult as aA, type SuggestionProfile as aB, type SuggestionsResponse as aC, type UpdateProfileOverrideInput as aD, type UpdateProfileSelfInput as aE, type UploadAvatarResult as aF, type VerifyExternalAccountResult as aG, type WipePreview as aH, addFeatureAllowlist as aI, addOrgNotificationEmail as aJ, apiFetch as aK, apiFetchOrNull as aL, apiWrite as aM, apiWriteCreate as aN, bulkHideProfileItems as aO, bulkHideStandardPublications as aP, bulkUnhideProfileItems as aQ, bulkUnhideStandardPublications as aR, castRoadmapVote as aS, checkAppAccount as aT, confirmEndorsement as aU, createConfirmation as aV, createEndorsement as aW, createExternalAccount as aX, createProfileLocation as aY, createReaction as aZ, createSkill as a_, type ProfileLocationAddress as aa, type ProfileLocationInput as ab, type ProfileSearchResult as ac, type ProfileSelfLocation as ad, QUOTED_POSTS_BATCH_MAX as ae, type QuotedPostAuthor as af, type QuotedPostImage as ag, type QuotedPostResult as ah, type QuotedPostView as ai, type ReactionError as aj, type ReactionResult as ak, type ReactionStatus as al, type RefreshOrcidPublicationsResult as am, type RefreshPdsResult as an, type ResetProfileResult as ao, type ResolveQuotedPostsOptions as ap, type RoadmapVoteError as aq, type RoadmapVoteResult as ar, type RoadmapVoter as as, type RoadmapVotesResponse as at, type SearchFilters as au, type SearchResponse as av, type SifaQueryKey as aw, type SimilarProfile as ax, type SkillSearchResult as ay, type StatsResponse as az, type ConfirmEndorsementResult as b, uploadAvatar as b$, deleteAvatarOverride as b0, deleteExternalAccount as b1, deleteProfileLocation as b2, deleteReaction as b3, deleteSkill as b4, dismissConfirmation as b5, fetchActivityFeed as b6, fetchActivityTeaser as b7, fetchAppsRegistry as b8, fetchExternalAccounts as b9, hideStandardPublication as bA, listFeatureAllowlist as bB, refreshOrcidPublications as bC, refreshPds as bD, removeFeatureAllowlist as bE, removeOrgNotificationEmail as bF, requestOrgDomainChallenge as bG, resetProfile as bH, resolveQuotedPosts as bI, retractRoadmapVote as bJ, revokeConfirmation as bK, searchSkills as bL, setExternalAccountPrimary as bM, submitOrgClaim as bN, unfollowUser as bO, unhideOrcidPublication as bP, unhideProfileItem as bQ, unhideSifaPublication as bR, unhideStandardPublication as bS, unsetExternalAccountPrimary as bT, updateExternalAccount as bU, updateOrgProfile as bV, updateProfileLocation as bW, updateProfileOverride as bX, updateProfileSelf as bY, updateSkill as bZ, updateSkillSubCategories as b_, fetchFeaturedProfile as ba, fetchFollowing as bb, fetchHeatmapData as bc, fetchHiddenApps as bd, fetchMyGithubPullRequests as be, fetchMyRoadmapVotes as bf, fetchPendingConfirmations as bg, fetchReactionStatus as bh, fetchRoadmapVotes as bi, fetchSearchFilters as bj, fetchSearchProfiles as bk, fetchSimilarProfiles as bl, fetchSkillSuggestions as bm, fetchStats as bn, fetchSuggestionCount as bo, fetchSuggestions as bp, fetchWipePreview as bq, followUser as br, getBlueskySuggestions as bs, getFollowers as bt, getFollowing as bu, getFollowingFeed as bv, getMutuals as bw, hideOrcidPublication as bx, hideProfileItem as by, hideSifaPublication as bz, type AccountCheckResult as c, verifyExternalAccount as c0, verifyOrgDomain as c1, type ActivityFeedResponse as d, type ActivityItem as e, type ActivityItemLinkHealth as f, type ActivityTeaserResponse as g, ApiError as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type ExternalAccountInput as o, type FeaturedProfile as p, type FetchActivityFeedOptions as q, type FetchActivityTeaserOptions as r, sifaQueryKeys as s, type FetchFollowListOptions as t, type FetchFollowProfilePageOptions as u, type FetchFollowingFeedOptions as v, type FetchHiddenAppsOptions as w, type FetchMyGithubPullRequestsOptions as x, type FetchMyRoadmapVotesOptions as y, type FetchReactionStatusOptions as z };
|
|
@@ -407,6 +407,30 @@ function dismissEndorsement(config, data, options = {}) {
|
|
|
407
407
|
return apiWrite(config, "/api/endorsement/dismiss", "POST", { body: data, ...options });
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
+
// src/query/fetchers/confirmations.ts
|
|
411
|
+
async function fetchPendingConfirmations(config, options = {}) {
|
|
412
|
+
try {
|
|
413
|
+
const data = await apiFetch(config, "/api/confirmations/pending", {
|
|
414
|
+
cache: "no-store",
|
|
415
|
+
credentials: "include",
|
|
416
|
+
timeoutMs: 5e3,
|
|
417
|
+
...options
|
|
418
|
+
});
|
|
419
|
+
return { confirmations: data?.confirmations ?? [], cursor: data?.cursor };
|
|
420
|
+
} catch {
|
|
421
|
+
return { confirmations: [] };
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
function createConfirmation(config, data, options = {}) {
|
|
425
|
+
return apiWriteCreate(config, "/api/confirmation", data, options);
|
|
426
|
+
}
|
|
427
|
+
function dismissConfirmation(config, data, options = {}) {
|
|
428
|
+
return apiWrite(config, "/api/confirmation/dismiss", "POST", { body: data, ...options });
|
|
429
|
+
}
|
|
430
|
+
function revokeConfirmation(config, data, options = {}) {
|
|
431
|
+
return apiWrite(config, "/api/confirmation/revoke", "POST", { body: data, ...options });
|
|
432
|
+
}
|
|
433
|
+
|
|
410
434
|
// src/query/fetchers/keytrace-claims.ts
|
|
411
435
|
function hideKeytraceClaim(config, rkey, options = {}) {
|
|
412
436
|
return apiWrite(
|
|
@@ -1434,6 +1458,13 @@ var sifaQueryKeys = {
|
|
|
1434
1458
|
// from the session cookie, so there is only ever one inbox per client.
|
|
1435
1459
|
pending: () => ["sifa", "endorsement", "pending"]
|
|
1436
1460
|
},
|
|
1461
|
+
confirmation: {
|
|
1462
|
+
all: () => ["sifa", "confirmation"],
|
|
1463
|
+
// Scoped to the session for the same reason as the endorsement inbox: the
|
|
1464
|
+
// AppView reads the subject from the session cookie, so there is only ever
|
|
1465
|
+
// one inbox per client.
|
|
1466
|
+
pending: () => ["sifa", "confirmation", "pending"]
|
|
1467
|
+
},
|
|
1437
1468
|
stream: {
|
|
1438
1469
|
all: () => ["sifa", "stream"],
|
|
1439
1470
|
networkCount: (did) => ["sifa", "stream", "network-count", did]
|
|
@@ -1476,6 +1507,7 @@ exports.castRoadmapVote = castRoadmapVote;
|
|
|
1476
1507
|
exports.checkAppAccount = checkAppAccount;
|
|
1477
1508
|
exports.checkNetworkMapJobStatus = checkNetworkMapJobStatus;
|
|
1478
1509
|
exports.confirmEndorsement = confirmEndorsement;
|
|
1510
|
+
exports.createConfirmation = createConfirmation;
|
|
1479
1511
|
exports.createEducation = createEducation;
|
|
1480
1512
|
exports.createEndorsement = createEndorsement;
|
|
1481
1513
|
exports.createExternalAccount = createExternalAccount;
|
|
@@ -1493,6 +1525,7 @@ exports.deleteProfileLocation = deleteProfileLocation;
|
|
|
1493
1525
|
exports.deleteReaction = deleteReaction;
|
|
1494
1526
|
exports.deleteRecord = deleteRecord;
|
|
1495
1527
|
exports.deleteSkill = deleteSkill;
|
|
1528
|
+
exports.dismissConfirmation = dismissConfirmation;
|
|
1496
1529
|
exports.dismissEndorsement = dismissEndorsement;
|
|
1497
1530
|
exports.fetchActivityFeed = fetchActivityFeed;
|
|
1498
1531
|
exports.fetchActivityTeaser = fetchActivityTeaser;
|
|
@@ -1510,6 +1543,7 @@ exports.fetchMyGithubPullRequests = fetchMyGithubPullRequests;
|
|
|
1510
1543
|
exports.fetchMyRoadmapVotes = fetchMyRoadmapVotes;
|
|
1511
1544
|
exports.fetchNetworkMap = fetchNetworkMap;
|
|
1512
1545
|
exports.fetchNetworkStreamCount = fetchNetworkStreamCount;
|
|
1546
|
+
exports.fetchPendingConfirmations = fetchPendingConfirmations;
|
|
1513
1547
|
exports.fetchPendingEndorsements = fetchPendingEndorsements;
|
|
1514
1548
|
exports.fetchProfile = fetchProfile;
|
|
1515
1549
|
exports.fetchProfileSummary = fetchProfileSummary;
|
|
@@ -1548,6 +1582,7 @@ exports.resetProfile = resetProfile;
|
|
|
1548
1582
|
exports.resolveQuotedPosts = resolveQuotedPosts;
|
|
1549
1583
|
exports.retractRoadmapVote = retractRoadmapVote;
|
|
1550
1584
|
exports.revealMarqueDomain = revealMarqueDomain;
|
|
1585
|
+
exports.revokeConfirmation = revokeConfirmation;
|
|
1551
1586
|
exports.searchSkills = searchSkills;
|
|
1552
1587
|
exports.selectEntity = selectEntity;
|
|
1553
1588
|
exports.setExternalAccountPrimary = setExternalAccountPrimary;
|