@singi-labs/sifa-sdk 0.7.3 → 0.7.5
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/README.md +2 -2
- package/dist/{index-CpM21_Oy.d.cts → index-IxlRuFsK.d.cts} +25 -0
- package/dist/{index-CpM21_Oy.d.ts → index-IxlRuFsK.d.ts} +25 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/query/fetchers/index.cjs +994 -0
- package/dist/query/fetchers/index.cjs.map +1 -0
- package/dist/query/fetchers/index.d.cts +1004 -0
- package/dist/query/fetchers/index.d.ts +1004 -0
- package/dist/query/fetchers/index.js +913 -0
- package/dist/query/fetchers/index.js.map +1 -0
- package/dist/query/index.d.cts +4 -1003
- package/dist/query/index.d.ts +4 -1003
- package/package.json +11 -1
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ import { colors, spacing } from '@singi-labs/sifa-sdk/tokens';
|
|
|
64
64
|
|
|
65
65
|
This SDK is the recommended way to build clients against the Sifa AppView. It does not depend on `react-dom`, `react-native`, `next`, or any browser/Node-only storage API -- it runs anywhere TypeScript runs.
|
|
66
66
|
|
|
67
|
-
If you have a use case the current public surface does not cover, open
|
|
67
|
+
If you have a use case the current public surface does not cover, open an issue on [`singi-labs/sifa-workspace`](https://github.com/singi-labs/sifa-workspace/issues).
|
|
68
68
|
|
|
69
69
|
---
|
|
70
70
|
|
|
@@ -103,7 +103,7 @@ All changes go through Pull Requests. CI must pass before merge.
|
|
|
103
103
|
## Community
|
|
104
104
|
|
|
105
105
|
- **Website:** [sifa.id](https://sifa.id)
|
|
106
|
-
- **
|
|
106
|
+
- **Bluesky:** [@sifa.id](https://bsky.app/profile/sifa.id)
|
|
107
107
|
- **Issues:** [Report bugs](https://github.com/singi-labs/sifa-sdk/issues)
|
|
108
108
|
|
|
109
109
|
---
|
|
@@ -219,6 +219,31 @@ interface Profile {
|
|
|
219
219
|
industries?: ProfileIndustry[];
|
|
220
220
|
location?: LocationValue | null;
|
|
221
221
|
locations?: ProfileLocation[];
|
|
222
|
+
/**
|
|
223
|
+
* @deprecated Flat location field emitted at the response root during the
|
|
224
|
+
* additive response window for `community.lexicon.location.address`.
|
|
225
|
+
* Prefer the structured `locations[]` array (use the entry where
|
|
226
|
+
* `isPrimary` is true).
|
|
227
|
+
*/
|
|
228
|
+
locationCountry?: string | null;
|
|
229
|
+
/**
|
|
230
|
+
* @deprecated See `locationCountry`. Prefer `locations[].locationRegion`.
|
|
231
|
+
*/
|
|
232
|
+
locationRegion?: string | null;
|
|
233
|
+
/**
|
|
234
|
+
* @deprecated Legacy alias for `locationLocality`; emitted alongside it
|
|
235
|
+
* during the additive response window. Prefer `locations[].locationLocality`.
|
|
236
|
+
*/
|
|
237
|
+
locationCity?: string | null;
|
|
238
|
+
/**
|
|
239
|
+
* @deprecated community.lexicon.location.address field name. Prefer
|
|
240
|
+
* `locations[].locationLocality`.
|
|
241
|
+
*/
|
|
242
|
+
locationLocality?: string | null;
|
|
243
|
+
/**
|
|
244
|
+
* @deprecated See `locationCountry`. Prefer `locations[].countryCode`.
|
|
245
|
+
*/
|
|
246
|
+
countryCode?: string | null;
|
|
222
247
|
website?: string;
|
|
223
248
|
openTo?: string[];
|
|
224
249
|
preferredWorkplace?: string[];
|
|
@@ -219,6 +219,31 @@ interface Profile {
|
|
|
219
219
|
industries?: ProfileIndustry[];
|
|
220
220
|
location?: LocationValue | null;
|
|
221
221
|
locations?: ProfileLocation[];
|
|
222
|
+
/**
|
|
223
|
+
* @deprecated Flat location field emitted at the response root during the
|
|
224
|
+
* additive response window for `community.lexicon.location.address`.
|
|
225
|
+
* Prefer the structured `locations[]` array (use the entry where
|
|
226
|
+
* `isPrimary` is true).
|
|
227
|
+
*/
|
|
228
|
+
locationCountry?: string | null;
|
|
229
|
+
/**
|
|
230
|
+
* @deprecated See `locationCountry`. Prefer `locations[].locationRegion`.
|
|
231
|
+
*/
|
|
232
|
+
locationRegion?: string | null;
|
|
233
|
+
/**
|
|
234
|
+
* @deprecated Legacy alias for `locationLocality`; emitted alongside it
|
|
235
|
+
* during the additive response window. Prefer `locations[].locationLocality`.
|
|
236
|
+
*/
|
|
237
|
+
locationCity?: string | null;
|
|
238
|
+
/**
|
|
239
|
+
* @deprecated community.lexicon.location.address field name. Prefer
|
|
240
|
+
* `locations[].locationLocality`.
|
|
241
|
+
*/
|
|
242
|
+
locationLocality?: string | null;
|
|
243
|
+
/**
|
|
244
|
+
* @deprecated See `locationCountry`. Prefer `locations[].countryCode`.
|
|
245
|
+
*/
|
|
246
|
+
countryCode?: string | null;
|
|
222
247
|
website?: string;
|
|
223
248
|
openTo?: string[];
|
|
224
249
|
preferredWorkplace?: string[];
|
package/dist/index.cjs
CHANGED
|
@@ -1088,7 +1088,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
1088
1088
|
});
|
|
1089
1089
|
|
|
1090
1090
|
// src/index.ts
|
|
1091
|
-
var SIFA_SDK_VERSION = "0.7.
|
|
1091
|
+
var SIFA_SDK_VERSION = "0.7.5";
|
|
1092
1092
|
|
|
1093
1093
|
exports.CATEGORY_LABELS = CATEGORY_LABELS;
|
|
1094
1094
|
exports.CATEGORY_ORDER = CATEGORY_ORDER;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ProfileSkill, L as LocationValue, a as PdsProviderInfo } from './index-
|
|
2
|
-
export { A as ActiveApp, E as Endorsement, b as EndorsementData, c as ExternalAccount, d as ExternalAccountKeytraceClaim, F as FeedItem, e as LanguageProficiency, f as Profile, g as ProfileCertification, h as ProfileCourse, i as ProfileEducation, j as ProfileHonor, k as ProfileIndustry, l as ProfileLanguage, m as ProfileLocation, n as ProfileOverrideSource, o as ProfilePosition, p as ProfileProject, q as ProfilePublication, r as ProfileVolunteering, s as PublicationContributor, S as SkillRef, t as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-
|
|
1
|
+
import { P as ProfileSkill, L as LocationValue, a as PdsProviderInfo } from './index-IxlRuFsK.cjs';
|
|
2
|
+
export { A as ActiveApp, E as Endorsement, b as EndorsementData, c as ExternalAccount, d as ExternalAccountKeytraceClaim, F as FeedItem, e as LanguageProficiency, f as Profile, g as ProfileCertification, h as ProfileCourse, i as ProfileEducation, j as ProfileHonor, k as ProfileIndustry, l as ProfileLanguage, m as ProfileLocation, n as ProfileOverrideSource, o as ProfilePosition, p as ProfileProject, q as ProfilePublication, r as ProfileVolunteering, s as PublicationContributor, S as SkillRef, t as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-IxlRuFsK.cjs';
|
|
3
3
|
export { EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, languageTagSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ProfileSkill, L as LocationValue, a as PdsProviderInfo } from './index-
|
|
2
|
-
export { A as ActiveApp, E as Endorsement, b as EndorsementData, c as ExternalAccount, d as ExternalAccountKeytraceClaim, F as FeedItem, e as LanguageProficiency, f as Profile, g as ProfileCertification, h as ProfileCourse, i as ProfileEducation, j as ProfileHonor, k as ProfileIndustry, l as ProfileLanguage, m as ProfileLocation, n as ProfileOverrideSource, o as ProfilePosition, p as ProfileProject, q as ProfilePublication, r as ProfileVolunteering, s as PublicationContributor, S as SkillRef, t as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-
|
|
1
|
+
import { P as ProfileSkill, L as LocationValue, a as PdsProviderInfo } from './index-IxlRuFsK.js';
|
|
2
|
+
export { A as ActiveApp, E as Endorsement, b as EndorsementData, c as ExternalAccount, d as ExternalAccountKeytraceClaim, F as FeedItem, e as LanguageProficiency, f as Profile, g as ProfileCertification, h as ProfileCourse, i as ProfileEducation, j as ProfileHonor, k as ProfileIndustry, l as ProfileLanguage, m as ProfileLocation, n as ProfileOverrideSource, o as ProfilePosition, p as ProfileProject, q as ProfilePublication, r as ProfileVolunteering, s as PublicationContributor, S as SkillRef, t as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-IxlRuFsK.js';
|
|
3
3
|
export { EndorsementConfirmationRecord, EndorsementConfirmationRecordSchema, EndorsementRecord, EndorsementRecordSchema, GraphFollowRecord, GraphFollowRecordSchema, ProfileCertificationRecord, ProfileCertificationRecordSchema, ProfileCourseRecord, ProfileCourseRecordSchema, ProfileEducationRecord, ProfileEducationRecordSchema, ProfileExternalAccountRecord, ProfileExternalAccountRecordSchema, ProfileHonorRecord, ProfileHonorRecordSchema, ProfileLanguageRecord, ProfileLanguageRecordSchema, ProfilePositionRecord, ProfilePositionRecordSchema, ProfileProjectRecord, ProfileProjectRecordSchema, ProfilePublicationRecord, ProfilePublicationRecordSchema, ProfileSelfRecord, ProfileSelfRecordSchema, ProfileSkillRecord, ProfileSkillRecordSchema, ProfileVolunteeringRecord, ProfileVolunteeringRecordSchema, PublicationAuthor, PublicationAuthorSchema, atUriSchema, cidSchema, datetimeSchema, didSchema, languageTagSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/index.js
CHANGED
|
@@ -1086,7 +1086,7 @@ var ProfileVolunteeringRecordSchema = z.object({
|
|
|
1086
1086
|
});
|
|
1087
1087
|
|
|
1088
1088
|
// src/index.ts
|
|
1089
|
-
var SIFA_SDK_VERSION = "0.7.
|
|
1089
|
+
var SIFA_SDK_VERSION = "0.7.5";
|
|
1090
1090
|
|
|
1091
1091
|
export { CATEGORY_LABELS, CATEGORY_ORDER, CONTINENTS, COUNTRIES, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, PLATFORM_LABELS, PLATFORM_OPTIONS, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SIFA_SDK_VERSION, SKILL_CATEGORIES, atUriSchema, certDateExtractor, cidSchema, contrastRatio, countryCodeToFlag, dateRangeExtractor, datetimeSchema, dedupeSkills, detectPdsProvider, didSchema, findIndustry, formatDistanceToNow, formatLocation, formatRelativeTime, getContinent, getDisplayLabel, getFaviconUrl, getHandleStem, getIndustryLabelKey, getPdsDisplayName, getPlatformLabel, groupSkillsByCategory, isKnownPlatform, isValidRgbColor, languageTagSchema, lexiconDateExtractor, maxGraphemes, meetsContrastAA, parseLocationString, pdsProviderFromApi, relativeLuminance, rgbToString, sanitizeHandleInput, selfLabelsSchema, singleDateExtractor, sortByDateDesc, strongRefSchema, truncateGraphemes, uriSchema };
|
|
1092
1092
|
//# sourceMappingURL=index.js.map
|