@singi-labs/sifa-sdk 0.19.73 → 0.19.75

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 (50) hide show
  1. package/dist/index.cjs +63 -1
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +3 -3
  4. package/dist/index.d.ts +3 -3
  5. package/dist/index.js +25 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/logic/index.js +26 -0
  8. package/dist/logic/index.js.map +1 -1
  9. package/dist/logic/site-activity-preset.js +68 -0
  10. package/dist/logic/site-activity-preset.js.map +1 -0
  11. package/dist/{network-map-D-VXi2yc.d.ts → network-map-73EK_ow8.d.ts} +4 -2
  12. package/dist/{network-map-DfXwB2Eq.d.cts → network-map-DPt0o-vA.d.cts} +4 -2
  13. package/dist/{org-A9Tz-Uv9.d.cts → org-Bb1cRhJu.d.cts} +63 -3
  14. package/dist/{org-Spq8yU-B.d.ts → org-aUopODEW.d.ts} +63 -3
  15. package/dist/{profile-summary-6GySSJvO.d.ts → profile-summary-8TYJWh1y.d.ts} +1 -1
  16. package/dist/{profile-summary-X4MGExfS.d.cts → profile-summary-CaPVQo_x.d.cts} +1 -1
  17. package/dist/query/fetchers/activity-preferences.js +43 -0
  18. package/dist/query/fetchers/activity-preferences.js.map +1 -0
  19. package/dist/query/fetchers/activity.js +3 -0
  20. package/dist/query/fetchers/activity.js.map +1 -1
  21. package/dist/query/fetchers/index.cjs +48 -1
  22. package/dist/query/fetchers/index.cjs.map +1 -1
  23. package/dist/query/fetchers/index.d.cts +5 -5
  24. package/dist/query/fetchers/index.d.ts +5 -5
  25. package/dist/query/fetchers/index.js +8 -0
  26. package/dist/query/fetchers/index.js.map +1 -1
  27. package/dist/query/fetchers/rpg.js +5 -0
  28. package/dist/query/fetchers/rpg.js.map +1 -1
  29. package/dist/query/hooks/index.cjs +76 -1
  30. package/dist/query/hooks/index.cjs.map +1 -1
  31. package/dist/query/hooks/index.d.cts +3 -3
  32. package/dist/query/hooks/index.d.ts +3 -3
  33. package/dist/query/hooks/index.js +8 -0
  34. package/dist/query/hooks/index.js.map +1 -1
  35. package/dist/query/hooks/use-activity-preferences.js +53 -0
  36. package/dist/query/hooks/use-activity-preferences.js.map +1 -0
  37. package/dist/query/hooks/use-activity.js.map +1 -1
  38. package/dist/query/index.cjs +82 -1
  39. package/dist/query/index.cjs.map +1 -1
  40. package/dist/query/index.d.cts +8 -8
  41. package/dist/query/index.d.ts +8 -8
  42. package/dist/query/index.js +16 -0
  43. package/dist/query/index.js.map +1 -1
  44. package/dist/query/keys.js +4 -1
  45. package/dist/query/keys.js.map +1 -1
  46. package/dist/{types-DXep6553.d.cts → types-BY3qFPDf.d.cts} +67 -1
  47. package/dist/{types-DxMMqOJo.d.ts → types-Dl-uk0Ds.d.ts} +67 -1
  48. package/dist/{use-org-notification-emails-CfDfHwBl.d.ts → use-org-notification-emails-ObFoUWP3.d.ts} +11 -4
  49. package/dist/{use-org-notification-emails-5V3ZAlRd.d.cts → use-org-notification-emails-u0AQu9Ez.d.cts} +11 -4
  50. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement, R as RelatedIdentifier } from './index-BzkaABDb.cjs';
2
2
  export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PositionConfirmations, x as PositionOrgVerification, y as PositionViewerConfirmation, z as PresentationLinkView, B as ProfileCourse, D as ProfileIndustry, G as ProfileInvestment, H as ProfileInvestmentLink, I as ProfileInvolvementLink, J as ProfileLocation, K as ProfileOverrideSource, M as ProfilePresentation, N as ProfileVolunteering, Q as ProjectEventView, S as ProjectMemberCard, T as ProjectRole, U as PublicationContributor, V as RecognizedEntity, W as SkillRef, X as SkillSuggestion, Y as TrustStat, Z as VerifiedAccount } from './index-BzkaABDb.cjs';
3
- import { S as SearchFilters } from './types-DXep6553.cjs';
4
- export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, z as SIFA_REPO_GROUPS, B as SkillView, V as VolunteeringView, F as describeSifaRecord, G as hasAdultContent, J as repoGroupForCollection } from './types-DXep6553.cjs';
3
+ import { S as SearchFilters } from './types-BY3qFPDf.cjs';
4
+ export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EMPTY_SITE_ACTIVITY_PRESET, h as EducationView, i as ExternalAccountView, H as HonorView, I as IndustryDomain, j as InvolvementLinkView, k as InvolvementView, L as LanguageView, P as PositionView, l as PresentationDeliveryView, m as PresentationView, n as ProfileLocationView, o as ProfileView, p as ProjectMemberView, q as ProjectView, r as PublicationView, R as RepoCollectionGroup, s as RepoDeleteOutcome, t as RepoDeleteRecordResult, u as RepoDeleteResult, v as RepoGroupDefinition, w as RepoGroupId, x as RepoInventory, y as RepoRecordLabel, z as RepoRecordSummary, B as SIFA_REPO_GROUPS, F as SITE_PRESET_MAX_TAGS, G as SITE_PRESET_MAX_TAG_LENGTH, J as SITE_PRESET_TAG_CATEGORY, K as SiteActivityPreset, M as SkillView, V as VolunteeringView, N as describeSifaRecord, O as hasAdultContent, Q as isSiteActivityPresetActive, T as matchesSiteActivityPreset, U as matchesSitePresetTags, W as normalizeSitePresetTag, X as parseSitePresetTags, Y as recordTags, Z as repoGroupForCollection, _ as siteActivityPresetSchema, $ as siteActivityPresetUpdateSchema } from './types-BY3qFPDf.cjs';
5
5
  import { A as AgentRef } from './verification-providers-7il3kPQS.cjs';
6
6
  export { a as AccountVerification, V as VERIFICATION_PROVIDERS, b as VerificationProvider, c as VerificationProviderId, d as VerificationSource, e as agentRefSchema, f as atUriSchema, g as cidSchema, h as datetimeSchema, i as didSchema, j as externalRecordRefSchema, k as getVerificationProvider, l as isKnownVerificationProvider, m as languageTagSchema, n as maxGraphemes, p as partialDateSchema, o as primaryVerification, r as resolveVerifierProvider, s as selfLabelsSchema, q as skillRefSchema, t as strongRefSchema, u as uriSchema } from './verification-providers-7il3kPQS.cjs';
7
7
  import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, O as OrgProfileRecord } from './profile-investment-Cn5b--EG.cjs';
8
8
  export { A as ArtifactLink, c as ArtifactLinkSchema, d as AtmosphereFeedItem, e as AtmosphereFeedItemSchema, B as BlobRef, f as BlobRefSchema, E as EMPLOYMENT_STATUS_TOKENS, g as EmploymentVerificationRecord, h as EmploymentVerificationRecordSchema, i as EmploymentVerificationResolution, j as EndorsementConfirmationRecord, k as EndorsementConfirmationRecordSchema, l as EndorsementRecord, m as EndorsementRecordSchema, F as FeedActor, n as FeedActorSchema, o as FeedCursor, p as FollowFeedItem, q as FollowFeedItemSchema, r as FollowFeedPage, s as FollowFeedPageSchema, G as GraphFollowRecord, t as GraphFollowRecordSchema, I as InvestmentAmountSchema, u as OrgEmploymentAttestationRecord, v as OrgEmploymentAttestationRecordSchema, w as OrgProfileRecordSchema, x as PROFILE_INVESTMENT_NSID, y as PROFILE_INVOLVEMENT_NSID, z as PresentationDurationSchema, C as PresentationLink, D as PresentationLinkSchema, H as ProfileCertificationRecord, J as ProfileCertificationRecordSchema, K as ProfileCourseRecord, L as ProfileCourseRecordSchema, M as ProfileEducationRecord, N as ProfileEducationRecordSchema, Q as ProfileExternalAccountRecord, R as ProfileExternalAccountRecordSchema, S as ProfileHonorRecord, T as ProfileHonorRecordSchema, U as ProfileInvestmentRecordSchema, V as ProfileInvolvementRecord, W as ProfileInvolvementRecordSchema, X as ProfileLanguageRecord, Y as ProfileLanguageRecordSchema, Z as ProfilePositionRecord, _ as ProfilePositionRecordSchema, $ as ProfilePresentationDeliveryRecordSchema, a0 as ProfilePresentationRecordSchema, a1 as ProfileProjectRecord, a2 as ProfileProjectRecordSchema, a3 as ProfilePublicationRecord, a4 as ProfilePublicationRecordSchema, a5 as ProfileSelfRecord, a6 as ProfileSelfRecordSchema, a7 as ProfileSkillRecord, a8 as ProfileSkillRecordSchema, a9 as ProfileVolunteeringRecord, aa as ProfileVolunteeringRecordSchema, ab as PublicationAuthor, ac as PublicationAuthorSchema, ad as RelatedIdentifierSchema, ae as ResolveEmploymentVerificationOptions, af as SifaFeedItem, ag as SifaFeedItemSchema, ah as VERIFICATION_METHOD_TOKENS, ai as decodeFeedCursor, aj as encodeFeedCursor, ak as makeGraphFollowRecordSchema, al as resolveEmploymentVerification } from './profile-investment-Cn5b--EG.cjs';
9
9
  import { z } from 'zod';
10
- export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-X4MGExfS.cjs';
10
+ export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-CaPVQo_x.cjs';
11
11
  import { E as EntitySearchResult } from './follow-profile-CQ3DTTak.cjs';
12
12
  export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-CQ3DTTak.cjs';
13
13
 
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement, R as RelatedIdentifier } from './index-BFdNI6jA.js';
2
2
  export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PositionConfirmations, x as PositionOrgVerification, y as PositionViewerConfirmation, z as PresentationLinkView, B as ProfileCourse, D as ProfileIndustry, G as ProfileInvestment, H as ProfileInvestmentLink, I as ProfileInvolvementLink, J as ProfileLocation, K as ProfileOverrideSource, M as ProfilePresentation, N as ProfileVolunteering, Q as ProjectEventView, S as ProjectMemberCard, T as ProjectRole, U as PublicationContributor, V as RecognizedEntity, W as SkillRef, X as SkillSuggestion, Y as TrustStat, Z as VerifiedAccount } from './index-BFdNI6jA.js';
3
- import { S as SearchFilters } from './types-DxMMqOJo.js';
4
- export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, z as SIFA_REPO_GROUPS, B as SkillView, V as VolunteeringView, F as describeSifaRecord, G as hasAdultContent, J as repoGroupForCollection } from './types-DxMMqOJo.js';
3
+ import { S as SearchFilters } from './types-Dl-uk0Ds.js';
4
+ export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EMPTY_SITE_ACTIVITY_PRESET, h as EducationView, i as ExternalAccountView, H as HonorView, I as IndustryDomain, j as InvolvementLinkView, k as InvolvementView, L as LanguageView, P as PositionView, l as PresentationDeliveryView, m as PresentationView, n as ProfileLocationView, o as ProfileView, p as ProjectMemberView, q as ProjectView, r as PublicationView, R as RepoCollectionGroup, s as RepoDeleteOutcome, t as RepoDeleteRecordResult, u as RepoDeleteResult, v as RepoGroupDefinition, w as RepoGroupId, x as RepoInventory, y as RepoRecordLabel, z as RepoRecordSummary, B as SIFA_REPO_GROUPS, F as SITE_PRESET_MAX_TAGS, G as SITE_PRESET_MAX_TAG_LENGTH, J as SITE_PRESET_TAG_CATEGORY, K as SiteActivityPreset, M as SkillView, V as VolunteeringView, N as describeSifaRecord, O as hasAdultContent, Q as isSiteActivityPresetActive, T as matchesSiteActivityPreset, U as matchesSitePresetTags, W as normalizeSitePresetTag, X as parseSitePresetTags, Y as recordTags, Z as repoGroupForCollection, _ as siteActivityPresetSchema, $ as siteActivityPresetUpdateSchema } from './types-Dl-uk0Ds.js';
5
5
  import { A as AgentRef } from './verification-providers-7il3kPQS.js';
6
6
  export { a as AccountVerification, V as VERIFICATION_PROVIDERS, b as VerificationProvider, c as VerificationProviderId, d as VerificationSource, e as agentRefSchema, f as atUriSchema, g as cidSchema, h as datetimeSchema, i as didSchema, j as externalRecordRefSchema, k as getVerificationProvider, l as isKnownVerificationProvider, m as languageTagSchema, n as maxGraphemes, p as partialDateSchema, o as primaryVerification, r as resolveVerifierProvider, s as selfLabelsSchema, q as skillRefSchema, t as strongRefSchema, u as uriSchema } from './verification-providers-7il3kPQS.js';
7
7
  import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, O as OrgProfileRecord } from './profile-investment-Cn5b--EG.js';
8
8
  export { A as ArtifactLink, c as ArtifactLinkSchema, d as AtmosphereFeedItem, e as AtmosphereFeedItemSchema, B as BlobRef, f as BlobRefSchema, E as EMPLOYMENT_STATUS_TOKENS, g as EmploymentVerificationRecord, h as EmploymentVerificationRecordSchema, i as EmploymentVerificationResolution, j as EndorsementConfirmationRecord, k as EndorsementConfirmationRecordSchema, l as EndorsementRecord, m as EndorsementRecordSchema, F as FeedActor, n as FeedActorSchema, o as FeedCursor, p as FollowFeedItem, q as FollowFeedItemSchema, r as FollowFeedPage, s as FollowFeedPageSchema, G as GraphFollowRecord, t as GraphFollowRecordSchema, I as InvestmentAmountSchema, u as OrgEmploymentAttestationRecord, v as OrgEmploymentAttestationRecordSchema, w as OrgProfileRecordSchema, x as PROFILE_INVESTMENT_NSID, y as PROFILE_INVOLVEMENT_NSID, z as PresentationDurationSchema, C as PresentationLink, D as PresentationLinkSchema, H as ProfileCertificationRecord, J as ProfileCertificationRecordSchema, K as ProfileCourseRecord, L as ProfileCourseRecordSchema, M as ProfileEducationRecord, N as ProfileEducationRecordSchema, Q as ProfileExternalAccountRecord, R as ProfileExternalAccountRecordSchema, S as ProfileHonorRecord, T as ProfileHonorRecordSchema, U as ProfileInvestmentRecordSchema, V as ProfileInvolvementRecord, W as ProfileInvolvementRecordSchema, X as ProfileLanguageRecord, Y as ProfileLanguageRecordSchema, Z as ProfilePositionRecord, _ as ProfilePositionRecordSchema, $ as ProfilePresentationDeliveryRecordSchema, a0 as ProfilePresentationRecordSchema, a1 as ProfileProjectRecord, a2 as ProfileProjectRecordSchema, a3 as ProfilePublicationRecord, a4 as ProfilePublicationRecordSchema, a5 as ProfileSelfRecord, a6 as ProfileSelfRecordSchema, a7 as ProfileSkillRecord, a8 as ProfileSkillRecordSchema, a9 as ProfileVolunteeringRecord, aa as ProfileVolunteeringRecordSchema, ab as PublicationAuthor, ac as PublicationAuthorSchema, ad as RelatedIdentifierSchema, ae as ResolveEmploymentVerificationOptions, af as SifaFeedItem, ag as SifaFeedItemSchema, ah as VERIFICATION_METHOD_TOKENS, ai as decodeFeedCursor, aj as encodeFeedCursor, ak as makeGraphFollowRecordSchema, al as resolveEmploymentVerification } from './profile-investment-Cn5b--EG.js';
9
9
  import { z } from 'zod';
10
- export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-6GySSJvO.js';
10
+ export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-8TYJWh1y.js';
11
11
  import { E as EntitySearchResult } from './follow-profile-ceqefXAw.js';
12
12
  export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-ceqefXAw.js';
13
13
 
package/dist/index.js CHANGED
@@ -250,6 +250,18 @@ import {
250
250
  SELF_APP_ID,
251
251
  excludeSelfApp,
252
252
  actorShowsIdentity,
253
+ EMPTY_SITE_ACTIVITY_PRESET,
254
+ SITE_PRESET_TAG_CATEGORY,
255
+ SITE_PRESET_MAX_TAGS,
256
+ SITE_PRESET_MAX_TAG_LENGTH,
257
+ normalizeSitePresetTag,
258
+ parseSitePresetTags,
259
+ isSiteActivityPresetActive,
260
+ recordTags,
261
+ matchesSitePresetTags,
262
+ matchesSiteActivityPreset,
263
+ siteActivityPresetSchema,
264
+ siteActivityPresetUpdateSchema,
253
265
  resolveAgentRef
254
266
  } from "./logic/index.js";
255
267
  import {
@@ -357,7 +369,7 @@ import {
357
369
  roadmapIssueUrl
358
370
  } from "./roadmap/index.js";
359
371
  import { SIFA_REPO_GROUPS, describeSifaRecord, repoGroupForCollection } from "./repo/index.js";
360
- var SIFA_SDK_VERSION = "0.19.73";
372
+ var SIFA_SDK_VERSION = "0.19.75";
361
373
  export {
362
374
  ACTIVITY_TIERS,
363
375
  ACTIVITY_VERBS,
@@ -395,6 +407,7 @@ export {
395
407
  EMPLOYMENT_STATUS_TOKENS,
396
408
  EMPLOYMENT_TYPE_GROUPS,
397
409
  EMPLOYMENT_TYPE_LABELS,
410
+ EMPTY_SITE_ACTIVITY_PRESET,
398
411
  ENTITY_REF_ANCHORS,
399
412
  EQF_LEVEL_LABELS,
400
413
  EQF_LEVEL_OPTIONS,
@@ -480,6 +493,9 @@ export {
480
493
  SELF_APP_ID,
481
494
  SIFA_REPO_GROUPS,
482
495
  SIFA_SDK_VERSION,
496
+ SITE_PRESET_MAX_TAGS,
497
+ SITE_PRESET_MAX_TAG_LENGTH,
498
+ SITE_PRESET_TAG_CATEGORY,
483
499
  SKILL_CATEGORIES,
484
500
  STANDARD_PUBLISHER_ID,
485
501
  STREAM_VERBS,
@@ -599,6 +615,7 @@ export {
599
615
  isRoleLineRedundant,
600
616
  isSectionPopulated,
601
617
  isSelfAuthoredRich,
618
+ isSiteActivityPresetActive,
602
619
  isTeachingCourse,
603
620
  isUpcomingStart,
604
621
  isValidRgbColor,
@@ -609,6 +626,8 @@ export {
609
626
  locationSegments,
610
627
  looksLikeDomain,
611
628
  makeGraphFollowRecordSchema,
629
+ matchesSiteActivityPreset,
630
+ matchesSitePresetTags,
612
631
  maxGraphemes,
613
632
  meetsContrastAA,
614
633
  normalizeCompanyKey,
@@ -618,6 +637,7 @@ export {
618
637
  normalizePlatformId,
619
638
  normalizePresentationMode,
620
639
  normalizePresentationRole,
640
+ normalizeSitePresetTag,
621
641
  normalizeSkillCategory,
622
642
  normalizeWorkplaceTypes,
623
643
  openToTokenToValue,
@@ -626,6 +646,7 @@ export {
626
646
  parseIntendedAudiences,
627
647
  parseLocationString,
628
648
  parsePresentationDuration,
649
+ parseSitePresetTags,
629
650
  parseTalkRkey,
630
651
  partialDateSchema,
631
652
  pdsProviderFromApi,
@@ -637,6 +658,7 @@ export {
637
658
  profileToDimensionInputs,
638
659
  qualifiesAsOrg,
639
660
  readEqfLevel,
661
+ recordTags,
640
662
  relativeLuminance,
641
663
  renderAsLine,
642
664
  rendersCompanyProfile,
@@ -657,6 +679,8 @@ export {
657
679
  selfLabelsSchema,
658
680
  shouldRenderHighlights,
659
681
  singleDateExtractor,
682
+ siteActivityPresetSchema,
683
+ siteActivityPresetUpdateSchema,
660
684
  skillRefSchema,
661
685
  slugifyTitle,
662
686
  sortByActiveDateRange,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * Sifa SDK -- public client library for the Sifa AppView on AT Protocol.\n *\n * Pre-1.0: the public API is unstable and may change in any minor release.\n *\n * @see https://github.com/singi-labs/sifa-sdk\n */\n\ndeclare const __SIFA_SDK_VERSION__: string;\n\nexport const SIFA_SDK_VERSION: string = __SIFA_SDK_VERSION__;\n\nexport type {\n ActiveApp,\n Endorsement,\n EndorsementData,\n ExternalAccount,\n ExternalAccountKeytraceClaim,\n FeedItem,\n LanguageProficiency,\n LocationValue,\n OrgAddressView,\n OrgFloorVerdict,\n OrgLinkView,\n OrgProfileView,\n RecognizedEntity,\n PdsProviderInfo,\n PresentationLinkView,\n Profile,\n ProfileCertification,\n ProfileCourse,\n ProfileEducation,\n ProfileHonor,\n ProfileIndustry,\n ProfileInvestment,\n ProfileInvestmentLink,\n ProfileInvolvement,\n ProfileInvolvementLink,\n ProfileLanguage,\n ProfileLocation,\n ProfileOverrideSource,\n ProfilePosition,\n PositionConfirmations,\n PositionViewerConfirmation,\n PositionOrgVerification,\n ProfilePresentation,\n CoSpeaker,\n ActorCard,\n AuthorSuggestion,\n ProjectMemberCard,\n ProjectRole,\n ProfilePresentationDelivery,\n ProfileProject,\n ProjectEventView,\n ProfilePublication,\n ProfileSkill,\n ProfileVolunteering,\n PublicationContributor,\n RelatedIdentifier,\n SkillRef,\n SkillSuggestion,\n TrustStat,\n VerifiedAccount,\n AccountFacetMode,\n} from './types/index.js';\n\n// Aggregated public profile view (`id.sifa.getProfileView` XRPC query).\nexport type {\n ProfileView,\n IndustryDomain,\n ProfileLocationView,\n PositionView,\n EducationView,\n SkillView,\n CertificationView,\n ProjectView,\n VolunteeringView,\n InvolvementView,\n InvolvementLinkView,\n PublicationView,\n ContributorView,\n CourseView,\n DurationView,\n CoSpeakerView,\n ProjectMemberView,\n PresentationDeliveryView,\n PresentationView,\n HonorView,\n LanguageView,\n ExternalAccountView,\n ActiveAppView,\n AtfundLinkView,\n} from './types/profile-view.js';\n\nexport { PROJECT_ROLES } from './types/index.js';\n\nexport {\n ACTIVITY_TIERS,\n APP_CATEGORIES,\n APP_CATEGORY_IDS,\n APP_CATEGORY_MAP,\n CATEGORY_LABELS,\n normalizeSkillCategory,\n CATEGORY_ORDER,\n CONTINENTS,\n COMPANY_OPTIONAL_EMPLOYMENT_TYPES,\n COUNTRIES,\n CALENDAR_EVENT_MODE_LABELS,\n CALENDAR_EVENT_STATUS_LABELS,\n PRESENTATION_LINK_TYPE_LABELS,\n PRESENTATION_LINK_TYPE_OPTIONS,\n PRESENTATION_ROLE_LABELS,\n PRESENTATION_ROLE_OPTIONS,\n PUBLICATION_TYPE_LABELS,\n PUBLICATION_TYPE_OPTIONS,\n EMPLOYMENT_TYPE_GROUPS,\n INVESTMENT_ROLE_OPTIONS,\n INVESTMENT_ROLE_LABELS,\n INVESTMENT_STAGE_OPTIONS,\n INVESTMENT_STAGE_LABELS,\n INVESTMENT_STATUS_OPTIONS,\n INVESTMENT_STATUS_LABELS,\n ON_BEHALF_OF_EMPLOYMENT_TYPES,\n EMPLOYMENT_TYPE_LABELS,\n INDUSTRY_OPTIONS,\n INDUSTRY_LABELS,\n getIndustryLabel,\n SEARCH_FILTER_DEFS,\n OPEN_TO_OPTIONS,\n OPEN_TO_TOKEN_LABELS,\n OPEN_TO_GROUP_LABELS,\n OPEN_TO_TOKENS,\n OPEN_TO_TOKEN_TO_VALUE,\n OPEN_TO_VALUE_TO_TOKEN,\n categoryForApp,\n findIndustry,\n getActivityTaxonomyVersion,\n getActivityTier,\n isRelationalActivity,\n getCalendarEventModeLabel,\n getCalendarEventStatusLabel,\n getPresentationLinkTypeLabel,\n getPresentationRoleLabel,\n getPublicationTypeLabel,\n getAppCategoryIcon,\n getEmploymentTypeLabel,\n isCompanyRequired,\n getInvestmentRoleLabel,\n getInvestmentStageLabel,\n getInvestmentStatusLabel,\n isOnBehalfOfApplicable,\n getIndustryLabelKey,\n getLexiconEntry,\n getOpenToLabelKey,\n normalizeOpenTo,\n openToTokenToValue,\n openToValueToToken,\n getTierMeta,\n getWorkplaceTypeLabel,\n normalizeWorkplaceTypes,\n isAppCategory,\n isKnownAppId,\n PLATFORM_LABELS,\n PLATFORM_OPTIONS,\n SKILL_CATEGORIES,\n WORKPLACE_TYPE_LABELS,\n WORKPLACE_TYPE_OPTIONS,\n dedupeSkills,\n getContinent,\n getFaviconUrl,\n getPlatformLabel,\n groupSkillsByCategory,\n groupSkillsBySubCategory,\n groupSkillsForDisplay,\n isKnownPlatform,\n normalizePlatformId,\n type ActivityTaxonomy,\n type ActivityTier,\n type AppCategoryId,\n type ContinentCode,\n type EmploymentTypeGroup,\n type EmploymentTypeOption,\n type InvestmentOption,\n type IndustryOption,\n type KnownAppId,\n type LexiconEntry,\n type MergedProfileSkill,\n type PresentationLinkTypeOption,\n type PresentationRoleOption,\n type PublicationTypeOption,\n INVOLVEMENT_KIND_OPTIONS,\n INVOLVEMENT_KIND_LABELS,\n INVOLVEMENT_KIND_HEADINGS,\n getInvolvementKindHeading,\n getInvolvementKindLabel,\n COURSE_ROLE_OPTIONS,\n COURSE_ROLE_LABELS,\n COURSE_ROLE_TAKEN,\n COURSE_ROLE_TAUGHT,\n COURSE_ROLE_TEACHING_ASSISTANT,\n getCourseRoleLabel,\n isTeachingCourse,\n splitCoursesByRole,\n type CourseRoleOption,\n EQF_LEVEL_LABELS,\n EQF_LEVEL_OPTIONS,\n getEducationLevelDisplay,\n getEqfLevelLabel,\n readEqfLevel,\n suggestEqfLevelFromDegree,\n type EqfLevel,\n type EqfLevelOption,\n ARTIFACT_LINK_KIND_OPTIONS,\n ARTIFACT_LINK_KIND_LABELS,\n getArtifactLinkKindLabel,\n VERIFICATION_PROVIDERS,\n getVerificationProvider,\n isKnownVerificationProvider,\n resolveVerifierProvider,\n primaryVerification,\n type AccountVerification,\n type VerificationProvider,\n type VerificationProviderId,\n type VerificationSource,\n type InvolvementKindOption,\n type ArtifactLinkKindOption,\n type OpenToGroup,\n type OpenToOption,\n type PlatformId,\n type SearchFilterControl,\n type SearchFilterDef,\n type SearchFilterOptionSource,\n type SkillCategory,\n type TierMeta,\n type WorkplaceTypeOption,\n} from './taxonomy/index.js';\n\nexport {\n certDateExtractor,\n contrastRatio,\n countryCodeToFlag,\n dateRangeExtractor,\n detectPdsProvider,\n formatCompanyName,\n formatCredentialDateRange,\n formatDateRange,\n formatPositionDateRange,\n formatDisplayUrl,\n formatDistanceToNow,\n formatIsoTitle,\n formatLocation,\n formatPresentationDuration,\n formatRelativeTime,\n formatTimelineDate,\n getDisplayLabel,\n getHandleStem,\n getPdsDisplayName,\n isValidRgbColor,\n lexiconDateExtractor,\n limitCombiningMarks,\n locationSegments,\n meetsContrastAA,\n normalizeCompanyKey,\n normalizeLegalForm,\n parseLocationString,\n parseTalkRkey,\n pdsProviderFromApi,\n relativeLuminance,\n resolveEmbed,\n youtubeVideoId,\n youtubeThumbnailUrl,\n rgbToString,\n sanitizeDisplayText,\n normalizeDoi,\n formatRelationship,\n parseEndorsementComment,\n sanitizeHandleInput,\n singleDateExtractor,\n slugifyTitle,\n buildMetaDescription,\n buildTalkSlug,\n sortByDateDesc,\n summarizePresentationDeliveries,\n truncateGraphemes,\n collapseContributors,\n type CollapseContributorsOptions,\n type CollapsedContributors,\n type EmbedResult,\n type ParsedEndorsementComment,\n type PdsProvider,\n type PresentationDeliverySummary,\n type RgbColor,\n} from './format/index.js';\n\nexport {\n parsePresentationDuration,\n durationFromMinutes,\n parseIntendedAudiences,\n stripHtmlToText,\n normalizePresentationRole,\n normalizePresentationMode,\n presentationCsvRowToRecord,\n presentationDeliveryCsvRowToRecord,\n type CsvRow,\n type ParsedPresentation,\n type ParsedDelivery,\n} from './import/index.js';\n\nexport {\n ACTIVITY_VISIBILITY_RULES,\n ADULT_CONTENT_LABELS,\n APP_URL_PATTERNS,\n COLLECTION_TO_APP,\n getAppIdForCollection,\n hasAdultContent,\n isVisibleActivityItem,\n resolveCardHealth,\n resolveCardUrl,\n type ActivityItemForUrl,\n type ActivityLabel,\n type AdultContentLabel,\n type AppUrlPatterns,\n type CardHealth,\n type CardHealthStrategy,\n} from './cards/index.js';\n\nexport {\n PUBLISHERS,\n STANDARD_PUBLISHER_ID,\n getPublisherById,\n getPublisherByHost,\n getPublisherFromSiteUrl,\n type Publisher,\n} from './publishers/index.js';\n\n// Shared activity-stream view-model: the normalized, framework-free feed both\n// sifa-web (React cards) and page.sifa.id (string-HTML renderer) consume.\nexport {\n ACTIVITY_VERBS,\n STREAM_VERBS,\n getActivityVerbsVersion,\n streamVerbSchema,\n verbForCollection,\n streamAddressSchema,\n streamAuthorSchema,\n streamCardBodySchema,\n streamCardSubjectSchema,\n streamCardVMSchema,\n streamExternalLinkSchema,\n streamGeoSchema,\n streamMediaSchema,\n streamRichSegmentSchema,\n streamSourceSchema,\n streamThemeSchema,\n isSelfAuthoredRich,\n renderAsLine,\n streamCardBodyContent,\n streamCardContent,\n streamCardSubjectText,\n toStreamCardVM,\n toStreamCardVMs,\n type ActivityItem,\n type StreamCardContent,\n type ActivityVerbMap,\n type StreamAddress,\n type StreamAuthor,\n type StreamCardBody,\n type StreamCardSubject,\n type StreamCardVM,\n type StreamExternalLink,\n type StreamGeo,\n type StreamMedia,\n type StreamMediaBase,\n type StreamMediaBlob,\n type StreamMediaResolved,\n type StreamRichSegment,\n type StreamSource,\n type StreamTheme,\n type StreamVerb,\n type ToStreamCardVMOptions,\n} from './stream/index.js';\n\nexport {\n COMPLETENESS_MAX_SCORE,\n completenessPercent,\n completenessScore,\n DIMENSIONS_MAX_SCORE,\n MIN_SKILLS,\n countFilledDimensions,\n dimensionsFromInputs,\n getFilledDimensionsMap,\n pickPrimaryPosition,\n DATE_LOOKAHEAD_MONTHS,\n isBeyondLookahead,\n isUpcomingStart,\n type DateLookaheadKind,\n pickPrimaryFlagged,\n summarizeProfileView,\n profileToDimensionInputs,\n isPseudoEmployer,\n looksLikeDomain,\n entityDisambiguationLabel,\n searchResultDisambiguation,\n entityResultKey,\n classifyEntityRef,\n isLinked,\n ENTITY_REF_ANCHORS,\n qualifiesAsOrg,\n isRegistrableDomainHandle,\n hasPersonalProfileContent,\n rendersPersonalProfile,\n rendersCompanyProfile,\n resolveAccountFacetMode,\n isCompanyPageIndexable,\n companyPageRichness,\n COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS,\n COMPANY_PAGE_MIN_DESCRIPTION_LENGTH,\n COMPANY_PAGE_ROSTER_MIN_MEMBERS,\n countRecentActivity,\n followingFeedFallbackApp,\n SELF_APP_ID,\n excludeSelfApp,\n actorShowsIdentity,\n type DailyActivityCount,\n type AppWithId,\n type DimensionKey,\n type DimensionMap,\n type PrimaryPositionCandidate,\n type PrimaryFlagCandidate,\n type ProfileSummary,\n type SummarizeProfileViewOptions,\n type ProfileCompletion,\n type ProfileDimensionInputs,\n type DisambiguationFields,\n type EntityRefAnchor,\n type CompanyFirmographics,\n type CompanyHqFacts,\n type PersonalFacetContent,\n resolveAgentRef,\n type AgentRefFlat,\n} from './logic/index.js';\n\n// Profile section model: which sections render, in what order, their nav\n// grouping, per-section sorts, and involvement grouping. Shared by the HTML\n// profile page, the Markdown/DOCX/print exports, and the personal-site renderer.\nexport {\n ALL_SECTIONS,\n INVOLVEMENT_HEADING_ORDER,\n SECTION_GROUPS,\n SECTION_LABELS,\n filterHidden,\n getVisibleSectionIds,\n groupInvolvementByHeading,\n groupPublicationVersions,\n type GroupPublicationVersionsOptions,\n type PublicationVersionGroup,\n type VersionablePublication,\n hoistPrimary,\n isRoleLineRedundant,\n isSectionPopulated,\n sortByActiveDateRange,\n sortCertifications,\n sortEducation,\n sortHonors,\n sortLanguages,\n sortLanguagesByProficiency,\n sortPositions,\n sortProjects,\n sortPublications,\n visibleItems,\n type InvolvementGroup,\n type SectionGroupId,\n type SectionId,\n} from './profile/index.js';\n\n// Profile \"Highlights\" block: selection + labeling of the one ongoing (or\n// most-recent) record per section. Shared by the sifa-web profile page and the\n// personal-site renderer so the two surfaces never diverge on what's featured.\nexport {\n buildProfileHighlights,\n shouldRenderHighlights,\n formatSpanDate,\n formatSingleDate,\n formatEventDate,\n type ProfileHighlightsInput,\n type ProfileHighlightSection,\n type ProfileHighlightStatus,\n type ProfileHighlightTile,\n type BuildProfileHighlightsOptions,\n} from './profile/index.js';\n\nexport {\n AtmosphereFeedItemSchema,\n BlobRefSchema,\n EndorsementConfirmationRecordSchema,\n EndorsementRecordSchema,\n OrgProfileRecordSchema,\n OrgEmploymentAttestationRecordSchema,\n EmploymentVerificationRecordSchema,\n EMPLOYMENT_STATUS_TOKENS,\n VERIFICATION_METHOD_TOKENS,\n resolveEmploymentVerification,\n EntitySearchResultSchema,\n EntitySearchResponseSchema,\n EntitySelectRequestSchema,\n EntitySelectResponseSchema,\n EntityImportSearchResponseSchema,\n EntityResolveDomainRequestSchema,\n EntityResolveDomainResponseSchema,\n EntityMintDomainResponseSchema,\n FEATURE_FLAGS,\n FeatureAllowlistEntrySchema,\n FeedActorSchema,\n FollowFeedItemSchema,\n FollowFeedPageSchema,\n FollowProfilePageSchema,\n FollowProfileSchema,\n GraphFollowRecordSchema,\n PresentationDurationSchema,\n PresentationLinkSchema,\n ProfileCertificationRecordSchema,\n ProfileCourseRecordSchema,\n ProfileEducationRecordSchema,\n ProfileExternalAccountRecordSchema,\n ProfileHonorRecordSchema,\n ProfileInvestmentRecordSchema,\n InvestmentAmountSchema,\n PROFILE_INVESTMENT_NSID,\n ProfileInvolvementRecordSchema,\n ArtifactLinkSchema,\n PROFILE_INVOLVEMENT_NSID,\n ProfileLanguageRecordSchema,\n ProfilePositionRecordSchema,\n ProfilePresentationDeliveryRecordSchema,\n ProfilePresentationRecordSchema,\n ProfileProjectRecordSchema,\n ProfilePublicationRecordSchema,\n RelatedIdentifierSchema,\n ProfileSelfRecordSchema,\n ProfileSkillRecordSchema,\n ProfileVolunteeringRecordSchema,\n PublicationAuthorSchema,\n SifaFeedItemSchema,\n atUriSchema,\n cidSchema,\n datetimeSchema,\n decodeFeedCursor,\n didSchema,\n encodeFeedCursor,\n externalRecordRefSchema,\n languageTagSchema,\n makeGraphFollowRecordSchema,\n maxGraphemes,\n partialDateSchema,\n selfLabelsSchema,\n skillRefSchema,\n strongRefSchema,\n uriSchema,\n type AtmosphereFeedItem,\n type BlobRef,\n type EndorsementConfirmationRecord,\n type EndorsementRecord,\n type OrgProfileRecord,\n type OrgEmploymentAttestationRecord,\n type EmploymentVerificationRecord,\n type EmploymentVerificationResolution,\n type ResolveEmploymentVerificationOptions,\n type EntitySearchResult,\n type EntitySearchResponse,\n type EntitySelectRequest,\n type EntitySelectResponse,\n type EntityImportSearchResponse,\n type EntityResolveDomainRequest,\n type EntityResolveDomainResponse,\n type EntityMintDomainResponse,\n type FeatureAllowlistEntry,\n type FeatureFlag,\n type FeedActor,\n type FeedCursor,\n type FollowFeedItem,\n type FollowFeedPage,\n type FollowProfileItem,\n type FollowProfilePage,\n type GraphFollowRecord,\n type SifaFeedItem,\n type ProfileCertificationRecord,\n type ProfileCourseRecord,\n type ProfileEducationRecord,\n type ProfileExternalAccountRecord,\n type ProfileHonorRecord,\n type ProfileInvolvementRecord,\n type ArtifactLink,\n type ProfileLanguageRecord,\n type PresentationDuration,\n type PresentationLink,\n type ProfilePositionRecord,\n type ProfilePresentationDeliveryRecord,\n type ProfilePresentationRecord,\n type ProfileProjectRecord,\n type ProfilePublicationRecord,\n type ProfileSelfRecord,\n type ProfileSkillRecord,\n type ProfileVolunteeringRecord,\n type PublicationAuthor,\n agentRefSchema,\n type AgentRef,\n} from './schemas/index.js';\n\nexport {\n ROADMAP_ITEM_META,\n ROADMAP_ISSUES_REPO,\n roadmapIssueUrl,\n type RoadmapItemMeta,\n} from './roadmap/index.js';\n\nexport type {\n LocationSegment,\n LocationSegmentKind,\n LocationSegmentsOptions,\n} from './format/index.js';\n\nexport type { DisplayUrl, FormatDisplayUrlOptions, UrlPathPolicy } from './format/index.js';\n\nexport { SIFA_REPO_GROUPS, describeSifaRecord, repoGroupForCollection } from './repo/index.js';\nexport type {\n RepoCollectionGroup,\n RepoDeleteOutcome,\n RepoDeleteRecordResult,\n RepoDeleteResult,\n RepoGroupDefinition,\n RepoGroupId,\n RepoInventory,\n RepoRecordLabel,\n RepoRecordSummary,\n} from './repo/index.js';\n"],"mappings":";AA8FA,SAAS,qBAAqB;AAE9B;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAeA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAgBK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAQK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAIP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAoBK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAgBA;AAAA,OAEK;AAKP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAIA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AAKP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAMK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EA+CA;AAAA,OAEK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAUP,SAAS,kBAAkB,oBAAoB,8BAA8B;AArmBtE,IAAM,mBAA2B;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * Sifa SDK -- public client library for the Sifa AppView on AT Protocol.\n *\n * Pre-1.0: the public API is unstable and may change in any minor release.\n *\n * @see https://github.com/singi-labs/sifa-sdk\n */\n\ndeclare const __SIFA_SDK_VERSION__: string;\n\nexport const SIFA_SDK_VERSION: string = __SIFA_SDK_VERSION__;\n\nexport type {\n ActiveApp,\n Endorsement,\n EndorsementData,\n ExternalAccount,\n ExternalAccountKeytraceClaim,\n FeedItem,\n LanguageProficiency,\n LocationValue,\n OrgAddressView,\n OrgFloorVerdict,\n OrgLinkView,\n OrgProfileView,\n RecognizedEntity,\n PdsProviderInfo,\n PresentationLinkView,\n Profile,\n ProfileCertification,\n ProfileCourse,\n ProfileEducation,\n ProfileHonor,\n ProfileIndustry,\n ProfileInvestment,\n ProfileInvestmentLink,\n ProfileInvolvement,\n ProfileInvolvementLink,\n ProfileLanguage,\n ProfileLocation,\n ProfileOverrideSource,\n ProfilePosition,\n PositionConfirmations,\n PositionViewerConfirmation,\n PositionOrgVerification,\n ProfilePresentation,\n CoSpeaker,\n ActorCard,\n AuthorSuggestion,\n ProjectMemberCard,\n ProjectRole,\n ProfilePresentationDelivery,\n ProfileProject,\n ProjectEventView,\n ProfilePublication,\n ProfileSkill,\n ProfileVolunteering,\n PublicationContributor,\n RelatedIdentifier,\n SkillRef,\n SkillSuggestion,\n TrustStat,\n VerifiedAccount,\n AccountFacetMode,\n} from './types/index.js';\n\n// Aggregated public profile view (`id.sifa.getProfileView` XRPC query).\nexport type {\n ProfileView,\n IndustryDomain,\n ProfileLocationView,\n PositionView,\n EducationView,\n SkillView,\n CertificationView,\n ProjectView,\n VolunteeringView,\n InvolvementView,\n InvolvementLinkView,\n PublicationView,\n ContributorView,\n CourseView,\n DurationView,\n CoSpeakerView,\n ProjectMemberView,\n PresentationDeliveryView,\n PresentationView,\n HonorView,\n LanguageView,\n ExternalAccountView,\n ActiveAppView,\n AtfundLinkView,\n} from './types/profile-view.js';\n\nexport { PROJECT_ROLES } from './types/index.js';\n\nexport {\n ACTIVITY_TIERS,\n APP_CATEGORIES,\n APP_CATEGORY_IDS,\n APP_CATEGORY_MAP,\n CATEGORY_LABELS,\n normalizeSkillCategory,\n CATEGORY_ORDER,\n CONTINENTS,\n COMPANY_OPTIONAL_EMPLOYMENT_TYPES,\n COUNTRIES,\n CALENDAR_EVENT_MODE_LABELS,\n CALENDAR_EVENT_STATUS_LABELS,\n PRESENTATION_LINK_TYPE_LABELS,\n PRESENTATION_LINK_TYPE_OPTIONS,\n PRESENTATION_ROLE_LABELS,\n PRESENTATION_ROLE_OPTIONS,\n PUBLICATION_TYPE_LABELS,\n PUBLICATION_TYPE_OPTIONS,\n EMPLOYMENT_TYPE_GROUPS,\n INVESTMENT_ROLE_OPTIONS,\n INVESTMENT_ROLE_LABELS,\n INVESTMENT_STAGE_OPTIONS,\n INVESTMENT_STAGE_LABELS,\n INVESTMENT_STATUS_OPTIONS,\n INVESTMENT_STATUS_LABELS,\n ON_BEHALF_OF_EMPLOYMENT_TYPES,\n EMPLOYMENT_TYPE_LABELS,\n INDUSTRY_OPTIONS,\n INDUSTRY_LABELS,\n getIndustryLabel,\n SEARCH_FILTER_DEFS,\n OPEN_TO_OPTIONS,\n OPEN_TO_TOKEN_LABELS,\n OPEN_TO_GROUP_LABELS,\n OPEN_TO_TOKENS,\n OPEN_TO_TOKEN_TO_VALUE,\n OPEN_TO_VALUE_TO_TOKEN,\n categoryForApp,\n findIndustry,\n getActivityTaxonomyVersion,\n getActivityTier,\n isRelationalActivity,\n getCalendarEventModeLabel,\n getCalendarEventStatusLabel,\n getPresentationLinkTypeLabel,\n getPresentationRoleLabel,\n getPublicationTypeLabel,\n getAppCategoryIcon,\n getEmploymentTypeLabel,\n isCompanyRequired,\n getInvestmentRoleLabel,\n getInvestmentStageLabel,\n getInvestmentStatusLabel,\n isOnBehalfOfApplicable,\n getIndustryLabelKey,\n getLexiconEntry,\n getOpenToLabelKey,\n normalizeOpenTo,\n openToTokenToValue,\n openToValueToToken,\n getTierMeta,\n getWorkplaceTypeLabel,\n normalizeWorkplaceTypes,\n isAppCategory,\n isKnownAppId,\n PLATFORM_LABELS,\n PLATFORM_OPTIONS,\n SKILL_CATEGORIES,\n WORKPLACE_TYPE_LABELS,\n WORKPLACE_TYPE_OPTIONS,\n dedupeSkills,\n getContinent,\n getFaviconUrl,\n getPlatformLabel,\n groupSkillsByCategory,\n groupSkillsBySubCategory,\n groupSkillsForDisplay,\n isKnownPlatform,\n normalizePlatformId,\n type ActivityTaxonomy,\n type ActivityTier,\n type AppCategoryId,\n type ContinentCode,\n type EmploymentTypeGroup,\n type EmploymentTypeOption,\n type InvestmentOption,\n type IndustryOption,\n type KnownAppId,\n type LexiconEntry,\n type MergedProfileSkill,\n type PresentationLinkTypeOption,\n type PresentationRoleOption,\n type PublicationTypeOption,\n INVOLVEMENT_KIND_OPTIONS,\n INVOLVEMENT_KIND_LABELS,\n INVOLVEMENT_KIND_HEADINGS,\n getInvolvementKindHeading,\n getInvolvementKindLabel,\n COURSE_ROLE_OPTIONS,\n COURSE_ROLE_LABELS,\n COURSE_ROLE_TAKEN,\n COURSE_ROLE_TAUGHT,\n COURSE_ROLE_TEACHING_ASSISTANT,\n getCourseRoleLabel,\n isTeachingCourse,\n splitCoursesByRole,\n type CourseRoleOption,\n EQF_LEVEL_LABELS,\n EQF_LEVEL_OPTIONS,\n getEducationLevelDisplay,\n getEqfLevelLabel,\n readEqfLevel,\n suggestEqfLevelFromDegree,\n type EqfLevel,\n type EqfLevelOption,\n ARTIFACT_LINK_KIND_OPTIONS,\n ARTIFACT_LINK_KIND_LABELS,\n getArtifactLinkKindLabel,\n VERIFICATION_PROVIDERS,\n getVerificationProvider,\n isKnownVerificationProvider,\n resolveVerifierProvider,\n primaryVerification,\n type AccountVerification,\n type VerificationProvider,\n type VerificationProviderId,\n type VerificationSource,\n type InvolvementKindOption,\n type ArtifactLinkKindOption,\n type OpenToGroup,\n type OpenToOption,\n type PlatformId,\n type SearchFilterControl,\n type SearchFilterDef,\n type SearchFilterOptionSource,\n type SkillCategory,\n type TierMeta,\n type WorkplaceTypeOption,\n} from './taxonomy/index.js';\n\nexport {\n certDateExtractor,\n contrastRatio,\n countryCodeToFlag,\n dateRangeExtractor,\n detectPdsProvider,\n formatCompanyName,\n formatCredentialDateRange,\n formatDateRange,\n formatPositionDateRange,\n formatDisplayUrl,\n formatDistanceToNow,\n formatIsoTitle,\n formatLocation,\n formatPresentationDuration,\n formatRelativeTime,\n formatTimelineDate,\n getDisplayLabel,\n getHandleStem,\n getPdsDisplayName,\n isValidRgbColor,\n lexiconDateExtractor,\n limitCombiningMarks,\n locationSegments,\n meetsContrastAA,\n normalizeCompanyKey,\n normalizeLegalForm,\n parseLocationString,\n parseTalkRkey,\n pdsProviderFromApi,\n relativeLuminance,\n resolveEmbed,\n youtubeVideoId,\n youtubeThumbnailUrl,\n rgbToString,\n sanitizeDisplayText,\n normalizeDoi,\n formatRelationship,\n parseEndorsementComment,\n sanitizeHandleInput,\n singleDateExtractor,\n slugifyTitle,\n buildMetaDescription,\n buildTalkSlug,\n sortByDateDesc,\n summarizePresentationDeliveries,\n truncateGraphemes,\n collapseContributors,\n type CollapseContributorsOptions,\n type CollapsedContributors,\n type EmbedResult,\n type ParsedEndorsementComment,\n type PdsProvider,\n type PresentationDeliverySummary,\n type RgbColor,\n} from './format/index.js';\n\nexport {\n parsePresentationDuration,\n durationFromMinutes,\n parseIntendedAudiences,\n stripHtmlToText,\n normalizePresentationRole,\n normalizePresentationMode,\n presentationCsvRowToRecord,\n presentationDeliveryCsvRowToRecord,\n type CsvRow,\n type ParsedPresentation,\n type ParsedDelivery,\n} from './import/index.js';\n\nexport {\n ACTIVITY_VISIBILITY_RULES,\n ADULT_CONTENT_LABELS,\n APP_URL_PATTERNS,\n COLLECTION_TO_APP,\n getAppIdForCollection,\n hasAdultContent,\n isVisibleActivityItem,\n resolveCardHealth,\n resolveCardUrl,\n type ActivityItemForUrl,\n type ActivityLabel,\n type AdultContentLabel,\n type AppUrlPatterns,\n type CardHealth,\n type CardHealthStrategy,\n} from './cards/index.js';\n\nexport {\n PUBLISHERS,\n STANDARD_PUBLISHER_ID,\n getPublisherById,\n getPublisherByHost,\n getPublisherFromSiteUrl,\n type Publisher,\n} from './publishers/index.js';\n\n// Shared activity-stream view-model: the normalized, framework-free feed both\n// sifa-web (React cards) and page.sifa.id (string-HTML renderer) consume.\nexport {\n ACTIVITY_VERBS,\n STREAM_VERBS,\n getActivityVerbsVersion,\n streamVerbSchema,\n verbForCollection,\n streamAddressSchema,\n streamAuthorSchema,\n streamCardBodySchema,\n streamCardSubjectSchema,\n streamCardVMSchema,\n streamExternalLinkSchema,\n streamGeoSchema,\n streamMediaSchema,\n streamRichSegmentSchema,\n streamSourceSchema,\n streamThemeSchema,\n isSelfAuthoredRich,\n renderAsLine,\n streamCardBodyContent,\n streamCardContent,\n streamCardSubjectText,\n toStreamCardVM,\n toStreamCardVMs,\n type ActivityItem,\n type StreamCardContent,\n type ActivityVerbMap,\n type StreamAddress,\n type StreamAuthor,\n type StreamCardBody,\n type StreamCardSubject,\n type StreamCardVM,\n type StreamExternalLink,\n type StreamGeo,\n type StreamMedia,\n type StreamMediaBase,\n type StreamMediaBlob,\n type StreamMediaResolved,\n type StreamRichSegment,\n type StreamSource,\n type StreamTheme,\n type StreamVerb,\n type ToStreamCardVMOptions,\n} from './stream/index.js';\n\nexport {\n COMPLETENESS_MAX_SCORE,\n completenessPercent,\n completenessScore,\n DIMENSIONS_MAX_SCORE,\n MIN_SKILLS,\n countFilledDimensions,\n dimensionsFromInputs,\n getFilledDimensionsMap,\n pickPrimaryPosition,\n DATE_LOOKAHEAD_MONTHS,\n isBeyondLookahead,\n isUpcomingStart,\n type DateLookaheadKind,\n pickPrimaryFlagged,\n summarizeProfileView,\n profileToDimensionInputs,\n isPseudoEmployer,\n looksLikeDomain,\n entityDisambiguationLabel,\n searchResultDisambiguation,\n entityResultKey,\n classifyEntityRef,\n isLinked,\n ENTITY_REF_ANCHORS,\n qualifiesAsOrg,\n isRegistrableDomainHandle,\n hasPersonalProfileContent,\n rendersPersonalProfile,\n rendersCompanyProfile,\n resolveAccountFacetMode,\n isCompanyPageIndexable,\n companyPageRichness,\n COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS,\n COMPANY_PAGE_MIN_DESCRIPTION_LENGTH,\n COMPANY_PAGE_ROSTER_MIN_MEMBERS,\n countRecentActivity,\n followingFeedFallbackApp,\n SELF_APP_ID,\n excludeSelfApp,\n actorShowsIdentity,\n EMPTY_SITE_ACTIVITY_PRESET,\n SITE_PRESET_TAG_CATEGORY,\n SITE_PRESET_MAX_TAGS,\n SITE_PRESET_MAX_TAG_LENGTH,\n normalizeSitePresetTag,\n parseSitePresetTags,\n isSiteActivityPresetActive,\n recordTags,\n matchesSitePresetTags,\n matchesSiteActivityPreset,\n siteActivityPresetSchema,\n siteActivityPresetUpdateSchema,\n type SiteActivityPreset,\n type DailyActivityCount,\n type AppWithId,\n type DimensionKey,\n type DimensionMap,\n type PrimaryPositionCandidate,\n type PrimaryFlagCandidate,\n type ProfileSummary,\n type SummarizeProfileViewOptions,\n type ProfileCompletion,\n type ProfileDimensionInputs,\n type DisambiguationFields,\n type EntityRefAnchor,\n type CompanyFirmographics,\n type CompanyHqFacts,\n type PersonalFacetContent,\n resolveAgentRef,\n type AgentRefFlat,\n} from './logic/index.js';\n\n// Profile section model: which sections render, in what order, their nav\n// grouping, per-section sorts, and involvement grouping. Shared by the HTML\n// profile page, the Markdown/DOCX/print exports, and the personal-site renderer.\nexport {\n ALL_SECTIONS,\n INVOLVEMENT_HEADING_ORDER,\n SECTION_GROUPS,\n SECTION_LABELS,\n filterHidden,\n getVisibleSectionIds,\n groupInvolvementByHeading,\n groupPublicationVersions,\n type GroupPublicationVersionsOptions,\n type PublicationVersionGroup,\n type VersionablePublication,\n hoistPrimary,\n isRoleLineRedundant,\n isSectionPopulated,\n sortByActiveDateRange,\n sortCertifications,\n sortEducation,\n sortHonors,\n sortLanguages,\n sortLanguagesByProficiency,\n sortPositions,\n sortProjects,\n sortPublications,\n visibleItems,\n type InvolvementGroup,\n type SectionGroupId,\n type SectionId,\n} from './profile/index.js';\n\n// Profile \"Highlights\" block: selection + labeling of the one ongoing (or\n// most-recent) record per section. Shared by the sifa-web profile page and the\n// personal-site renderer so the two surfaces never diverge on what's featured.\nexport {\n buildProfileHighlights,\n shouldRenderHighlights,\n formatSpanDate,\n formatSingleDate,\n formatEventDate,\n type ProfileHighlightsInput,\n type ProfileHighlightSection,\n type ProfileHighlightStatus,\n type ProfileHighlightTile,\n type BuildProfileHighlightsOptions,\n} from './profile/index.js';\n\nexport {\n AtmosphereFeedItemSchema,\n BlobRefSchema,\n EndorsementConfirmationRecordSchema,\n EndorsementRecordSchema,\n OrgProfileRecordSchema,\n OrgEmploymentAttestationRecordSchema,\n EmploymentVerificationRecordSchema,\n EMPLOYMENT_STATUS_TOKENS,\n VERIFICATION_METHOD_TOKENS,\n resolveEmploymentVerification,\n EntitySearchResultSchema,\n EntitySearchResponseSchema,\n EntitySelectRequestSchema,\n EntitySelectResponseSchema,\n EntityImportSearchResponseSchema,\n EntityResolveDomainRequestSchema,\n EntityResolveDomainResponseSchema,\n EntityMintDomainResponseSchema,\n FEATURE_FLAGS,\n FeatureAllowlistEntrySchema,\n FeedActorSchema,\n FollowFeedItemSchema,\n FollowFeedPageSchema,\n FollowProfilePageSchema,\n FollowProfileSchema,\n GraphFollowRecordSchema,\n PresentationDurationSchema,\n PresentationLinkSchema,\n ProfileCertificationRecordSchema,\n ProfileCourseRecordSchema,\n ProfileEducationRecordSchema,\n ProfileExternalAccountRecordSchema,\n ProfileHonorRecordSchema,\n ProfileInvestmentRecordSchema,\n InvestmentAmountSchema,\n PROFILE_INVESTMENT_NSID,\n ProfileInvolvementRecordSchema,\n ArtifactLinkSchema,\n PROFILE_INVOLVEMENT_NSID,\n ProfileLanguageRecordSchema,\n ProfilePositionRecordSchema,\n ProfilePresentationDeliveryRecordSchema,\n ProfilePresentationRecordSchema,\n ProfileProjectRecordSchema,\n ProfilePublicationRecordSchema,\n RelatedIdentifierSchema,\n ProfileSelfRecordSchema,\n ProfileSkillRecordSchema,\n ProfileVolunteeringRecordSchema,\n PublicationAuthorSchema,\n SifaFeedItemSchema,\n atUriSchema,\n cidSchema,\n datetimeSchema,\n decodeFeedCursor,\n didSchema,\n encodeFeedCursor,\n externalRecordRefSchema,\n languageTagSchema,\n makeGraphFollowRecordSchema,\n maxGraphemes,\n partialDateSchema,\n selfLabelsSchema,\n skillRefSchema,\n strongRefSchema,\n uriSchema,\n type AtmosphereFeedItem,\n type BlobRef,\n type EndorsementConfirmationRecord,\n type EndorsementRecord,\n type OrgProfileRecord,\n type OrgEmploymentAttestationRecord,\n type EmploymentVerificationRecord,\n type EmploymentVerificationResolution,\n type ResolveEmploymentVerificationOptions,\n type EntitySearchResult,\n type EntitySearchResponse,\n type EntitySelectRequest,\n type EntitySelectResponse,\n type EntityImportSearchResponse,\n type EntityResolveDomainRequest,\n type EntityResolveDomainResponse,\n type EntityMintDomainResponse,\n type FeatureAllowlistEntry,\n type FeatureFlag,\n type FeedActor,\n type FeedCursor,\n type FollowFeedItem,\n type FollowFeedPage,\n type FollowProfileItem,\n type FollowProfilePage,\n type GraphFollowRecord,\n type SifaFeedItem,\n type ProfileCertificationRecord,\n type ProfileCourseRecord,\n type ProfileEducationRecord,\n type ProfileExternalAccountRecord,\n type ProfileHonorRecord,\n type ProfileInvolvementRecord,\n type ArtifactLink,\n type ProfileLanguageRecord,\n type PresentationDuration,\n type PresentationLink,\n type ProfilePositionRecord,\n type ProfilePresentationDeliveryRecord,\n type ProfilePresentationRecord,\n type ProfileProjectRecord,\n type ProfilePublicationRecord,\n type ProfileSelfRecord,\n type ProfileSkillRecord,\n type ProfileVolunteeringRecord,\n type PublicationAuthor,\n agentRefSchema,\n type AgentRef,\n} from './schemas/index.js';\n\nexport {\n ROADMAP_ITEM_META,\n ROADMAP_ISSUES_REPO,\n roadmapIssueUrl,\n type RoadmapItemMeta,\n} from './roadmap/index.js';\n\nexport type {\n LocationSegment,\n LocationSegmentKind,\n LocationSegmentsOptions,\n} from './format/index.js';\n\nexport type { DisplayUrl, FormatDisplayUrlOptions, UrlPathPolicy } from './format/index.js';\n\nexport { SIFA_REPO_GROUPS, describeSifaRecord, repoGroupForCollection } from './repo/index.js';\nexport type {\n RepoCollectionGroup,\n RepoDeleteOutcome,\n RepoDeleteRecordResult,\n RepoDeleteResult,\n RepoGroupDefinition,\n RepoGroupId,\n RepoInventory,\n RepoRecordLabel,\n RepoRecordSummary,\n} from './repo/index.js';\n"],"mappings":";AA8FA,SAAS,qBAAqB;AAE9B;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAeA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAgBK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAQK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAIP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAoBK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAiBA;AAAA,OAEK;AAKP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAIA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AAKP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAMK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EA+CA;AAAA,OAEK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAUP,SAAS,kBAAkB,oBAAoB,8BAA8B;AAlnBtE,IAAM,mBAA2B;","names":[]}
@@ -54,6 +54,20 @@ import { countRecentActivity } from "./recent-activity.js";
54
54
  import { followingFeedFallbackApp } from "./following-feed-fallback.js";
55
55
  import { SELF_APP_ID, excludeSelfApp } from "./self-app.js";
56
56
  import { actorShowsIdentity } from "./actor-identity.js";
57
+ import {
58
+ EMPTY_SITE_ACTIVITY_PRESET,
59
+ SITE_PRESET_TAG_CATEGORY,
60
+ SITE_PRESET_MAX_TAGS,
61
+ SITE_PRESET_MAX_TAG_LENGTH,
62
+ normalizeSitePresetTag,
63
+ parseSitePresetTags,
64
+ isSiteActivityPresetActive,
65
+ recordTags,
66
+ matchesSitePresetTags,
67
+ matchesSiteActivityPreset,
68
+ siteActivityPresetSchema,
69
+ siteActivityPresetUpdateSchema
70
+ } from "./site-activity-preset.js";
57
71
  export {
58
72
  COMPANY_PAGE_MIN_DESCRIPTION_LENGTH,
59
73
  COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS,
@@ -61,9 +75,13 @@ export {
61
75
  COMPLETENESS_MAX_SCORE,
62
76
  DATE_LOOKAHEAD_MONTHS,
63
77
  DIMENSIONS_MAX_SCORE,
78
+ EMPTY_SITE_ACTIVITY_PRESET,
64
79
  ENTITY_REF_ANCHORS,
65
80
  MIN_SKILLS,
66
81
  SELF_APP_ID,
82
+ SITE_PRESET_MAX_TAGS,
83
+ SITE_PRESET_MAX_TAG_LENGTH,
84
+ SITE_PRESET_TAG_CATEGORY,
67
85
  actorShowsIdentity,
68
86
  classifyEntityRef,
69
87
  companyPageRichness,
@@ -83,17 +101,25 @@ export {
83
101
  isLinked,
84
102
  isPseudoEmployer,
85
103
  isRegistrableDomainHandle,
104
+ isSiteActivityPresetActive,
86
105
  isUpcomingStart,
87
106
  looksLikeDomain,
107
+ matchesSiteActivityPreset,
108
+ matchesSitePresetTags,
109
+ normalizeSitePresetTag,
110
+ parseSitePresetTags,
88
111
  pickPrimaryFlagged,
89
112
  pickPrimaryPosition,
90
113
  profileToDimensionInputs,
91
114
  qualifiesAsOrg,
115
+ recordTags,
92
116
  rendersCompanyProfile,
93
117
  rendersPersonalProfile,
94
118
  resolveAccountFacetMode,
95
119
  resolveAgentRef,
96
120
  searchResultDisambiguation,
121
+ siteActivityPresetSchema,
122
+ siteActivityPresetUpdateSchema,
97
123
  summarizeProfileView
98
124
  };
99
125
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/logic/index.ts"],"sourcesContent":["export {\n COMPLETENESS_MAX_SCORE,\n completenessPercent,\n completenessScore,\n type ProfileCompletion,\n} from './profile-completeness.js';\n\nexport {\n DIMENSIONS_MAX_SCORE,\n MIN_SKILLS,\n countFilledDimensions,\n dimensionsFromInputs,\n getFilledDimensionsMap,\n profileToDimensionInputs,\n type DimensionKey,\n type DimensionMap,\n type ProfileDimensionInputs,\n} from './profile-dimensions.js';\n\nexport { pickPrimaryPosition, type PrimaryPositionCandidate } from './primary-position.js';\n\nexport {\n DATE_LOOKAHEAD_MONTHS,\n isBeyondLookahead,\n isUpcomingStart,\n type DateLookaheadKind,\n} from './date-lookahead.js';\n\nexport { pickPrimaryFlagged, type PrimaryFlagCandidate } from './primary-item.js';\n\nexport {\n summarizeProfileView,\n type ProfileSummary,\n type SummarizeProfileViewOptions,\n} from './profile-summary.js';\n\nexport { isPseudoEmployer } from './pseudo-employer.js';\nexport { looksLikeDomain } from './domain-detect.js';\nexport {\n entityDisambiguationLabel,\n searchResultDisambiguation,\n entityResultKey,\n type DisambiguationFields,\n} from './entity-disambiguation.js';\nexport {\n classifyEntityRef,\n isLinked,\n ENTITY_REF_ANCHORS,\n type EntityRefAnchor,\n} from './entity-ref-anchor.js';\nexport { resolveAgentRef, type AgentRefFlat } from './agent-ref.js';\nexport {\n qualifiesAsOrg,\n isRegistrableDomainHandle,\n hasPersonalProfileContent,\n rendersPersonalProfile,\n rendersCompanyProfile,\n resolveAccountFacetMode,\n} from './org-floor.js';\nexport type { PersonalFacetContent } from './org-floor.js';\nexport {\n isCompanyPageIndexable,\n companyPageRichness,\n COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS,\n COMPANY_PAGE_MIN_DESCRIPTION_LENGTH,\n COMPANY_PAGE_ROSTER_MIN_MEMBERS,\n type CompanyFirmographics,\n type CompanyHqFacts,\n} from './company-page-indexable.js';\nexport { countRecentActivity, type DailyActivityCount } from './recent-activity.js';\nexport { followingFeedFallbackApp } from './following-feed-fallback.js';\nexport { SELF_APP_ID, excludeSelfApp, type AppWithId } from './self-app.js';\nexport { actorShowsIdentity } from './actor-identity.js';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AAEP,SAAS,2BAA0D;AAEnE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAEP,SAAS,0BAAqD;AAE9D;AAAA,EACE;AAAA,OAGK;AAEP,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,uBAA0C;AACnD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP,SAAS,2BAAoD;AAC7D,SAAS,gCAAgC;AACzC,SAAS,aAAa,sBAAsC;AAC5D,SAAS,0BAA0B;","names":[]}
1
+ {"version":3,"sources":["../../src/logic/index.ts"],"sourcesContent":["export {\n COMPLETENESS_MAX_SCORE,\n completenessPercent,\n completenessScore,\n type ProfileCompletion,\n} from './profile-completeness.js';\n\nexport {\n DIMENSIONS_MAX_SCORE,\n MIN_SKILLS,\n countFilledDimensions,\n dimensionsFromInputs,\n getFilledDimensionsMap,\n profileToDimensionInputs,\n type DimensionKey,\n type DimensionMap,\n type ProfileDimensionInputs,\n} from './profile-dimensions.js';\n\nexport { pickPrimaryPosition, type PrimaryPositionCandidate } from './primary-position.js';\n\nexport {\n DATE_LOOKAHEAD_MONTHS,\n isBeyondLookahead,\n isUpcomingStart,\n type DateLookaheadKind,\n} from './date-lookahead.js';\n\nexport { pickPrimaryFlagged, type PrimaryFlagCandidate } from './primary-item.js';\n\nexport {\n summarizeProfileView,\n type ProfileSummary,\n type SummarizeProfileViewOptions,\n} from './profile-summary.js';\n\nexport { isPseudoEmployer } from './pseudo-employer.js';\nexport { looksLikeDomain } from './domain-detect.js';\nexport {\n entityDisambiguationLabel,\n searchResultDisambiguation,\n entityResultKey,\n type DisambiguationFields,\n} from './entity-disambiguation.js';\nexport {\n classifyEntityRef,\n isLinked,\n ENTITY_REF_ANCHORS,\n type EntityRefAnchor,\n} from './entity-ref-anchor.js';\nexport { resolveAgentRef, type AgentRefFlat } from './agent-ref.js';\nexport {\n qualifiesAsOrg,\n isRegistrableDomainHandle,\n hasPersonalProfileContent,\n rendersPersonalProfile,\n rendersCompanyProfile,\n resolveAccountFacetMode,\n} from './org-floor.js';\nexport type { PersonalFacetContent } from './org-floor.js';\nexport {\n isCompanyPageIndexable,\n companyPageRichness,\n COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS,\n COMPANY_PAGE_MIN_DESCRIPTION_LENGTH,\n COMPANY_PAGE_ROSTER_MIN_MEMBERS,\n type CompanyFirmographics,\n type CompanyHqFacts,\n} from './company-page-indexable.js';\nexport { countRecentActivity, type DailyActivityCount } from './recent-activity.js';\nexport { followingFeedFallbackApp } from './following-feed-fallback.js';\nexport { SELF_APP_ID, excludeSelfApp, type AppWithId } from './self-app.js';\nexport { actorShowsIdentity } from './actor-identity.js';\nexport {\n EMPTY_SITE_ACTIVITY_PRESET,\n SITE_PRESET_TAG_CATEGORY,\n SITE_PRESET_MAX_TAGS,\n SITE_PRESET_MAX_TAG_LENGTH,\n normalizeSitePresetTag,\n parseSitePresetTags,\n isSiteActivityPresetActive,\n recordTags,\n matchesSitePresetTags,\n matchesSiteActivityPreset,\n siteActivityPresetSchema,\n siteActivityPresetUpdateSchema,\n type SiteActivityPreset,\n} from './site-activity-preset.js';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AAEP,SAAS,2BAA0D;AAEnE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAEP,SAAS,0BAAqD;AAE9D;AAAA,EACE;AAAA,OAGK;AAEP,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,uBAA0C;AACnD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP,SAAS,2BAAoD;AAC7D,SAAS,gCAAgC;AACzC,SAAS,aAAa,sBAAsC;AAC5D,SAAS,0BAA0B;AACnC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;","names":[]}
@@ -0,0 +1,68 @@
1
+ // src/logic/site-activity-preset.ts
2
+ import { z } from "zod";
3
+ import { isAppCategory } from "../taxonomy/app-categories.js";
4
+ var SITE_PRESET_MAX_TAGS = 20;
5
+ var SITE_PRESET_MAX_TAG_LENGTH = 64;
6
+ var siteActivityPresetSchema = z.object({
7
+ categories: z.array(z.string().min(1).max(100)).max(100),
8
+ tags: z.array(z.string().min(1).max(SITE_PRESET_MAX_TAG_LENGTH)).max(SITE_PRESET_MAX_TAGS)
9
+ });
10
+ var EMPTY_SITE_ACTIVITY_PRESET = { categories: [], tags: [] };
11
+ var SITE_PRESET_TAG_CATEGORY = "Articles";
12
+ function normalizeSitePresetTag(raw) {
13
+ const tag = raw.trim().replace(/^#+/, "").trim().replace(/\s+/g, " ").toLowerCase();
14
+ if (tag.length === 0 || tag.length > SITE_PRESET_MAX_TAG_LENGTH) return null;
15
+ return tag;
16
+ }
17
+ function parseSitePresetTags(input) {
18
+ const parts = (typeof input === "string" ? [input] : input).flatMap((s) => s.split(/[,\n]/));
19
+ const out = [];
20
+ for (const part of parts) {
21
+ const tag = normalizeSitePresetTag(part);
22
+ if (tag && !out.includes(tag)) out.push(tag);
23
+ if (out.length >= SITE_PRESET_MAX_TAGS) break;
24
+ }
25
+ return out;
26
+ }
27
+ function isSiteActivityPresetActive(preset) {
28
+ return preset.categories.length > 0 || preset.tags.length > 0;
29
+ }
30
+ function recordTags(record) {
31
+ if (typeof record !== "object" || record === null) return [];
32
+ const tags = "tags" in record ? record.tags : void 0;
33
+ if (!Array.isArray(tags)) return [];
34
+ const out = [];
35
+ for (const t of tags) {
36
+ if (typeof t !== "string") continue;
37
+ const tag = normalizeSitePresetTag(t);
38
+ if (tag) out.push(tag);
39
+ }
40
+ return out;
41
+ }
42
+ function matchesSitePresetTags(item, tags) {
43
+ if (tags.length === 0 || item.category !== SITE_PRESET_TAG_CATEGORY) return true;
44
+ return recordTags(item.record).some((t) => tags.includes(t));
45
+ }
46
+ function matchesSiteActivityPreset(item, preset) {
47
+ if (preset.categories.length > 0 && !preset.categories.includes(item.category)) return false;
48
+ return matchesSitePresetTags(item, preset.tags);
49
+ }
50
+ var siteActivityPresetUpdateSchema = z.object({
51
+ categories: z.array(z.string().refine(isAppCategory, { message: "Unknown category" })).max(100).transform((list) => [...new Set(list)]),
52
+ tags: z.array(z.string().max(200)).max(100).transform((list) => parseSitePresetTags(list))
53
+ });
54
+ export {
55
+ EMPTY_SITE_ACTIVITY_PRESET,
56
+ SITE_PRESET_MAX_TAGS,
57
+ SITE_PRESET_MAX_TAG_LENGTH,
58
+ SITE_PRESET_TAG_CATEGORY,
59
+ isSiteActivityPresetActive,
60
+ matchesSiteActivityPreset,
61
+ matchesSitePresetTags,
62
+ normalizeSitePresetTag,
63
+ parseSitePresetTags,
64
+ recordTags,
65
+ siteActivityPresetSchema,
66
+ siteActivityPresetUpdateSchema
67
+ };
68
+ //# sourceMappingURL=site-activity-preset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/logic/site-activity-preset.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { isAppCategory } from '../taxonomy/app-categories.js';\n\nexport const SITE_PRESET_MAX_TAGS = 20;\nexport const SITE_PRESET_MAX_TAG_LENGTH = 64;\n\n/** A preset as the API returns it. */\nexport const siteActivityPresetSchema = z.object({\n categories: z.array(z.string().min(1).max(100)).max(100),\n tags: z.array(z.string().min(1).max(SITE_PRESET_MAX_TAG_LENGTH)).max(SITE_PRESET_MAX_TAGS),\n});\n\n/**\n * Per-site activity filter (\"show only\") for a personal site (page.sifa.id and\n * third-party site builders that read Sifa data).\n *\n * Two independent allow-lists:\n *\n * - `categories`: app categories (see `APP_CATEGORY_IDS`) the site shows. Empty\n * means every category.\n * - `tags`: tags a long-form post must carry to show. Empty means every\n * long-form post. Applies to the `Articles` category only; other activity is\n * never filtered on tags.\n *\n * Tags are read from `record.tags` (a string array). Of the long-form sources\n * Sifa tracks, Standard.site documents (`site.standard.document`, which\n * Leaflet, pckt and other blogs write) and Crate content and notes carry tags.\n * WhiteWind, GreenGale and RSS/Atom feed items have no tags, so with a tag\n * filter set they never match.\n *\n * Both lists empty is \"no preset\": the site shows the same activity it does\n * without one.\n */\nexport type SiteActivityPreset = z.infer<typeof siteActivityPresetSchema>;\n\nexport const EMPTY_SITE_ACTIVITY_PRESET: SiteActivityPreset = { categories: [], tags: [] };\n\n/** The only category the tag filter applies to. */\nexport const SITE_PRESET_TAG_CATEGORY = 'Articles';\n\n/**\n * Canonical form of a tag: trimmed, without a leading `#`, lowercased, inner\n * whitespace collapsed. Returns `null` for an empty or over-long tag.\n */\nexport function normalizeSitePresetTag(raw: string): string | null {\n const tag = raw.trim().replace(/^#+/, '').trim().replace(/\\s+/g, ' ').toLowerCase();\n if (tag.length === 0 || tag.length > SITE_PRESET_MAX_TAG_LENGTH) return null;\n return tag;\n}\n\n/**\n * Parse free-text tag input (comma- or newline-separated, or an array of such\n * strings) into a normalized, de-duplicated, capped list.\n */\nexport function parseSitePresetTags(input: string | readonly string[]): string[] {\n const parts = (typeof input === 'string' ? [input] : input).flatMap((s) => s.split(/[,\\n]/));\n const out: string[] = [];\n for (const part of parts) {\n const tag = normalizeSitePresetTag(part);\n if (tag && !out.includes(tag)) out.push(tag);\n if (out.length >= SITE_PRESET_MAX_TAGS) break;\n }\n return out;\n}\n\nexport function isSiteActivityPresetActive(preset: SiteActivityPreset): boolean {\n return preset.categories.length > 0 || preset.tags.length > 0;\n}\n\n/** Normalized string tags off a record's `tags` field, or `[]`. */\nexport function recordTags(record: unknown): string[] {\n if (typeof record !== 'object' || record === null) return [];\n const tags = 'tags' in record ? record.tags : undefined;\n if (!Array.isArray(tags)) return [];\n const out: string[] = [];\n for (const t of tags) {\n if (typeof t !== 'string') continue;\n const tag = normalizeSitePresetTag(t);\n if (tag) out.push(tag);\n }\n return out;\n}\n\ninterface PresetItem {\n category: string;\n record: unknown;\n}\n\n/**\n * Tag half of the preset. Items outside long-form posts always pass; a\n * long-form post passes when no tags are set or it carries one of them.\n */\nexport function matchesSitePresetTags(item: PresetItem, tags: readonly string[]): boolean {\n if (tags.length === 0 || item.category !== SITE_PRESET_TAG_CATEGORY) return true;\n return recordTags(item.record).some((t) => tags.includes(t));\n}\n\n/** Whether an activity item shows on a site with this preset. */\nexport function matchesSiteActivityPreset(item: PresetItem, preset: SiteActivityPreset): boolean {\n if (preset.categories.length > 0 && !preset.categories.includes(item.category)) return false;\n return matchesSitePresetTags(item, preset.tags);\n}\n\n/**\n * A preset as a client sends it. Categories must be known app categories;\n * tags are normalized and de-duplicated. Replaces the whole stored preset.\n */\nexport const siteActivityPresetUpdateSchema = z.object({\n categories: z\n .array(z.string().refine(isAppCategory, { message: 'Unknown category' }))\n .max(100)\n .transform((list) => [...new Set(list)]),\n tags: z\n .array(z.string().max(200))\n .max(100)\n .transform((list) => parseSitePresetTags(list)),\n});\n"],"mappings":";AAAA,SAAS,SAAS;AAElB,SAAS,qBAAqB;AAEvB,IAAM,uBAAuB;AAC7B,IAAM,6BAA6B;AAGnC,IAAM,2BAA2B,EAAE,OAAO;AAAA,EAC/C,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG;AAAA,EACvD,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,IAAI,0BAA0B,CAAC,EAAE,IAAI,oBAAoB;AAC3F,CAAC;AAyBM,IAAM,6BAAiD,EAAE,YAAY,CAAC,GAAG,MAAM,CAAC,EAAE;AAGlF,IAAM,2BAA2B;AAMjC,SAAS,uBAAuB,KAA4B;AACjE,QAAM,MAAM,IAAI,KAAK,EAAE,QAAQ,OAAO,EAAE,EAAE,KAAK,EAAE,QAAQ,QAAQ,GAAG,EAAE,YAAY;AAClF,MAAI,IAAI,WAAW,KAAK,IAAI,SAAS,2BAA4B,QAAO;AACxE,SAAO;AACT;AAMO,SAAS,oBAAoB,OAA6C;AAC/E,QAAM,SAAS,OAAO,UAAU,WAAW,CAAC,KAAK,IAAI,OAAO,QAAQ,CAAC,MAAM,EAAE,MAAM,OAAO,CAAC;AAC3F,QAAM,MAAgB,CAAC;AACvB,aAAW,QAAQ,OAAO;AACxB,UAAM,MAAM,uBAAuB,IAAI;AACvC,QAAI,OAAO,CAAC,IAAI,SAAS,GAAG,EAAG,KAAI,KAAK,GAAG;AAC3C,QAAI,IAAI,UAAU,qBAAsB;AAAA,EAC1C;AACA,SAAO;AACT;AAEO,SAAS,2BAA2B,QAAqC;AAC9E,SAAO,OAAO,WAAW,SAAS,KAAK,OAAO,KAAK,SAAS;AAC9D;AAGO,SAAS,WAAW,QAA2B;AACpD,MAAI,OAAO,WAAW,YAAY,WAAW,KAAM,QAAO,CAAC;AAC3D,QAAM,OAAO,UAAU,SAAS,OAAO,OAAO;AAC9C,MAAI,CAAC,MAAM,QAAQ,IAAI,EAAG,QAAO,CAAC;AAClC,QAAM,MAAgB,CAAC;AACvB,aAAW,KAAK,MAAM;AACpB,QAAI,OAAO,MAAM,SAAU;AAC3B,UAAM,MAAM,uBAAuB,CAAC;AACpC,QAAI,IAAK,KAAI,KAAK,GAAG;AAAA,EACvB;AACA,SAAO;AACT;AAWO,SAAS,sBAAsB,MAAkB,MAAkC;AACxF,MAAI,KAAK,WAAW,KAAK,KAAK,aAAa,yBAA0B,QAAO;AAC5E,SAAO,WAAW,KAAK,MAAM,EAAE,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC;AAC7D;AAGO,SAAS,0BAA0B,MAAkB,QAAqC;AAC/F,MAAI,OAAO,WAAW,SAAS,KAAK,CAAC,OAAO,WAAW,SAAS,KAAK,QAAQ,EAAG,QAAO;AACvF,SAAO,sBAAsB,MAAM,OAAO,IAAI;AAChD;AAMO,IAAM,iCAAiC,EAAE,OAAO;AAAA,EACrD,YAAY,EACT,MAAM,EAAE,OAAO,EAAE,OAAO,eAAe,EAAE,SAAS,mBAAmB,CAAC,CAAC,EACvE,IAAI,GAAG,EACP,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC;AAAA,EACzC,MAAM,EACH,MAAM,EAAE,OAAO,EAAE,IAAI,GAAG,CAAC,EACzB,IAAI,GAAG,EACP,UAAU,CAAC,SAAS,oBAAoB,IAAI,CAAC;AAClD,CAAC;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import { c as Profile, d as ProfilePosition, W as SkillRef, z as PresentationLinkView } from './index-BFdNI6jA.js';
2
- import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-DxMMqOJo.js';
3
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-6GySSJvO.js';
2
+ import { a0 as SifaApiConfig, a1 as ApiFetchOptions, o as ProfileView, a2 as CreateResult, a3 as WriteResult } from './types-Dl-uk0Ds.js';
3
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-8TYJWh1y.js';
4
4
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-ceqefXAw.js';
5
5
  import { z } from 'zod';
6
6
 
@@ -402,6 +402,7 @@ declare const RpgItemStatusSchema: z.ZodObject<{
402
402
  locked: "locked";
403
403
  given: "given";
404
404
  }>;
405
+ worn: z.ZodDefault<z.ZodBoolean>;
405
406
  iconUrl: z.ZodNullable<z.ZodString>;
406
407
  }, z.core.$strip>;
407
408
  type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;
@@ -421,6 +422,7 @@ declare const RpgStatusResponseSchema: z.ZodObject<{
421
422
  locked: "locked";
422
423
  given: "given";
423
424
  }>;
425
+ worn: z.ZodDefault<z.ZodBoolean>;
424
426
  iconUrl: z.ZodNullable<z.ZodString>;
425
427
  }, z.core.$strip>>;
426
428
  }, z.core.$strip>;
@@ -1,6 +1,6 @@
1
1
  import { c as Profile, d as ProfilePosition, W as SkillRef, z as PresentationLinkView } from './index-BzkaABDb.cjs';
2
- import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-DXep6553.cjs';
3
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-X4MGExfS.cjs';
2
+ import { a0 as SifaApiConfig, a1 as ApiFetchOptions, o as ProfileView, a2 as CreateResult, a3 as WriteResult } from './types-BY3qFPDf.cjs';
3
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CaPVQo_x.cjs';
4
4
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-CQ3DTTak.cjs';
5
5
  import { z } from 'zod';
6
6
 
@@ -402,6 +402,7 @@ declare const RpgItemStatusSchema: z.ZodObject<{
402
402
  locked: "locked";
403
403
  given: "given";
404
404
  }>;
405
+ worn: z.ZodDefault<z.ZodBoolean>;
405
406
  iconUrl: z.ZodNullable<z.ZodString>;
406
407
  }, z.core.$strip>;
407
408
  type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;
@@ -421,6 +422,7 @@ declare const RpgStatusResponseSchema: z.ZodObject<{
421
422
  locked: "locked";
422
423
  given: "given";
423
424
  }>;
425
+ worn: z.ZodDefault<z.ZodBoolean>;
424
426
  iconUrl: z.ZodNullable<z.ZodString>;
425
427
  }, z.core.$strip>>;
426
428
  }, z.core.$strip>;
@@ -1,4 +1,4 @@
1
- import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-DXep6553.cjs';
1
+ import { a3 as WriteResult, a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, K as SiteActivityPreset, b as ActivityLabel, u as RepoDeleteResult, x as RepoInventory } from './types-BY3qFPDf.cjs';
2
2
  import { p as ExternalAccount, y as PositionViewerConfirmation } from './index-BzkaABDb.cjs';
3
3
  import { a as AccountVerification } from './verification-providers-7il3kPQS.cjs';
4
4
  import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-CQ3DTTak.cjs';
@@ -637,6 +637,49 @@ declare function unhideActivityItem(config: SifaApiConfig, input: UnhideActivity
637
637
  */
638
638
  declare function fetchHiddenActivityItems(config: SifaApiConfig, options?: FetchHiddenActivityItemsOptions): Promise<HiddenActivityItem[]>;
639
639
 
640
+ /**
641
+ * The authenticated user's activity preferences, resolved to an answer for
642
+ * every known key. `sitePreset` is the personal-site "show only" filter; both
643
+ * lists empty means no preset.
644
+ */
645
+ interface ActivityPreferences {
646
+ streamCategories: Record<string, boolean>;
647
+ digestItemTypes: Record<string, boolean>;
648
+ sitePreset: SiteActivityPreset;
649
+ }
650
+ /**
651
+ * Partial update. Only the keys present change. `sitePreset`, when present,
652
+ * replaces the whole stored preset; send empty lists to clear it.
653
+ */
654
+ interface UpdateActivityPreferencesInput {
655
+ streamCategories?: Record<string, boolean>;
656
+ digestItemTypes?: Record<string, boolean>;
657
+ sitePreset?: SiteActivityPreset;
658
+ }
659
+ /** A user's personal-site preset as anyone can read it. */
660
+ interface SiteActivityPresetResponse extends SiteActivityPreset {
661
+ did: string;
662
+ /** False when both lists are empty, i.e. the site shows all activity. */
663
+ active: boolean;
664
+ }
665
+ interface FetchActivityPreferencesOptions extends ApiFetchOptions {
666
+ /**
667
+ * Pass the caller's `Cookie` header on Next.js RSC server-side calls.
668
+ * `credentials: 'include'` does NOT propagate browser cookies in RSC.
669
+ */
670
+ cookieHeader?: string;
671
+ }
672
+ /** The caller's own preferences. Returns `null` on any error. */
673
+ declare function fetchActivityPreferences(config: SifaApiConfig, options?: FetchActivityPreferencesOptions): Promise<ActivityPreferences | null>;
674
+ /** Update the caller's own preferences. */
675
+ declare function updateActivityPreferences(config: SifaApiConfig, input: UpdateActivityPreferencesInput, options?: ApiFetchOptions): Promise<WriteResult<Partial<ActivityPreferences>>>;
676
+ /**
677
+ * Public read of a user's personal-site preset, by handle or DID. Site
678
+ * builders use it to show the same activity page.sifa.id shows. Returns
679
+ * `null` on any error.
680
+ */
681
+ declare function fetchSiteActivityPreset(config: SifaApiConfig, handleOrDid: string, options?: ApiFetchOptions): Promise<SiteActivityPresetResponse | null>;
682
+
640
683
  /** Public, aggregate stats shown on the homepage and similar surfaces. */
641
684
  interface StatsResponse {
642
685
  profileCount: number;
@@ -982,6 +1025,21 @@ interface FetchActivityTeaserOptions extends ApiFetchOptions {
982
1025
  declare function fetchActivityTeaser(config: SifaApiConfig, handleOrDid: string, options?: FetchActivityTeaserOptions): Promise<ActivityTeaserResponse | null>;
983
1026
  interface FetchActivityFeedOptions extends ApiFetchOptions {
984
1027
  category?: string;
1028
+ /**
1029
+ * Show only these app categories. Applies when `category` is unset (the
1030
+ * "all" view).
1031
+ */
1032
+ categories?: string[];
1033
+ /**
1034
+ * Show only long-form posts carrying one of these tags. Other activity is
1035
+ * not filtered on tags. See `SiteActivityPreset`.
1036
+ */
1037
+ tags?: string[];
1038
+ /**
1039
+ * Apply the profile owner's saved preset for this surface. Explicit
1040
+ * `categories` / `tags` override the matching half of the preset.
1041
+ */
1042
+ preset?: 'site';
985
1043
  limit?: number;
986
1044
  cursor?: string;
987
1045
  cookieHeader?: string;
@@ -1643,6 +1701,8 @@ declare const sifaQueryKeys: {
1643
1701
  readonly teaser: (handleOrDid: string) => readonly ["sifa", "activity", "teaser", string];
1644
1702
  readonly feed: (handleOrDid: string, opts: Record<string, unknown>) => readonly ["sifa", "activity", "feed", string, Record<string, unknown>];
1645
1703
  readonly hiddenItems: () => readonly ["sifa", "activity", "hidden-items"];
1704
+ readonly preferences: () => readonly ["sifa", "activity", "preferences"];
1705
+ readonly sitePreset: (handleOrDid: string) => readonly ["sifa", "activity", "site-preset", string];
1646
1706
  };
1647
1707
  readonly github: {
1648
1708
  readonly all: () => readonly ["sifa", "github"];
@@ -1706,7 +1766,7 @@ declare const sifaQueryKeys: {
1706
1766
  readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
1707
1767
  };
1708
1768
  };
1709
- type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.profile.completeness> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.position.unlinked> | ReturnType<typeof sifaQueryKeys.inbox.all> | ReturnType<typeof sifaQueryKeys.inbox.counts> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
1769
+ type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.profile.completeness> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.position.unlinked> | ReturnType<typeof sifaQueryKeys.inbox.all> | ReturnType<typeof sifaQueryKeys.inbox.counts> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.activity.preferences> | ReturnType<typeof sifaQueryKeys.activity.sitePreset> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
1710
1770
 
1711
1771
  /** How a single entity binding was resolved during a claim. */
1712
1772
  interface OrgClaimBinding {
@@ -1798,4 +1858,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
1798
1858
  */
1799
1859
  declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgNotificationEmailRemoveResult>>>;
1800
1860
 
1801
- export { HIDDEN_ITEM_TYPES as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchInboxCountsOptions as G, type FetchMyGithubPullRequestsOptions as H, type FetchMyRoadmapVotesOptions as I, type FetchProfileCompletenessOptions as J, type FetchReactionStatusOptions as K, type FetchSuggestionsOptions as L, type FetchUnlinkedPositionsOptions as M, type FollowListPage as N, type FollowProfile as O, type FollowProfilePageResponse as P, type FollowUserResult as Q, type FollowingFeedApp as R, type FollowingFeedBuild as S, type FollowingFeedEmptyReason as T, type FollowingFeedResponse as U, type FollowingFeedVersion as V, type FollowingResponse as W, type GetAdminReviewQueuesOptions as X, type GithubPullRequest as Y, type GivenConfirmation as Z, HIDDEN_ITEM_SOURCES as _, type ConfirmEndorsementResult as a, addOrgNotificationEmail as a$, type HeatmapDay as a0, type HeatmapResponse as a1, type HiddenActivityItem as a2, type HiddenApp as a3, type HiddenItemSource as a4, type HiddenItemType as a5, type HideActivityItemInput as a6, type HideProfileItemInput as a7, type InboxCounts as a8, type ListFeatureAllowlistOptions as a9, type ReactionResult as aA, type ReactionStatus as aB, type RefreshOrcidPublicationsResult as aC, type RefreshPdsResult as aD, type RepoDeleteInput as aE, type ResetProfileResult as aF, type ResolveQuotedPostsOptions as aG, type RoadmapVoteError as aH, type RoadmapVoteResult as aI, type RoadmapVoter as aJ, type RoadmapVotesResponse as aK, type SifaQueryKey as aL, type SimilarProfile as aM, type StatsResponse as aN, type SubCategoryBulkResult as aO, type SuggestionProfile as aP, type SuggestionsResponse as aQ, type UnhideActivityItemInput as aR, type UnlinkedPosition as aS, type UnlinkedPositionsResult as aT, type UpdateProfileOverrideInput as aU, type UpdateProfileSelfInput as aV, type UploadAvatarResult as aW, type UploadPronunciationAudioResult as aX, type VerifyExternalAccountResult as aY, type WipePreview as aZ, addFeatureAllowlist as a_, type MyGithubPullRequestsResponse as aa, type OrgClaimBinding as ab, type OrgClaimResult as ac, type OrgDomainChallengeResult as ad, type OrgDomainVerifyResult as ae, type OrgNotificationEmailAddResult as af, type OrgNotificationEmailRemoveResult as ag, type OrgProfileEcho as ah, type OrgProfileUpdateResult as ai, PROFILE_COMPLETENESS_SIGNALS as aj, type PdsWipeOutcome as ak, type PendingConfirmation as al, type PendingConfirmationsPage as am, type PrimarySection as an, type ProfileCompleteness as ao, type ProfileCompletenessSignal as ap, type ProfileIndustryInput as aq, type ProfileLocationAddress as ar, type ProfileLocationInput as as, type ProfileSelfLocation as at, QUOTED_POSTS_BATCH_MAX as au, type QuotedPostAuthor as av, type QuotedPostImage as aw, type QuotedPostResult as ax, type QuotedPostView as ay, type ReactionError as az, type AccountSummary as b, listFeatureAllowlist as b$, bulkHideProfileItems as b0, bulkHideStandardPublications as b1, bulkUnhideProfileItems as b2, bulkUnhideStandardPublications as b3, castRoadmapVote as b4, checkAppAccount as b5, confirmEndorsement as b6, createConfirmation as b7, createEndorsement as b8, createExternalAccount as b9, fetchInboxCounts as bA, fetchMyGithubPullRequests as bB, fetchMyRoadmapVotes as bC, fetchPendingConfirmations as bD, fetchProfileCompleteness as bE, fetchReactionStatus as bF, fetchRepoInventory as bG, fetchRoadmapVotes as bH, fetchSimilarProfiles as bI, fetchStats as bJ, fetchSuggestionCount as bK, fetchSuggestions as bL, fetchUnlinkedPositions as bM, fetchViewerPositionConfirmations as bN, fetchWipePreview as bO, followUser as bP, getAdminReviewQueues as bQ, getBlueskySuggestions as bR, getFollowers as bS, getFollowing as bT, getMutuals as bU, hideActivityItem as bV, hideOrcidPublication as bW, hideProfileItem as bX, hideSifaPublication as bY, hideStandardPublication as bZ, isNewerFollowingFeed as b_, createProfileLocation as ba, createReaction as bb, createSkill as bc, deleteAccount as bd, deleteAvatarOverride as be, deleteExternalAccount as bf, deleteNamePronunciationAudio as bg, deleteProfileLocation as bh, deleteReaction as bi, deleteRepoRecords as bj, deleteSkill as bk, dismissConfirmation as bl, dismissUnlinkedPosition as bm, fetchAccounts as bn, fetchActivityFeed as bo, fetchActivityTeaser as bp, fetchAppsRegistry as bq, fetchExternalAccounts as br, fetchFeaturedProfile as bs, fetchFollowing as bt, fetchFollowingFeed as bu, fetchFollowingFeedVersion as bv, fetchGivenConfirmations as bw, fetchHeatmapData as bx, fetchHiddenActivityItems as by, fetchHiddenApps as bz, type ActivityFeedResponse as c, refreshOrcidPublications as c0, refreshPds as c1, removeFeatureAllowlist as c2, removeOrgNotificationEmail as c3, repoExportUrl as c4, requestOrgDomainChallenge as c5, resetProfile as c6, resolveQuotedPosts as c7, retractRoadmapVote as c8, revokeConfirmation as c9, setExternalAccountPrimary as ca, setSectionPrimary as cb, submitOrgClaim as cc, switchAccount as cd, unfollowUser as ce, unhideActivityItem as cf, unhideOrcidPublication as cg, unhideProfileItem as ch, unhideSifaPublication as ci, unhideStandardPublication as cj, unsetExternalAccountPrimary as ck, unsetSectionPrimary as cl, updateExternalAccount as cm, updateOrgProfile as cn, updateProfileLocation as co, updateProfileOverride as cp, updateProfileSelf as cq, updateSkill as cr, updateSkillSubCategories as cs, uploadAvatar as ct, uploadNamePronunciationAudio as cu, verifyExternalAccount as cv, verifyOrgDomain as cw, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityTeaserResponse as f, type AdminReviewQueues as g, type AppRegistryEntry as h, type CastRoadmapVoteResult as i, type CheckAppAccountOptions as j, type ConfirmationInput as k, type ConfirmationSubjectInput as l, type CreateExternalAccountResult as m, type DismissUnlinkedPositionInput as n, type ExternalAccountInput as o, type FeaturedProfile as p, type FetchAccountsOptions as q, type FetchActivityFeedOptions as r, sifaQueryKeys as s, type FetchActivityTeaserOptions as t, type FetchConfirmationsOptions as u, type FetchFollowListOptions as v, type FetchFollowProfilePageOptions as w, type FetchFollowingFeedOptions as x, type FetchHiddenActivityItemsOptions as y, type FetchHiddenAppsOptions as z };
1861
+ export { type GivenConfirmation as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchHiddenActivityItemsOptions as G, type FetchHiddenAppsOptions as H, type FetchInboxCountsOptions as I, type FetchMyGithubPullRequestsOptions as J, type FetchMyRoadmapVotesOptions as K, type FetchProfileCompletenessOptions as L, type FetchReactionStatusOptions as M, type FetchSuggestionsOptions as N, type FetchUnlinkedPositionsOptions as O, type FollowListPage as P, type FollowProfile as Q, type FollowProfilePageResponse as R, type FollowUserResult as S, type FollowingFeedApp as T, type FollowingFeedBuild as U, type FollowingFeedEmptyReason as V, type FollowingFeedResponse as W, type FollowingFeedVersion as X, type FollowingResponse as Y, type GetAdminReviewQueuesOptions as Z, type GithubPullRequest as _, type ConfirmEndorsementResult as a, type UploadPronunciationAudioResult as a$, HIDDEN_ITEM_SOURCES as a0, HIDDEN_ITEM_TYPES as a1, type HeatmapDay as a2, type HeatmapResponse as a3, type HiddenActivityItem as a4, type HiddenApp as a5, type HiddenItemSource as a6, type HiddenItemType as a7, type HideActivityItemInput as a8, type HideProfileItemInput as a9, type QuotedPostView as aA, type ReactionError as aB, type ReactionResult as aC, type ReactionStatus as aD, type RefreshOrcidPublicationsResult as aE, type RefreshPdsResult as aF, type RepoDeleteInput as aG, type ResetProfileResult as aH, type ResolveQuotedPostsOptions as aI, type RoadmapVoteError as aJ, type RoadmapVoteResult as aK, type RoadmapVoter as aL, type RoadmapVotesResponse as aM, type SifaQueryKey as aN, type SimilarProfile as aO, type SiteActivityPresetResponse as aP, type StatsResponse as aQ, type SubCategoryBulkResult as aR, type SuggestionProfile as aS, type SuggestionsResponse as aT, type UnhideActivityItemInput as aU, type UnlinkedPosition as aV, type UnlinkedPositionsResult as aW, type UpdateActivityPreferencesInput as aX, type UpdateProfileOverrideInput as aY, type UpdateProfileSelfInput as aZ, type UploadAvatarResult as a_, type InboxCounts as aa, type ListFeatureAllowlistOptions as ab, type MyGithubPullRequestsResponse as ac, type OrgClaimBinding as ad, type OrgClaimResult as ae, type OrgDomainChallengeResult as af, type OrgDomainVerifyResult as ag, type OrgNotificationEmailAddResult as ah, type OrgNotificationEmailRemoveResult as ai, type OrgProfileEcho as aj, type OrgProfileUpdateResult as ak, PROFILE_COMPLETENESS_SIGNALS as al, type PdsWipeOutcome as am, type PendingConfirmation as an, type PendingConfirmationsPage as ao, type PrimarySection as ap, type ProfileCompleteness as aq, type ProfileCompletenessSignal as ar, type ProfileIndustryInput as as, type ProfileLocationAddress as at, type ProfileLocationInput as au, type ProfileSelfLocation as av, QUOTED_POSTS_BATCH_MAX as aw, type QuotedPostAuthor as ax, type QuotedPostImage as ay, type QuotedPostResult as az, type AccountSummary as b, hideActivityItem as b$, type VerifyExternalAccountResult as b0, type WipePreview as b1, addFeatureAllowlist as b2, addOrgNotificationEmail as b3, bulkHideProfileItems as b4, bulkHideStandardPublications as b5, bulkUnhideProfileItems as b6, bulkUnhideStandardPublications as b7, castRoadmapVote as b8, checkAppAccount as b9, fetchFollowingFeedVersion as bA, fetchGivenConfirmations as bB, fetchHeatmapData as bC, fetchHiddenActivityItems as bD, fetchHiddenApps as bE, fetchInboxCounts as bF, fetchMyGithubPullRequests as bG, fetchMyRoadmapVotes as bH, fetchPendingConfirmations as bI, fetchProfileCompleteness as bJ, fetchReactionStatus as bK, fetchRepoInventory as bL, fetchRoadmapVotes as bM, fetchSimilarProfiles as bN, fetchSiteActivityPreset as bO, fetchStats as bP, fetchSuggestionCount as bQ, fetchSuggestions as bR, fetchUnlinkedPositions as bS, fetchViewerPositionConfirmations as bT, fetchWipePreview as bU, followUser as bV, getAdminReviewQueues as bW, getBlueskySuggestions as bX, getFollowers as bY, getFollowing as bZ, getMutuals as b_, confirmEndorsement as ba, createConfirmation as bb, createEndorsement as bc, createExternalAccount as bd, createProfileLocation as be, createReaction as bf, createSkill as bg, deleteAccount as bh, deleteAvatarOverride as bi, deleteExternalAccount as bj, deleteNamePronunciationAudio as bk, deleteProfileLocation as bl, deleteReaction as bm, deleteRepoRecords as bn, deleteSkill as bo, dismissConfirmation as bp, dismissUnlinkedPosition as bq, fetchAccounts as br, fetchActivityFeed as bs, fetchActivityPreferences as bt, fetchActivityTeaser as bu, fetchAppsRegistry as bv, fetchExternalAccounts as bw, fetchFeaturedProfile as bx, fetchFollowing as by, fetchFollowingFeed as bz, type ActivityFeedResponse as c, hideOrcidPublication as c0, hideProfileItem as c1, hideSifaPublication as c2, hideStandardPublication as c3, isNewerFollowingFeed as c4, listFeatureAllowlist as c5, refreshOrcidPublications as c6, refreshPds as c7, removeFeatureAllowlist as c8, removeOrgNotificationEmail as c9, uploadAvatar as cA, uploadNamePronunciationAudio as cB, verifyExternalAccount as cC, verifyOrgDomain as cD, repoExportUrl as ca, requestOrgDomainChallenge as cb, resetProfile as cc, resolveQuotedPosts as cd, retractRoadmapVote as ce, revokeConfirmation as cf, setExternalAccountPrimary as cg, setSectionPrimary as ch, submitOrgClaim as ci, switchAccount as cj, unfollowUser as ck, unhideActivityItem as cl, unhideOrcidPublication as cm, unhideProfileItem as cn, unhideSifaPublication as co, unhideStandardPublication as cp, unsetExternalAccountPrimary as cq, unsetSectionPrimary as cr, updateActivityPreferences as cs, updateExternalAccount as ct, updateOrgProfile as cu, updateProfileLocation as cv, updateProfileOverride as cw, updateProfileSelf as cx, updateSkill as cy, updateSkillSubCategories as cz, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type DismissUnlinkedPositionInput as o, type ExternalAccountInput as p, type FeaturedProfile as q, type FetchAccountsOptions as r, sifaQueryKeys as s, type FetchActivityFeedOptions as t, type FetchActivityPreferencesOptions as u, type FetchActivityTeaserOptions as v, type FetchConfirmationsOptions as w, type FetchFollowListOptions as x, type FetchFollowProfilePageOptions as y, type FetchFollowingFeedOptions as z };