@singi-labs/sifa-sdk 0.11.22 → 0.11.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adult-content-B6aagF8N.d.cts → adult-content-BaQjQsbN.d.cts} +78 -0
- package/dist/{adult-content-B6aagF8N.d.ts → adult-content-BaQjQsbN.d.ts} +78 -0
- package/dist/{feed-BaHtJXYR.d.cts → feed--omSiO_S.d.cts} +74 -1
- package/dist/{feed-BaHtJXYR.d.ts → feed--omSiO_S.d.ts} +74 -1
- package/dist/index-BV2QGy4u.d.ts +261 -0
- package/dist/index-C4UvwkKA.d.cts +261 -0
- package/dist/index-CHPSoiWb.d.cts +611 -0
- package/dist/index-Cw0Ows0u.d.ts +611 -0
- package/dist/index.cjs +56 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -7
- package/dist/index.d.ts +27 -7
- package/dist/index.js +53 -2
- package/dist/index.js.map +1 -1
- package/dist/{keys-D3urUnj8.d.cts → keys-BdLh1txD.d.cts} +2 -2
- package/dist/{keys-cT1ORNOu.d.ts → keys-Czq74eql.d.ts} +2 -2
- package/dist/query/fetchers/index.cjs +11 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +4 -247
- package/dist/query/fetchers/index.d.ts +4 -247
- package/dist/query/fetchers/index.js +11 -0
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +11 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +6 -558
- package/dist/query/hooks/index.d.ts +6 -558
- package/dist/query/hooks/index.js +11 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +47 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +6 -6
- package/dist/query/index.d.ts +6 -6
- package/dist/query/index.js +44 -1
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/index.cjs +37 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +30 -397
- package/dist/schemas/index.d.ts +30 -397
- package/dist/schemas/index.js +32 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/shared-CHCY7Lst.d.cts +416 -0
- package/dist/shared-CHCY7Lst.d.ts +416 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile } from './adult-content-
|
|
2
|
-
export { e as ADULT_CONTENT_LABELS, f as ActiveApp, a as ActivityLabel, A as AdultContentLabel, C as CoSpeaker, g as Endorsement, h as EndorsementData, E as ExternalAccount, i as ExternalAccountKeytraceClaim, F as FeedItem, j as LanguageProficiency, k as PresentationLinkView, l as ProfileCertification, m as ProfileCourse, n as ProfileEducation, o as ProfileHonor, p as ProfileIndustry, q as ProfileLanguage, r as ProfileLocation, s as ProfileOverrideSource, t as ProfilePosition, u as ProfilePresentation, v as ProfileProject, w as ProfilePublication, x as ProfileVolunteering, y as PublicationContributor, z as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, B as hasAdultContent } from './adult-content-
|
|
3
|
-
import { PresentationDuration, ProfilePresentationDeliveryRecord, ProfilePresentationRecord } from './
|
|
4
|
-
export { EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, PresentationDurationSchema, PresentationLink, PresentationLinkSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, externalRecordRefSchema, languageTagSchema, makeGraphFollowRecordSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './
|
|
5
|
-
import {
|
|
6
|
-
export { A as AtmosphereFeedItem,
|
|
1
|
+
import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile } from './adult-content-BaQjQsbN.cjs';
|
|
2
|
+
export { e as ADULT_CONTENT_LABELS, f as ActiveApp, a as ActivityLabel, A as AdultContentLabel, C as CoSpeaker, g as Endorsement, h as EndorsementData, E as ExternalAccount, i as ExternalAccountKeytraceClaim, F as FeedItem, j as LanguageProficiency, k as PresentationLinkView, l as ProfileCertification, m as ProfileCourse, n as ProfileEducation, o as ProfileHonor, p as ProfileIndustry, q as ProfileLanguage, r as ProfileLocation, s as ProfileOverrideSource, t as ProfilePosition, u as ProfilePresentation, v as ProfileProject, w as ProfilePublication, x as ProfileVolunteering, y as PublicationContributor, z as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, B as hasAdultContent } from './adult-content-BaQjQsbN.cjs';
|
|
3
|
+
import { P as PresentationDuration, v as ProfilePresentationDeliveryRecord, x as ProfilePresentationRecord } from './shared-CHCY7Lst.cjs';
|
|
4
|
+
export { E as EndorsementConfirmationRecord, a as EndorsementConfirmationRecordSchema, b as EndorsementRecord, c as EndorsementRecordSchema, G as GraphFollowRecord, d as GraphFollowRecordSchema, e as PresentationDurationSchema, f as PresentationLink, g as PresentationLinkSchema, h as ProfileCertificationRecord, i as ProfileCertificationRecordSchema, j as ProfileCourseRecord, k as ProfileCourseRecordSchema, l as ProfileEducationRecord, m as ProfileEducationRecordSchema, n as ProfileExternalAccountRecord, o as ProfileExternalAccountRecordSchema, p as ProfileHonorRecord, q as ProfileHonorRecordSchema, r as ProfileLanguageRecord, s as ProfileLanguageRecordSchema, t as ProfilePositionRecord, u as ProfilePositionRecordSchema, w as ProfilePresentationDeliveryRecordSchema, y as ProfilePresentationRecordSchema, z as ProfileProjectRecord, A as ProfileProjectRecordSchema, B as ProfilePublicationRecord, C as ProfilePublicationRecordSchema, D as ProfileSelfRecord, F as ProfileSelfRecordSchema, H as ProfileSkillRecord, I as ProfileSkillRecordSchema, J as ProfileVolunteeringRecord, K as ProfileVolunteeringRecordSchema, L as PublicationAuthor, M as PublicationAuthorSchema, N as atUriSchema, O as cidSchema, Q as datetimeSchema, R as didSchema, S as externalRecordRefSchema, T as languageTagSchema, U as makeGraphFollowRecordSchema, V as maxGraphemes, W as selfLabelsSchema, X as strongRefSchema, Y as uriSchema } from './shared-CHCY7Lst.cjs';
|
|
5
|
+
import { k as EntitySearchResult } from './feed--omSiO_S.cjs';
|
|
6
|
+
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--omSiO_S.cjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
|
|
9
9
|
type ContinentCode = 'AF' | 'AN' | 'AS' | 'EU' | 'NA' | 'OC' | 'SA';
|
|
@@ -1063,6 +1063,26 @@ declare function pickPrimaryPosition<T extends PrimaryPositionCandidate>(positio
|
|
|
1063
1063
|
/** True when the whole employer string is a self-employment / pseudo employer. */
|
|
1064
1064
|
declare function isPseudoEmployer(company: string): boolean;
|
|
1065
1065
|
|
|
1066
|
+
/**
|
|
1067
|
+
* Lightweight "does this typeahead query look like a domain?" predicate, used to
|
|
1068
|
+
* decide whether to fire the domain grow-on-demand path (resolve-domain) on a
|
|
1069
|
+
* local typeahead miss. It is a heuristic, NOT a validator: the API re-validates
|
|
1070
|
+
* against the public suffix list. It only needs to distinguish "randstad.com"
|
|
1071
|
+
* (a domain) from "Randstad" / "Acme Corp" (a name) so a plain company name
|
|
1072
|
+
* never triggers a domain lookup.
|
|
1073
|
+
*
|
|
1074
|
+
* Accepts an optional scheme and path (`https://www.stripe.com/pricing`), a
|
|
1075
|
+
* leading `www.`, and multi-label hosts; requires at least one dot and a >=2
|
|
1076
|
+
* alpha final label (TLD-shaped); rejects whitespace and `@` (emails).
|
|
1077
|
+
*
|
|
1078
|
+
* Runs on uncontrolled typeahead input, so it is deliberately ReDoS-safe: the
|
|
1079
|
+
* input length is bounded up front (a domain is <=253 chars), the host is
|
|
1080
|
+
* extracted with plain string ops (no scheme/path/trailing-dot regex), and each
|
|
1081
|
+
* label is validated by a single anchored, bounded pattern. There is no
|
|
1082
|
+
* ambiguous or nested quantifier anywhere, so matching is linear in the input.
|
|
1083
|
+
*/
|
|
1084
|
+
declare function looksLikeDomain(query: string): boolean;
|
|
1085
|
+
|
|
1066
1086
|
/**
|
|
1067
1087
|
* Disambiguation-display helpers for the org typeahead (#159, Flow 1A-2). Two
|
|
1068
1088
|
* same-name orgs must be told apart at a glance, so each row shows its domain,
|
|
@@ -1120,4 +1140,4 @@ declare function isLinked(entityRef: string | null | undefined): boolean;
|
|
|
1120
1140
|
*/
|
|
1121
1141
|
declare const SIFA_SDK_VERSION: string;
|
|
1122
1142
|
|
|
1123
|
-
export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type AppCategoryId, type AppUrlPatterns, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, type IndustryOption, type KnownAppId, type LexiconEntry, 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, 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 PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, type ProfileCompletion, type ProfileDimensionInputs, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileSkill, type Publisher, type RgbColor, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, type SkillCategory, type TierMeta, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, findIndustry, formatCompanyName, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, isAppCategory, isCompanyRequired, isKnownAppId, isKnownPlatform, isLinked, isPseudoEmployer, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, meetsContrastAA, normalizeCompanyKey, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, relativeLuminance, resolveCardHealth, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, sortByDateDesc, stripHtmlToText, summarizePresentationDeliveries, truncateGraphemes };
|
|
1143
|
+
export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type AppCategoryId, type AppUrlPatterns, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, type IndustryOption, type KnownAppId, type LexiconEntry, 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, 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 PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, type ProfileCompletion, type ProfileDimensionInputs, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileSkill, type Publisher, type RgbColor, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, type SkillCategory, type TierMeta, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, findIndustry, formatCompanyName, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, isAppCategory, isCompanyRequired, isKnownAppId, isKnownPlatform, isLinked, isPseudoEmployer, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, relativeLuminance, resolveCardHealth, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, sortByDateDesc, stripHtmlToText, summarizePresentationDeliveries, truncateGraphemes };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile } from './adult-content-
|
|
2
|
-
export { e as ADULT_CONTENT_LABELS, f as ActiveApp, a as ActivityLabel, A as AdultContentLabel, C as CoSpeaker, g as Endorsement, h as EndorsementData, E as ExternalAccount, i as ExternalAccountKeytraceClaim, F as FeedItem, j as LanguageProficiency, k as PresentationLinkView, l as ProfileCertification, m as ProfileCourse, n as ProfileEducation, o as ProfileHonor, p as ProfileIndustry, q as ProfileLanguage, r as ProfileLocation, s as ProfileOverrideSource, t as ProfilePosition, u as ProfilePresentation, v as ProfileProject, w as ProfilePublication, x as ProfileVolunteering, y as PublicationContributor, z as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, B as hasAdultContent } from './adult-content-
|
|
3
|
-
import { PresentationDuration, ProfilePresentationDeliveryRecord, ProfilePresentationRecord } from './
|
|
4
|
-
export { EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, PresentationDurationSchema, PresentationLink, PresentationLinkSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, externalRecordRefSchema, languageTagSchema, makeGraphFollowRecordSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './
|
|
5
|
-
import {
|
|
6
|
-
export { A as AtmosphereFeedItem,
|
|
1
|
+
import { P as ProfileSkill, b as ProfilePresentationDelivery, L as LocationValue, c as PdsProviderInfo, d as Profile } from './adult-content-BaQjQsbN.js';
|
|
2
|
+
export { e as ADULT_CONTENT_LABELS, f as ActiveApp, a as ActivityLabel, A as AdultContentLabel, C as CoSpeaker, g as Endorsement, h as EndorsementData, E as ExternalAccount, i as ExternalAccountKeytraceClaim, F as FeedItem, j as LanguageProficiency, k as PresentationLinkView, l as ProfileCertification, m as ProfileCourse, n as ProfileEducation, o as ProfileHonor, p as ProfileIndustry, q as ProfileLanguage, r as ProfileLocation, s as ProfileOverrideSource, t as ProfilePosition, u as ProfilePresentation, v as ProfileProject, w as ProfilePublication, x as ProfileVolunteering, y as PublicationContributor, z as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, B as hasAdultContent } from './adult-content-BaQjQsbN.js';
|
|
3
|
+
import { P as PresentationDuration, v as ProfilePresentationDeliveryRecord, x as ProfilePresentationRecord } from './shared-CHCY7Lst.js';
|
|
4
|
+
export { E as EndorsementConfirmationRecord, a as EndorsementConfirmationRecordSchema, b as EndorsementRecord, c as EndorsementRecordSchema, G as GraphFollowRecord, d as GraphFollowRecordSchema, e as PresentationDurationSchema, f as PresentationLink, g as PresentationLinkSchema, h as ProfileCertificationRecord, i as ProfileCertificationRecordSchema, j as ProfileCourseRecord, k as ProfileCourseRecordSchema, l as ProfileEducationRecord, m as ProfileEducationRecordSchema, n as ProfileExternalAccountRecord, o as ProfileExternalAccountRecordSchema, p as ProfileHonorRecord, q as ProfileHonorRecordSchema, r as ProfileLanguageRecord, s as ProfileLanguageRecordSchema, t as ProfilePositionRecord, u as ProfilePositionRecordSchema, w as ProfilePresentationDeliveryRecordSchema, y as ProfilePresentationRecordSchema, z as ProfileProjectRecord, A as ProfileProjectRecordSchema, B as ProfilePublicationRecord, C as ProfilePublicationRecordSchema, D as ProfileSelfRecord, F as ProfileSelfRecordSchema, H as ProfileSkillRecord, I as ProfileSkillRecordSchema, J as ProfileVolunteeringRecord, K as ProfileVolunteeringRecordSchema, L as PublicationAuthor, M as PublicationAuthorSchema, N as atUriSchema, O as cidSchema, Q as datetimeSchema, R as didSchema, S as externalRecordRefSchema, T as languageTagSchema, U as makeGraphFollowRecordSchema, V as maxGraphemes, W as selfLabelsSchema, X as strongRefSchema, Y as uriSchema } from './shared-CHCY7Lst.js';
|
|
5
|
+
import { k as EntitySearchResult } from './feed--omSiO_S.js';
|
|
6
|
+
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--omSiO_S.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
|
|
9
9
|
type ContinentCode = 'AF' | 'AN' | 'AS' | 'EU' | 'NA' | 'OC' | 'SA';
|
|
@@ -1063,6 +1063,26 @@ declare function pickPrimaryPosition<T extends PrimaryPositionCandidate>(positio
|
|
|
1063
1063
|
/** True when the whole employer string is a self-employment / pseudo employer. */
|
|
1064
1064
|
declare function isPseudoEmployer(company: string): boolean;
|
|
1065
1065
|
|
|
1066
|
+
/**
|
|
1067
|
+
* Lightweight "does this typeahead query look like a domain?" predicate, used to
|
|
1068
|
+
* decide whether to fire the domain grow-on-demand path (resolve-domain) on a
|
|
1069
|
+
* local typeahead miss. It is a heuristic, NOT a validator: the API re-validates
|
|
1070
|
+
* against the public suffix list. It only needs to distinguish "randstad.com"
|
|
1071
|
+
* (a domain) from "Randstad" / "Acme Corp" (a name) so a plain company name
|
|
1072
|
+
* never triggers a domain lookup.
|
|
1073
|
+
*
|
|
1074
|
+
* Accepts an optional scheme and path (`https://www.stripe.com/pricing`), a
|
|
1075
|
+
* leading `www.`, and multi-label hosts; requires at least one dot and a >=2
|
|
1076
|
+
* alpha final label (TLD-shaped); rejects whitespace and `@` (emails).
|
|
1077
|
+
*
|
|
1078
|
+
* Runs on uncontrolled typeahead input, so it is deliberately ReDoS-safe: the
|
|
1079
|
+
* input length is bounded up front (a domain is <=253 chars), the host is
|
|
1080
|
+
* extracted with plain string ops (no scheme/path/trailing-dot regex), and each
|
|
1081
|
+
* label is validated by a single anchored, bounded pattern. There is no
|
|
1082
|
+
* ambiguous or nested quantifier anywhere, so matching is linear in the input.
|
|
1083
|
+
*/
|
|
1084
|
+
declare function looksLikeDomain(query: string): boolean;
|
|
1085
|
+
|
|
1066
1086
|
/**
|
|
1067
1087
|
* Disambiguation-display helpers for the org typeahead (#159, Flow 1A-2). Two
|
|
1068
1088
|
* same-name orgs must be told apart at a glance, so each row shows its domain,
|
|
@@ -1120,4 +1140,4 @@ declare function isLinked(entityRef: string | null | undefined): boolean;
|
|
|
1120
1140
|
*/
|
|
1121
1141
|
declare const SIFA_SDK_VERSION: string;
|
|
1122
1142
|
|
|
1123
|
-
export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type AppCategoryId, type AppUrlPatterns, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, type IndustryOption, type KnownAppId, type LexiconEntry, 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, 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 PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, type ProfileCompletion, type ProfileDimensionInputs, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileSkill, type Publisher, type RgbColor, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, type SkillCategory, type TierMeta, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, findIndustry, formatCompanyName, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, isAppCategory, isCompanyRequired, isKnownAppId, isKnownPlatform, isLinked, isPseudoEmployer, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, meetsContrastAA, normalizeCompanyKey, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, relativeLuminance, resolveCardHealth, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, sortByDateDesc, stripHtmlToText, summarizePresentationDeliveries, truncateGraphemes };
|
|
1143
|
+
export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, type ActivityItemForUrl, type ActivityTaxonomy, type ActivityTier, type AppCategoryId, type AppUrlPatterns, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, type CardHealth, type CardHealthStrategy, type ContinentCode, type CsvRow, DIMENSIONS_MAX_SCORE, type DimensionKey, type DimensionMap, type DisambiguationFields, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, type EmploymentTypeGroup, type EmploymentTypeOption, type EntityRefAnchor, EntitySearchResult, INDUSTRY_OPTIONS, type IndustryOption, type KnownAppId, type LexiconEntry, 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, 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 PlatformId, type PresentationDeliverySummary, PresentationDuration, type PresentationLinkTypeOption, type PresentationRoleOption, type PrimaryPositionCandidate, Profile, type ProfileCompletion, type ProfileDimensionInputs, ProfilePresentationDelivery, ProfilePresentationDeliveryRecord, ProfilePresentationRecord, ProfileSkill, type Publisher, type RgbColor, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, type SkillCategory, type TierMeta, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, type WorkplaceTypeOption, categoryForApp, certDateExtractor, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, dedupeSkills, detectPdsProvider, dimensionsFromInputs, durationFromMinutes, entityDisambiguationLabel, entityResultKey, findIndustry, formatCompanyName, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, isAppCategory, isCompanyRequired, isKnownAppId, isKnownPlatform, isLinked, isPseudoEmployer, isValidRgbColor, isVisibleActivityItem, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, meetsContrastAA, normalizeCompanyKey, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, relativeLuminance, resolveCardHealth, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, singleDateExtractor, sortByDateDesc, stripHtmlToText, summarizePresentationDeliveries, truncateGraphemes };
|
package/dist/index.js
CHANGED
|
@@ -2504,6 +2504,46 @@ function isPseudoEmployer(company) {
|
|
|
2504
2504
|
return PSEUDO_EMPLOYERS.has(normalized);
|
|
2505
2505
|
}
|
|
2506
2506
|
|
|
2507
|
+
// src/logic/domain-detect.ts
|
|
2508
|
+
var MAX_DOMAIN_LEN = 253;
|
|
2509
|
+
var LABEL = /^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/;
|
|
2510
|
+
var TLD = /^[a-z]{2,63}$/;
|
|
2511
|
+
function stripTrailingDots(s) {
|
|
2512
|
+
let end = s.length;
|
|
2513
|
+
while (end > 0 && s.charCodeAt(end - 1) === 46) end -= 1;
|
|
2514
|
+
return s.slice(0, end);
|
|
2515
|
+
}
|
|
2516
|
+
function looksLikeDomain(query) {
|
|
2517
|
+
const q = query.trim().toLowerCase();
|
|
2518
|
+
if (!q || q.length > MAX_DOMAIN_LEN) return false;
|
|
2519
|
+
if (q.includes(" ") || q.includes(" ") || q.includes("@")) return false;
|
|
2520
|
+
let host = q;
|
|
2521
|
+
const schemeAt = host.indexOf("://");
|
|
2522
|
+
if (schemeAt !== -1) host = host.slice(schemeAt + 3);
|
|
2523
|
+
for (let i = 0; i < host.length; i += 1) {
|
|
2524
|
+
const ch = host[i];
|
|
2525
|
+
if (ch === "/" || ch === "?" || ch === "#") {
|
|
2526
|
+
host = host.slice(0, i);
|
|
2527
|
+
break;
|
|
2528
|
+
}
|
|
2529
|
+
}
|
|
2530
|
+
if (host.startsWith("www.")) host = host.slice(4);
|
|
2531
|
+
const colonAt = host.lastIndexOf(":");
|
|
2532
|
+
if (colonAt !== -1 && /^[0-9]{1,5}$/.test(host.slice(colonAt + 1))) {
|
|
2533
|
+
host = host.slice(0, colonAt);
|
|
2534
|
+
}
|
|
2535
|
+
host = stripTrailingDots(host);
|
|
2536
|
+
if (!host || host.length > MAX_DOMAIN_LEN) return false;
|
|
2537
|
+
const labels = host.split(".");
|
|
2538
|
+
if (labels.length < 2) return false;
|
|
2539
|
+
const tld = labels[labels.length - 1];
|
|
2540
|
+
if (tld === void 0 || !TLD.test(tld)) return false;
|
|
2541
|
+
for (let i = 0; i < labels.length - 1; i += 1) {
|
|
2542
|
+
if (!LABEL.test(labels[i])) return false;
|
|
2543
|
+
}
|
|
2544
|
+
return true;
|
|
2545
|
+
}
|
|
2546
|
+
|
|
2507
2547
|
// src/logic/entity-disambiguation.ts
|
|
2508
2548
|
function entityDisambiguationLabel(fields) {
|
|
2509
2549
|
const parts = [];
|
|
@@ -2627,6 +2667,17 @@ var EntitySelectResponseSchema = z.object({
|
|
|
2627
2667
|
var EntityImportSearchResponseSchema = z.object({
|
|
2628
2668
|
results: z.array(EntitySearchResultSchema)
|
|
2629
2669
|
});
|
|
2670
|
+
var EntityResolveDomainRequestSchema = z.object({
|
|
2671
|
+
domain: z.string().min(1).max(253)
|
|
2672
|
+
});
|
|
2673
|
+
var EntityResolveDomainResponseSchema = z.object({
|
|
2674
|
+
results: z.array(EntitySearchResultSchema),
|
|
2675
|
+
canMint: z.boolean()
|
|
2676
|
+
});
|
|
2677
|
+
var EntityMintDomainResponseSchema = z.object({
|
|
2678
|
+
result: EntitySearchResultSchema,
|
|
2679
|
+
pending: z.boolean()
|
|
2680
|
+
});
|
|
2630
2681
|
var EndorsementRecordSchema = z.object({
|
|
2631
2682
|
subject: didSchema,
|
|
2632
2683
|
skill: strongRefSchema,
|
|
@@ -2912,8 +2963,8 @@ var ProfileVolunteeringRecordSchema = z.object({
|
|
|
2912
2963
|
});
|
|
2913
2964
|
|
|
2914
2965
|
// src/index.ts
|
|
2915
|
-
var SIFA_SDK_VERSION = "0.11.
|
|
2966
|
+
var SIFA_SDK_VERSION = "0.11.24";
|
|
2916
2967
|
|
|
2917
|
-
export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, AtmosphereFeedItemSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, SifaFeedItemSchema, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, externalRecordRefSchema, findIndustry, formatCompanyName, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, hasAdultContent, isAppCategory, isCompanyRequired, isKnownAppId, isKnownPlatform, isLinked, isPseudoEmployer, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, relativeLuminance, resolveCardHealth, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, sortByDateDesc, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, truncateGraphemes, uriSchema };
|
|
2968
|
+
export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, AtmosphereFeedItemSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, 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, MIN_SKILLS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, SifaFeedItemSchema, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, externalRecordRefSchema, findIndustry, formatCompanyName, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, hasAdultContent, isAppCategory, isCompanyRequired, isKnownAppId, isKnownPlatform, isLinked, isPseudoEmployer, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, profileToDimensionInputs, relativeLuminance, resolveCardHealth, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, sortByDateDesc, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, truncateGraphemes, uriSchema };
|
|
2918
2969
|
//# sourceMappingURL=index.js.map
|
|
2919
2970
|
//# sourceMappingURL=index.js.map
|