@singi-labs/sifa-sdk 0.18.0 → 0.18.2
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.cjs +35 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +35 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -460,6 +460,8 @@ declare const APP_CATEGORY_MAP: {
|
|
|
460
460
|
readonly certified: "Endorsements";
|
|
461
461
|
readonly impactindexer: "Reviews";
|
|
462
462
|
readonly pinksea: "Art";
|
|
463
|
+
readonly dropanchor: "Places";
|
|
464
|
+
readonly askeverything: "Q&A";
|
|
463
465
|
readonly linkat: "Links";
|
|
464
466
|
readonly kipclip: "Links";
|
|
465
467
|
readonly statusphere: "Social";
|
package/dist/index.d.ts
CHANGED
|
@@ -460,6 +460,8 @@ declare const APP_CATEGORY_MAP: {
|
|
|
460
460
|
readonly certified: "Endorsements";
|
|
461
461
|
readonly impactindexer: "Reviews";
|
|
462
462
|
readonly pinksea: "Art";
|
|
463
|
+
readonly dropanchor: "Places";
|
|
464
|
+
readonly askeverything: "Q&A";
|
|
463
465
|
readonly linkat: "Links";
|
|
464
466
|
readonly kipclip: "Links";
|
|
465
467
|
readonly statusphere: "Social";
|
package/dist/index.js
CHANGED
|
@@ -1136,6 +1136,12 @@ var APP_CATEGORY_MAP = {
|
|
|
1136
1136
|
// org.impactindexer.review.comment — written reviews of a hypercert claim
|
|
1137
1137
|
pinksea: "Art",
|
|
1138
1138
|
// com.shinolabs.pinksea.oekaki — hand-drawn artwork posted to the PinkSea oekaki BBS
|
|
1139
|
+
// Onboard from the tijs.org profile audit.
|
|
1140
|
+
dropanchor: "Places",
|
|
1141
|
+
// app.dropanchor.checkin — location check-ins (place, geo, optional review text)
|
|
1142
|
+
// Onboard from the angrydutchman.houseofmadness.org profile audit.
|
|
1143
|
+
askeverything: "Q&A",
|
|
1144
|
+
// app.askeverything.feed.answer — authored answers to community questions
|
|
1139
1145
|
// Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
|
|
1140
1146
|
// no backend scan collection yet)
|
|
1141
1147
|
linkat: "Links",
|
|
@@ -1266,6 +1272,16 @@ var activity_tiers_default = {
|
|
|
1266
1272
|
app: "collectivesocial",
|
|
1267
1273
|
notes: "Auto-created default Inbox lists are filtered at the consumer layer via isDefault=true predicate."
|
|
1268
1274
|
},
|
|
1275
|
+
"app.dropanchor.checkin": {
|
|
1276
|
+
tier: "creation",
|
|
1277
|
+
app: "dropanchor",
|
|
1278
|
+
notes: "A location check-in (place, geo, category, optional review text). Authored, so creation. app.dropanchor.like is excluded backend-side."
|
|
1279
|
+
},
|
|
1280
|
+
"app.askeverything.feed.answer": {
|
|
1281
|
+
tier: "creation",
|
|
1282
|
+
app: "askeverything",
|
|
1283
|
+
notes: "An authored answer to a community question (opinion with body text). app.askeverything.actor.* and graph.follow are excluded backend-side."
|
|
1284
|
+
},
|
|
1269
1285
|
"app.mcp.server": {
|
|
1270
1286
|
tier: "creation",
|
|
1271
1287
|
app: "mcp"
|
|
@@ -3428,6 +3444,19 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
3428
3444
|
// are pre-encoded as literals here rather than resolved bespoke.
|
|
3429
3445
|
urlPattern: "https://chive.pub/eprints/at%3A%2F%2F{did}%2Fpub.chive.eprint.submission%2F{rkey}",
|
|
3430
3446
|
profileUrlPattern: "https://chive.pub/authors/{did}"
|
|
3447
|
+
},
|
|
3448
|
+
dropanchor: {
|
|
3449
|
+
// Dropanchor (dropanchor.app) renders each check-in at /checkin/{rkey} —
|
|
3450
|
+
// the record's own rkey, no did/handle needed. Documented as the OG-tagged
|
|
3451
|
+
// share URL in the dropanchorapp repos. A self-permalink for this record.
|
|
3452
|
+
urlPattern: "https://dropanchor.app/checkin/{rkey}"
|
|
3453
|
+
},
|
|
3454
|
+
askeverything: {
|
|
3455
|
+
// Ask Everything (askeverything.app) keys its public answer route
|
|
3456
|
+
// (/answer/{id}) on an internal DB id, not the atproto rkey, so there's no
|
|
3457
|
+
// per-record permalink we can build from {did, rkey}. Its profile route
|
|
3458
|
+
// /profile/{handle} does resolve by atproto handle, so fall back to that.
|
|
3459
|
+
profileUrlPattern: "https://askeverything.app/profile/{handle}"
|
|
3431
3460
|
}
|
|
3432
3461
|
});
|
|
3433
3462
|
var COLLECTION_TO_APP = [
|
|
@@ -3509,7 +3538,11 @@ var COLLECTION_TO_APP = [
|
|
|
3509
3538
|
["org.hypercerts.", "hypercerts"],
|
|
3510
3539
|
["app.certified.", "certified"],
|
|
3511
3540
|
["org.impactindexer.", "impactindexer"],
|
|
3512
|
-
["com.shinolabs.pinksea.", "pinksea"]
|
|
3541
|
+
["com.shinolabs.pinksea.", "pinksea"],
|
|
3542
|
+
// Onboard from tijs.org profile audit.
|
|
3543
|
+
["app.dropanchor.", "dropanchor"],
|
|
3544
|
+
// Onboard from angrydutchman.houseofmadness.org profile audit.
|
|
3545
|
+
["app.askeverything.", "askeverything"]
|
|
3513
3546
|
];
|
|
3514
3547
|
|
|
3515
3548
|
// src/cards/resolve-card-url.ts
|
|
@@ -6065,7 +6098,7 @@ function describeSifaRecord(collection, value) {
|
|
|
6065
6098
|
}
|
|
6066
6099
|
|
|
6067
6100
|
// src/index.ts
|
|
6068
|
-
var SIFA_SDK_VERSION = "0.18.
|
|
6101
|
+
var SIFA_SDK_VERSION = "0.18.2";
|
|
6069
6102
|
|
|
6070
6103
|
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 };
|
|
6071
6104
|
//# sourceMappingURL=index.js.map
|