@singi-labs/sifa-sdk 0.12.39 → 0.12.40
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-C1szgnQc.d.ts → index-C8mrec5e.d.ts} +8 -1
- package/dist/{index-BPImvVQq.d.cts → index-DqhBQnq5.d.cts} +8 -1
- package/dist/{index-DyffAaPT.d.ts → index-DtLGsgtE.d.ts} +1 -1
- package/dist/{index-CO3z2uAZ.d.cts → index-N8gKURnE.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{org-dEe3TbBJ.d.ts → org-C3omwbKL.d.ts} +7 -1
- package/dist/{org-DPfmXSYv.d.cts → org-COY6uqeB.d.cts} +7 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +2 -2
- package/dist/query/fetchers/index.d.ts +2 -2
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +5 -5
- package/dist/query/index.d.ts +5 -5
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-C3omwbKL.js';
|
|
2
2
|
import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef } from './adult-content-BQoId34F.js';
|
|
3
3
|
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-C8aHEPw4.js';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-cPc7uJVa.js';
|
|
@@ -110,6 +110,13 @@ interface PendingEndorsement {
|
|
|
110
110
|
* so the AppView hands this back rather than making callers rebuild it.
|
|
111
111
|
*/
|
|
112
112
|
uri: string;
|
|
113
|
+
/**
|
|
114
|
+
* CID of the endorsement record, when the AppView has it. Often absent:
|
|
115
|
+
* an endorsement written by another AT Protocol app can be indexed without
|
|
116
|
+
* its CID ever reaching us. Pass it through to confirm when present; the
|
|
117
|
+
* AppView resolves it from the endorser's PDS when it is not.
|
|
118
|
+
*/
|
|
119
|
+
cid?: string;
|
|
113
120
|
skillUri: string;
|
|
114
121
|
skillCid: string;
|
|
115
122
|
skillName: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-COY6uqeB.cjs';
|
|
2
2
|
import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef } from './adult-content-BQoId34F.cjs';
|
|
3
3
|
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-C8aHEPw4.cjs';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-BmtnD3ix.cjs';
|
|
@@ -110,6 +110,13 @@ interface PendingEndorsement {
|
|
|
110
110
|
* so the AppView hands this back rather than making callers rebuild it.
|
|
111
111
|
*/
|
|
112
112
|
uri: string;
|
|
113
|
+
/**
|
|
114
|
+
* CID of the endorsement record, when the AppView has it. Often absent:
|
|
115
|
+
* an endorsement written by another AT Protocol app can be indexed without
|
|
116
|
+
* its CID ever reaching us. Pass it through to confirm when present; the
|
|
117
|
+
* AppView resolves it from the endorser's PDS when it is not.
|
|
118
|
+
*/
|
|
119
|
+
cid?: string;
|
|
113
120
|
skillUri: string;
|
|
114
121
|
skillCid: string;
|
|
115
122
|
skillName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ai as RefreshPdsResult, ay as UpdateProfileOverrideInput, az as UpdateProfileSelfInput, aA as UploadAvatarResult, C as CreateResult, av as SubCategoryBulkResult, a6 as ProfileLocationInput, l as ExternalAccountInput, k as CreateExternalAccountResult, aB as VerifyExternalAccountResult, E as EndorsementInput, ah as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, T as HideProfileItemInput, au as StatsResponse, h as AppRegistryEntry, P as HiddenApp, y as FilterOptions, ap as SearchFilters, aq as SearchResponse, at as SkillSearchResult, m as FeaturedProfile, as as SimilarProfile, x as FetchSuggestionsOptions, ax as SuggestionsResponse, I as FollowUserResult, p as FetchFollowListOptions, z as FollowListPage, J as FollowingResponse, r as FetchFollowingFeedOptions, q as FetchFollowProfilePageOptions, H as FollowProfilePageResponse, F as FeatureAllowlistResponse, n as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, O as HeatmapResponse, V as MyGithubPullRequestsResponse, b as AccountCheckResult, ag as ReactionStatus, af as ReactionResult, ae as ReactionError, ao as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aj as ResetProfileResult, aC as WipePreview, Y as OrgClaimResult, a2 as OrgProfileUpdateResult, Z as OrgDomainChallengeResult, _ as OrgDomainVerifyResult, $ as OrgNotificationEmailAddResult, a0 as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ai as RefreshPdsResult, ay as UpdateProfileOverrideInput, az as UpdateProfileSelfInput, aA as UploadAvatarResult, C as CreateResult, av as SubCategoryBulkResult, a6 as ProfileLocationInput, l as ExternalAccountInput, k as CreateExternalAccountResult, aB as VerifyExternalAccountResult, E as EndorsementInput, ah as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, T as HideProfileItemInput, au as StatsResponse, h as AppRegistryEntry, P as HiddenApp, y as FilterOptions, ap as SearchFilters, aq as SearchResponse, at as SkillSearchResult, m as FeaturedProfile, as as SimilarProfile, x as FetchSuggestionsOptions, ax as SuggestionsResponse, I as FollowUserResult, p as FetchFollowListOptions, z as FollowListPage, J as FollowingResponse, r as FetchFollowingFeedOptions, q as FetchFollowProfilePageOptions, H as FollowProfilePageResponse, F as FeatureAllowlistResponse, n as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, O as HeatmapResponse, V as MyGithubPullRequestsResponse, b as AccountCheckResult, ag as ReactionStatus, af as ReactionResult, ae as ReactionError, ao as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aj as ResetProfileResult, aC as WipePreview, Y as OrgClaimResult, a2 as OrgProfileUpdateResult, Z as OrgDomainChallengeResult, _ as OrgDomainVerifyResult, $ as OrgNotificationEmailAddResult, a0 as OrgNotificationEmailRemoveResult } from './org-C3omwbKL.js';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
|
|
6
6
|
import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef, E as ExternalAccount, S as SkillSuggestion, N as OrgFloorVerdict } from './adult-content-BQoId34F.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ai as RefreshPdsResult, ay as UpdateProfileOverrideInput, az as UpdateProfileSelfInput, aA as UploadAvatarResult, C as CreateResult, av as SubCategoryBulkResult, a6 as ProfileLocationInput, l as ExternalAccountInput, k as CreateExternalAccountResult, aB as VerifyExternalAccountResult, E as EndorsementInput, ah as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, T as HideProfileItemInput, au as StatsResponse, h as AppRegistryEntry, P as HiddenApp, y as FilterOptions, ap as SearchFilters, aq as SearchResponse, at as SkillSearchResult, m as FeaturedProfile, as as SimilarProfile, x as FetchSuggestionsOptions, ax as SuggestionsResponse, I as FollowUserResult, p as FetchFollowListOptions, z as FollowListPage, J as FollowingResponse, r as FetchFollowingFeedOptions, q as FetchFollowProfilePageOptions, H as FollowProfilePageResponse, F as FeatureAllowlistResponse, n as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, O as HeatmapResponse, V as MyGithubPullRequestsResponse, b as AccountCheckResult, ag as ReactionStatus, af as ReactionResult, ae as ReactionError, ao as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aj as ResetProfileResult, aC as WipePreview, Y as OrgClaimResult, a2 as OrgProfileUpdateResult, Z as OrgDomainChallengeResult, _ as OrgDomainVerifyResult, $ as OrgNotificationEmailAddResult, a0 as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ai as RefreshPdsResult, ay as UpdateProfileOverrideInput, az as UpdateProfileSelfInput, aA as UploadAvatarResult, C as CreateResult, av as SubCategoryBulkResult, a6 as ProfileLocationInput, l as ExternalAccountInput, k as CreateExternalAccountResult, aB as VerifyExternalAccountResult, E as EndorsementInput, ah as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, T as HideProfileItemInput, au as StatsResponse, h as AppRegistryEntry, P as HiddenApp, y as FilterOptions, ap as SearchFilters, aq as SearchResponse, at as SkillSearchResult, m as FeaturedProfile, as as SimilarProfile, x as FetchSuggestionsOptions, ax as SuggestionsResponse, I as FollowUserResult, p as FetchFollowListOptions, z as FollowListPage, J as FollowingResponse, r as FetchFollowingFeedOptions, q as FetchFollowProfilePageOptions, H as FollowProfilePageResponse, F as FeatureAllowlistResponse, n as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, O as HeatmapResponse, V as MyGithubPullRequestsResponse, b as AccountCheckResult, ag as ReactionStatus, af as ReactionResult, ae as ReactionError, ao as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aj as ResetProfileResult, aC as WipePreview, Y as OrgClaimResult, a2 as OrgProfileUpdateResult, Z as OrgDomainChallengeResult, _ as OrgDomainVerifyResult, $ as OrgNotificationEmailAddResult, a0 as OrgNotificationEmailRemoveResult } from './org-COY6uqeB.cjs';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
|
|
6
6
|
import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef, E as ExternalAccount, S as SkillSuggestion, N as OrgFloorVerdict } from './adult-content-BQoId34F.cjs';
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -4882,7 +4882,7 @@ function roadmapIssueUrl(issue) {
|
|
|
4882
4882
|
}
|
|
4883
4883
|
|
|
4884
4884
|
// src/index.ts
|
|
4885
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
4885
|
+
var SIFA_SDK_VERSION = "0.12.40";
|
|
4886
4886
|
|
|
4887
4887
|
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVOLVEMENT_NSID, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, skillRefSchema, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
|
|
4888
4888
|
//# sourceMappingURL=index.js.map
|
|
@@ -308,7 +308,13 @@ interface EndorsementInput {
|
|
|
308
308
|
/** Body accepted by {@link confirmEndorsement}. */
|
|
309
309
|
interface ConfirmEndorsementInput {
|
|
310
310
|
endorsementUri: string;
|
|
311
|
-
|
|
311
|
+
/**
|
|
312
|
+
* Optional. When omitted the AppView resolves the CID itself, reading the
|
|
313
|
+
* record from the endorser's PDS if it has none stored. Callers working from
|
|
314
|
+
* the pending inbox should pass `cid` through when it is there and leave it
|
|
315
|
+
* out when it is not, rather than substituting another record's CID.
|
|
316
|
+
*/
|
|
317
|
+
endorsementCid?: string;
|
|
312
318
|
}
|
|
313
319
|
/**
|
|
314
320
|
* Create an endorsement of another user's skill. The endorsed user
|
|
@@ -308,7 +308,13 @@ interface EndorsementInput {
|
|
|
308
308
|
/** Body accepted by {@link confirmEndorsement}. */
|
|
309
309
|
interface ConfirmEndorsementInput {
|
|
310
310
|
endorsementUri: string;
|
|
311
|
-
|
|
311
|
+
/**
|
|
312
|
+
* Optional. When omitted the AppView resolves the CID itself, reading the
|
|
313
|
+
* record from the endorser's PDS if it has none stored. Callers working from
|
|
314
|
+
* the pending inbox should pass `cid` through when it is there and leave it
|
|
315
|
+
* out when it is not, rather than substituting another record's CID.
|
|
316
|
+
*/
|
|
317
|
+
endorsementCid?: string;
|
|
312
318
|
}
|
|
313
319
|
/**
|
|
314
320
|
* Create an endorsement of another user's skill. The endorsed user
|