@singi-labs/sifa-sdk 0.12.8 → 0.12.9
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 +338 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +241 -2
- package/dist/index.d.ts +241 -2
- package/dist/index.js +325 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2407,34 +2407,34 @@ function resolveCardHealth(item) {
|
|
|
2407
2407
|
if (subject != null && typeof subject === "object") {
|
|
2408
2408
|
const subjectUri = stringOrNull(subject.uri);
|
|
2409
2409
|
if (subjectUri) {
|
|
2410
|
-
const
|
|
2411
|
-
if (
|
|
2412
|
-
return urlHealth(`https://smokesignal.events/${
|
|
2410
|
+
const parsed3 = parseAtUri(subjectUri);
|
|
2411
|
+
if (parsed3) {
|
|
2412
|
+
return urlHealth(`https://smokesignal.events/${parsed3.did}/${parsed3.rkey}`);
|
|
2413
2413
|
}
|
|
2414
2414
|
}
|
|
2415
2415
|
}
|
|
2416
2416
|
return { url: null, strategy: "none" };
|
|
2417
2417
|
}
|
|
2418
2418
|
if (collection === "community.lexicon.calendar.event") {
|
|
2419
|
-
const
|
|
2420
|
-
if (
|
|
2421
|
-
return recordHealth(`https://smokesignal.events/${
|
|
2419
|
+
const parsed3 = parseAtUri(uri);
|
|
2420
|
+
if (parsed3) {
|
|
2421
|
+
return recordHealth(`https://smokesignal.events/${parsed3.did}/${parsed3.rkey}`);
|
|
2422
2422
|
}
|
|
2423
2423
|
return { url: null, strategy: "none" };
|
|
2424
2424
|
}
|
|
2425
2425
|
if (collection === "quest.atmo.event") {
|
|
2426
|
-
const
|
|
2427
|
-
if (
|
|
2428
|
-
return recordHealth(`https://atmo.rsvp/p/${
|
|
2426
|
+
const parsed3 = parseAtUri(uri);
|
|
2427
|
+
if (parsed3) {
|
|
2428
|
+
return recordHealth(`https://atmo.rsvp/p/${parsed3.did}/e/${parsed3.rkey}`);
|
|
2429
2429
|
}
|
|
2430
2430
|
return { url: null, strategy: "none" };
|
|
2431
2431
|
}
|
|
2432
2432
|
if (collection === "quest.atmo.checkin") {
|
|
2433
2433
|
const eventUri = stringOrNull(record.event);
|
|
2434
2434
|
if (eventUri) {
|
|
2435
|
-
const
|
|
2436
|
-
if (
|
|
2437
|
-
return urlHealth(`https://atmo.rsvp/p/${
|
|
2435
|
+
const parsed3 = parseAtUri(eventUri);
|
|
2436
|
+
if (parsed3) {
|
|
2437
|
+
return urlHealth(`https://atmo.rsvp/p/${parsed3.did}/e/${parsed3.rkey}`);
|
|
2438
2438
|
}
|
|
2439
2439
|
}
|
|
2440
2440
|
return { url: null, strategy: "none" };
|
|
@@ -2579,9 +2579,9 @@ function getPublisherFromSiteUrl(siteUrl) {
|
|
|
2579
2579
|
let hostname;
|
|
2580
2580
|
let homeUrl;
|
|
2581
2581
|
try {
|
|
2582
|
-
const
|
|
2583
|
-
hostname =
|
|
2584
|
-
homeUrl = `${
|
|
2582
|
+
const parsed3 = new URL(siteUrl);
|
|
2583
|
+
hostname = parsed3.hostname;
|
|
2584
|
+
homeUrl = `${parsed3.protocol}//${parsed3.hostname}`;
|
|
2585
2585
|
} catch {
|
|
2586
2586
|
return {
|
|
2587
2587
|
id: STANDARD_PUBLISHER_ID,
|
|
@@ -2600,6 +2600,312 @@ function getPublisherFromSiteUrl(siteUrl) {
|
|
|
2600
2600
|
};
|
|
2601
2601
|
}
|
|
2602
2602
|
|
|
2603
|
+
// src/stream/verbs.json
|
|
2604
|
+
var verbs_default = {
|
|
2605
|
+
$schema: "https://sifa.id/schemas/activity-verbs/v1.json",
|
|
2606
|
+
version: "1.0.0",
|
|
2607
|
+
updated: "2026-07-17",
|
|
2608
|
+
defaultVerb: "created",
|
|
2609
|
+
verbs: {
|
|
2610
|
+
"app.bsky.feed.post": "posted",
|
|
2611
|
+
"blue.flashes.feed.post": "posted",
|
|
2612
|
+
"social.psky.feed.post": "posted",
|
|
2613
|
+
"social.popfeed.feed.post": "posted",
|
|
2614
|
+
"social.popfeed.feed.note": "posted",
|
|
2615
|
+
"fyi.unravel.frontpage.post": "posted",
|
|
2616
|
+
"forum.barazo.post": "posted",
|
|
2617
|
+
"app.bsky.feed.repost": "reposted",
|
|
2618
|
+
"com.whtwnd.blog.entry": "published",
|
|
2619
|
+
"site.standard.document": "published",
|
|
2620
|
+
"computer.aetheros.page": "published",
|
|
2621
|
+
"link.pastesphere.snippet": "published",
|
|
2622
|
+
"pub.leaflet.comment": "published",
|
|
2623
|
+
"id.sifa.profile.presentation": "presented",
|
|
2624
|
+
"id.sifa.profile.presentationDelivery": "presented",
|
|
2625
|
+
"id.sifa.endorsement": "endorsed",
|
|
2626
|
+
"sh.tangled.repo": "shipped",
|
|
2627
|
+
"sh.tangled.repo.issue": "shipped",
|
|
2628
|
+
"sh.tangled.repo.pull": "shipped",
|
|
2629
|
+
"app.sidetrail.trail": "shipped",
|
|
2630
|
+
"app.sidetrail.walk": "shipped",
|
|
2631
|
+
"social.colibri.membership": "joined",
|
|
2632
|
+
"id.sifa.project.membership": "joined",
|
|
2633
|
+
"id.sifa.project.member": "joined",
|
|
2634
|
+
"community.lexicon.calendar.rsvp": "joined",
|
|
2635
|
+
"at.youandme.connection": "joined",
|
|
2636
|
+
"id.sifa.graph.connection": "joined"
|
|
2637
|
+
}
|
|
2638
|
+
};
|
|
2639
|
+
|
|
2640
|
+
// src/stream/verbs.ts
|
|
2641
|
+
var STREAM_VERBS = [
|
|
2642
|
+
"posted",
|
|
2643
|
+
"reposted",
|
|
2644
|
+
"published",
|
|
2645
|
+
"presented",
|
|
2646
|
+
"endorsed",
|
|
2647
|
+
"joined",
|
|
2648
|
+
"shipped",
|
|
2649
|
+
"created"
|
|
2650
|
+
];
|
|
2651
|
+
var streamVerbSchema = z.enum(STREAM_VERBS);
|
|
2652
|
+
var verbMapSchema = z.object({
|
|
2653
|
+
version: z.string(),
|
|
2654
|
+
updated: z.string(),
|
|
2655
|
+
defaultVerb: streamVerbSchema,
|
|
2656
|
+
verbs: z.record(z.string(), streamVerbSchema)
|
|
2657
|
+
});
|
|
2658
|
+
var parsed2 = verbMapSchema.parse(verbs_default);
|
|
2659
|
+
var ACTIVITY_VERBS = Object.freeze(parsed2);
|
|
2660
|
+
function verbForCollection(collection) {
|
|
2661
|
+
if (!collection) return ACTIVITY_VERBS.defaultVerb;
|
|
2662
|
+
return ACTIVITY_VERBS.verbs[collection] ?? ACTIVITY_VERBS.defaultVerb;
|
|
2663
|
+
}
|
|
2664
|
+
function getActivityVerbsVersion() {
|
|
2665
|
+
return { version: ACTIVITY_VERBS.version, updated: ACTIVITY_VERBS.updated };
|
|
2666
|
+
}
|
|
2667
|
+
var rgbChannelSchema = z.number().min(0).max(255);
|
|
2668
|
+
var rgbColorSchema = z.object({
|
|
2669
|
+
r: rgbChannelSchema,
|
|
2670
|
+
g: rgbChannelSchema,
|
|
2671
|
+
b: rgbChannelSchema
|
|
2672
|
+
});
|
|
2673
|
+
var aspectRatioSchema = z.object({
|
|
2674
|
+
width: z.number(),
|
|
2675
|
+
height: z.number()
|
|
2676
|
+
});
|
|
2677
|
+
var streamSourceSchema = z.object({
|
|
2678
|
+
appId: z.string(),
|
|
2679
|
+
label: z.string(),
|
|
2680
|
+
color: z.string()
|
|
2681
|
+
});
|
|
2682
|
+
var streamThemeSchema = z.object({
|
|
2683
|
+
background: rgbColorSchema,
|
|
2684
|
+
foreground: rgbColorSchema,
|
|
2685
|
+
accent: rgbColorSchema
|
|
2686
|
+
});
|
|
2687
|
+
var streamMediaResolvedSchema = z.object({
|
|
2688
|
+
url: z.string(),
|
|
2689
|
+
alt: z.string(),
|
|
2690
|
+
aspectRatio: aspectRatioSchema.optional(),
|
|
2691
|
+
mimeType: z.string().optional()
|
|
2692
|
+
});
|
|
2693
|
+
var streamMediaBlobSchema = z.object({
|
|
2694
|
+
did: z.string(),
|
|
2695
|
+
cid: z.string(),
|
|
2696
|
+
alt: z.string(),
|
|
2697
|
+
aspectRatio: aspectRatioSchema.optional(),
|
|
2698
|
+
mimeType: z.string().optional()
|
|
2699
|
+
});
|
|
2700
|
+
var streamMediaSchema = z.union([
|
|
2701
|
+
streamMediaResolvedSchema,
|
|
2702
|
+
streamMediaBlobSchema
|
|
2703
|
+
]);
|
|
2704
|
+
var streamExternalLinkSchema = z.object({
|
|
2705
|
+
url: z.string(),
|
|
2706
|
+
title: z.string().optional(),
|
|
2707
|
+
thumb: z.string().optional()
|
|
2708
|
+
});
|
|
2709
|
+
var streamCardBodySchema = z.discriminatedUnion("kind", [
|
|
2710
|
+
z.object({ kind: z.literal("text"), text: z.string() }),
|
|
2711
|
+
z.object({ kind: z.literal("media"), text: z.string().optional() }),
|
|
2712
|
+
z.object({ kind: z.literal("link"), text: z.string().optional() }),
|
|
2713
|
+
z.object({
|
|
2714
|
+
kind: z.literal("track"),
|
|
2715
|
+
text: z.string().optional(),
|
|
2716
|
+
trackTitle: z.string().optional(),
|
|
2717
|
+
artist: z.string().optional()
|
|
2718
|
+
}),
|
|
2719
|
+
z.object({ kind: z.literal("generic"), text: z.string().optional() })
|
|
2720
|
+
]);
|
|
2721
|
+
var streamCardSubjectSchema = z.discriminatedUnion("kind", [
|
|
2722
|
+
z.object({
|
|
2723
|
+
kind: z.literal("post"),
|
|
2724
|
+
post: z.lazy(() => streamCardVMSchema)
|
|
2725
|
+
}),
|
|
2726
|
+
z.object({
|
|
2727
|
+
kind: z.literal("person"),
|
|
2728
|
+
did: z.string(),
|
|
2729
|
+
handle: z.string().optional(),
|
|
2730
|
+
displayName: z.string().optional(),
|
|
2731
|
+
avatar: z.string().optional()
|
|
2732
|
+
}),
|
|
2733
|
+
z.object({
|
|
2734
|
+
kind: z.literal("record"),
|
|
2735
|
+
uri: z.string(),
|
|
2736
|
+
title: z.string().optional()
|
|
2737
|
+
})
|
|
2738
|
+
]);
|
|
2739
|
+
var streamCardVMSchema = z.lazy(
|
|
2740
|
+
() => z.object({
|
|
2741
|
+
uri: z.string(),
|
|
2742
|
+
cid: z.string(),
|
|
2743
|
+
verb: streamVerbSchema,
|
|
2744
|
+
source: streamSourceSchema,
|
|
2745
|
+
tier: z.enum(["creation", "action", "filtered"]),
|
|
2746
|
+
timestamp: z.string(),
|
|
2747
|
+
title: z.string(),
|
|
2748
|
+
body: streamCardBodySchema.optional(),
|
|
2749
|
+
media: z.array(streamMediaSchema).optional(),
|
|
2750
|
+
externalLink: streamExternalLinkSchema.optional(),
|
|
2751
|
+
theme: streamThemeSchema.optional(),
|
|
2752
|
+
subject: z.lazy(() => streamCardSubjectSchema).optional()
|
|
2753
|
+
})
|
|
2754
|
+
);
|
|
2755
|
+
|
|
2756
|
+
// src/stream/to-stream-card-vm.ts
|
|
2757
|
+
var DEFAULT_SOURCE_COLOR = "slate";
|
|
2758
|
+
function asRecord(value) {
|
|
2759
|
+
return value !== null && typeof value === "object" ? value : null;
|
|
2760
|
+
}
|
|
2761
|
+
function asNonEmptyString(value) {
|
|
2762
|
+
return typeof value === "string" && value.length > 0 ? value : void 0;
|
|
2763
|
+
}
|
|
2764
|
+
function didFromUri(uri) {
|
|
2765
|
+
const match = uri.match(/^at:\/\/(did:[^/]+)\//);
|
|
2766
|
+
return match?.[1];
|
|
2767
|
+
}
|
|
2768
|
+
function blobCid(blob) {
|
|
2769
|
+
const rec = asRecord(blob);
|
|
2770
|
+
if (!rec) return void 0;
|
|
2771
|
+
const ref = rec.ref;
|
|
2772
|
+
if (typeof ref === "string") return ref;
|
|
2773
|
+
const link2 = asRecord(ref)?.["$link"];
|
|
2774
|
+
return typeof link2 === "string" ? link2 : void 0;
|
|
2775
|
+
}
|
|
2776
|
+
function aspectRatio(value) {
|
|
2777
|
+
const rec = asRecord(value);
|
|
2778
|
+
const width = rec?.width;
|
|
2779
|
+
const height = rec?.height;
|
|
2780
|
+
if (typeof width === "number" && typeof height === "number") return { width, height };
|
|
2781
|
+
return void 0;
|
|
2782
|
+
}
|
|
2783
|
+
function buildSource(item, options) {
|
|
2784
|
+
return {
|
|
2785
|
+
appId: item.appId,
|
|
2786
|
+
label: item.appName,
|
|
2787
|
+
color: options.resolveSourceColor?.(item.appId) ?? DEFAULT_SOURCE_COLOR
|
|
2788
|
+
};
|
|
2789
|
+
}
|
|
2790
|
+
var TITLE_BY_VERB = {
|
|
2791
|
+
posted: (label) => `Posted on ${label}`,
|
|
2792
|
+
reposted: () => "Reposted a post",
|
|
2793
|
+
published: (label) => `Published on ${label}`,
|
|
2794
|
+
presented: () => "Gave a presentation",
|
|
2795
|
+
endorsed: () => "Wrote an endorsement",
|
|
2796
|
+
joined: (label) => `Joined ${label}`,
|
|
2797
|
+
shipped: (label) => `Shipped on ${label}`,
|
|
2798
|
+
created: (label) => `Created a record on ${label}`
|
|
2799
|
+
};
|
|
2800
|
+
function buildTitle(verb, label) {
|
|
2801
|
+
return TITLE_BY_VERB[verb](label);
|
|
2802
|
+
}
|
|
2803
|
+
function readTheme(record) {
|
|
2804
|
+
const theme = asRecord(record?.publicationTheme ?? record?.theme);
|
|
2805
|
+
if (!theme) return void 0;
|
|
2806
|
+
const { background, foreground, accent } = theme;
|
|
2807
|
+
if (isValidRgbColor(background) && isValidRgbColor(foreground) && isValidRgbColor(accent)) {
|
|
2808
|
+
return { background, foreground, accent };
|
|
2809
|
+
}
|
|
2810
|
+
return void 0;
|
|
2811
|
+
}
|
|
2812
|
+
function bskyImages(embed, did) {
|
|
2813
|
+
const images = embed.images;
|
|
2814
|
+
if (!Array.isArray(images)) return [];
|
|
2815
|
+
const out = [];
|
|
2816
|
+
for (const raw of images) {
|
|
2817
|
+
const img = asRecord(raw);
|
|
2818
|
+
if (!img) continue;
|
|
2819
|
+
const cid = blobCid(img.image);
|
|
2820
|
+
if (!cid) continue;
|
|
2821
|
+
const media = { did, cid, alt: asNonEmptyString(img.alt) ?? "" };
|
|
2822
|
+
const ratio = aspectRatio(img.aspectRatio);
|
|
2823
|
+
if (ratio) media.aspectRatio = ratio;
|
|
2824
|
+
const mimeType = asNonEmptyString(asRecord(img.image)?.mimeType);
|
|
2825
|
+
if (mimeType) media.mimeType = mimeType;
|
|
2826
|
+
out.push(media);
|
|
2827
|
+
}
|
|
2828
|
+
return out;
|
|
2829
|
+
}
|
|
2830
|
+
function bskyExternal(embed) {
|
|
2831
|
+
const external = asRecord(embed.external);
|
|
2832
|
+
if (!external) return void 0;
|
|
2833
|
+
const url = asNonEmptyString(external.uri);
|
|
2834
|
+
if (!url) return void 0;
|
|
2835
|
+
const link2 = { url };
|
|
2836
|
+
const title = asNonEmptyString(external.title);
|
|
2837
|
+
if (title) link2.title = title;
|
|
2838
|
+
return link2;
|
|
2839
|
+
}
|
|
2840
|
+
function bskyEmbedContent(record, did) {
|
|
2841
|
+
const embed = asRecord(record.embed);
|
|
2842
|
+
if (!embed) return {};
|
|
2843
|
+
const type = asNonEmptyString(embed["$type"]);
|
|
2844
|
+
const target = type === "app.bsky.embed.recordWithMedia" ? asRecord(embed.media) : embed;
|
|
2845
|
+
if (!target) return {};
|
|
2846
|
+
if (Array.isArray(target.images)) {
|
|
2847
|
+
const media = bskyImages(target, did);
|
|
2848
|
+
return media.length > 0 ? { media } : {};
|
|
2849
|
+
}
|
|
2850
|
+
if (target.external != null) {
|
|
2851
|
+
const externalLink = bskyExternal(target);
|
|
2852
|
+
return externalLink ? { externalLink } : {};
|
|
2853
|
+
}
|
|
2854
|
+
return {};
|
|
2855
|
+
}
|
|
2856
|
+
function applyBskyPost(vm, item, record) {
|
|
2857
|
+
if (!record) {
|
|
2858
|
+
vm.body = { kind: "generic" };
|
|
2859
|
+
return vm;
|
|
2860
|
+
}
|
|
2861
|
+
const did = didFromUri(item.uri);
|
|
2862
|
+
const text = asNonEmptyString(record.text);
|
|
2863
|
+
const { media, externalLink } = did ? bskyEmbedContent(record, did) : {};
|
|
2864
|
+
if (media) vm.media = media;
|
|
2865
|
+
if (externalLink) vm.externalLink = externalLink;
|
|
2866
|
+
let body;
|
|
2867
|
+
if (text) body = { kind: "text", text };
|
|
2868
|
+
else if (vm.media) body = { kind: "media" };
|
|
2869
|
+
else if (vm.externalLink) body = { kind: "link" };
|
|
2870
|
+
else body = { kind: "generic" };
|
|
2871
|
+
vm.body = body;
|
|
2872
|
+
return vm;
|
|
2873
|
+
}
|
|
2874
|
+
function toStreamCardVM(item, options = {}) {
|
|
2875
|
+
const verb = verbForCollection(item.collection);
|
|
2876
|
+
const source = buildSource(item, options);
|
|
2877
|
+
const record = asRecord(item.record);
|
|
2878
|
+
const timestamp = (record ? asNonEmptyString(record.createdAt) : void 0) ?? item.indexedAt;
|
|
2879
|
+
const vm = {
|
|
2880
|
+
uri: item.uri,
|
|
2881
|
+
cid: item.cid,
|
|
2882
|
+
verb,
|
|
2883
|
+
source,
|
|
2884
|
+
tier: getActivityTier(item.collection),
|
|
2885
|
+
timestamp,
|
|
2886
|
+
title: buildTitle(verb, source.label)
|
|
2887
|
+
};
|
|
2888
|
+
const theme = readTheme(record);
|
|
2889
|
+
if (theme) vm.theme = theme;
|
|
2890
|
+
if (item.subject) {
|
|
2891
|
+
vm.subject = { kind: "post", post: toStreamCardVM(item.subject, options) };
|
|
2892
|
+
}
|
|
2893
|
+
if (item.collection === "app.bsky.feed.post") {
|
|
2894
|
+
return applyBskyPost(vm, item, record);
|
|
2895
|
+
}
|
|
2896
|
+
vm.body = { kind: "generic" };
|
|
2897
|
+
return vm;
|
|
2898
|
+
}
|
|
2899
|
+
function toStreamCardVMs(items, options = {}) {
|
|
2900
|
+
const out = [];
|
|
2901
|
+
for (const item of items) {
|
|
2902
|
+
if (isVisibleActivityItem(item.collection, item.record)) {
|
|
2903
|
+
out.push(toStreamCardVM(item, options));
|
|
2904
|
+
}
|
|
2905
|
+
}
|
|
2906
|
+
return out;
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2603
2909
|
// src/logic/profile-completeness.ts
|
|
2604
2910
|
var COMPLETENESS_MAX_SCORE = 6;
|
|
2605
2911
|
function completenessScore(c) {
|
|
@@ -3215,8 +3521,8 @@ function encodeFeedCursor(cursor) {
|
|
|
3215
3521
|
}
|
|
3216
3522
|
function decodeFeedCursor(encoded) {
|
|
3217
3523
|
const json = fromBase64Url(encoded);
|
|
3218
|
-
const
|
|
3219
|
-
return FeedCursorSchema.parse(
|
|
3524
|
+
const parsed3 = JSON.parse(json);
|
|
3525
|
+
return FeedCursorSchema.parse(parsed3);
|
|
3220
3526
|
}
|
|
3221
3527
|
var ProfileCertificationRecordSchema = z.object({
|
|
3222
3528
|
name: z.string().min(1).refine(maxGraphemes(100)).max(1e3),
|
|
@@ -3430,8 +3736,8 @@ var ProfileVolunteeringRecordSchema = z.object({
|
|
|
3430
3736
|
});
|
|
3431
3737
|
|
|
3432
3738
|
// src/index.ts
|
|
3433
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
3739
|
+
var SIFA_SDK_VERSION = "0.12.9";
|
|
3434
3740
|
|
|
3435
|
-
export { ACTIVITY_TIERS, 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, 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, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, 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, 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, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveVerifierProvider, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, truncateGraphemes, uriSchema, visibleItems };
|
|
3741
|
+
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, 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, 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, partialDateSchema, pdsProviderFromApi, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, resolveCardHealth, resolveCardUrl, resolveVerifierProvider, rgbToString, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, singleDateExtractor, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamMediaSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems };
|
|
3436
3742
|
//# sourceMappingURL=index.js.map
|
|
3437
3743
|
//# sourceMappingURL=index.js.map
|