@singi-labs/sifa-sdk 0.12.70 → 0.12.72
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 +26 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +26 -2
- package/dist/index.js.map +1 -1
- package/dist/jsonld/index.cjs.map +1 -1
- package/dist/jsonld/index.js.map +1 -1
- package/dist/{network-map-BAuHfC6e.d.cts → network-map-CpwO3k-e.d.cts} +1 -1
- package/dist/{network-map-l-qT7ada.d.ts → network-map-DpEQ65cq.d.ts} +1 -1
- package/dist/{org-BaWCreh6.d.cts → org-DJyiwPcL.d.cts} +1 -1
- package/dist/{org-OaBu-89h.d.ts → org-DxhtogOn.d.ts} +1 -1
- package/dist/{org-settings-B8e01iZx.d.cts → org-settings-CZ_tmAYl.d.cts} +1 -1
- package/dist/{org-settings-B8e01iZx.d.ts → org-settings-CZ_tmAYl.d.ts} +1 -1
- package/dist/query/fetchers/index.d.cts +4 -4
- package/dist/query/fetchers/index.d.ts +4 -4
- package/dist/query/hooks/index.d.cts +4 -4
- package/dist/query/hooks/index.d.ts +4 -4
- package/dist/query/index.d.cts +6 -6
- package/dist/query/index.d.ts +6 -6
- package/dist/schemas/write/index.d.cts +1 -1
- package/dist/schemas/write/index.d.ts +1 -1
- package/dist/{use-org-notification-emails-DG2qXAKu.d.ts → use-org-notification-emails-C3TuUp8c.d.ts} +2 -2
- package/dist/{use-org-notification-emails-CcuTb7LT.d.cts → use-org-notification-emails-ChctAwP5.d.cts} +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -427,6 +427,7 @@ declare const APP_CATEGORY_MAP: {
|
|
|
427
427
|
readonly recipe: "Recipes";
|
|
428
428
|
readonly guestbook: "Social";
|
|
429
429
|
readonly atmobb: "Social";
|
|
430
|
+
readonly chive: "Research";
|
|
430
431
|
readonly linkat: "Links";
|
|
431
432
|
readonly kipclip: "Links";
|
|
432
433
|
readonly statusphere: "Social";
|
|
@@ -2175,6 +2176,11 @@ declare const ALL_SECTIONS: readonly [{
|
|
|
2175
2176
|
readonly labelKey: "involvement";
|
|
2176
2177
|
readonly ns: "sections";
|
|
2177
2178
|
readonly group: "more";
|
|
2179
|
+
}, {
|
|
2180
|
+
readonly id: "investments";
|
|
2181
|
+
readonly labelKey: "investments";
|
|
2182
|
+
readonly ns: "sections";
|
|
2183
|
+
readonly group: "more";
|
|
2178
2184
|
}, {
|
|
2179
2185
|
readonly id: "languages";
|
|
2180
2186
|
readonly labelKey: "languages";
|
package/dist/index.d.ts
CHANGED
|
@@ -427,6 +427,7 @@ declare const APP_CATEGORY_MAP: {
|
|
|
427
427
|
readonly recipe: "Recipes";
|
|
428
428
|
readonly guestbook: "Social";
|
|
429
429
|
readonly atmobb: "Social";
|
|
430
|
+
readonly chive: "Research";
|
|
430
431
|
readonly linkat: "Links";
|
|
431
432
|
readonly kipclip: "Links";
|
|
432
433
|
readonly statusphere: "Social";
|
|
@@ -2175,6 +2176,11 @@ declare const ALL_SECTIONS: readonly [{
|
|
|
2175
2176
|
readonly labelKey: "involvement";
|
|
2176
2177
|
readonly ns: "sections";
|
|
2177
2178
|
readonly group: "more";
|
|
2179
|
+
}, {
|
|
2180
|
+
readonly id: "investments";
|
|
2181
|
+
readonly labelKey: "investments";
|
|
2182
|
+
readonly ns: "sections";
|
|
2183
|
+
readonly group: "more";
|
|
2178
2184
|
}, {
|
|
2179
2185
|
readonly id: "languages";
|
|
2180
2186
|
readonly labelKey: "languages";
|
package/dist/index.js
CHANGED
|
@@ -1101,6 +1101,9 @@ var APP_CATEGORY_MAP = {
|
|
|
1101
1101
|
// Onboard from trezy.codes profile audit.
|
|
1102
1102
|
atmobb: "Social",
|
|
1103
1103
|
// app.atmobb.discussion.{thread,reply} — federated forum threads + replies
|
|
1104
|
+
// Onboard from aaronstevenwhite.io profile audit.
|
|
1105
|
+
chive: "Research",
|
|
1106
|
+
// pub.chive.eprint.submission — preprints on chive.pub
|
|
1104
1107
|
// Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
|
|
1105
1108
|
// no backend scan collection yet)
|
|
1106
1109
|
linkat: "Links",
|
|
@@ -1654,6 +1657,11 @@ var activity_tiers_default = {
|
|
|
1654
1657
|
app: "streamplace",
|
|
1655
1658
|
notes: "Stream configuration metadata."
|
|
1656
1659
|
},
|
|
1660
|
+
"pub.chive.eprint.submission": {
|
|
1661
|
+
tier: "creation",
|
|
1662
|
+
app: "chive",
|
|
1663
|
+
notes: "An authored preprint: title, ordered authors with affiliations, abstract."
|
|
1664
|
+
},
|
|
1657
1665
|
"pub.leaflet.authFullPermissions": {
|
|
1658
1666
|
tier: "filtered",
|
|
1659
1667
|
app: "leaflet",
|
|
@@ -2719,6 +2727,9 @@ var ALL_SECTIONS = [
|
|
|
2719
2727
|
{ id: "courses", labelKey: "courses", ns: "sections", group: "qualifications" },
|
|
2720
2728
|
{ id: "awards", labelKey: "awards", ns: "sections", group: "more" },
|
|
2721
2729
|
{ id: "involvement", labelKey: "involvement", ns: "sections", group: "more" },
|
|
2730
|
+
// Its own section rather than a group under involvement: that record is about
|
|
2731
|
+
// work contributed, this one about capital deployed.
|
|
2732
|
+
{ id: "investments", labelKey: "investments", ns: "sections", group: "more" },
|
|
2722
2733
|
{ id: "languages", labelKey: "languages", ns: "sections", group: "more" },
|
|
2723
2734
|
{
|
|
2724
2735
|
id: "other-profiles",
|
|
@@ -2749,6 +2760,8 @@ function isSectionPopulated(profile, id) {
|
|
|
2749
2760
|
return Boolean(profile.presentations?.length) || Boolean(profile.presentationDeliveries?.length);
|
|
2750
2761
|
case "involvement":
|
|
2751
2762
|
return Boolean(profile.involvement?.length);
|
|
2763
|
+
case "investments":
|
|
2764
|
+
return Boolean(profile.investments?.length);
|
|
2752
2765
|
case "awards":
|
|
2753
2766
|
return Boolean(profile.honors?.length);
|
|
2754
2767
|
case "languages":
|
|
@@ -2782,6 +2795,7 @@ var SECTION_LABELS = {
|
|
|
2782
2795
|
courses: "Courses",
|
|
2783
2796
|
awards: "Awards",
|
|
2784
2797
|
involvement: "Involvement",
|
|
2798
|
+
investments: "Investments",
|
|
2785
2799
|
languages: "Languages",
|
|
2786
2800
|
"other-profiles": "Links"
|
|
2787
2801
|
};
|
|
@@ -3172,6 +3186,14 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
3172
3186
|
// public per-record viewer. The card embeds the deck from the record; the
|
|
3173
3187
|
// outbound link points at the author's Aether OS space (mirrors aetheros).
|
|
3174
3188
|
profileUrlPattern: "https://aetheros.computer/{handle}"
|
|
3189
|
+
},
|
|
3190
|
+
chive: {
|
|
3191
|
+
// Chive's eprint route is a catch-all that decodes a single URI-encoded
|
|
3192
|
+
// at-uri segment: /eprints/<encodeURIComponent(at://did/nsid/rkey)>.
|
|
3193
|
+
// {did} and {rkey} are URI-encoded on interpolation, so the separators
|
|
3194
|
+
// are pre-encoded as literals here rather than resolved bespoke.
|
|
3195
|
+
urlPattern: "https://chive.pub/eprints/at%3A%2F%2F{did}%2Fpub.chive.eprint.submission%2F{rkey}",
|
|
3196
|
+
profileUrlPattern: "https://chive.pub/authors/{did}"
|
|
3175
3197
|
}
|
|
3176
3198
|
});
|
|
3177
3199
|
var COLLECTION_TO_APP = [
|
|
@@ -3243,7 +3265,9 @@ var COLLECTION_TO_APP = [
|
|
|
3243
3265
|
// Onboard from willow.sh profile audit.
|
|
3244
3266
|
["dev.baileytownsend.guestbook.", "guestbook"],
|
|
3245
3267
|
// Onboard from trezy.codes profile audit.
|
|
3246
|
-
["app.atmobb.", "atmobb"]
|
|
3268
|
+
["app.atmobb.", "atmobb"],
|
|
3269
|
+
// Onboard from aaronstevenwhite.io profile audit.
|
|
3270
|
+
["pub.chive.", "chive"]
|
|
3247
3271
|
];
|
|
3248
3272
|
|
|
3249
3273
|
// src/cards/resolve-card-url.ts
|
|
@@ -5753,7 +5777,7 @@ function describeSifaRecord(collection, value) {
|
|
|
5753
5777
|
}
|
|
5754
5778
|
|
|
5755
5779
|
// src/index.ts
|
|
5756
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
5780
|
+
var SIFA_SDK_VERSION = "0.12.72";
|
|
5757
5781
|
|
|
5758
5782
|
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, 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, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, 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, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, 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, 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 };
|
|
5759
5783
|
//# sourceMappingURL=index.js.map
|