@singi-labs/sifa-sdk 0.12.70 → 0.12.71
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 +21 -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 +21 -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.cjs
CHANGED
|
@@ -1103,6 +1103,9 @@ var APP_CATEGORY_MAP = {
|
|
|
1103
1103
|
// Onboard from trezy.codes profile audit.
|
|
1104
1104
|
atmobb: "Social",
|
|
1105
1105
|
// app.atmobb.discussion.{thread,reply} — federated forum threads + replies
|
|
1106
|
+
// Onboard from aaronstevenwhite.io profile audit.
|
|
1107
|
+
chive: "Research",
|
|
1108
|
+
// pub.chive.eprint.submission — preprints on chive.pub
|
|
1106
1109
|
// Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
|
|
1107
1110
|
// no backend scan collection yet)
|
|
1108
1111
|
linkat: "Links",
|
|
@@ -2721,6 +2724,9 @@ var ALL_SECTIONS = [
|
|
|
2721
2724
|
{ id: "courses", labelKey: "courses", ns: "sections", group: "qualifications" },
|
|
2722
2725
|
{ id: "awards", labelKey: "awards", ns: "sections", group: "more" },
|
|
2723
2726
|
{ id: "involvement", labelKey: "involvement", ns: "sections", group: "more" },
|
|
2727
|
+
// Its own section rather than a group under involvement: that record is about
|
|
2728
|
+
// work contributed, this one about capital deployed.
|
|
2729
|
+
{ id: "investments", labelKey: "investments", ns: "sections", group: "more" },
|
|
2724
2730
|
{ id: "languages", labelKey: "languages", ns: "sections", group: "more" },
|
|
2725
2731
|
{
|
|
2726
2732
|
id: "other-profiles",
|
|
@@ -2751,6 +2757,8 @@ function isSectionPopulated(profile, id) {
|
|
|
2751
2757
|
return Boolean(profile.presentations?.length) || Boolean(profile.presentationDeliveries?.length);
|
|
2752
2758
|
case "involvement":
|
|
2753
2759
|
return Boolean(profile.involvement?.length);
|
|
2760
|
+
case "investments":
|
|
2761
|
+
return Boolean(profile.investments?.length);
|
|
2754
2762
|
case "awards":
|
|
2755
2763
|
return Boolean(profile.honors?.length);
|
|
2756
2764
|
case "languages":
|
|
@@ -2784,6 +2792,7 @@ var SECTION_LABELS = {
|
|
|
2784
2792
|
courses: "Courses",
|
|
2785
2793
|
awards: "Awards",
|
|
2786
2794
|
involvement: "Involvement",
|
|
2795
|
+
investments: "Investments",
|
|
2787
2796
|
languages: "Languages",
|
|
2788
2797
|
"other-profiles": "Links"
|
|
2789
2798
|
};
|
|
@@ -3174,6 +3183,14 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
3174
3183
|
// public per-record viewer. The card embeds the deck from the record; the
|
|
3175
3184
|
// outbound link points at the author's Aether OS space (mirrors aetheros).
|
|
3176
3185
|
profileUrlPattern: "https://aetheros.computer/{handle}"
|
|
3186
|
+
},
|
|
3187
|
+
chive: {
|
|
3188
|
+
// Chive's eprint route is a catch-all that decodes a single URI-encoded
|
|
3189
|
+
// at-uri segment: /eprints/<encodeURIComponent(at://did/nsid/rkey)>.
|
|
3190
|
+
// {did} and {rkey} are URI-encoded on interpolation, so the separators
|
|
3191
|
+
// are pre-encoded as literals here rather than resolved bespoke.
|
|
3192
|
+
urlPattern: "https://chive.pub/eprints/at%3A%2F%2F{did}%2Fpub.chive.eprint.submission%2F{rkey}",
|
|
3193
|
+
profileUrlPattern: "https://chive.pub/authors/{did}"
|
|
3177
3194
|
}
|
|
3178
3195
|
});
|
|
3179
3196
|
var COLLECTION_TO_APP = [
|
|
@@ -3245,7 +3262,9 @@ var COLLECTION_TO_APP = [
|
|
|
3245
3262
|
// Onboard from willow.sh profile audit.
|
|
3246
3263
|
["dev.baileytownsend.guestbook.", "guestbook"],
|
|
3247
3264
|
// Onboard from trezy.codes profile audit.
|
|
3248
|
-
["app.atmobb.", "atmobb"]
|
|
3265
|
+
["app.atmobb.", "atmobb"],
|
|
3266
|
+
// Onboard from aaronstevenwhite.io profile audit.
|
|
3267
|
+
["pub.chive.", "chive"]
|
|
3249
3268
|
];
|
|
3250
3269
|
|
|
3251
3270
|
// src/cards/resolve-card-url.ts
|
|
@@ -5755,7 +5774,7 @@ function describeSifaRecord(collection, value) {
|
|
|
5755
5774
|
}
|
|
5756
5775
|
|
|
5757
5776
|
// src/index.ts
|
|
5758
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
5777
|
+
var SIFA_SDK_VERSION = "0.12.71";
|
|
5759
5778
|
|
|
5760
5779
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
5761
5780
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|