@singi-labs/sifa-sdk 0.12.57 → 0.12.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/{index-Cd_heN1n.d.ts → index-B1WYOzm1.d.ts} +3 -2
  2. package/dist/{index-mXTN0GbN.d.cts → index-BcKfdI4X.d.cts} +3 -2
  3. package/dist/{types-Vf-kTiu1.d.cts → index-DMyroYoB.d.cts} +1 -509
  4. package/dist/{types-Vf-kTiu1.d.ts → index-DMyroYoB.d.ts} +1 -509
  5. package/dist/{index-DZGw-VDY.d.cts → index-Dqe0Nlck.d.cts} +4 -3
  6. package/dist/{index-GmKuSxp6.d.ts → index-czrerd84.d.ts} +4 -3
  7. package/dist/index.cjs +142 -117
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +30 -4
  10. package/dist/index.d.ts +30 -4
  11. package/dist/index.js +142 -118
  12. package/dist/index.js.map +1 -1
  13. package/dist/jsonld/index.cjs +891 -0
  14. package/dist/jsonld/index.cjs.map +1 -0
  15. package/dist/jsonld/index.d.cts +494 -0
  16. package/dist/jsonld/index.d.ts +494 -0
  17. package/dist/jsonld/index.js +878 -0
  18. package/dist/jsonld/index.js.map +1 -0
  19. package/dist/{org-fq2Xwg6Q.d.ts → org-66bQLHJd.d.ts} +2 -1
  20. package/dist/{org-CHVTcTcj.d.cts → org-GI1GVjZw.d.cts} +2 -1
  21. package/dist/{profile-summary-CdLI8k7M.d.cts → profile-summary-Bqj3TDVd.d.cts} +1 -1
  22. package/dist/{profile-summary-BS2GPBxw.d.ts → profile-summary-YZXjMymn.d.ts} +1 -1
  23. package/dist/query/fetchers/index.d.cts +5 -4
  24. package/dist/query/fetchers/index.d.ts +5 -4
  25. package/dist/query/hooks/index.d.cts +4 -3
  26. package/dist/query/hooks/index.d.ts +4 -3
  27. package/dist/query/index.d.cts +8 -7
  28. package/dist/query/index.d.ts +8 -7
  29. package/dist/types-BiBx2Utr.d.cts +511 -0
  30. package/dist/types-BkRDvKTp.d.ts +511 -0
  31. package/package.json +11 -1
package/dist/index.d.cts CHANGED
@@ -1,9 +1,10 @@
1
- import { c as ProfileSkill, d as ProfilePresentationDelivery, L as LocationValue, e as PdsProviderInfo, f as Profile, g as AccountFacetMode, h as ProfilePosition, i as ProfileCertification, j as ProfileEducation, k as ProfileHonor, l as ProfileLanguage, m as ProfileProject, n as ProfilePublication, o as ProfileInvolvement } from './types-Vf-kTiu1.cjs';
2
- export { p as ADULT_CONTENT_LABELS, q as ActiveApp, r as ActiveAppView, a as ActivityLabel, s as ActorCard, A as AdultContentLabel, t as AtfundLinkView, u as CertificationView, C as CoSpeaker, v as CoSpeakerView, w as ContributorView, x as CourseView, D as DurationView, y as EducationView, z as Endorsement, B as EndorsementData, E as ExternalAccount, F as ExternalAccountKeytraceClaim, G as ExternalAccountView, H as FeedItem, I as HonorView, J as IndustryDomain, K as InvolvementLinkView, M as InvolvementView, N as LanguageProficiency, O as LanguageView, Q as OrgAddressView, T as OrgFloorVerdict, U as OrgLinkView, V as OrgProfileView, W as PROJECT_ROLES, X as PositionView, Y as PresentationDeliveryView, Z as PresentationLinkView, _ as PresentationView, $ as ProfileCourse, a0 as ProfileIndustry, a1 as ProfileInvolvementLink, a2 as ProfileLocation, a3 as ProfileLocationView, a4 as ProfileOverrideSource, a5 as ProfilePresentation, P as ProfileView, a6 as ProfileVolunteering, a7 as ProjectMemberCard, a8 as ProjectMemberView, a9 as ProjectRole, aa as ProjectView, ab as PublicationContributor, ac as PublicationView, ad as RecognizedEntity, ae as RepoCollectionGroup, af as RepoDeleteOutcome, ag as RepoDeleteRecordResult, R as RepoDeleteResult, ah as RepoGroupDefinition, ai as RepoGroupId, b as RepoInventory, aj as RepoRecordLabel, ak as RepoRecordSummary, al as SIFA_REPO_GROUPS, am as SkillRef, S as SkillSuggestion, an as SkillView, ao as TrustStat, ap as VerifiedAccount, aq as VolunteeringView, ar as describeSifaRecord, as as hasAdultContent, at as repoGroupForCollection } from './types-Vf-kTiu1.cjs';
1
+ import { b as ProfileSkill, c as ProfilePresentationDelivery, L as LocationValue, a as PdsProviderInfo, d as Profile, A as AccountFacetMode, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './index-DMyroYoB.cjs';
2
+ export { m as ActiveApp, n as ActorCard, C as CoSpeaker, o as Endorsement, p as EndorsementData, E 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, P as PresentationLinkView, w as ProfileCourse, x as ProfileIndustry, y as ProfileInvolvementLink, z as ProfileLocation, B as ProfileOverrideSource, D as ProfilePresentation, G as ProfileVolunteering, H as ProjectMemberCard, I as ProjectRole, J as PublicationContributor, R as RecognizedEntity, K as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-DMyroYoB.cjs';
3
+ export { c as ADULT_CONTENT_LABELS, d as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, e as AtfundLinkView, C as CertificationView, f as CoSpeakerView, g as ContributorView, h as CourseView, D as DurationView, E as EducationView, i as ExternalAccountView, H as HonorView, I as IndustryDomain, j as InvolvementLinkView, k as InvolvementView, L as LanguageView, l as PositionView, m as PresentationDeliveryView, n as PresentationView, o as ProfileLocationView, P as ProfileView, p as ProjectMemberView, q as ProjectView, r as PublicationView, s as RepoCollectionGroup, t as RepoDeleteOutcome, u as RepoDeleteRecordResult, R as RepoDeleteResult, v as RepoGroupDefinition, w as RepoGroupId, b as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, S as SIFA_REPO_GROUPS, z as SkillView, V as VolunteeringView, B as describeSifaRecord, F as hasAdultContent, G as repoGroupForCollection } from './types-BiBx2Utr.cjs';
3
4
  import { j as PresentationDuration, H as ProfilePresentationDeliveryRecord, J as ProfilePresentationRecord, h as OrgProfileRecord } from './shared-B9ng04Kt.cjs';
4
5
  export { A as ArtifactLink, a as ArtifactLinkSchema, B as BlobRef, b as BlobRefSchema, E as EndorsementConfirmationRecord, c as EndorsementConfirmationRecordSchema, d as EndorsementRecord, e as EndorsementRecordSchema, G as GraphFollowRecord, f as GraphFollowRecordSchema, O as OrgEmploymentAttestationRecord, g as OrgEmploymentAttestationRecordSchema, i as OrgProfileRecordSchema, P as PROFILE_INVOLVEMENT_NSID, k as PresentationDurationSchema, l as PresentationLink, m as PresentationLinkSchema, n as ProfileCertificationRecord, o as ProfileCertificationRecordSchema, p as ProfileCourseRecord, q as ProfileCourseRecordSchema, r as ProfileEducationRecord, s as ProfileEducationRecordSchema, t as ProfileExternalAccountRecord, u as ProfileExternalAccountRecordSchema, v as ProfileHonorRecord, w as ProfileHonorRecordSchema, x as ProfileInvolvementRecord, y as ProfileInvolvementRecordSchema, z as ProfileLanguageRecord, C as ProfileLanguageRecordSchema, D as ProfilePositionRecord, F as ProfilePositionRecordSchema, I as ProfilePresentationDeliveryRecordSchema, K as ProfilePresentationRecordSchema, L as ProfileProjectRecord, M as ProfileProjectRecordSchema, N as ProfilePublicationRecord, Q as ProfilePublicationRecordSchema, R as ProfileSelfRecord, S as ProfileSelfRecordSchema, T as ProfileSkillRecord, U as ProfileSkillRecordSchema, V as ProfileVolunteeringRecord, W as ProfileVolunteeringRecordSchema, X as PublicationAuthor, Y as PublicationAuthorSchema, Z as atUriSchema, _ as cidSchema, $ as datetimeSchema, a0 as didSchema, a1 as externalRecordRefSchema, a2 as languageTagSchema, a3 as makeGraphFollowRecordSchema, a4 as maxGraphemes, a5 as partialDateSchema, a6 as selfLabelsSchema, a7 as skillRefSchema, a8 as strongRefSchema, a9 as uriSchema } from './shared-B9ng04Kt.cjs';
5
6
  import { z } from 'zod';
6
- export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-CdLI8k7M.cjs';
7
+ export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-Bqj3TDVd.cjs';
7
8
  import { k as EntitySearchResult } from './feed-dOSy_48Z.cjs';
8
9
  export { A as AtmosphereFeedItem, a as AtmosphereFeedItemSchema, E 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, l as EntitySearchResultSchema, m as EntitySelectRequest, n as EntitySelectRequestSchema, o as EntitySelectResponse, p as EntitySelectResponseSchema, F as FEATURE_FLAGS, q as FeatureAllowlistEntry, r as FeatureAllowlistEntrySchema, s as FeatureFlag, t as FeedActor, u as FeedActorSchema, v as FeedCursor, w as FollowFeedItem, x as FollowFeedItemSchema, y as FollowFeedPage, z as FollowFeedPageSchema, B as FollowProfileItem, C as FollowProfilePage, D as FollowProfilePageSchema, G as FollowProfileSchema, S as SifaFeedItem, H as SifaFeedItemSchema, I as decodeFeedCursor, J as encodeFeedCursor } from './feed-dOSy_48Z.cjs';
9
10
 
@@ -910,6 +911,31 @@ declare function buildTalkSlug(title: string, rkey: string): string;
910
911
  */
911
912
  declare function parseTalkRkey(segment: string): string;
912
913
 
914
+ /**
915
+ * Meta description for a profile page.
916
+ *
917
+ * Ported from sifa-web so the description and the JSON-LD `jobTitle` are
918
+ * derived from one place. They previously used different rules for "which
919
+ * position is current" and could name different roles on the same page.
920
+ */
921
+
922
+ interface MetaDescriptionPosition {
923
+ readonly company?: string;
924
+ readonly title?: string;
925
+ readonly startedAt?: string;
926
+ readonly endedAt?: string;
927
+ readonly primary?: boolean;
928
+ readonly hidden?: boolean;
929
+ }
930
+ interface MetaDescriptionInput {
931
+ readonly handle: string;
932
+ readonly displayName?: string;
933
+ readonly headline?: string;
934
+ readonly location?: LocationValue | null;
935
+ readonly positions?: readonly MetaDescriptionPosition[];
936
+ }
937
+ declare function buildMetaDescription(profile: MetaDescriptionInput): string;
938
+
913
939
  /**
914
940
  * Limit runs of Unicode combining marks (`\p{M}`) to at most `maxPerBase`
915
941
  * marks following any single base character. Defuses "Zalgo" text where
@@ -2231,4 +2257,4 @@ declare function roadmapIssueUrl(issue: number): string;
2231
2257
  */
2232
2258
  declare const SIFA_SDK_VERSION: string;
2233
2259
 
2234
- 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 AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, type AppCategoryId, type AppUrlPatterns, type ArtifactLinkKindOption, 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, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, 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, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, type RgbColor, type RoadmapItemMeta, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, 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, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, 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, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
2260
+ 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 AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, type AppCategoryId, type AppUrlPatterns, type ArtifactLinkKindOption, 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, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, 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, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, type RgbColor, type RoadmapItemMeta, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, 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, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, buildMetaDescription, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, 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, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
- import { c as ProfileSkill, d as ProfilePresentationDelivery, L as LocationValue, e as PdsProviderInfo, f as Profile, g as AccountFacetMode, h as ProfilePosition, i as ProfileCertification, j as ProfileEducation, k as ProfileHonor, l as ProfileLanguage, m as ProfileProject, n as ProfilePublication, o as ProfileInvolvement } from './types-Vf-kTiu1.js';
2
- export { p as ADULT_CONTENT_LABELS, q as ActiveApp, r as ActiveAppView, a as ActivityLabel, s as ActorCard, A as AdultContentLabel, t as AtfundLinkView, u as CertificationView, C as CoSpeaker, v as CoSpeakerView, w as ContributorView, x as CourseView, D as DurationView, y as EducationView, z as Endorsement, B as EndorsementData, E as ExternalAccount, F as ExternalAccountKeytraceClaim, G as ExternalAccountView, H as FeedItem, I as HonorView, J as IndustryDomain, K as InvolvementLinkView, M as InvolvementView, N as LanguageProficiency, O as LanguageView, Q as OrgAddressView, T as OrgFloorVerdict, U as OrgLinkView, V as OrgProfileView, W as PROJECT_ROLES, X as PositionView, Y as PresentationDeliveryView, Z as PresentationLinkView, _ as PresentationView, $ as ProfileCourse, a0 as ProfileIndustry, a1 as ProfileInvolvementLink, a2 as ProfileLocation, a3 as ProfileLocationView, a4 as ProfileOverrideSource, a5 as ProfilePresentation, P as ProfileView, a6 as ProfileVolunteering, a7 as ProjectMemberCard, a8 as ProjectMemberView, a9 as ProjectRole, aa as ProjectView, ab as PublicationContributor, ac as PublicationView, ad as RecognizedEntity, ae as RepoCollectionGroup, af as RepoDeleteOutcome, ag as RepoDeleteRecordResult, R as RepoDeleteResult, ah as RepoGroupDefinition, ai as RepoGroupId, b as RepoInventory, aj as RepoRecordLabel, ak as RepoRecordSummary, al as SIFA_REPO_GROUPS, am as SkillRef, S as SkillSuggestion, an as SkillView, ao as TrustStat, ap as VerifiedAccount, aq as VolunteeringView, ar as describeSifaRecord, as as hasAdultContent, at as repoGroupForCollection } from './types-Vf-kTiu1.js';
1
+ import { b as ProfileSkill, c as ProfilePresentationDelivery, L as LocationValue, a as PdsProviderInfo, d as Profile, A as AccountFacetMode, e as ProfilePosition, f as ProfileCertification, g as ProfileEducation, h as ProfileHonor, i as ProfileLanguage, j as ProfileProject, k as ProfilePublication, l as ProfileInvolvement } from './index-DMyroYoB.js';
2
+ export { m as ActiveApp, n as ActorCard, C as CoSpeaker, o as Endorsement, p as EndorsementData, E 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, P as PresentationLinkView, w as ProfileCourse, x as ProfileIndustry, y as ProfileInvolvementLink, z as ProfileLocation, B as ProfileOverrideSource, D as ProfilePresentation, G as ProfileVolunteering, H as ProjectMemberCard, I as ProjectRole, J as PublicationContributor, R as RecognizedEntity, K as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-DMyroYoB.js';
3
+ export { c as ADULT_CONTENT_LABELS, d as ActiveAppView, a as ActivityLabel, A as AdultContentLabel, e as AtfundLinkView, C as CertificationView, f as CoSpeakerView, g as ContributorView, h as CourseView, D as DurationView, E as EducationView, i as ExternalAccountView, H as HonorView, I as IndustryDomain, j as InvolvementLinkView, k as InvolvementView, L as LanguageView, l as PositionView, m as PresentationDeliveryView, n as PresentationView, o as ProfileLocationView, P as ProfileView, p as ProjectMemberView, q as ProjectView, r as PublicationView, s as RepoCollectionGroup, t as RepoDeleteOutcome, u as RepoDeleteRecordResult, R as RepoDeleteResult, v as RepoGroupDefinition, w as RepoGroupId, b as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, S as SIFA_REPO_GROUPS, z as SkillView, V as VolunteeringView, B as describeSifaRecord, F as hasAdultContent, G as repoGroupForCollection } from './types-BkRDvKTp.js';
3
4
  import { j as PresentationDuration, H as ProfilePresentationDeliveryRecord, J as ProfilePresentationRecord, h as OrgProfileRecord } from './shared-B9ng04Kt.js';
4
5
  export { A as ArtifactLink, a as ArtifactLinkSchema, B as BlobRef, b as BlobRefSchema, E as EndorsementConfirmationRecord, c as EndorsementConfirmationRecordSchema, d as EndorsementRecord, e as EndorsementRecordSchema, G as GraphFollowRecord, f as GraphFollowRecordSchema, O as OrgEmploymentAttestationRecord, g as OrgEmploymentAttestationRecordSchema, i as OrgProfileRecordSchema, P as PROFILE_INVOLVEMENT_NSID, k as PresentationDurationSchema, l as PresentationLink, m as PresentationLinkSchema, n as ProfileCertificationRecord, o as ProfileCertificationRecordSchema, p as ProfileCourseRecord, q as ProfileCourseRecordSchema, r as ProfileEducationRecord, s as ProfileEducationRecordSchema, t as ProfileExternalAccountRecord, u as ProfileExternalAccountRecordSchema, v as ProfileHonorRecord, w as ProfileHonorRecordSchema, x as ProfileInvolvementRecord, y as ProfileInvolvementRecordSchema, z as ProfileLanguageRecord, C as ProfileLanguageRecordSchema, D as ProfilePositionRecord, F as ProfilePositionRecordSchema, I as ProfilePresentationDeliveryRecordSchema, K as ProfilePresentationRecordSchema, L as ProfileProjectRecord, M as ProfileProjectRecordSchema, N as ProfilePublicationRecord, Q as ProfilePublicationRecordSchema, R as ProfileSelfRecord, S as ProfileSelfRecordSchema, T as ProfileSkillRecord, U as ProfileSkillRecordSchema, V as ProfileVolunteeringRecord, W as ProfileVolunteeringRecordSchema, X as PublicationAuthor, Y as PublicationAuthorSchema, Z as atUriSchema, _ as cidSchema, $ as datetimeSchema, a0 as didSchema, a1 as externalRecordRefSchema, a2 as languageTagSchema, a3 as makeGraphFollowRecordSchema, a4 as maxGraphemes, a5 as partialDateSchema, a6 as selfLabelsSchema, a7 as skillRefSchema, a8 as strongRefSchema, a9 as uriSchema } from './shared-B9ng04Kt.js';
5
6
  import { z } from 'zod';
6
- export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-BS2GPBxw.js';
7
+ export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-YZXjMymn.js';
7
8
  import { k as EntitySearchResult } from './feed-dOSy_48Z.js';
8
9
  export { A as AtmosphereFeedItem, a as AtmosphereFeedItemSchema, E 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, l as EntitySearchResultSchema, m as EntitySelectRequest, n as EntitySelectRequestSchema, o as EntitySelectResponse, p as EntitySelectResponseSchema, F as FEATURE_FLAGS, q as FeatureAllowlistEntry, r as FeatureAllowlistEntrySchema, s as FeatureFlag, t as FeedActor, u as FeedActorSchema, v as FeedCursor, w as FollowFeedItem, x as FollowFeedItemSchema, y as FollowFeedPage, z as FollowFeedPageSchema, B as FollowProfileItem, C as FollowProfilePage, D as FollowProfilePageSchema, G as FollowProfileSchema, S as SifaFeedItem, H as SifaFeedItemSchema, I as decodeFeedCursor, J as encodeFeedCursor } from './feed-dOSy_48Z.js';
9
10
 
@@ -910,6 +911,31 @@ declare function buildTalkSlug(title: string, rkey: string): string;
910
911
  */
911
912
  declare function parseTalkRkey(segment: string): string;
912
913
 
914
+ /**
915
+ * Meta description for a profile page.
916
+ *
917
+ * Ported from sifa-web so the description and the JSON-LD `jobTitle` are
918
+ * derived from one place. They previously used different rules for "which
919
+ * position is current" and could name different roles on the same page.
920
+ */
921
+
922
+ interface MetaDescriptionPosition {
923
+ readonly company?: string;
924
+ readonly title?: string;
925
+ readonly startedAt?: string;
926
+ readonly endedAt?: string;
927
+ readonly primary?: boolean;
928
+ readonly hidden?: boolean;
929
+ }
930
+ interface MetaDescriptionInput {
931
+ readonly handle: string;
932
+ readonly displayName?: string;
933
+ readonly headline?: string;
934
+ readonly location?: LocationValue | null;
935
+ readonly positions?: readonly MetaDescriptionPosition[];
936
+ }
937
+ declare function buildMetaDescription(profile: MetaDescriptionInput): string;
938
+
913
939
  /**
914
940
  * Limit runs of Unicode combining marks (`\p{M}`) to at most `maxPerBase`
915
941
  * marks following any single base character. Defuses "Zalgo" text where
@@ -2231,4 +2257,4 @@ declare function roadmapIssueUrl(issue: number): string;
2231
2257
  */
2232
2258
  declare const SIFA_SDK_VERSION: string;
2233
2259
 
2234
- 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 AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, type AppCategoryId, type AppUrlPatterns, type ArtifactLinkKindOption, 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, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, 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, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, type RgbColor, type RoadmapItemMeta, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, 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, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, 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, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
2260
+ 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 AccountVerification, type ActivityItem, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type ActivityVerbMap, type AppCategoryId, type AppUrlPatterns, type ArtifactLinkKindOption, 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, type CardHealth, type CardHealthStrategy, type CompanyFirmographics, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmbedResult, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, type IndustryOption, type InvolvementGroup, type InvolvementKindOption, type KnownAppId, type LexiconEntry, type LocationSegment, type LocationSegmentKind, type LocationSegmentsOptions, LocationValue, MIN_SKILLS, type MergedProfileSkill, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, 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, PUBLISHERS, type ParsedDelivery, type ParsedPresentation, type PdsProvider, PdsProviderInfo, type PersonalFacetContent, type PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, ProfileCertification, type ProfileCompletion, type ProfileDimensionInputs, ProfileEducation, ProfileHonor, ProfileInvolvement, ProfileLanguage, ProfilePosition, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileProject, ProfilePublication, ProfileSkill, type Publisher, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, type RgbColor, type RoadmapItemMeta, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, type SectionGroupId, type SectionId, type SkillCategory, type StreamAddress, type StreamAuthor, type StreamCardBody, 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, VERIFICATION_PROVIDERS, type VerificationProvider, type VerificationProviderId, type VerificationSource, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, buildMetaDescription, buildTalkSlug, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, 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, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, resolveAccountFacetMode, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
package/dist/index.js CHANGED
@@ -2603,6 +2603,146 @@ function parseTalkRkey(segment) {
2603
2603
  return idx === -1 ? segment : segment.slice(idx + 1);
2604
2604
  }
2605
2605
 
2606
+ // src/logic/primary-position.ts
2607
+ function pickPrimaryPosition(positions) {
2608
+ if (!positions || positions.length === 0) return void 0;
2609
+ const active = positions.filter((p) => !p.endedAt);
2610
+ if (active.length === 0) return void 0;
2611
+ const flagged = active.find((p) => p.primary === true);
2612
+ if (flagged) return flagged;
2613
+ return [...active].sort((a, b) => (b.startedAt ?? "").localeCompare(a.startedAt ?? ""))[0];
2614
+ }
2615
+
2616
+ // src/profile/section-model.ts
2617
+ var SECTION_GROUPS = [
2618
+ { id: "overview", labelKey: "groupOverview" },
2619
+ { id: "experience", labelKey: "groupExperience" },
2620
+ { id: "qualifications", labelKey: "groupQualifications" },
2621
+ { id: "more", labelKey: "groupMore" }
2622
+ ];
2623
+ var ALL_SECTIONS = [
2624
+ { id: "about", labelKey: "about", ns: "profile", group: "overview" },
2625
+ { id: "career", labelKey: "career", ns: "sections", group: "experience" },
2626
+ { id: "skills", labelKey: "skills", ns: "sections", group: "experience" },
2627
+ { id: "projects", labelKey: "projects", ns: "sections", group: "experience" },
2628
+ {
2629
+ id: "presentations",
2630
+ labelKey: "talksAndSessions",
2631
+ ns: "sections",
2632
+ group: "experience"
2633
+ },
2634
+ {
2635
+ id: "publications",
2636
+ labelKey: "publications",
2637
+ ns: "sections",
2638
+ group: "experience"
2639
+ },
2640
+ {
2641
+ id: "credentials",
2642
+ labelKey: "credentials",
2643
+ ns: "sections",
2644
+ group: "qualifications"
2645
+ },
2646
+ {
2647
+ id: "education",
2648
+ labelKey: "education",
2649
+ ns: "sections",
2650
+ group: "qualifications"
2651
+ },
2652
+ { id: "courses", labelKey: "courses", ns: "sections", group: "qualifications" },
2653
+ { id: "awards", labelKey: "awards", ns: "sections", group: "more" },
2654
+ { id: "involvement", labelKey: "involvement", ns: "sections", group: "more" },
2655
+ { id: "languages", labelKey: "languages", ns: "sections", group: "more" },
2656
+ {
2657
+ id: "other-profiles",
2658
+ labelKey: "otherProfiles",
2659
+ ns: "sections",
2660
+ group: "more"
2661
+ }
2662
+ ];
2663
+ function isSectionPopulated(profile, id) {
2664
+ switch (id) {
2665
+ case "about":
2666
+ return Boolean(profile.about && profile.headline);
2667
+ case "career":
2668
+ return Boolean(profile.positions?.length);
2669
+ case "education":
2670
+ return Boolean(profile.education?.length);
2671
+ case "courses":
2672
+ return Boolean(profile.courses?.length);
2673
+ case "skills":
2674
+ return Boolean(profile.skills?.length);
2675
+ case "projects":
2676
+ return Boolean(profile.projects?.length);
2677
+ case "credentials":
2678
+ return Boolean(profile.certifications?.length);
2679
+ case "publications":
2680
+ return Boolean(profile.publications?.length);
2681
+ case "presentations":
2682
+ return Boolean(profile.presentations?.length) || Boolean(profile.presentationDeliveries?.length);
2683
+ case "involvement":
2684
+ return Boolean(profile.involvement?.length);
2685
+ case "awards":
2686
+ return Boolean(profile.honors?.length);
2687
+ case "languages":
2688
+ return Boolean(profile.languages?.length);
2689
+ case "other-profiles":
2690
+ return Boolean(profile.externalAccounts?.length);
2691
+ default:
2692
+ return false;
2693
+ }
2694
+ }
2695
+ function getVisibleSectionIds(profile, isOwnProfile) {
2696
+ return ALL_SECTIONS.map((s) => s.id).filter(
2697
+ (id) => isOwnProfile || isSectionPopulated(profile, id)
2698
+ );
2699
+ }
2700
+ function filterHidden(items) {
2701
+ return (items ?? []).filter((i) => !i.hidden);
2702
+ }
2703
+ function visibleItems(items, isOwnProfile) {
2704
+ return isOwnProfile ? items ?? [] : filterHidden(items);
2705
+ }
2706
+ var SECTION_LABELS = {
2707
+ about: "About",
2708
+ career: "Career",
2709
+ skills: "Skills",
2710
+ projects: "Projects",
2711
+ presentations: "Talks & sessions",
2712
+ publications: "Publications",
2713
+ credentials: "Credentials",
2714
+ education: "Education",
2715
+ courses: "Courses",
2716
+ awards: "Awards",
2717
+ involvement: "Involvement",
2718
+ languages: "Languages",
2719
+ "other-profiles": "Links"
2720
+ };
2721
+
2722
+ // src/format/meta-description.ts
2723
+ var MEANINGFUL_TEXT_RE = /[\p{L}\p{N}]/u;
2724
+ function buildMetaDescription(profile) {
2725
+ const parts = [];
2726
+ if (typeof profile.headline === "string" && MEANINGFUL_TEXT_RE.test(profile.headline)) {
2727
+ parts.push(profile.headline);
2728
+ }
2729
+ const positions = filterHidden(profile.positions ? [...profile.positions] : void 0);
2730
+ const currentPosition = pickPrimaryPosition(positions);
2731
+ if (currentPosition) {
2732
+ const positionParts = [];
2733
+ if (currentPosition.title) positionParts.push(currentPosition.title);
2734
+ if (currentPosition.company) positionParts.push(`at ${currentPosition.company}`);
2735
+ if (positionParts.length > 0) parts.push(positionParts.join(" "));
2736
+ }
2737
+ if (profile.location) {
2738
+ parts.push(formatLocation(profile.location));
2739
+ }
2740
+ if (parts.length === 0) {
2741
+ return `${profile.displayName ?? profile.handle} on Sifa`;
2742
+ }
2743
+ return parts.join(" \xB7 ");
2744
+ }
2745
+
2606
2746
  // src/format/text-sanitize.ts
2607
2747
  var COMBINING_MARK = /\p{M}/u;
2608
2748
  var BIDI_CONTROLS = /[‎‏‪-‮⁦-⁩]/gu;
@@ -4442,16 +4582,6 @@ function countFilledDimensions(input) {
4442
4582
  return n;
4443
4583
  }
4444
4584
 
4445
- // src/logic/primary-position.ts
4446
- function pickPrimaryPosition(positions) {
4447
- if (!positions || positions.length === 0) return void 0;
4448
- const active = positions.filter((p) => !p.endedAt);
4449
- if (active.length === 0) return void 0;
4450
- const flagged = active.find((p) => p.primary === true);
4451
- if (flagged) return flagged;
4452
- return [...active].sort((a, b) => (b.startedAt ?? "").localeCompare(a.startedAt ?? ""))[0];
4453
- }
4454
-
4455
4585
  // src/logic/profile-summary.ts
4456
4586
  var DEFAULT_MAX_SKILLS = 5;
4457
4587
  function summarizeProfileView(view, options = {}) {
@@ -4665,112 +4795,6 @@ function isCompanyPageIndexable(company) {
4665
4795
  return present >= COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS;
4666
4796
  }
4667
4797
 
4668
- // src/profile/section-model.ts
4669
- var SECTION_GROUPS = [
4670
- { id: "overview", labelKey: "groupOverview" },
4671
- { id: "experience", labelKey: "groupExperience" },
4672
- { id: "qualifications", labelKey: "groupQualifications" },
4673
- { id: "more", labelKey: "groupMore" }
4674
- ];
4675
- var ALL_SECTIONS = [
4676
- { id: "about", labelKey: "about", ns: "profile", group: "overview" },
4677
- { id: "career", labelKey: "career", ns: "sections", group: "experience" },
4678
- { id: "skills", labelKey: "skills", ns: "sections", group: "experience" },
4679
- { id: "projects", labelKey: "projects", ns: "sections", group: "experience" },
4680
- {
4681
- id: "presentations",
4682
- labelKey: "talksAndSessions",
4683
- ns: "sections",
4684
- group: "experience"
4685
- },
4686
- {
4687
- id: "publications",
4688
- labelKey: "publications",
4689
- ns: "sections",
4690
- group: "experience"
4691
- },
4692
- {
4693
- id: "credentials",
4694
- labelKey: "credentials",
4695
- ns: "sections",
4696
- group: "qualifications"
4697
- },
4698
- {
4699
- id: "education",
4700
- labelKey: "education",
4701
- ns: "sections",
4702
- group: "qualifications"
4703
- },
4704
- { id: "courses", labelKey: "courses", ns: "sections", group: "qualifications" },
4705
- { id: "awards", labelKey: "awards", ns: "sections", group: "more" },
4706
- { id: "involvement", labelKey: "involvement", ns: "sections", group: "more" },
4707
- { id: "languages", labelKey: "languages", ns: "sections", group: "more" },
4708
- {
4709
- id: "other-profiles",
4710
- labelKey: "otherProfiles",
4711
- ns: "sections",
4712
- group: "more"
4713
- }
4714
- ];
4715
- function isSectionPopulated(profile, id) {
4716
- switch (id) {
4717
- case "about":
4718
- return Boolean(profile.about && profile.headline);
4719
- case "career":
4720
- return Boolean(profile.positions?.length);
4721
- case "education":
4722
- return Boolean(profile.education?.length);
4723
- case "courses":
4724
- return Boolean(profile.courses?.length);
4725
- case "skills":
4726
- return Boolean(profile.skills?.length);
4727
- case "projects":
4728
- return Boolean(profile.projects?.length);
4729
- case "credentials":
4730
- return Boolean(profile.certifications?.length);
4731
- case "publications":
4732
- return Boolean(profile.publications?.length);
4733
- case "presentations":
4734
- return Boolean(profile.presentations?.length) || Boolean(profile.presentationDeliveries?.length);
4735
- case "involvement":
4736
- return Boolean(profile.involvement?.length);
4737
- case "awards":
4738
- return Boolean(profile.honors?.length);
4739
- case "languages":
4740
- return Boolean(profile.languages?.length);
4741
- case "other-profiles":
4742
- return Boolean(profile.externalAccounts?.length);
4743
- default:
4744
- return false;
4745
- }
4746
- }
4747
- function getVisibleSectionIds(profile, isOwnProfile) {
4748
- return ALL_SECTIONS.map((s) => s.id).filter(
4749
- (id) => isOwnProfile || isSectionPopulated(profile, id)
4750
- );
4751
- }
4752
- function filterHidden(items) {
4753
- return (items ?? []).filter((i) => !i.hidden);
4754
- }
4755
- function visibleItems(items, isOwnProfile) {
4756
- return isOwnProfile ? items ?? [] : filterHidden(items);
4757
- }
4758
- var SECTION_LABELS = {
4759
- about: "About",
4760
- career: "Career",
4761
- skills: "Skills",
4762
- projects: "Projects",
4763
- presentations: "Talks & sessions",
4764
- publications: "Publications",
4765
- credentials: "Credentials",
4766
- education: "Education",
4767
- courses: "Courses",
4768
- awards: "Awards",
4769
- involvement: "Involvement",
4770
- languages: "Languages",
4771
- "other-profiles": "Links"
4772
- };
4773
-
4774
4798
  // src/profile/range-sort.ts
4775
4799
  var hasValue = (date) => !!date;
4776
4800
  function sortByActiveDateRange(items) {
@@ -5622,8 +5646,8 @@ function describeSifaRecord(collection, value) {
5622
5646
  }
5623
5647
 
5624
5648
  // src/index.ts
5625
- var SIFA_SDK_VERSION = "0.12.57";
5649
+ var SIFA_SDK_VERSION = "0.12.59";
5626
5650
 
5627
- 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, PROJECT_ROLES, 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_REPO_GROUPS, 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, describeSifaRecord, 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, locationSegments, 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, repoGroupForCollection, 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 };
5651
+ 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, PROJECT_ROLES, 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_REPO_GROUPS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, buildMetaDescription, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, 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, locationSegments, 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, repoGroupForCollection, 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 };
5628
5652
  //# sourceMappingURL=index.js.map
5629
5653
  //# sourceMappingURL=index.js.map