@singi-labs/sifa-sdk 0.18.3 → 0.18.4
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 +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -1
- package/dist/index.d.ts +33 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/{network-map-uK_eXNpt.d.ts → network-map-DZjcO7tM.d.ts} +1 -1
- package/dist/{network-map-Cjfb2sMK.d.cts → network-map-Ds3OR7eJ.d.cts} +1 -1
- package/dist/{org-OG2f8eXr.d.cts → org-DmtI6C4A.d.cts} +1 -1
- package/dist/{org-DCLIQlCd.d.ts → org-h8nhEeAJ.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-g6hHkpjM.d.cts → use-org-notification-emails-CkCQJhy8.d.cts} +2 -2
- package/dist/{use-org-notification-emails-DjI-_zSh.d.ts → use-org-notification-emails-Cz4cuTyg.d.ts} +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5252,6 +5252,12 @@ function countRecentActivity(days, windowDays, now = /* @__PURE__ */ new Date())
|
|
|
5252
5252
|
return days.reduce((sum, day) => day.date >= cutoff ? sum + day.total : sum, 0);
|
|
5253
5253
|
}
|
|
5254
5254
|
|
|
5255
|
+
// src/logic/self-app.ts
|
|
5256
|
+
var SELF_APP_ID = "sifa";
|
|
5257
|
+
function excludeSelfApp(apps) {
|
|
5258
|
+
return apps.filter((app) => app.id !== SELF_APP_ID);
|
|
5259
|
+
}
|
|
5260
|
+
|
|
5255
5261
|
// src/profile/range-sort.ts
|
|
5256
5262
|
var hasValue = (date) => !!date;
|
|
5257
5263
|
function sortByActiveDateRange(items) {
|
|
@@ -6144,7 +6150,7 @@ function describeSifaRecord(collection, value) {
|
|
|
6144
6150
|
}
|
|
6145
6151
|
|
|
6146
6152
|
// src/index.ts
|
|
6147
|
-
var SIFA_SDK_VERSION = "0.18.
|
|
6153
|
+
var SIFA_SDK_VERSION = "0.18.4";
|
|
6148
6154
|
|
|
6149
6155
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
6150
6156
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
|
@@ -6247,6 +6253,7 @@ exports.ROADMAP_ISSUES_REPO = ROADMAP_ISSUES_REPO;
|
|
|
6247
6253
|
exports.ROADMAP_ITEM_META = ROADMAP_ITEM_META;
|
|
6248
6254
|
exports.SECTION_GROUPS = SECTION_GROUPS;
|
|
6249
6255
|
exports.SECTION_LABELS = SECTION_LABELS;
|
|
6256
|
+
exports.SELF_APP_ID = SELF_APP_ID;
|
|
6250
6257
|
exports.SIFA_REPO_GROUPS = SIFA_REPO_GROUPS;
|
|
6251
6258
|
exports.SIFA_SDK_VERSION = SIFA_SDK_VERSION;
|
|
6252
6259
|
exports.SKILL_CATEGORIES = SKILL_CATEGORIES;
|
|
@@ -6281,6 +6288,7 @@ exports.durationFromMinutes = durationFromMinutes;
|
|
|
6281
6288
|
exports.encodeFeedCursor = encodeFeedCursor;
|
|
6282
6289
|
exports.entityDisambiguationLabel = entityDisambiguationLabel;
|
|
6283
6290
|
exports.entityResultKey = entityResultKey;
|
|
6291
|
+
exports.excludeSelfApp = excludeSelfApp;
|
|
6284
6292
|
exports.externalRecordRefSchema = externalRecordRefSchema;
|
|
6285
6293
|
exports.filterHidden = filterHidden;
|
|
6286
6294
|
exports.findIndustry = findIndustry;
|