@singi-labs/sifa-sdk 0.19.96 → 0.19.97
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/jev/index.cjs +20 -0
- package/dist/jev/index.cjs.map +1 -1
- package/dist/jev/index.d.cts +29 -1
- package/dist/jev/index.d.ts +29 -1
- package/dist/jev/index.js +20 -0
- package/dist/jev/index.js.map +1 -1
- package/dist/jev/issue.cjs.map +1 -1
- package/dist/query/fetchers/admin-review-queues.js +3 -1
- package/dist/query/fetchers/admin-review-queues.js.map +1 -1
- package/dist/query/fetchers/index.cjs +20 -2
- 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/index.js +4 -0
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/fetchers/profile-completeness.js +21 -2
- package/dist/query/fetchers/profile-completeness.js.map +1 -1
- package/dist/query/hooks/index.cjs +53 -2
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +7 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/hooks/use-profile-completeness.js +43 -1
- package/dist/query/hooks/use-profile-completeness.js.map +1 -1
- package/dist/query/index.cjs +55 -2
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +3 -3
- package/dist/query/index.d.ts +3 -3
- package/dist/query/index.js +11 -1
- package/dist/query/index.js.map +1 -1
- package/dist/{use-user-settings-CBH1CeDP.d.cts → use-user-settings-CNbF2SR5.d.cts} +13 -2
- package/dist/{use-user-settings-CFhaGcAq.d.ts → use-user-settings-GNjzBIGz.d.ts} +13 -2
- package/dist/{user-settings-D1zKOWa2.d.ts → user-settings-D77MWX_w.d.ts} +20 -1
- package/dist/{user-settings-ChPm0BFN.d.cts → user-settings-DWNbF59w.d.cts} +20 -1
- package/package.json +1 -1
|
@@ -515,6 +515,12 @@ interface ProfileCompleteness {
|
|
|
515
515
|
total: number;
|
|
516
516
|
/** The signals still missing, for the checklist. */
|
|
517
517
|
missing: ProfileCompletenessSignal[];
|
|
518
|
+
/**
|
|
519
|
+
* Signals the user hid from the checklist. They stay in `missing` (the score
|
|
520
|
+
* is unchanged); clients hide them. Absent from an AppView that predates
|
|
521
|
+
* server-side dismissals.
|
|
522
|
+
*/
|
|
523
|
+
dismissed?: ProfileCompletenessSignal[];
|
|
518
524
|
}
|
|
519
525
|
interface FetchProfileCompletenessOptions extends ApiFetchOptions {
|
|
520
526
|
/**
|
|
@@ -532,6 +538,17 @@ interface FetchProfileCompletenessOptions extends ApiFetchOptions {
|
|
|
532
538
|
* nagging the user with a phantom checklist.
|
|
533
539
|
*/
|
|
534
540
|
declare function fetchProfileCompleteness(config: SifaApiConfig, options?: FetchProfileCompletenessOptions): Promise<ProfileCompleteness>;
|
|
541
|
+
/** Body accepted by {@link dismissCompletenessSignal}. */
|
|
542
|
+
interface DismissCompletenessSignalInput {
|
|
543
|
+
signal: ProfileCompletenessSignal;
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* Hide one "complete your profile" item for the signed-in user, on every
|
|
547
|
+
* device. Writes nothing to any PDS and leaves the score unchanged.
|
|
548
|
+
*/
|
|
549
|
+
declare function dismissCompletenessSignal(config: SifaApiConfig, data: DismissCompletenessSignalInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
550
|
+
/** Show every hidden "complete your profile" item again. */
|
|
551
|
+
declare function clearCompletenessDismissals(config: SifaApiConfig, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
535
552
|
|
|
536
553
|
/** Extended result for {@link refreshOrcidPublications}. */
|
|
537
554
|
type RefreshOrcidPublicationsResult = WriteResult<{
|
|
@@ -1300,6 +1317,8 @@ interface AdminReviewQueues {
|
|
|
1300
1317
|
nameCorrections: number;
|
|
1301
1318
|
pendingCompanies: number;
|
|
1302
1319
|
duplicateOrgs: number;
|
|
1320
|
+
/** Pending reports of wrong Jev-inferred company facts (one per org + field). */
|
|
1321
|
+
inferredFactReports: number;
|
|
1303
1322
|
/** Sum of the queues. */
|
|
1304
1323
|
total: number;
|
|
1305
1324
|
generatedAt: string;
|
|
@@ -1961,4 +1980,4 @@ declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSet
|
|
|
1961
1980
|
/** Save the given preferences. Returns the stored settings, or `null` on failure. */
|
|
1962
1981
|
declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
|
|
1963
1982
|
|
|
1964
|
-
export { type
|
|
1983
|
+
export { type FollowingFeedVersion as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchFollowingFeedOptions as G, type FetchHiddenActivityItemsOptions as H, type FetchHiddenAppsOptions as I, type FetchInboxCountsOptions as J, type FetchMyGithubPullRequestsOptions as K, type FetchMyRoadmapVotesOptions as L, type FetchProfileCompletenessOptions as M, type FetchReactionStatusOptions as N, type FetchRpgClaimableOptions as O, type FetchRpgStatusOptions as P, type FetchSuggestionsOptions as Q, type FetchUnlinkedPositionsOptions as R, type FetchUserSettingsOptions as S, type FollowListPage as T, type FollowProfile as U, type FollowProfilePageResponse as V, type FollowUserResult as W, type FollowingFeedApp as X, type FollowingFeedBuild as Y, type FollowingFeedEmptyReason as Z, type FollowingFeedResponse as _, type ConfirmEndorsementResult as a, type SubCategoryBulkResult as a$, type FollowingResponse as a0, type GetAdminReviewQueuesOptions as a1, type GithubPullRequest as a2, type GivenConfirmation as a3, HIDDEN_ITEM_SOURCES as a4, HIDDEN_ITEM_TYPES as a5, type HeatmapDay as a6, type HeatmapResponse as a7, type HiddenActivityItem as a8, type HiddenApp as a9, QUOTED_POSTS_BATCH_MAX as aA, type QuotedPostAuthor as aB, type QuotedPostImage as aC, type QuotedPostResult as aD, type QuotedPostView as aE, type ReactionError as aF, type ReactionResult as aG, type ReactionStatus as aH, type RefreshOrcidPublicationsResult as aI, type RefreshPdsResult as aJ, type RepoDeleteInput as aK, type ResetProfileResult as aL, type ResolveQuotedPostsOptions as aM, type RoadmapVoteError as aN, type RoadmapVoteResult as aO, type RoadmapVoter as aP, type RoadmapVotesResponse as aQ, type RpgClaimableResponse as aR, RpgClaimableResponseSchema as aS, type RpgItemStatus as aT, RpgItemStatusSchema as aU, type RpgStatusResponse as aV, RpgStatusResponseSchema as aW, type SifaQueryKey as aX, type SimilarProfile as aY, type SiteActivityPresetResponse as aZ, type StatsResponse as a_, type HiddenItemSource as aa, type HiddenItemType as ab, type HideActivityItemInput as ac, type HideProfileItemInput as ad, type InboxCounts as ae, type ListFeatureAllowlistOptions as af, type MyGithubPullRequestsResponse as ag, type OrgClaimBinding as ah, type OrgClaimResult as ai, type OrgDomainChallengeResult as aj, type OrgDomainVerifyResult as ak, type OrgNotificationEmailAddResult as al, type OrgNotificationEmailRemoveResult as am, type OrgProfileEcho as an, type OrgProfileUpdateResult as ao, PROFILE_COMPLETENESS_SIGNALS as ap, type PdsWipeOutcome as aq, type PendingConfirmation as ar, type PendingConfirmationsPage as as, type PrimarySection as at, type ProfileCompleteness as au, type ProfileCompletenessSignal as av, type ProfileIndustryInput as aw, type ProfileLocationAddress as ax, type ProfileLocationInput as ay, type ProfileSelfLocation as az, type AccountSummary as b, fetchRoadmapVotes as b$, type SuggestionProfile as b0, type SuggestionsResponse as b1, type UnhideActivityItemInput as b2, type UnlinkedPosition as b3, type UnlinkedPositionsResult as b4, type UpdateActivityPreferencesInput as b5, type UpdateProfileOverrideInput as b6, type UpdateProfileSelfInput as b7, type UploadAvatarResult as b8, type UploadPronunciationAudioResult as b9, deleteReaction as bA, deleteRepoRecords as bB, deleteSkill as bC, dismissCompletenessSignal as bD, dismissConfirmation as bE, dismissUnlinkedPosition as bF, fetchAccounts as bG, fetchActivityFeed as bH, fetchActivityPreferences as bI, fetchActivityTeaser as bJ, fetchAppsRegistry as bK, fetchExternalAccounts as bL, fetchFeaturedProfile as bM, fetchFollowing as bN, fetchFollowingFeed as bO, fetchFollowingFeedVersion as bP, fetchGivenConfirmations as bQ, fetchHeatmapData as bR, fetchHiddenActivityItems as bS, fetchHiddenApps as bT, fetchInboxCounts as bU, fetchMyGithubPullRequests as bV, fetchMyRoadmapVotes as bW, fetchPendingConfirmations as bX, fetchProfileCompleteness as bY, fetchReactionStatus as bZ, fetchRepoInventory as b_, type UserSettings as ba, type UserSettingsPatch as bb, UserSettingsSchema as bc, type VerifyExternalAccountResult as bd, type WipePreview as be, addFeatureAllowlist as bf, addOrgNotificationEmail as bg, bulkHideProfileItems as bh, bulkHideStandardPublications as bi, bulkUnhideProfileItems as bj, bulkUnhideStandardPublications as bk, castRoadmapVote as bl, checkAppAccount as bm, clearCompletenessDismissals as bn, confirmEndorsement as bo, createConfirmation as bp, createEndorsement as bq, createExternalAccount as br, createProfileLocation as bs, createReaction as bt, createSkill as bu, deleteAccount as bv, deleteAvatarOverride as bw, deleteExternalAccount as bx, deleteNamePronunciationAudio as by, deleteProfileLocation as bz, type ActivityFeedResponse as c, fetchRpgClaimable as c0, fetchRpgStatus as c1, fetchSimilarProfiles as c2, fetchSiteActivityPreset as c3, fetchStats as c4, fetchSuggestionCount as c5, fetchSuggestions as c6, fetchUnlinkedPositions as c7, fetchUserSettings as c8, fetchViewerPositionConfirmations as c9, submitOrgClaim as cA, switchAccount as cB, unfollowUser as cC, unhideActivityItem as cD, unhideOrcidPublication as cE, unhideProfileItem as cF, unhideSifaPublication as cG, unhideStandardPublication as cH, unsetExternalAccountPrimary as cI, unsetSectionPrimary as cJ, updateActivityPreferences as cK, updateExternalAccount as cL, updateOrgProfile as cM, updateProfileLocation as cN, updateProfileOverride as cO, updateProfileSelf as cP, updateSkill as cQ, updateSkillSubCategories as cR, updateUserSettings as cS, uploadAvatar as cT, uploadNamePronunciationAudio as cU, verifyExternalAccount as cV, verifyOrgDomain as cW, fetchWipePreview as ca, followUser as cb, getAdminReviewQueues as cc, getBlueskySuggestions as cd, getFollowers as ce, getFollowing as cf, getMutuals as cg, hideActivityItem as ch, hideOrcidPublication as ci, hideProfileItem as cj, hideSifaPublication as ck, hideStandardPublication as cl, isNewerFollowingFeed as cm, listFeatureAllowlist as cn, refreshOrcidPublications as co, refreshPds as cp, removeFeatureAllowlist as cq, removeOrgNotificationEmail as cr, repoExportUrl as cs, requestOrgDomainChallenge as ct, resetProfile as cu, resolveQuotedPosts as cv, retractRoadmapVote as cw, revokeConfirmation as cx, setExternalAccountPrimary as cy, setSectionPrimary as cz, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues 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 DismissCompletenessSignalInput as o, type DismissUnlinkedPositionInput as p, type ExternalAccountInput as q, type FeaturedProfile as r, sifaQueryKeys as s, type FetchAccountsOptions as t, type FetchActivityFeedOptions as u, type FetchActivityPreferencesOptions as v, type FetchActivityTeaserOptions as w, type FetchConfirmationsOptions as x, type FetchFollowListOptions as y, type FetchFollowProfilePageOptions as z };
|
package/package.json
CHANGED