@singi-labs/sifa-sdk 0.19.55 → 0.19.57
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/{follow-profile-D1l6pulB.d.ts → follow-profile-CQ3DTTak.d.cts} +3 -0
- package/dist/{follow-profile-D1l6pulB.d.cts → follow-profile-ceqefXAw.d.ts} +3 -0
- package/dist/{index-DmlIG8sJ.d.cts → index-BeQbepFn.d.cts} +7 -1
- package/dist/{index-D9GC0u__.d.ts → index-CT-A3BEe.d.ts} +7 -1
- package/dist/index.cjs +16 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -81
- package/dist/index.d.ts +10 -81
- package/dist/index.js +1 -1
- package/dist/jsonld/index.d.cts +2 -2
- package/dist/jsonld/index.d.ts +2 -2
- package/dist/{network-map-CiWrQ1fF.d.ts → network-map-CKF7Yozc.d.ts} +4 -4
- package/dist/{network-map-CdYpUy-t.d.cts → network-map-DHOOMSCP.d.cts} +4 -4
- package/dist/{org-fmpG85L0.d.cts → org-Bq3HbpLD.d.cts} +33 -6
- package/dist/{org-hxHnoBfg.d.ts → org-CelDIOiN.d.ts} +33 -6
- package/dist/{profile-summary-5T1hDw6Q.d.cts → profile-summary-CD3-QflX.d.cts} +1 -1
- package/dist/{profile-summary-Bj7ufSDK.d.ts → profile-summary-CyRzFe7f.d.ts} +1 -1
- package/dist/query/fetchers/discovery.js.map +1 -1
- package/dist/query/fetchers/follow.js +13 -4
- package/dist/query/fetchers/follow.js.map +1 -1
- package/dist/query/fetchers/index.cjs +21 -6
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +8 -8
- package/dist/query/fetchers/index.d.ts +8 -8
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/fetchers/search.js +8 -2
- package/dist/query/fetchers/search.js.map +1 -1
- package/dist/query/hooks/index.cjs +17 -4
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +6 -6
- package/dist/query/hooks/index.d.ts +6 -6
- package/dist/query/hooks/use-follow.js +1 -1
- package/dist/query/hooks/use-follow.js.map +1 -1
- package/dist/query/index.cjs +22 -7
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +12 -12
- package/dist/query/index.d.ts +12 -12
- package/dist/query/index.js.map +1 -1
- package/dist/resume/index.d.cts +2 -2
- package/dist/resume/index.d.ts +2 -2
- package/dist/schemas/follow-profile.js +18 -1
- package/dist/schemas/follow-profile.js.map +1 -1
- package/dist/schemas/index.cjs +53 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +2 -2
- package/dist/schemas/index.d.ts +2 -2
- package/dist/types/index.js.map +1 -1
- package/dist/{types-jB67EFpw.d.ts → types-BHnGSJ3z.d.cts} +34 -4
- package/dist/{types-DHT7jcZc.d.cts → types-BKEBVobU.d.ts} +34 -4
- package/dist/{use-org-notification-emails-Cj8IDI_7.d.cts → use-org-notification-emails-BTR2Yxq8.d.cts} +9 -8
- package/dist/{use-org-notification-emails-CWLCWkmb.d.ts → use-org-notification-emails-DDIi6giD.d.ts} +9 -8
- package/dist/verification-providers-7il3kPQS.d.cts +158 -0
- package/dist/verification-providers-7il3kPQS.d.ts +158 -0
- package/package.json +1 -1
- package/dist/shared-v0vl5hov.d.cts +0 -87
- package/dist/shared-v0vl5hov.d.ts +0 -87
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement, R as RelatedIdentifier } from './index-
|
|
2
|
-
export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, Q as RecognizedEntity, S as SkillRef, T as SkillSuggestion, U as TrustStat, V as VerifiedAccount } from './index-
|
|
3
|
-
import { S as SearchFilters } from './types-
|
|
4
|
-
export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, z as SIFA_REPO_GROUPS, B as SkillView, V as VolunteeringView, F as describeSifaRecord, G as hasAdultContent, J as repoGroupForCollection } from './types-
|
|
1
|
+
import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement, R as RelatedIdentifier } from './index-BeQbepFn.cjs';
|
|
2
|
+
export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, Q as RecognizedEntity, S as SkillRef, T as SkillSuggestion, U as TrustStat, V as VerifiedAccount } from './index-BeQbepFn.cjs';
|
|
3
|
+
import { S as SearchFilters } from './types-BHnGSJ3z.cjs';
|
|
4
|
+
export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, z as SIFA_REPO_GROUPS, B as SkillView, V as VolunteeringView, F as describeSifaRecord, G as hasAdultContent, J as repoGroupForCollection } from './types-BHnGSJ3z.cjs';
|
|
5
|
+
import { A as AgentRef } from './verification-providers-7il3kPQS.cjs';
|
|
6
|
+
export { a as AccountVerification, V as VERIFICATION_PROVIDERS, b as VerificationProvider, c as VerificationProviderId, d as VerificationSource, e as agentRefSchema, f as atUriSchema, g as cidSchema, h as datetimeSchema, i as didSchema, j as externalRecordRefSchema, k as getVerificationProvider, l as isKnownVerificationProvider, m as languageTagSchema, n as maxGraphemes, p as partialDateSchema, o as primaryVerification, r as resolveVerifierProvider, s as selfLabelsSchema, q as skillRefSchema, t as strongRefSchema, u as uriSchema } from './verification-providers-7il3kPQS.cjs';
|
|
5
7
|
import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, O as OrgProfileRecord } from './profile-investment-BiHM7C5q.cjs';
|
|
6
8
|
export { A as ArtifactLink, c as ArtifactLinkSchema, d as AtmosphereFeedItem, e as AtmosphereFeedItemSchema, B as BlobRef, f as BlobRefSchema, E as EndorsementConfirmationRecord, g as EndorsementConfirmationRecordSchema, h as EndorsementRecord, i as EndorsementRecordSchema, F as FeedActor, j as FeedActorSchema, k as FeedCursor, l as FollowFeedItem, m as FollowFeedItemSchema, n as FollowFeedPage, o as FollowFeedPageSchema, G as GraphFollowRecord, p as GraphFollowRecordSchema, I as InvestmentAmountSchema, q as OrgEmploymentAttestationRecord, r as OrgEmploymentAttestationRecordSchema, s as OrgProfileRecordSchema, t as PROFILE_INVESTMENT_NSID, u as PROFILE_INVOLVEMENT_NSID, v as PresentationDurationSchema, w as PresentationLink, x as PresentationLinkSchema, y as ProfileCertificationRecord, z as ProfileCertificationRecordSchema, C as ProfileCourseRecord, D as ProfileCourseRecordSchema, H as ProfileEducationRecord, J as ProfileEducationRecordSchema, K as ProfileExternalAccountRecord, L as ProfileExternalAccountRecordSchema, M as ProfileHonorRecord, N as ProfileHonorRecordSchema, Q as ProfileInvestmentRecordSchema, R as ProfileInvolvementRecord, S as ProfileInvolvementRecordSchema, T as ProfileLanguageRecord, U as ProfileLanguageRecordSchema, V as ProfilePositionRecord, W as ProfilePositionRecordSchema, X as ProfilePresentationDeliveryRecordSchema, Y as ProfilePresentationRecordSchema, Z as ProfileProjectRecord, _ as ProfileProjectRecordSchema, $ as ProfilePublicationRecord, a0 as ProfilePublicationRecordSchema, a1 as ProfileSelfRecord, a2 as ProfileSelfRecordSchema, a3 as ProfileSkillRecord, a4 as ProfileSkillRecordSchema, a5 as ProfileVolunteeringRecord, a6 as ProfileVolunteeringRecordSchema, a7 as PublicationAuthor, a8 as PublicationAuthorSchema, a9 as RelatedIdentifierSchema, aa as SifaFeedItem, ab as SifaFeedItemSchema, ac as decodeFeedCursor, ad as encodeFeedCursor, ae as makeGraphFollowRecordSchema } from './profile-investment-BiHM7C5q.cjs';
|
|
7
9
|
import { z } from 'zod';
|
|
8
|
-
export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-
|
|
9
|
-
import { E as EntitySearchResult } from './follow-profile-
|
|
10
|
-
export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-
|
|
11
|
-
import { A as AgentRef } from './shared-v0vl5hov.cjs';
|
|
12
|
-
export { a as agentRefSchema, b as atUriSchema, c as cidSchema, d as datetimeSchema, e as didSchema, f as externalRecordRefSchema, l as languageTagSchema, m as maxGraphemes, p as partialDateSchema, s as selfLabelsSchema, g as skillRefSchema, h as strongRefSchema, u as uriSchema } from './shared-v0vl5hov.cjs';
|
|
10
|
+
export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-CD3-QflX.cjs';
|
|
11
|
+
import { E as EntitySearchResult } from './follow-profile-CQ3DTTak.cjs';
|
|
12
|
+
export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-CQ3DTTak.cjs';
|
|
13
13
|
|
|
14
14
|
type ContinentCode = 'AF' | 'AN' | 'AS' | 'EU' | 'NA' | 'OC' | 'SA';
|
|
15
15
|
declare const CONTINENTS: ReadonlyArray<{
|
|
@@ -775,77 +775,6 @@ declare const ARTIFACT_LINK_KIND_LABELS: Record<string, string>;
|
|
|
775
775
|
/** Resolve a label for an artifact-link-kind value. Falls back to the raw value. */
|
|
776
776
|
declare function getArtifactLinkKindLabel(value: string | undefined | null): string | undefined;
|
|
777
777
|
|
|
778
|
-
/**
|
|
779
|
-
* Verification providers -- the trust roots Sifa recognizes for AT Protocol
|
|
780
|
-
* `app.bsky.graph.verification` records.
|
|
781
|
-
*
|
|
782
|
-
* Framing (see decisions/2026-07-13-third-party-verification-providers.md, D4):
|
|
783
|
-
* a verification checkmark is ONE low-tier trust layer, not Sifa's headline.
|
|
784
|
-
* Most of what it certifies is "this account is who they claim to be" -- useful,
|
|
785
|
-
* and worth carrying because it's an already-recognized network signal, but low
|
|
786
|
-
* value on its own. It sits among Sifa's other trust signals and never becomes a
|
|
787
|
-
* score or a gate. This registry only decides which issuers Sifa displays and
|
|
788
|
-
* with what provenance.
|
|
789
|
-
*
|
|
790
|
-
* Data-only: badge colors and icons are consumer concerns (React DOM on web,
|
|
791
|
-
* React Native on mobile), same split as {@link PLATFORM_LABELS}. Consumers map
|
|
792
|
-
* a provider id to a token/color.
|
|
793
|
-
*/
|
|
794
|
-
type VerificationProviderId = 'bluesky' | 'mu';
|
|
795
|
-
/** How Sifa learns about a provider's verifications. */
|
|
796
|
-
type VerificationSource = 'bluesky-api' | 'firehose';
|
|
797
|
-
interface VerificationProvider {
|
|
798
|
-
id: VerificationProviderId;
|
|
799
|
-
/** Human label for the badge popover, e.g. "Bluesky", "mu (Eurosky)". */
|
|
800
|
-
label: string;
|
|
801
|
-
/**
|
|
802
|
-
* Primary-display priority (D1): when an account holds verifications from
|
|
803
|
-
* multiple providers, the lowest number wins the single inline badge and the
|
|
804
|
-
* rest move into the popover. Must be unique across providers.
|
|
805
|
-
*/
|
|
806
|
-
priority: number;
|
|
807
|
-
/**
|
|
808
|
-
* - `bluesky-api`: sourced from Bluesky's public-API `verifiedStatus`. Bluesky
|
|
809
|
-
* maintains its own trusted-verifier set, so Sifa keeps no local DID list.
|
|
810
|
-
* - `firehose`: sourced from the Jetstream, gated on {@link verifierDids}.
|
|
811
|
-
*/
|
|
812
|
-
source: VerificationSource;
|
|
813
|
-
/**
|
|
814
|
-
* Trusted verifier DIDs for firehose-sourced providers. A verification record
|
|
815
|
-
* counts only if its ISSUER DID is in this list. Empty for `bluesky-api`
|
|
816
|
-
* providers (Bluesky's AppView owns that decision). DIDs, not handles: a handle
|
|
817
|
-
* takeover must never confer verifier status.
|
|
818
|
-
*/
|
|
819
|
-
verifierDids: readonly string[];
|
|
820
|
-
}
|
|
821
|
-
/**
|
|
822
|
-
* A verification held by an account, as surfaced to the UI. `issuerDid` is
|
|
823
|
-
* present for firehose-sourced providers and absent for `bluesky-api`.
|
|
824
|
-
*/
|
|
825
|
-
interface AccountVerification {
|
|
826
|
-
provider: VerificationProviderId;
|
|
827
|
-
verifiedAt?: string | null;
|
|
828
|
-
issuerDid?: string | null;
|
|
829
|
-
}
|
|
830
|
-
declare const VERIFICATION_PROVIDERS: Record<VerificationProviderId, VerificationProvider>;
|
|
831
|
-
declare function isKnownVerificationProvider(id: string): id is VerificationProviderId;
|
|
832
|
-
declare function getVerificationProvider(id: string): VerificationProvider | undefined;
|
|
833
|
-
/**
|
|
834
|
-
* The firehose issuer gate: given the DID that authored an
|
|
835
|
-
* `app.bsky.graph.verification` record, return the provider it verifies for, or
|
|
836
|
-
* `null` if the issuer is not a recognized firehose verifier. API-sourced
|
|
837
|
-
* providers (Bluesky) are never matched here -- their verifications do not enter
|
|
838
|
-
* through the firehose, so a self-issued record cannot resolve to them.
|
|
839
|
-
*/
|
|
840
|
-
declare function resolveVerifierProvider(issuerDid: string): VerificationProviderId | null;
|
|
841
|
-
/**
|
|
842
|
-
* D1 primary-provider selection: from all verifications an account holds, pick
|
|
843
|
-
* the one whose provider has the highest priority (lowest `priority` number) for
|
|
844
|
-
* the single inline badge. The rest belong in the popover. Verifications from
|
|
845
|
-
* unknown providers are ignored. Returns `null` when nothing is displayable.
|
|
846
|
-
*/
|
|
847
|
-
declare function primaryVerification(verifications: readonly AccountVerification[]): AccountVerification | null;
|
|
848
|
-
|
|
849
778
|
/**
|
|
850
779
|
* Investment taxonomy. Mirrors `id.sifa.defs#investmentRole`, `#investmentStage`
|
|
851
780
|
* and `#investmentStatus` from sifa-lexicons.
|
|
@@ -3165,4 +3094,4 @@ declare function roadmapIssueUrl(issue: number): string;
|
|
|
3165
3094
|
*/
|
|
3166
3095
|
declare const SIFA_SDK_VERSION: string;
|
|
3167
3096
|
|
|
3168
|
-
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type
|
|
3097
|
+
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, AgentRef, type AgentRefFlat, type AppCategoryId, type AppUrlPatterns, type AppWithId, type ArtifactLinkKindOption, type BuildProfileHighlightsOptions, 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, COURSE_ROLE_LABELS, COURSE_ROLE_OPTIONS, COURSE_ROLE_TAKEN, COURSE_ROLE_TAUGHT, COURSE_ROLE_TEACHING_ASSISTANT, type CardHealth, type CardHealthStrategy, type CollapseContributorsOptions, type CollapsedContributors, type CompanyFirmographics, type ContinentCode, type CourseRoleOption, type CsvRow, DATE_LOOKAHEAD_MONTHS, DIMENSIONS_MAX_SCORE, type DailyActivityCount, type DateLookaheadKind, type DimensionKey, type DimensionMap, type DisambiguationFields, type DisplayUrl, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EQF_LEVEL_LABELS, EQF_LEVEL_OPTIONS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, type EqfLevel, type EqfLevelOption, type FormatDisplayUrlOptions, type GroupPublicationVersionsOptions, INDUSTRY_LABELS, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvestmentOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_GROUP_LABELS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_LABELS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedEndorsementComment, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryFlagCandidate, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, type ProfileHighlightSection, type ProfileHighlightStatus, type ProfileHighlightTile, type ProfileHighlightsInput, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type PublicationTypeOption, type PublicationVersionGroup, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, RelatedIdentifier, type RgbColor, type RoadmapItemMeta, SEARCH_FILTER_DEFS, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SearchFilterControl, type SearchFilterDef, type SearchFilterOptionSource, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, type StreamCardContent, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, type UrlPathPolicy, type VersionablePublication, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, actorShowsIdentity, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, collapseContributors, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, excludeSelfApp, filterHidden, findIndustry, followingFeedFallbackApp, formatCompanyName, formatCredentialDateRange, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatIsoTitle, formatLocation, formatPositionDateRange, formatPresentationDuration, formatRelationship, formatRelativeTime, formatSingleDate, formatSpanDate, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getCourseRoleLabel, getDisplayLabel, getEducationLevelDisplay, getEmploymentTypeLabel, getEqfLevelLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabel, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupPublicationVersions, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasPersonalProfileContent, hoistPrimary, isAppCategory, isBeyondLookahead, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRelationalActivity, isRoleLineRedundant, isSectionPopulated, isSelfAuthoredRich, isTeachingCourse, isUpcomingStart, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseEndorsementComment, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, qualifiesAsOrg, readEqfLevel, relativeLuminance, renderAsLine, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, shouldRenderHighlights, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, splitCoursesByRole, streamAddressSchema, streamAuthorSchema, streamCardBodyContent, streamCardBodySchema, streamCardContent, streamCardSubjectSchema, streamCardSubjectText, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, suggestEqfLevelFromDegree, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement, R as RelatedIdentifier } from './index-
|
|
2
|
-
export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, Q as RecognizedEntity, S as SkillRef, T as SkillSuggestion, U as TrustStat, V as VerifiedAccount } from './index-
|
|
3
|
-
import { S as SearchFilters } from './types-
|
|
4
|
-
export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, z as SIFA_REPO_GROUPS, B as SkillView, V as VolunteeringView, F as describeSifaRecord, G as hasAdultContent, J as repoGroupForCollection } from './types-
|
|
1
|
+
import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement, R as RelatedIdentifier } from './index-CT-A3BEe.js';
|
|
2
|
+
export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, Q as RecognizedEntity, S as SkillRef, T as SkillSuggestion, U as TrustStat, V as VerifiedAccount } from './index-CT-A3BEe.js';
|
|
3
|
+
import { S as SearchFilters } from './types-BKEBVobU.js';
|
|
4
|
+
export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, z as SIFA_REPO_GROUPS, B as SkillView, V as VolunteeringView, F as describeSifaRecord, G as hasAdultContent, J as repoGroupForCollection } from './types-BKEBVobU.js';
|
|
5
|
+
import { A as AgentRef } from './verification-providers-7il3kPQS.js';
|
|
6
|
+
export { a as AccountVerification, V as VERIFICATION_PROVIDERS, b as VerificationProvider, c as VerificationProviderId, d as VerificationSource, e as agentRefSchema, f as atUriSchema, g as cidSchema, h as datetimeSchema, i as didSchema, j as externalRecordRefSchema, k as getVerificationProvider, l as isKnownVerificationProvider, m as languageTagSchema, n as maxGraphemes, p as partialDateSchema, o as primaryVerification, r as resolveVerifierProvider, s as selfLabelsSchema, q as skillRefSchema, t as strongRefSchema, u as uriSchema } from './verification-providers-7il3kPQS.js';
|
|
5
7
|
import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, O as OrgProfileRecord } from './profile-investment-BiHM7C5q.js';
|
|
6
8
|
export { A as ArtifactLink, c as ArtifactLinkSchema, d as AtmosphereFeedItem, e as AtmosphereFeedItemSchema, B as BlobRef, f as BlobRefSchema, E as EndorsementConfirmationRecord, g as EndorsementConfirmationRecordSchema, h as EndorsementRecord, i as EndorsementRecordSchema, F as FeedActor, j as FeedActorSchema, k as FeedCursor, l as FollowFeedItem, m as FollowFeedItemSchema, n as FollowFeedPage, o as FollowFeedPageSchema, G as GraphFollowRecord, p as GraphFollowRecordSchema, I as InvestmentAmountSchema, q as OrgEmploymentAttestationRecord, r as OrgEmploymentAttestationRecordSchema, s as OrgProfileRecordSchema, t as PROFILE_INVESTMENT_NSID, u as PROFILE_INVOLVEMENT_NSID, v as PresentationDurationSchema, w as PresentationLink, x as PresentationLinkSchema, y as ProfileCertificationRecord, z as ProfileCertificationRecordSchema, C as ProfileCourseRecord, D as ProfileCourseRecordSchema, H as ProfileEducationRecord, J as ProfileEducationRecordSchema, K as ProfileExternalAccountRecord, L as ProfileExternalAccountRecordSchema, M as ProfileHonorRecord, N as ProfileHonorRecordSchema, Q as ProfileInvestmentRecordSchema, R as ProfileInvolvementRecord, S as ProfileInvolvementRecordSchema, T as ProfileLanguageRecord, U as ProfileLanguageRecordSchema, V as ProfilePositionRecord, W as ProfilePositionRecordSchema, X as ProfilePresentationDeliveryRecordSchema, Y as ProfilePresentationRecordSchema, Z as ProfileProjectRecord, _ as ProfileProjectRecordSchema, $ as ProfilePublicationRecord, a0 as ProfilePublicationRecordSchema, a1 as ProfileSelfRecord, a2 as ProfileSelfRecordSchema, a3 as ProfileSkillRecord, a4 as ProfileSkillRecordSchema, a5 as ProfileVolunteeringRecord, a6 as ProfileVolunteeringRecordSchema, a7 as PublicationAuthor, a8 as PublicationAuthorSchema, a9 as RelatedIdentifierSchema, aa as SifaFeedItem, ab as SifaFeedItemSchema, ac as decodeFeedCursor, ad as encodeFeedCursor, ae as makeGraphFollowRecordSchema } from './profile-investment-BiHM7C5q.js';
|
|
7
9
|
import { z } from 'zod';
|
|
8
|
-
export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-
|
|
9
|
-
import { E as EntitySearchResult } from './follow-profile-
|
|
10
|
-
export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-
|
|
11
|
-
import { A as AgentRef } from './shared-v0vl5hov.js';
|
|
12
|
-
export { a as agentRefSchema, b as atUriSchema, c as cidSchema, d as datetimeSchema, e as didSchema, f as externalRecordRefSchema, l as languageTagSchema, m as maxGraphemes, p as partialDateSchema, s as selfLabelsSchema, g as skillRefSchema, h as strongRefSchema, u as uriSchema } from './shared-v0vl5hov.js';
|
|
10
|
+
export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-CyRzFe7f.js';
|
|
11
|
+
import { E as EntitySearchResult } from './follow-profile-ceqefXAw.js';
|
|
12
|
+
export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-ceqefXAw.js';
|
|
13
13
|
|
|
14
14
|
type ContinentCode = 'AF' | 'AN' | 'AS' | 'EU' | 'NA' | 'OC' | 'SA';
|
|
15
15
|
declare const CONTINENTS: ReadonlyArray<{
|
|
@@ -775,77 +775,6 @@ declare const ARTIFACT_LINK_KIND_LABELS: Record<string, string>;
|
|
|
775
775
|
/** Resolve a label for an artifact-link-kind value. Falls back to the raw value. */
|
|
776
776
|
declare function getArtifactLinkKindLabel(value: string | undefined | null): string | undefined;
|
|
777
777
|
|
|
778
|
-
/**
|
|
779
|
-
* Verification providers -- the trust roots Sifa recognizes for AT Protocol
|
|
780
|
-
* `app.bsky.graph.verification` records.
|
|
781
|
-
*
|
|
782
|
-
* Framing (see decisions/2026-07-13-third-party-verification-providers.md, D4):
|
|
783
|
-
* a verification checkmark is ONE low-tier trust layer, not Sifa's headline.
|
|
784
|
-
* Most of what it certifies is "this account is who they claim to be" -- useful,
|
|
785
|
-
* and worth carrying because it's an already-recognized network signal, but low
|
|
786
|
-
* value on its own. It sits among Sifa's other trust signals and never becomes a
|
|
787
|
-
* score or a gate. This registry only decides which issuers Sifa displays and
|
|
788
|
-
* with what provenance.
|
|
789
|
-
*
|
|
790
|
-
* Data-only: badge colors and icons are consumer concerns (React DOM on web,
|
|
791
|
-
* React Native on mobile), same split as {@link PLATFORM_LABELS}. Consumers map
|
|
792
|
-
* a provider id to a token/color.
|
|
793
|
-
*/
|
|
794
|
-
type VerificationProviderId = 'bluesky' | 'mu';
|
|
795
|
-
/** How Sifa learns about a provider's verifications. */
|
|
796
|
-
type VerificationSource = 'bluesky-api' | 'firehose';
|
|
797
|
-
interface VerificationProvider {
|
|
798
|
-
id: VerificationProviderId;
|
|
799
|
-
/** Human label for the badge popover, e.g. "Bluesky", "mu (Eurosky)". */
|
|
800
|
-
label: string;
|
|
801
|
-
/**
|
|
802
|
-
* Primary-display priority (D1): when an account holds verifications from
|
|
803
|
-
* multiple providers, the lowest number wins the single inline badge and the
|
|
804
|
-
* rest move into the popover. Must be unique across providers.
|
|
805
|
-
*/
|
|
806
|
-
priority: number;
|
|
807
|
-
/**
|
|
808
|
-
* - `bluesky-api`: sourced from Bluesky's public-API `verifiedStatus`. Bluesky
|
|
809
|
-
* maintains its own trusted-verifier set, so Sifa keeps no local DID list.
|
|
810
|
-
* - `firehose`: sourced from the Jetstream, gated on {@link verifierDids}.
|
|
811
|
-
*/
|
|
812
|
-
source: VerificationSource;
|
|
813
|
-
/**
|
|
814
|
-
* Trusted verifier DIDs for firehose-sourced providers. A verification record
|
|
815
|
-
* counts only if its ISSUER DID is in this list. Empty for `bluesky-api`
|
|
816
|
-
* providers (Bluesky's AppView owns that decision). DIDs, not handles: a handle
|
|
817
|
-
* takeover must never confer verifier status.
|
|
818
|
-
*/
|
|
819
|
-
verifierDids: readonly string[];
|
|
820
|
-
}
|
|
821
|
-
/**
|
|
822
|
-
* A verification held by an account, as surfaced to the UI. `issuerDid` is
|
|
823
|
-
* present for firehose-sourced providers and absent for `bluesky-api`.
|
|
824
|
-
*/
|
|
825
|
-
interface AccountVerification {
|
|
826
|
-
provider: VerificationProviderId;
|
|
827
|
-
verifiedAt?: string | null;
|
|
828
|
-
issuerDid?: string | null;
|
|
829
|
-
}
|
|
830
|
-
declare const VERIFICATION_PROVIDERS: Record<VerificationProviderId, VerificationProvider>;
|
|
831
|
-
declare function isKnownVerificationProvider(id: string): id is VerificationProviderId;
|
|
832
|
-
declare function getVerificationProvider(id: string): VerificationProvider | undefined;
|
|
833
|
-
/**
|
|
834
|
-
* The firehose issuer gate: given the DID that authored an
|
|
835
|
-
* `app.bsky.graph.verification` record, return the provider it verifies for, or
|
|
836
|
-
* `null` if the issuer is not a recognized firehose verifier. API-sourced
|
|
837
|
-
* providers (Bluesky) are never matched here -- their verifications do not enter
|
|
838
|
-
* through the firehose, so a self-issued record cannot resolve to them.
|
|
839
|
-
*/
|
|
840
|
-
declare function resolveVerifierProvider(issuerDid: string): VerificationProviderId | null;
|
|
841
|
-
/**
|
|
842
|
-
* D1 primary-provider selection: from all verifications an account holds, pick
|
|
843
|
-
* the one whose provider has the highest priority (lowest `priority` number) for
|
|
844
|
-
* the single inline badge. The rest belong in the popover. Verifications from
|
|
845
|
-
* unknown providers are ignored. Returns `null` when nothing is displayable.
|
|
846
|
-
*/
|
|
847
|
-
declare function primaryVerification(verifications: readonly AccountVerification[]): AccountVerification | null;
|
|
848
|
-
|
|
849
778
|
/**
|
|
850
779
|
* Investment taxonomy. Mirrors `id.sifa.defs#investmentRole`, `#investmentStage`
|
|
851
780
|
* and `#investmentStatus` from sifa-lexicons.
|
|
@@ -3165,4 +3094,4 @@ declare function roadmapIssueUrl(issue: number): string;
|
|
|
3165
3094
|
*/
|
|
3166
3095
|
declare const SIFA_SDK_VERSION: string;
|
|
3167
3096
|
|
|
3168
|
-
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type
|
|
3097
|
+
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, AccountFacetMode, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, AgentRef, type AgentRefFlat, type AppCategoryId, type AppUrlPatterns, type AppWithId, type ArtifactLinkKindOption, type BuildProfileHighlightsOptions, 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, COURSE_ROLE_LABELS, COURSE_ROLE_OPTIONS, COURSE_ROLE_TAKEN, COURSE_ROLE_TAUGHT, COURSE_ROLE_TEACHING_ASSISTANT, type CardHealth, type CardHealthStrategy, type CollapseContributorsOptions, type CollapsedContributors, type CompanyFirmographics, type ContinentCode, type CourseRoleOption, type CsvRow, DATE_LOOKAHEAD_MONTHS, DIMENSIONS_MAX_SCORE, type DailyActivityCount, type DateLookaheadKind, type DimensionKey, type DimensionMap, type DisambiguationFields, type DisplayUrl, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EQF_LEVEL_LABELS, EQF_LEVEL_OPTIONS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, type EqfLevel, type EqfLevelOption, type FormatDisplayUrlOptions, type GroupPublicationVersionsOptions, INDUSTRY_LABELS, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvestmentOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_GROUP_LABELS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_LABELS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, type OpenToGroup, type OpenToOption, OrgProfileRecord, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, type ParsedDelivery, type ParsedEndorsementComment, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryFlagCandidate, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, type ProfileHighlightSection, type ProfileHighlightStatus, type ProfileHighlightTile, type ProfileHighlightsInput, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type PublicationTypeOption, type PublicationVersionGroup, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, RelatedIdentifier, type RgbColor, type RoadmapItemMeta, SEARCH_FILTER_DEFS, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SearchFilterControl, type SearchFilterDef, type SearchFilterOptionSource, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, type StreamCardContent, type StreamCardSubject, type StreamCardVM, type StreamExternalLink, type StreamGeo, type StreamMedia, type StreamMediaBase, type StreamMediaBlob, type StreamMediaResolved, type StreamRichSegment, type StreamSource, type StreamTheme, type StreamVerb, type TierMeta, type ToStreamCardVMOptions, type UrlPathPolicy, type VersionablePublication, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, actorShowsIdentity, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, collapseContributors, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, excludeSelfApp, filterHidden, findIndustry, followingFeedFallbackApp, formatCompanyName, formatCredentialDateRange, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatIsoTitle, formatLocation, formatPositionDateRange, formatPresentationDuration, formatRelationship, formatRelativeTime, formatSingleDate, formatSpanDate, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getCourseRoleLabel, getDisplayLabel, getEducationLevelDisplay, getEmploymentTypeLabel, getEqfLevelLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabel, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupPublicationVersions, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasPersonalProfileContent, hoistPrimary, isAppCategory, isBeyondLookahead, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRelationalActivity, isRoleLineRedundant, isSectionPopulated, isSelfAuthoredRich, isTeachingCourse, isUpcomingStart, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseEndorsementComment, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, qualifiesAsOrg, readEqfLevel, relativeLuminance, renderAsLine, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, shouldRenderHighlights, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, splitCoursesByRole, streamAddressSchema, streamAuthorSchema, streamCardBodyContent, streamCardBodySchema, streamCardContent, streamCardSubjectSchema, streamCardSubjectText, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, suggestEqfLevelFromDegree, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
|
package/dist/index.js
CHANGED
|
@@ -350,7 +350,7 @@ import {
|
|
|
350
350
|
roadmapIssueUrl
|
|
351
351
|
} from "./roadmap/index.js";
|
|
352
352
|
import { SIFA_REPO_GROUPS, describeSifaRecord, repoGroupForCollection } from "./repo/index.js";
|
|
353
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
353
|
+
var SIFA_SDK_VERSION = "0.19.57";
|
|
354
354
|
export {
|
|
355
355
|
ACTIVITY_TIERS,
|
|
356
356
|
ACTIVITY_VERBS,
|
package/dist/jsonld/index.d.cts
CHANGED
package/dist/jsonld/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-
|
|
2
|
-
import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-
|
|
3
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
4
|
-
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-
|
|
1
|
+
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-CT-A3BEe.js';
|
|
2
|
+
import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-BKEBVobU.js';
|
|
3
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CyRzFe7f.js';
|
|
4
|
+
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-ceqefXAw.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-
|
|
2
|
-
import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-
|
|
3
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
4
|
-
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-
|
|
1
|
+
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-BeQbepFn.cjs';
|
|
2
|
+
import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-BHnGSJ3z.cjs';
|
|
3
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CD3-QflX.cjs';
|
|
4
|
+
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-CQ3DTTak.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
2
|
-
import { p as ExternalAccount } from './index-
|
|
3
|
-
import {
|
|
1
|
+
import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-BHnGSJ3z.cjs';
|
|
2
|
+
import { p as ExternalAccount } from './index-BeQbepFn.cjs';
|
|
3
|
+
import { a as AccountVerification } from './verification-providers-7il3kPQS.cjs';
|
|
4
|
+
import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-CQ3DTTak.cjs';
|
|
4
5
|
import { z } from 'zod';
|
|
5
6
|
import { d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-C73Sin5E.cjs';
|
|
6
7
|
|
|
@@ -736,6 +737,12 @@ interface SuggestionProfile {
|
|
|
736
737
|
source: string;
|
|
737
738
|
dismissed: boolean;
|
|
738
739
|
blueskyVerified?: boolean;
|
|
740
|
+
/**
|
|
741
|
+
* Every verification the account holds, across all recognized providers
|
|
742
|
+
* (Bluesky and firehose-sourced ones like mu). Supersedes the Bluesky-only
|
|
743
|
+
* `blueskyVerified` pair for badge rendering. Absent on older API responses.
|
|
744
|
+
*/
|
|
745
|
+
verificationBadges?: AccountVerification[];
|
|
739
746
|
}
|
|
740
747
|
interface SuggestionsResponse {
|
|
741
748
|
onSifa: SuggestionProfile[];
|
|
@@ -984,6 +991,12 @@ interface FollowProfile {
|
|
|
984
991
|
followedAt: string;
|
|
985
992
|
blueskyVerified?: boolean;
|
|
986
993
|
blueskyVerifiedAt?: string | null;
|
|
994
|
+
/**
|
|
995
|
+
* Every verification the account holds, across all recognized providers
|
|
996
|
+
* (Bluesky and firehose-sourced ones like mu). Supersedes the Bluesky-only
|
|
997
|
+
* `blueskyVerified` pair for badge rendering. Absent on older API responses.
|
|
998
|
+
*/
|
|
999
|
+
verificationBadges?: AccountVerification[];
|
|
987
1000
|
}
|
|
988
1001
|
interface FollowingResponse {
|
|
989
1002
|
follows: FollowProfile[];
|
|
@@ -1083,6 +1096,11 @@ interface FollowingFeedResponse extends ActivityFeedResponse {
|
|
|
1083
1096
|
reason?: FollowingFeedEmptyReason;
|
|
1084
1097
|
/** When this feed was built (ISO 8601). Absent on a `building` answer. */
|
|
1085
1098
|
builtAt?: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* Fingerprint of the items shown. Equal for a rebuild that found nothing
|
|
1101
|
+
* new, so compare it (with {@link isNewerFollowingFeed}) rather than times.
|
|
1102
|
+
*/
|
|
1103
|
+
contentHash?: string;
|
|
1086
1104
|
/**
|
|
1087
1105
|
* True when this is an older build, served while a newer one is built in
|
|
1088
1106
|
* the background. Poll {@link fetchFollowingFeedVersion} to learn when the
|
|
@@ -1106,6 +1124,8 @@ declare function fetchFollowingFeed(config: SifaApiConfig, opts?: FetchFollowing
|
|
|
1106
1124
|
interface FollowingFeedVersion {
|
|
1107
1125
|
/** ISO 8601, or null when nothing is cached for this query. */
|
|
1108
1126
|
builtAt: string | null;
|
|
1127
|
+
/** Fingerprint of the cached feed's items, or null when unknown. */
|
|
1128
|
+
contentHash: string | null;
|
|
1109
1129
|
}
|
|
1110
1130
|
/**
|
|
1111
1131
|
* When the cached following feed for the same query was built. Cheap: it never
|
|
@@ -1113,8 +1133,15 @@ interface FollowingFeedVersion {
|
|
|
1113
1133
|
* newer one once {@link isNewerFollowingFeed} says so. Returns `null` on error.
|
|
1114
1134
|
*/
|
|
1115
1135
|
declare function fetchFollowingFeedVersion(config: SifaApiConfig, opts?: FetchFollowingFeedOptions): Promise<FollowingFeedVersion | null>;
|
|
1116
|
-
/**
|
|
1117
|
-
|
|
1136
|
+
/** The parts of a feed build that {@link isNewerFollowingFeed} compares. */
|
|
1137
|
+
type FollowingFeedBuild = Partial<FollowingFeedVersion>;
|
|
1138
|
+
/**
|
|
1139
|
+
* True when `latest` is a newer build than the one shown AND shows different
|
|
1140
|
+
* items. A rebuild that found nothing new has the same fingerprint, and
|
|
1141
|
+
* offering it would show nothing new. Missing data on either side is false:
|
|
1142
|
+
* better to miss an offer than to make an empty one.
|
|
1143
|
+
*/
|
|
1144
|
+
declare function isNewerFollowingFeed(shown: FollowingFeedBuild | null | undefined, latest: FollowingFeedBuild | null | undefined): boolean;
|
|
1118
1145
|
|
|
1119
1146
|
/**
|
|
1120
1147
|
* Options shared by the cursor-paginated follow-graph endpoints introduced in
|
|
@@ -1747,4 +1774,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
|
|
|
1747
1774
|
*/
|
|
1748
1775
|
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgNotificationEmailRemoveResult>>>;
|
|
1749
1776
|
|
|
1750
|
-
export {
|
|
1777
|
+
export { HIDDEN_ITEM_TYPES 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 FetchInboxCountsOptions as G, type FetchMyGithubPullRequestsOptions as H, type FetchMyRoadmapVotesOptions as I, type FetchProfileCompletenessOptions as J, type FetchReactionStatusOptions as K, type FetchSuggestionsOptions as L, type FetchUnlinkedPositionsOptions as M, type FollowListPage as N, type FollowProfile as O, type FollowProfilePageResponse as P, type FollowUserResult as Q, type FollowingFeedApp as R, type FollowingFeedBuild as S, type FollowingFeedEmptyReason as T, type FollowingFeedResponse as U, type FollowingFeedVersion as V, type FollowingResponse as W, type GetAdminReviewQueuesOptions as X, type GithubPullRequest as Y, type GivenConfirmation as Z, HIDDEN_ITEM_SOURCES as _, type ConfirmEndorsementResult as a, addOrgNotificationEmail as a$, type HeatmapDay as a0, type HeatmapResponse as a1, type HiddenActivityItem as a2, type HiddenApp as a3, type HiddenItemSource as a4, type HiddenItemType as a5, type HideActivityItemInput as a6, type HideProfileItemInput as a7, type InboxCounts as a8, type ListFeatureAllowlistOptions as a9, type ReactionResult as aA, type ReactionStatus as aB, type RefreshOrcidPublicationsResult as aC, type RefreshPdsResult as aD, type RepoDeleteInput as aE, type ResetProfileResult as aF, type ResolveQuotedPostsOptions as aG, type RoadmapVoteError as aH, type RoadmapVoteResult as aI, type RoadmapVoter as aJ, type RoadmapVotesResponse as aK, type SifaQueryKey as aL, type SimilarProfile as aM, type StatsResponse as aN, type SubCategoryBulkResult as aO, type SuggestionProfile as aP, type SuggestionsResponse as aQ, type UnhideActivityItemInput as aR, type UnlinkedPosition as aS, type UnlinkedPositionsResult as aT, type UpdateProfileOverrideInput as aU, type UpdateProfileSelfInput as aV, type UploadAvatarResult as aW, type UploadPronunciationAudioResult as aX, type VerifyExternalAccountResult as aY, type WipePreview as aZ, addFeatureAllowlist as a_, type MyGithubPullRequestsResponse as aa, type OrgClaimBinding as ab, type OrgClaimResult as ac, type OrgDomainChallengeResult as ad, type OrgDomainVerifyResult as ae, type OrgNotificationEmailAddResult as af, type OrgNotificationEmailRemoveResult as ag, type OrgProfileEcho as ah, type OrgProfileUpdateResult as ai, PROFILE_COMPLETENESS_SIGNALS as aj, type PdsWipeOutcome as ak, type PendingConfirmation as al, type PendingConfirmationsPage as am, type PrimarySection as an, type ProfileCompleteness as ao, type ProfileCompletenessSignal as ap, type ProfileIndustryInput as aq, type ProfileLocationAddress as ar, type ProfileLocationInput as as, type ProfileSelfLocation as at, QUOTED_POSTS_BATCH_MAX as au, type QuotedPostAuthor as av, type QuotedPostImage as aw, type QuotedPostResult as ax, type QuotedPostView as ay, type ReactionError as az, type AccountSummary as b, refreshOrcidPublications as b$, bulkHideProfileItems as b0, bulkHideStandardPublications as b1, bulkUnhideProfileItems as b2, bulkUnhideStandardPublications as b3, castRoadmapVote as b4, checkAppAccount as b5, confirmEndorsement as b6, createConfirmation as b7, createEndorsement as b8, createExternalAccount as b9, fetchInboxCounts as bA, fetchMyGithubPullRequests as bB, fetchMyRoadmapVotes as bC, fetchPendingConfirmations as bD, fetchProfileCompleteness as bE, fetchReactionStatus as bF, fetchRepoInventory as bG, fetchRoadmapVotes as bH, fetchSimilarProfiles as bI, fetchStats as bJ, fetchSuggestionCount as bK, fetchSuggestions as bL, fetchUnlinkedPositions as bM, fetchWipePreview as bN, followUser as bO, getAdminReviewQueues as bP, getBlueskySuggestions as bQ, getFollowers as bR, getFollowing as bS, getMutuals as bT, hideActivityItem as bU, hideOrcidPublication as bV, hideProfileItem as bW, hideSifaPublication as bX, hideStandardPublication as bY, isNewerFollowingFeed as bZ, listFeatureAllowlist as b_, createProfileLocation as ba, createReaction as bb, createSkill as bc, deleteAccount as bd, deleteAvatarOverride as be, deleteExternalAccount as bf, deleteNamePronunciationAudio as bg, deleteProfileLocation as bh, deleteReaction as bi, deleteRepoRecords as bj, deleteSkill as bk, dismissConfirmation as bl, dismissUnlinkedPosition as bm, fetchAccounts as bn, fetchActivityFeed as bo, fetchActivityTeaser as bp, fetchAppsRegistry as bq, fetchExternalAccounts as br, fetchFeaturedProfile as bs, fetchFollowing as bt, fetchFollowingFeed as bu, fetchFollowingFeedVersion as bv, fetchGivenConfirmations as bw, fetchHeatmapData as bx, fetchHiddenActivityItems as by, fetchHiddenApps as bz, type ActivityFeedResponse as c, refreshPds as c0, removeFeatureAllowlist as c1, removeOrgNotificationEmail as c2, repoExportUrl as c3, requestOrgDomainChallenge as c4, resetProfile as c5, resolveQuotedPosts as c6, retractRoadmapVote as c7, revokeConfirmation as c8, setExternalAccountPrimary as c9, setSectionPrimary as ca, submitOrgClaim as cb, switchAccount as cc, unfollowUser as cd, unhideActivityItem as ce, unhideOrcidPublication as cf, unhideProfileItem as cg, unhideSifaPublication as ch, unhideStandardPublication as ci, unsetExternalAccountPrimary as cj, unsetSectionPrimary as ck, updateExternalAccount as cl, updateOrgProfile as cm, updateProfileLocation as cn, updateProfileOverride as co, updateProfileSelf as cp, updateSkill as cq, updateSkillSubCategories as cr, uploadAvatar as cs, uploadNamePronunciationAudio as ct, verifyExternalAccount as cu, verifyOrgDomain as cv, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityTeaserResponse as f, type AdminReviewQueues as g, type AppRegistryEntry as h, type CastRoadmapVoteResult as i, type CheckAppAccountOptions as j, type ConfirmationInput as k, type ConfirmationSubjectInput as l, type CreateExternalAccountResult as m, type DismissUnlinkedPositionInput as n, type ExternalAccountInput as o, type FeaturedProfile as p, type FetchAccountsOptions as q, type FetchActivityFeedOptions as r, sifaQueryKeys as s, type FetchActivityTeaserOptions as t, type FetchConfirmationsOptions as u, type FetchFollowListOptions as v, type FetchFollowProfilePageOptions as w, type FetchFollowingFeedOptions as x, type FetchHiddenActivityItemsOptions as y, type FetchHiddenAppsOptions as z };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
2
|
-
import { p as ExternalAccount } from './index-
|
|
3
|
-
import {
|
|
1
|
+
import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-BKEBVobU.js';
|
|
2
|
+
import { p as ExternalAccount } from './index-CT-A3BEe.js';
|
|
3
|
+
import { a as AccountVerification } from './verification-providers-7il3kPQS.js';
|
|
4
|
+
import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-ceqefXAw.js';
|
|
4
5
|
import { z } from 'zod';
|
|
5
6
|
import { f as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, d as OrgDomainVerifyRequestInput } from './org-settings-BShvhyFp.js';
|
|
6
7
|
|
|
@@ -736,6 +737,12 @@ interface SuggestionProfile {
|
|
|
736
737
|
source: string;
|
|
737
738
|
dismissed: boolean;
|
|
738
739
|
blueskyVerified?: boolean;
|
|
740
|
+
/**
|
|
741
|
+
* Every verification the account holds, across all recognized providers
|
|
742
|
+
* (Bluesky and firehose-sourced ones like mu). Supersedes the Bluesky-only
|
|
743
|
+
* `blueskyVerified` pair for badge rendering. Absent on older API responses.
|
|
744
|
+
*/
|
|
745
|
+
verificationBadges?: AccountVerification[];
|
|
739
746
|
}
|
|
740
747
|
interface SuggestionsResponse {
|
|
741
748
|
onSifa: SuggestionProfile[];
|
|
@@ -984,6 +991,12 @@ interface FollowProfile {
|
|
|
984
991
|
followedAt: string;
|
|
985
992
|
blueskyVerified?: boolean;
|
|
986
993
|
blueskyVerifiedAt?: string | null;
|
|
994
|
+
/**
|
|
995
|
+
* Every verification the account holds, across all recognized providers
|
|
996
|
+
* (Bluesky and firehose-sourced ones like mu). Supersedes the Bluesky-only
|
|
997
|
+
* `blueskyVerified` pair for badge rendering. Absent on older API responses.
|
|
998
|
+
*/
|
|
999
|
+
verificationBadges?: AccountVerification[];
|
|
987
1000
|
}
|
|
988
1001
|
interface FollowingResponse {
|
|
989
1002
|
follows: FollowProfile[];
|
|
@@ -1083,6 +1096,11 @@ interface FollowingFeedResponse extends ActivityFeedResponse {
|
|
|
1083
1096
|
reason?: FollowingFeedEmptyReason;
|
|
1084
1097
|
/** When this feed was built (ISO 8601). Absent on a `building` answer. */
|
|
1085
1098
|
builtAt?: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* Fingerprint of the items shown. Equal for a rebuild that found nothing
|
|
1101
|
+
* new, so compare it (with {@link isNewerFollowingFeed}) rather than times.
|
|
1102
|
+
*/
|
|
1103
|
+
contentHash?: string;
|
|
1086
1104
|
/**
|
|
1087
1105
|
* True when this is an older build, served while a newer one is built in
|
|
1088
1106
|
* the background. Poll {@link fetchFollowingFeedVersion} to learn when the
|
|
@@ -1106,6 +1124,8 @@ declare function fetchFollowingFeed(config: SifaApiConfig, opts?: FetchFollowing
|
|
|
1106
1124
|
interface FollowingFeedVersion {
|
|
1107
1125
|
/** ISO 8601, or null when nothing is cached for this query. */
|
|
1108
1126
|
builtAt: string | null;
|
|
1127
|
+
/** Fingerprint of the cached feed's items, or null when unknown. */
|
|
1128
|
+
contentHash: string | null;
|
|
1109
1129
|
}
|
|
1110
1130
|
/**
|
|
1111
1131
|
* When the cached following feed for the same query was built. Cheap: it never
|
|
@@ -1113,8 +1133,15 @@ interface FollowingFeedVersion {
|
|
|
1113
1133
|
* newer one once {@link isNewerFollowingFeed} says so. Returns `null` on error.
|
|
1114
1134
|
*/
|
|
1115
1135
|
declare function fetchFollowingFeedVersion(config: SifaApiConfig, opts?: FetchFollowingFeedOptions): Promise<FollowingFeedVersion | null>;
|
|
1116
|
-
/**
|
|
1117
|
-
|
|
1136
|
+
/** The parts of a feed build that {@link isNewerFollowingFeed} compares. */
|
|
1137
|
+
type FollowingFeedBuild = Partial<FollowingFeedVersion>;
|
|
1138
|
+
/**
|
|
1139
|
+
* True when `latest` is a newer build than the one shown AND shows different
|
|
1140
|
+
* items. A rebuild that found nothing new has the same fingerprint, and
|
|
1141
|
+
* offering it would show nothing new. Missing data on either side is false:
|
|
1142
|
+
* better to miss an offer than to make an empty one.
|
|
1143
|
+
*/
|
|
1144
|
+
declare function isNewerFollowingFeed(shown: FollowingFeedBuild | null | undefined, latest: FollowingFeedBuild | null | undefined): boolean;
|
|
1118
1145
|
|
|
1119
1146
|
/**
|
|
1120
1147
|
* Options shared by the cursor-paginated follow-graph endpoints introduced in
|
|
@@ -1747,4 +1774,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
|
|
|
1747
1774
|
*/
|
|
1748
1775
|
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgNotificationEmailRemoveResult>>>;
|
|
1749
1776
|
|
|
1750
|
-
export {
|
|
1777
|
+
export { HIDDEN_ITEM_TYPES 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 FetchInboxCountsOptions as G, type FetchMyGithubPullRequestsOptions as H, type FetchMyRoadmapVotesOptions as I, type FetchProfileCompletenessOptions as J, type FetchReactionStatusOptions as K, type FetchSuggestionsOptions as L, type FetchUnlinkedPositionsOptions as M, type FollowListPage as N, type FollowProfile as O, type FollowProfilePageResponse as P, type FollowUserResult as Q, type FollowingFeedApp as R, type FollowingFeedBuild as S, type FollowingFeedEmptyReason as T, type FollowingFeedResponse as U, type FollowingFeedVersion as V, type FollowingResponse as W, type GetAdminReviewQueuesOptions as X, type GithubPullRequest as Y, type GivenConfirmation as Z, HIDDEN_ITEM_SOURCES as _, type ConfirmEndorsementResult as a, addOrgNotificationEmail as a$, type HeatmapDay as a0, type HeatmapResponse as a1, type HiddenActivityItem as a2, type HiddenApp as a3, type HiddenItemSource as a4, type HiddenItemType as a5, type HideActivityItemInput as a6, type HideProfileItemInput as a7, type InboxCounts as a8, type ListFeatureAllowlistOptions as a9, type ReactionResult as aA, type ReactionStatus as aB, type RefreshOrcidPublicationsResult as aC, type RefreshPdsResult as aD, type RepoDeleteInput as aE, type ResetProfileResult as aF, type ResolveQuotedPostsOptions as aG, type RoadmapVoteError as aH, type RoadmapVoteResult as aI, type RoadmapVoter as aJ, type RoadmapVotesResponse as aK, type SifaQueryKey as aL, type SimilarProfile as aM, type StatsResponse as aN, type SubCategoryBulkResult as aO, type SuggestionProfile as aP, type SuggestionsResponse as aQ, type UnhideActivityItemInput as aR, type UnlinkedPosition as aS, type UnlinkedPositionsResult as aT, type UpdateProfileOverrideInput as aU, type UpdateProfileSelfInput as aV, type UploadAvatarResult as aW, type UploadPronunciationAudioResult as aX, type VerifyExternalAccountResult as aY, type WipePreview as aZ, addFeatureAllowlist as a_, type MyGithubPullRequestsResponse as aa, type OrgClaimBinding as ab, type OrgClaimResult as ac, type OrgDomainChallengeResult as ad, type OrgDomainVerifyResult as ae, type OrgNotificationEmailAddResult as af, type OrgNotificationEmailRemoveResult as ag, type OrgProfileEcho as ah, type OrgProfileUpdateResult as ai, PROFILE_COMPLETENESS_SIGNALS as aj, type PdsWipeOutcome as ak, type PendingConfirmation as al, type PendingConfirmationsPage as am, type PrimarySection as an, type ProfileCompleteness as ao, type ProfileCompletenessSignal as ap, type ProfileIndustryInput as aq, type ProfileLocationAddress as ar, type ProfileLocationInput as as, type ProfileSelfLocation as at, QUOTED_POSTS_BATCH_MAX as au, type QuotedPostAuthor as av, type QuotedPostImage as aw, type QuotedPostResult as ax, type QuotedPostView as ay, type ReactionError as az, type AccountSummary as b, refreshOrcidPublications as b$, bulkHideProfileItems as b0, bulkHideStandardPublications as b1, bulkUnhideProfileItems as b2, bulkUnhideStandardPublications as b3, castRoadmapVote as b4, checkAppAccount as b5, confirmEndorsement as b6, createConfirmation as b7, createEndorsement as b8, createExternalAccount as b9, fetchInboxCounts as bA, fetchMyGithubPullRequests as bB, fetchMyRoadmapVotes as bC, fetchPendingConfirmations as bD, fetchProfileCompleteness as bE, fetchReactionStatus as bF, fetchRepoInventory as bG, fetchRoadmapVotes as bH, fetchSimilarProfiles as bI, fetchStats as bJ, fetchSuggestionCount as bK, fetchSuggestions as bL, fetchUnlinkedPositions as bM, fetchWipePreview as bN, followUser as bO, getAdminReviewQueues as bP, getBlueskySuggestions as bQ, getFollowers as bR, getFollowing as bS, getMutuals as bT, hideActivityItem as bU, hideOrcidPublication as bV, hideProfileItem as bW, hideSifaPublication as bX, hideStandardPublication as bY, isNewerFollowingFeed as bZ, listFeatureAllowlist as b_, createProfileLocation as ba, createReaction as bb, createSkill as bc, deleteAccount as bd, deleteAvatarOverride as be, deleteExternalAccount as bf, deleteNamePronunciationAudio as bg, deleteProfileLocation as bh, deleteReaction as bi, deleteRepoRecords as bj, deleteSkill as bk, dismissConfirmation as bl, dismissUnlinkedPosition as bm, fetchAccounts as bn, fetchActivityFeed as bo, fetchActivityTeaser as bp, fetchAppsRegistry as bq, fetchExternalAccounts as br, fetchFeaturedProfile as bs, fetchFollowing as bt, fetchFollowingFeed as bu, fetchFollowingFeedVersion as bv, fetchGivenConfirmations as bw, fetchHeatmapData as bx, fetchHiddenActivityItems as by, fetchHiddenApps as bz, type ActivityFeedResponse as c, refreshPds as c0, removeFeatureAllowlist as c1, removeOrgNotificationEmail as c2, repoExportUrl as c3, requestOrgDomainChallenge as c4, resetProfile as c5, resolveQuotedPosts as c6, retractRoadmapVote as c7, revokeConfirmation as c8, setExternalAccountPrimary as c9, setSectionPrimary as ca, submitOrgClaim as cb, switchAccount as cc, unfollowUser as cd, unhideActivityItem as ce, unhideOrcidPublication as cf, unhideProfileItem as cg, unhideSifaPublication as ch, unhideStandardPublication as ci, unsetExternalAccountPrimary as cj, unsetSectionPrimary as ck, updateExternalAccount as cl, updateOrgProfile as cm, updateProfileLocation as cn, updateProfileOverride as co, updateProfileSelf as cp, updateSkill as cq, updateSkillSubCategories as cr, uploadAvatar as cs, uploadNamePronunciationAudio as ct, verifyExternalAccount as cu, verifyOrgDomain as cv, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityTeaserResponse as f, type AdminReviewQueues as g, type AppRegistryEntry as h, type CastRoadmapVoteResult as i, type CheckAppAccountOptions as j, type ConfirmationInput as k, type ConfirmationSubjectInput as l, type CreateExternalAccountResult as m, type DismissUnlinkedPositionInput as n, type ExternalAccountInput as o, type FeaturedProfile as p, type FetchAccountsOptions as q, type FetchActivityFeedOptions as r, sifaQueryKeys as s, type FetchActivityTeaserOptions as t, type FetchConfirmationsOptions as u, type FetchFollowListOptions as v, type FetchFollowProfilePageOptions as w, type FetchFollowingFeedOptions as x, type FetchHiddenActivityItemsOptions as y, type FetchHiddenAppsOptions as z };
|