@singi-labs/sifa-sdk 0.14.7 → 0.15.0

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/index.d.cts CHANGED
@@ -300,6 +300,9 @@ declare function groupSkillsForDisplay<T extends ProfileSkill>(skills: T[], opti
300
300
  * public-facing copy.
301
301
  */
302
302
  declare const APP_CATEGORIES: {
303
+ readonly Art: {
304
+ readonly phosphorIcon: "PaintBrush";
305
+ };
303
306
  readonly Articles: {
304
307
  readonly phosphorIcon: "Article";
305
308
  };
@@ -318,6 +321,9 @@ declare const APP_CATEGORIES: {
318
321
  readonly Events: {
319
322
  readonly phosphorIcon: "CalendarBlank";
320
323
  };
324
+ readonly Impact: {
325
+ readonly phosphorIcon: "Certificate";
326
+ };
321
327
  readonly Links: {
322
328
  readonly phosphorIcon: "LinkSimple";
323
329
  };
@@ -450,6 +456,10 @@ declare const APP_CATEGORY_MAP: {
450
456
  readonly zeens: "Photos";
451
457
  readonly locale: "Translations";
452
458
  readonly pckt: "Posts";
459
+ readonly hypercerts: "Impact";
460
+ readonly certified: "Endorsements";
461
+ readonly impactindexer: "Reviews";
462
+ readonly pinksea: "Art";
453
463
  readonly linkat: "Links";
454
464
  readonly kipclip: "Links";
455
465
  readonly statusphere: "Social";
package/dist/index.d.ts CHANGED
@@ -300,6 +300,9 @@ declare function groupSkillsForDisplay<T extends ProfileSkill>(skills: T[], opti
300
300
  * public-facing copy.
301
301
  */
302
302
  declare const APP_CATEGORIES: {
303
+ readonly Art: {
304
+ readonly phosphorIcon: "PaintBrush";
305
+ };
303
306
  readonly Articles: {
304
307
  readonly phosphorIcon: "Article";
305
308
  };
@@ -318,6 +321,9 @@ declare const APP_CATEGORIES: {
318
321
  readonly Events: {
319
322
  readonly phosphorIcon: "CalendarBlank";
320
323
  };
324
+ readonly Impact: {
325
+ readonly phosphorIcon: "Certificate";
326
+ };
321
327
  readonly Links: {
322
328
  readonly phosphorIcon: "LinkSimple";
323
329
  };
@@ -450,6 +456,10 @@ declare const APP_CATEGORY_MAP: {
450
456
  readonly zeens: "Photos";
451
457
  readonly locale: "Translations";
452
458
  readonly pckt: "Posts";
459
+ readonly hypercerts: "Impact";
460
+ readonly certified: "Endorsements";
461
+ readonly impactindexer: "Reviews";
462
+ readonly pinksea: "Art";
453
463
  readonly linkat: "Links";
454
464
  readonly kipclip: "Links";
455
465
  readonly statusphere: "Social";
package/dist/index.js CHANGED
@@ -977,12 +977,14 @@ function groupSkillsForDisplay(skills, options = {}) {
977
977
 
978
978
  // src/taxonomy/app-categories.ts
979
979
  var APP_CATEGORIES = {
980
+ Art: { phosphorIcon: "PaintBrush" },
980
981
  Articles: { phosphorIcon: "Article" },
981
982
  Chat: { phosphorIcon: "ChatsCircle" },
982
983
  Code: { phosphorIcon: "Code" },
983
984
  Domains: { phosphorIcon: "Globe" },
984
985
  Endorsements: { phosphorIcon: "HandHeart" },
985
986
  Events: { phosphorIcon: "CalendarBlank" },
987
+ Impact: { phosphorIcon: "Certificate" },
986
988
  Links: { phosphorIcon: "LinkSimple" },
987
989
  Lists: { phosphorIcon: "ListBullets" },
988
990
  Music: { phosphorIcon: "MusicNote" },
@@ -1125,6 +1127,15 @@ var APP_CATEGORY_MAP = {
1125
1127
  // at.locale.{project,translation} — localization projects and authored translation strings on locale.at
1126
1128
  pckt: "Posts",
1127
1129
  // blog.pckt.mini.post — microblog posts with no site.standard.document twin
1130
+ // Onboard from the holke.xyz profile audit (impact-funding ecosystem).
1131
+ hypercerts: "Impact",
1132
+ // org.hypercerts.{claim.activity,collection} — authored claims of work done, and the project collections that group them
1133
+ certified: "Endorsements",
1134
+ // app.certified.{badge.award,actor.membership} — endorsements issued to another DID, and group memberships
1135
+ impactindexer: "Reviews",
1136
+ // org.impactindexer.review.comment — written reviews of a hypercert claim
1137
+ pinksea: "Art",
1138
+ // com.shinolabs.pinksea.oekaki — hand-drawn artwork posted to the PinkSea oekaki BBS
1128
1139
  // Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
1129
1140
  // no backend scan collection yet)
1130
1141
  linkat: "Links",
@@ -3323,6 +3334,29 @@ var APP_URL_PATTERNS = Object.freeze({
3323
3334
  urlPattern: "https://kich.io/recipes/{rkey}",
3324
3335
  profileUrlPattern: "https://kich.io"
3325
3336
  },
3337
+ pinksea: {
3338
+ // PinkSea oekaki viewer. Verified live: GET /{did}/oekaki/{rkey} returns
3339
+ // 200 AND its og:image resolves to harbor.pinksea.art/{did}/{blobCid}
3340
+ // carrying the same CID as the record, so the route really is per-record
3341
+ // and not just an SPA catch-all.
3342
+ urlPattern: "https://pinksea.art/{did}/oekaki/{rkey}",
3343
+ profileUrlPattern: "https://pinksea.art/{did}"
3344
+ },
3345
+ hypercerts: {
3346
+ // No confirmed public per-record viewer. hyperscan.dev is a network-wide
3347
+ // search explorer (its input takes "DID, handle, AT-URI, or PDS host"),
3348
+ // and hypercerts.org 404s on every claim route tried. Recognized so the
3349
+ // pill renders, but cards stay non-clickable.
3350
+ },
3351
+ certified: {
3352
+ // certified.app is fully client-rendered and returns an identical
3353
+ // "Loading" shell for a real DID and a nonsense one, so no per-record
3354
+ // route could be verified. Non-clickable until one is confirmed.
3355
+ },
3356
+ impactindexer: {
3357
+ // Reviews are surfaced through hyperscan.dev/review, which has no
3358
+ // per-record route. Non-clickable.
3359
+ },
3326
3360
  recipe: {
3327
3361
  // recipe.exchange viewer. Verified: GET /recipes/{rkey} returns 200 (rkey
3328
3362
  // alone; no did needed) and /profiles/{handle} returns 200 for the author
@@ -3425,7 +3459,12 @@ var COLLECTION_TO_APP = [
3425
3459
  // Onboard from aaronstevenwhite.io profile audit.
3426
3460
  ["pub.chive.", "chive"],
3427
3461
  // Onboard from helene-cook.eu profile audit. Zeens kept its old NSID.
3428
- ["app.photosky.", "zeens"]
3462
+ ["app.photosky.", "zeens"],
3463
+ // Onboard from the holke.xyz profile audit.
3464
+ ["org.hypercerts.", "hypercerts"],
3465
+ ["app.certified.", "certified"],
3466
+ ["org.impactindexer.", "impactindexer"],
3467
+ ["com.shinolabs.pinksea.", "pinksea"]
3429
3468
  ];
3430
3469
 
3431
3470
  // src/cards/resolve-card-url.ts
@@ -5943,7 +5982,7 @@ function describeSifaRecord(collection, value) {
5943
5982
  }
5944
5983
 
5945
5984
  // src/index.ts
5946
- var SIFA_SDK_VERSION = "0.14.7";
5985
+ var SIFA_SDK_VERSION = "0.15.0";
5947
5986
 
5948
5987
  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, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, InvestmentAmountSchema, MIN_SKILLS, ON_BEHALF_OF_EMPLOYMENT_TYPES, 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_INVESTMENT_NSID, PROFILE_INVOLVEMENT_NSID, PROJECT_ROLES, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvestmentRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, SECTION_GROUPS, SECTION_LABELS, SIFA_REPO_GROUPS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, buildMetaDescription, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatLocation, formatPresentationDuration, formatRelativeTime, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRoleLineRedundant, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, repoGroupForCollection, resolveAccountFacetMode, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, skillRefSchema, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
5949
5988
  //# sourceMappingURL=index.js.map