@singi-labs/sifa-sdk 0.10.6 → 0.10.8
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 +66 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +66 -10
- package/dist/index.js.map +1 -1
- package/dist/{keys-GSG0egRE.d.cts → keys-0h1sHtHX.d.cts} +17 -0
- package/dist/{keys-G_SErFOu.d.ts → keys-Bnvbkxoc.d.ts} +17 -0
- package/dist/query/fetchers/index.cjs +6 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +2 -2
- package/dist/query/fetchers/index.d.ts +2 -2
- package/dist/query/fetchers/index.js +6 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +6 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +6 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +6 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +2 -2
- package/dist/query/index.d.ts +2 -2
- package/dist/query/index.js +6 -1
- package/dist/query/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -651,15 +651,62 @@ function getIndustryLabelKey(value) {
|
|
|
651
651
|
|
|
652
652
|
// src/taxonomy/open-to.ts
|
|
653
653
|
var OPEN_TO_OPTIONS = [
|
|
654
|
-
{
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
{
|
|
661
|
-
|
|
654
|
+
{
|
|
655
|
+
value: "id.sifa.defs#fullTimeRoles",
|
|
656
|
+
labelKey: "fullTimeRoles",
|
|
657
|
+
token: "fullTime",
|
|
658
|
+
group: "work"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
value: "id.sifa.defs#partTimeRoles",
|
|
662
|
+
labelKey: "partTimeRoles",
|
|
663
|
+
token: "partTime",
|
|
664
|
+
group: "work"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
value: "id.sifa.defs#contractRoles",
|
|
668
|
+
labelKey: "contractRoles",
|
|
669
|
+
token: "contract",
|
|
670
|
+
group: "work"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
value: "id.sifa.defs#commissions",
|
|
674
|
+
labelKey: "commissions",
|
|
675
|
+
token: "commissions",
|
|
676
|
+
group: "work"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
value: "id.sifa.defs#boardPositions",
|
|
680
|
+
labelKey: "boardPositions",
|
|
681
|
+
token: "board",
|
|
682
|
+
group: "work"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
value: "id.sifa.defs#mentoringOthers",
|
|
686
|
+
labelKey: "mentoringOthers",
|
|
687
|
+
token: "mentor",
|
|
688
|
+
group: "mentorship"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
value: "id.sifa.defs#beingMentored",
|
|
692
|
+
labelKey: "beingMentored",
|
|
693
|
+
token: "mentee",
|
|
694
|
+
group: "mentorship"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
value: "id.sifa.defs#collaborations",
|
|
698
|
+
labelKey: "collaborations",
|
|
699
|
+
token: "collab",
|
|
700
|
+
group: "peer"
|
|
701
|
+
}
|
|
662
702
|
];
|
|
703
|
+
Object.fromEntries(
|
|
704
|
+
OPEN_TO_OPTIONS.map((o) => [o.token, o.value])
|
|
705
|
+
);
|
|
706
|
+
Object.fromEntries(
|
|
707
|
+
OPEN_TO_OPTIONS.map((o) => [o.value, o.token])
|
|
708
|
+
);
|
|
709
|
+
OPEN_TO_OPTIONS.map((o) => o.token);
|
|
663
710
|
var OPEN_TO_LEGACY_ALIASES = {
|
|
664
711
|
"id.sifa.defs#mentoring": "mentoringOthers"
|
|
665
712
|
};
|
|
@@ -801,6 +848,7 @@ var APP_CATEGORIES = {
|
|
|
801
848
|
Articles: { phosphorIcon: "Article" },
|
|
802
849
|
Chat: { phosphorIcon: "ChatsCircle" },
|
|
803
850
|
Code: { phosphorIcon: "Code" },
|
|
851
|
+
Endorsements: { phosphorIcon: "HandHeart" },
|
|
804
852
|
Events: { phosphorIcon: "CalendarBlank" },
|
|
805
853
|
Links: { phosphorIcon: "LinkSimple" },
|
|
806
854
|
Lists: { phosphorIcon: "ListBullets" },
|
|
@@ -857,6 +905,7 @@ var APP_CATEGORY_MAP = {
|
|
|
857
905
|
atstore: "Reviews",
|
|
858
906
|
plyr: "Music",
|
|
859
907
|
anisota: "Posts",
|
|
908
|
+
atfund: "Endorsements",
|
|
860
909
|
// Web-only (rendered in pills/cards via sifa-web atproto-apps.ts;
|
|
861
910
|
// no backend scan collection yet)
|
|
862
911
|
linkat: "Links",
|
|
@@ -1566,6 +1615,12 @@ var APP_URL_PATTERNS = Object.freeze({
|
|
|
1566
1615
|
// SPA — per-record URLs require JS routing. plyr.fm doesn't expose a
|
|
1567
1616
|
// public per-handle profile page server-side either; falls back to root.
|
|
1568
1617
|
profileUrlPattern: "https://plyr.fm"
|
|
1618
|
+
},
|
|
1619
|
+
atfund: {
|
|
1620
|
+
// at.fund is auth-gated — `/give/{did}` 307s to `/` when not signed in,
|
|
1621
|
+
// and there's no public per-endorsement permalink. Profile fallback only,
|
|
1622
|
+
// pointing at the main /give listing.
|
|
1623
|
+
profileUrlPattern: "https://www.at.fund/give"
|
|
1569
1624
|
}
|
|
1570
1625
|
});
|
|
1571
1626
|
var COLLECTION_TO_APP = [
|
|
@@ -1606,7 +1661,8 @@ var COLLECTION_TO_APP = [
|
|
|
1606
1661
|
["so.sprk.", "spark"],
|
|
1607
1662
|
["community.nooki.", "nooki"],
|
|
1608
1663
|
["fyi.atstore.", "atstore"],
|
|
1609
|
-
["fm.plyr.", "plyr"]
|
|
1664
|
+
["fm.plyr.", "plyr"],
|
|
1665
|
+
["fund.at.", "atfund"]
|
|
1610
1666
|
];
|
|
1611
1667
|
|
|
1612
1668
|
// src/cards/resolve-card-url.ts
|
|
@@ -2171,7 +2227,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
2171
2227
|
});
|
|
2172
2228
|
|
|
2173
2229
|
// src/index.ts
|
|
2174
|
-
var SIFA_SDK_VERSION = "0.10.
|
|
2230
|
+
var SIFA_SDK_VERSION = "0.10.8";
|
|
2175
2231
|
|
|
2176
2232
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
2177
2233
|
exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
|