@singi-labs/sifa-sdk 0.12.23 → 0.12.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/badge/index.cjs +263 -0
- package/dist/badge/index.cjs.map +1 -0
- package/dist/badge/index.d.cts +37 -0
- package/dist/badge/index.d.ts +37 -0
- package/dist/badge/index.js +260 -0
- package/dist/badge/index.js.map +1 -0
- package/dist/index.cjs +13 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +13 -2
- package/dist/index.js.map +1 -1
- package/package.json +15 -2
package/dist/index.d.cts
CHANGED
|
@@ -373,6 +373,7 @@ declare const APP_CATEGORY_MAP: {
|
|
|
373
373
|
readonly kich: "Recipes";
|
|
374
374
|
readonly margin: "Research";
|
|
375
375
|
readonly recipe: "Recipes";
|
|
376
|
+
readonly guestbook: "Social";
|
|
376
377
|
readonly linkat: "Links";
|
|
377
378
|
readonly kipclip: "Links";
|
|
378
379
|
readonly statusphere: "Social";
|
package/dist/index.d.ts
CHANGED
|
@@ -373,6 +373,7 @@ declare const APP_CATEGORY_MAP: {
|
|
|
373
373
|
readonly kich: "Recipes";
|
|
374
374
|
readonly margin: "Research";
|
|
375
375
|
readonly recipe: "Recipes";
|
|
376
|
+
readonly guestbook: "Social";
|
|
376
377
|
readonly linkat: "Links";
|
|
377
378
|
readonly kipclip: "Links";
|
|
378
379
|
readonly statusphere: "Social";
|
package/dist/index.js
CHANGED
|
@@ -1020,6 +1020,9 @@ var APP_CATEGORY_MAP = {
|
|
|
1020
1020
|
// Onboard from moll.dev profile audit.
|
|
1021
1021
|
recipe: "Recipes",
|
|
1022
1022
|
// exchange.recipe.recipe — authored recipes on recipe.exchange
|
|
1023
|
+
// Onboard from willow.sh profile audit.
|
|
1024
|
+
guestbook: "Social",
|
|
1025
|
+
// dev.baileytownsend.guestbook.entry — a note left on someone's cross-site guestbook
|
|
1023
1026
|
// Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
|
|
1024
1027
|
// no backend scan collection yet)
|
|
1025
1028
|
linkat: "Links",
|
|
@@ -2356,6 +2359,12 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
2356
2359
|
// record.canonicalUrl (handled in resolveCardUrl); `note` records have no
|
|
2357
2360
|
// public URL and render non-clickable. So no app-level pattern applies.
|
|
2358
2361
|
},
|
|
2362
|
+
guestbook: {
|
|
2363
|
+
// Guestbook (dev.baileytownsend.guestbook) is a self-hosted, cross-site
|
|
2364
|
+
// widget: each site owner renders their own guestbook wherever they choose,
|
|
2365
|
+
// so there is no canonical public per-entry viewer or per-handle profile
|
|
2366
|
+
// page. Entries render non-clickable. Same shape as crate `note`.
|
|
2367
|
+
},
|
|
2359
2368
|
atmorsvp: {
|
|
2360
2369
|
// atmo.rsvp events live at /p/{did}/e/{rkey}. The per-item pattern is used
|
|
2361
2370
|
// for the event record itself; checkin records build their URL from the
|
|
@@ -2466,7 +2475,9 @@ var COLLECTION_TO_APP = [
|
|
|
2466
2475
|
["os.aether.", "aetherdocs"],
|
|
2467
2476
|
["io.kich.recipe.recipe", "kich"],
|
|
2468
2477
|
// Onboard from moll.dev profile audit.
|
|
2469
|
-
["exchange.recipe.recipe", "recipe"]
|
|
2478
|
+
["exchange.recipe.recipe", "recipe"],
|
|
2479
|
+
// Onboard from willow.sh profile audit.
|
|
2480
|
+
["dev.baileytownsend.guestbook.", "guestbook"]
|
|
2470
2481
|
];
|
|
2471
2482
|
|
|
2472
2483
|
// src/cards/resolve-card-url.ts
|
|
@@ -4641,7 +4652,7 @@ var ProfileVolunteeringRecordSchema = z.object({
|
|
|
4641
4652
|
});
|
|
4642
4653
|
|
|
4643
4654
|
// src/index.ts
|
|
4644
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
4655
|
+
var SIFA_SDK_VERSION = "0.12.25";
|
|
4645
4656
|
|
|
4646
4657
|
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVOLVEMENT_NSID, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SECTION_GROUPS, SECTION_LABELS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, hasAdultContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
|
|
4647
4658
|
//# sourceMappingURL=index.js.map
|