@singi-labs/sifa-sdk 0.9.22 → 0.10.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.cjs +16 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -6
- package/dist/index.d.ts +13 -6
- package/dist/index.js +16 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -206,6 +206,9 @@ declare const APP_CATEGORIES: {
|
|
|
206
206
|
readonly Lists: {
|
|
207
207
|
readonly phosphorIcon: "ListBullets";
|
|
208
208
|
};
|
|
209
|
+
readonly Music: {
|
|
210
|
+
readonly phosphorIcon: "MusicNote";
|
|
211
|
+
};
|
|
209
212
|
readonly Pages: {
|
|
210
213
|
readonly phosphorIcon: "BrowserSimple";
|
|
211
214
|
};
|
|
@@ -221,7 +224,7 @@ declare const APP_CATEGORIES: {
|
|
|
221
224
|
readonly Posts: {
|
|
222
225
|
readonly phosphorIcon: "ChatCircle";
|
|
223
226
|
};
|
|
224
|
-
readonly
|
|
227
|
+
readonly 'Q&A': {
|
|
225
228
|
readonly phosphorIcon: "Question";
|
|
226
229
|
};
|
|
227
230
|
readonly Research: {
|
|
@@ -277,15 +280,19 @@ declare const APP_CATEGORY_MAP: {
|
|
|
277
280
|
readonly leaflet: "Articles";
|
|
278
281
|
readonly colibri: "Social";
|
|
279
282
|
readonly collectivesocial: "Lists";
|
|
283
|
+
readonly bookhive: "Reviews";
|
|
284
|
+
readonly beaconbits: "Places";
|
|
285
|
+
readonly passports: "Places";
|
|
286
|
+
readonly asq: "Q&A";
|
|
287
|
+
readonly spark: "Posts";
|
|
288
|
+
readonly nooki: "Social";
|
|
289
|
+
readonly atstore: "Reviews";
|
|
290
|
+
readonly plyr: "Music";
|
|
291
|
+
readonly anisota: "Posts";
|
|
280
292
|
readonly linkat: "Links";
|
|
281
293
|
readonly kipclip: "Links";
|
|
282
294
|
readonly statusphere: "Social";
|
|
283
|
-
readonly bookhive: "Reviews";
|
|
284
|
-
readonly passports: "Social";
|
|
285
|
-
readonly beaconbits: "Places";
|
|
286
295
|
readonly margin: "Research";
|
|
287
|
-
readonly anisota: "Posts";
|
|
288
|
-
readonly asq: "Questions";
|
|
289
296
|
};
|
|
290
297
|
type KnownAppId = keyof typeof APP_CATEGORY_MAP;
|
|
291
298
|
declare function isKnownAppId(appId: string): appId is KnownAppId;
|
package/dist/index.d.ts
CHANGED
|
@@ -206,6 +206,9 @@ declare const APP_CATEGORIES: {
|
|
|
206
206
|
readonly Lists: {
|
|
207
207
|
readonly phosphorIcon: "ListBullets";
|
|
208
208
|
};
|
|
209
|
+
readonly Music: {
|
|
210
|
+
readonly phosphorIcon: "MusicNote";
|
|
211
|
+
};
|
|
209
212
|
readonly Pages: {
|
|
210
213
|
readonly phosphorIcon: "BrowserSimple";
|
|
211
214
|
};
|
|
@@ -221,7 +224,7 @@ declare const APP_CATEGORIES: {
|
|
|
221
224
|
readonly Posts: {
|
|
222
225
|
readonly phosphorIcon: "ChatCircle";
|
|
223
226
|
};
|
|
224
|
-
readonly
|
|
227
|
+
readonly 'Q&A': {
|
|
225
228
|
readonly phosphorIcon: "Question";
|
|
226
229
|
};
|
|
227
230
|
readonly Research: {
|
|
@@ -277,15 +280,19 @@ declare const APP_CATEGORY_MAP: {
|
|
|
277
280
|
readonly leaflet: "Articles";
|
|
278
281
|
readonly colibri: "Social";
|
|
279
282
|
readonly collectivesocial: "Lists";
|
|
283
|
+
readonly bookhive: "Reviews";
|
|
284
|
+
readonly beaconbits: "Places";
|
|
285
|
+
readonly passports: "Places";
|
|
286
|
+
readonly asq: "Q&A";
|
|
287
|
+
readonly spark: "Posts";
|
|
288
|
+
readonly nooki: "Social";
|
|
289
|
+
readonly atstore: "Reviews";
|
|
290
|
+
readonly plyr: "Music";
|
|
291
|
+
readonly anisota: "Posts";
|
|
280
292
|
readonly linkat: "Links";
|
|
281
293
|
readonly kipclip: "Links";
|
|
282
294
|
readonly statusphere: "Social";
|
|
283
|
-
readonly bookhive: "Reviews";
|
|
284
|
-
readonly passports: "Social";
|
|
285
|
-
readonly beaconbits: "Places";
|
|
286
295
|
readonly margin: "Research";
|
|
287
|
-
readonly anisota: "Posts";
|
|
288
|
-
readonly asq: "Questions";
|
|
289
296
|
};
|
|
290
297
|
type KnownAppId = keyof typeof APP_CATEGORY_MAP;
|
|
291
298
|
declare function isKnownAppId(appId: string): appId is KnownAppId;
|
package/dist/index.js
CHANGED
|
@@ -802,12 +802,13 @@ var APP_CATEGORIES = {
|
|
|
802
802
|
Events: { phosphorIcon: "CalendarBlank" },
|
|
803
803
|
Links: { phosphorIcon: "LinkSimple" },
|
|
804
804
|
Lists: { phosphorIcon: "ListBullets" },
|
|
805
|
+
Music: { phosphorIcon: "MusicNote" },
|
|
805
806
|
Pages: { phosphorIcon: "BrowserSimple" },
|
|
806
807
|
Pastes: { phosphorIcon: "Clipboard" },
|
|
807
808
|
Photos: { phosphorIcon: "Camera" },
|
|
808
809
|
Places: { phosphorIcon: "MapPin" },
|
|
809
810
|
Posts: { phosphorIcon: "ChatCircle" },
|
|
810
|
-
|
|
811
|
+
"Q&A": { phosphorIcon: "Question" },
|
|
811
812
|
Research: { phosphorIcon: "Path" },
|
|
812
813
|
Reviews: { phosphorIcon: "Star" },
|
|
813
814
|
Social: { phosphorIcon: "UsersThree" },
|
|
@@ -824,7 +825,7 @@ function getAppCategoryIcon(category) {
|
|
|
824
825
|
|
|
825
826
|
// src/taxonomy/app-category-map.ts
|
|
826
827
|
var APP_CATEGORY_MAP = {
|
|
827
|
-
//
|
|
828
|
+
// Backend-scanned (sifa-api APP_REGISTRY)
|
|
828
829
|
bluesky: "Posts",
|
|
829
830
|
tangled: "Code",
|
|
830
831
|
github: "Code",
|
|
@@ -846,16 +847,21 @@ var APP_CATEGORY_MAP = {
|
|
|
846
847
|
leaflet: "Articles",
|
|
847
848
|
colibri: "Social",
|
|
848
849
|
collectivesocial: "Lists",
|
|
849
|
-
// Web-only (rendered in pills/cards; not scanned as standalone collections yet)
|
|
850
|
-
linkat: "Links",
|
|
851
|
-
kipclip: "Links",
|
|
852
|
-
statusphere: "Social",
|
|
853
850
|
bookhive: "Reviews",
|
|
854
|
-
passports: "Social",
|
|
855
851
|
beaconbits: "Places",
|
|
856
|
-
|
|
852
|
+
passports: "Places",
|
|
853
|
+
asq: "Q&A",
|
|
854
|
+
spark: "Posts",
|
|
855
|
+
nooki: "Social",
|
|
856
|
+
atstore: "Reviews",
|
|
857
|
+
plyr: "Music",
|
|
857
858
|
anisota: "Posts",
|
|
858
|
-
|
|
859
|
+
// Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
|
|
860
|
+
// no backend scan collection yet)
|
|
861
|
+
linkat: "Links",
|
|
862
|
+
kipclip: "Links",
|
|
863
|
+
statusphere: "Social",
|
|
864
|
+
margin: "Research"
|
|
859
865
|
};
|
|
860
866
|
function isKnownAppId(appId) {
|
|
861
867
|
return Object.prototype.hasOwnProperty.call(APP_CATEGORY_MAP, appId);
|
|
@@ -2061,7 +2067,7 @@ var ProfileVolunteeringRecordSchema = z.object({
|
|
|
2061
2067
|
});
|
|
2062
2068
|
|
|
2063
2069
|
// src/index.ts
|
|
2064
|
-
var SIFA_SDK_VERSION = "0.
|
|
2070
|
+
var SIFA_SDK_VERSION = "0.10.0";
|
|
2065
2071
|
|
|
2066
2072
|
export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, AtmosphereFeedItemSchema, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, PLATFORM_LABELS, PLATFORM_OPTIONS, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SIFA_SDK_VERSION, SKILL_CATEGORIES, SifaFeedItemSchema, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, categoryForApp, certDateExtractor, cidSchema, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, encodeFeedCursor, findIndustry, formatDistanceToNow, formatLocation, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, isAppCategory, isKnownAppId, isKnownPlatform, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, parseLocationString, pdsProviderFromApi, pickPrimaryPosition, profileToDimensionInputs, relativeLuminance, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, selfLabelsSchema, singleDateExtractor, sortByDateDesc, strongRefSchema, truncateGraphemes, uriSchema };
|
|
2067
2073
|
//# sourceMappingURL=index.js.map
|