@singi-labs/sifa-sdk 0.10.15 → 0.10.17
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/{adult-content-DxasJdot.d.cts → adult-content-o0BxhFzc.d.cts} +1 -1
- package/dist/{adult-content-DxasJdot.d.ts → adult-content-o0BxhFzc.d.ts} +1 -1
- 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/{keys-Bnvbkxoc.d.ts → keys-B_Z735bY.d.ts} +1 -1
- package/dist/{keys-0h1sHtHX.d.cts → keys-CMaEcp0g.d.cts} +1 -1
- package/dist/query/fetchers/index.cjs +20 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +13 -4
- package/dist/query/fetchers/index.d.ts +13 -4
- package/dist/query/fetchers/index.js +19 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +60 -5
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +9 -4
- package/dist/query/hooks/index.d.ts +9 -4
- package/dist/query/hooks/index.js +59 -6
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +59 -4
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +5 -5
- package/dist/query/index.d.ts +5 -5
- package/dist/query/index.js +56 -5
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -201,7 +201,7 @@ interface ExternalAccount {
|
|
|
201
201
|
verifiable: boolean;
|
|
202
202
|
verified: boolean;
|
|
203
203
|
verifiedVia?: string | null;
|
|
204
|
-
source?: 'sifa' | 'keytrace' | 'keyoxide';
|
|
204
|
+
source?: 'sifa' | 'keytrace' | 'keyoxide' | 'marque';
|
|
205
205
|
hidden?: boolean;
|
|
206
206
|
keytraceVerified?: boolean;
|
|
207
207
|
keytraceClaim?: ExternalAccountKeytraceClaim;
|
|
@@ -201,7 +201,7 @@ interface ExternalAccount {
|
|
|
201
201
|
verifiable: boolean;
|
|
202
202
|
verified: boolean;
|
|
203
203
|
verifiedVia?: string | null;
|
|
204
|
-
source?: 'sifa' | 'keytrace' | 'keyoxide';
|
|
204
|
+
source?: 'sifa' | 'keytrace' | 'keyoxide' | 'marque';
|
|
205
205
|
hidden?: boolean;
|
|
206
206
|
keytraceVerified?: boolean;
|
|
207
207
|
keytraceClaim?: ExternalAccountKeytraceClaim;
|
package/dist/index.cjs
CHANGED
|
@@ -2332,7 +2332,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
2332
2332
|
});
|
|
2333
2333
|
|
|
2334
2334
|
// src/index.ts
|
|
2335
|
-
var SIFA_SDK_VERSION = "0.10.
|
|
2335
|
+
var SIFA_SDK_VERSION = "0.10.17";
|
|
2336
2336
|
|
|
2337
2337
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
2338
2338
|
exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ProfileSkill, L as LocationValue, b as PdsProviderInfo, c as Profile } from './adult-content-
|
|
2
|
-
export { d as ADULT_CONTENT_LABELS, e as ActiveApp, a as ActivityLabel, A as AdultContentLabel, f as Endorsement, g as EndorsementData, E as ExternalAccount, h as ExternalAccountKeytraceClaim, F as FeedItem, i as LanguageProficiency, j as ProfileCertification, k as ProfileCourse, l as ProfileEducation, m as ProfileHonor, n as ProfileIndustry, o as ProfileLanguage, p as ProfileLocation, q as ProfileOverrideSource, r as ProfilePosition, s as ProfileProject, t as ProfilePublication, u as ProfileVolunteering, v as PublicationContributor, w as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, x as hasAdultContent } from './adult-content-
|
|
1
|
+
import { P as ProfileSkill, L as LocationValue, b as PdsProviderInfo, c as Profile } from './adult-content-o0BxhFzc.cjs';
|
|
2
|
+
export { d as ADULT_CONTENT_LABELS, e as ActiveApp, a as ActivityLabel, A as AdultContentLabel, f as Endorsement, g as EndorsementData, E as ExternalAccount, h as ExternalAccountKeytraceClaim, F as FeedItem, i as LanguageProficiency, j as ProfileCertification, k as ProfileCourse, l as ProfileEducation, m as ProfileHonor, n as ProfileIndustry, o as ProfileLanguage, p as ProfileLocation, q as ProfileOverrideSource, r as ProfilePosition, s as ProfileProject, t as ProfilePublication, u as ProfileVolunteering, v as PublicationContributor, w as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, x as hasAdultContent } from './adult-content-o0BxhFzc.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, makeGraphFollowRecordSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.cjs';
|
|
4
4
|
export { A as AtmosphereFeedItem, d as AtmosphereFeedItemSchema, e as FEATURE_FLAGS, b as FeatureAllowlistEntry, f as FeatureAllowlistEntrySchema, c as FeatureFlag, g as FeedActor, h as FeedActorSchema, i as FeedCursor, j as FollowFeedItem, k as FollowFeedItemSchema, F as FollowFeedPage, l as FollowFeedPageSchema, a as FollowProfileItem, m as FollowProfilePage, n as FollowProfilePageSchema, o as FollowProfileSchema, S as SifaFeedItem, p as SifaFeedItemSchema, q as decodeFeedCursor, r as encodeFeedCursor } from './feed-DHTy7fUN.cjs';
|
|
5
5
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ProfileSkill, L as LocationValue, b as PdsProviderInfo, c as Profile } from './adult-content-
|
|
2
|
-
export { d as ADULT_CONTENT_LABELS, e as ActiveApp, a as ActivityLabel, A as AdultContentLabel, f as Endorsement, g as EndorsementData, E as ExternalAccount, h as ExternalAccountKeytraceClaim, F as FeedItem, i as LanguageProficiency, j as ProfileCertification, k as ProfileCourse, l as ProfileEducation, m as ProfileHonor, n as ProfileIndustry, o as ProfileLanguage, p as ProfileLocation, q as ProfileOverrideSource, r as ProfilePosition, s as ProfileProject, t as ProfilePublication, u as ProfileVolunteering, v as PublicationContributor, w as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, x as hasAdultContent } from './adult-content-
|
|
1
|
+
import { P as ProfileSkill, L as LocationValue, b as PdsProviderInfo, c as Profile } from './adult-content-o0BxhFzc.js';
|
|
2
|
+
export { d as ADULT_CONTENT_LABELS, e as ActiveApp, a as ActivityLabel, A as AdultContentLabel, f as Endorsement, g as EndorsementData, E as ExternalAccount, h as ExternalAccountKeytraceClaim, F as FeedItem, i as LanguageProficiency, j as ProfileCertification, k as ProfileCourse, l as ProfileEducation, m as ProfileHonor, n as ProfileIndustry, o as ProfileLanguage, p as ProfileLocation, q as ProfileOverrideSource, r as ProfilePosition, s as ProfileProject, t as ProfilePublication, u as ProfileVolunteering, v as PublicationContributor, w as SkillRef, S as SkillSuggestion, T as TrustStat, V as VerifiedAccount, x as hasAdultContent } from './adult-content-o0BxhFzc.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, makeGraphFollowRecordSchema, maxGraphemes, selfLabelsSchema, strongRefSchema, uriSchema } from './schemas/index.js';
|
|
4
4
|
export { A as AtmosphereFeedItem, d as AtmosphereFeedItemSchema, e as FEATURE_FLAGS, b as FeatureAllowlistEntry, f as FeatureAllowlistEntrySchema, c as FeatureFlag, g as FeedActor, h as FeedActorSchema, i as FeedCursor, j as FollowFeedItem, k as FollowFeedItemSchema, F as FollowFeedPage, l as FollowFeedPageSchema, a as FollowProfileItem, m as FollowProfilePage, n as FollowProfilePageSchema, o as FollowProfileSchema, S as SifaFeedItem, p as SifaFeedItemSchema, q as decodeFeedCursor, r as encodeFeedCursor } from './feed-DHTy7fUN.js';
|
|
5
5
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -2330,7 +2330,7 @@ var ProfileVolunteeringRecordSchema = z.object({
|
|
|
2330
2330
|
});
|
|
2331
2331
|
|
|
2332
2332
|
// src/index.ts
|
|
2333
|
-
var SIFA_SDK_VERSION = "0.10.
|
|
2333
|
+
var SIFA_SDK_VERSION = "0.10.17";
|
|
2334
2334
|
|
|
2335
2335
|
export { ACTIVITY_TIERS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, AtmosphereFeedItemSchema, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, MIN_SKILLS, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, PLATFORM_LABELS, PLATFORM_OPTIONS, PUBLISHERS, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, SifaFeedItemSchema, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, atUriSchema, categoryForApp, certDateExtractor, cidSchema, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, detectPdsProvider, didSchema, dimensionsFromInputs, encodeFeedCursor, findIndustry, formatDistanceToNow, formatLocation, formatRelativeTime, getActivityTaxonomyVersion, getActivityTier, getAppCategoryIcon, getAppIdForCollection, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getWorkplaceTypeLabel, groupSkillsByCategory, hasAdultContent, isAppCategory, isCompanyRequired, isKnownAppId, isKnownPlatform, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeOpenTo, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseLocationString, pdsProviderFromApi, pickPrimaryPosition, profileToDimensionInputs, relativeLuminance, resolveCardUrl, rgbToString, sanitizeDisplayText, sanitizeHandleInput, selfLabelsSchema, singleDateExtractor, sortByDateDesc, strongRefSchema, truncateGraphemes, uriSchema };
|
|
2336
2336
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-
|
|
1
|
+
import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-o0BxhFzc.js';
|
|
2
2
|
import { F as FollowFeedPage, a as FollowProfileItem, b as FeatureAllowlistEntry, c as FeatureFlag } from './feed-DHTy7fUN.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-
|
|
1
|
+
import { E as ExternalAccount, S as SkillSuggestion, a as ActivityLabel } from './adult-content-o0BxhFzc.cjs';
|
|
2
2
|
import { F as FollowFeedPage, a as FollowProfileItem, b as FeatureAllowlistEntry, c as FeatureFlag } from './feed-DHTy7fUN.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -374,6 +374,24 @@ function unhideKeytraceClaim(config, rkey, options = {}) {
|
|
|
374
374
|
);
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
+
// src/query/fetchers/marque-domains.ts
|
|
378
|
+
function revealMarqueDomain(config, domain, options = {}) {
|
|
379
|
+
return apiWrite(
|
|
380
|
+
config,
|
|
381
|
+
`/api/profile/marque-domains/${encodeURIComponent(domain)}/reveal`,
|
|
382
|
+
"POST",
|
|
383
|
+
options
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
function unrevealMarqueDomain(config, domain, options = {}) {
|
|
387
|
+
return apiWrite(
|
|
388
|
+
config,
|
|
389
|
+
`/api/profile/marque-domains/${encodeURIComponent(domain)}/reveal`,
|
|
390
|
+
"DELETE",
|
|
391
|
+
options
|
|
392
|
+
);
|
|
393
|
+
}
|
|
394
|
+
|
|
377
395
|
// src/query/fetchers/publications.ts
|
|
378
396
|
function hideOrcidPublication(config, putCode, options = {}) {
|
|
379
397
|
return apiWrite(config, `/api/profile/orcid-publications/${putCode}/hide`, "POST", options);
|
|
@@ -1204,6 +1222,7 @@ exports.removeFeatureAllowlist = removeFeatureAllowlist;
|
|
|
1204
1222
|
exports.resetProfile = resetProfile;
|
|
1205
1223
|
exports.resolveQuotedPosts = resolveQuotedPosts;
|
|
1206
1224
|
exports.retractRoadmapVote = retractRoadmapVote;
|
|
1225
|
+
exports.revealMarqueDomain = revealMarqueDomain;
|
|
1207
1226
|
exports.searchSkills = searchSkills;
|
|
1208
1227
|
exports.setExternalAccountPrimary = setExternalAccountPrimary;
|
|
1209
1228
|
exports.setPositionPrimary = setPositionPrimary;
|
|
@@ -1215,6 +1234,7 @@ exports.unhideProfileItem = unhideProfileItem;
|
|
|
1215
1234
|
exports.unhideSifaPublication = unhideSifaPublication;
|
|
1216
1235
|
exports.unhideStandardPublication = unhideStandardPublication;
|
|
1217
1236
|
exports.unlinkSkillFromPosition = unlinkSkillFromPosition;
|
|
1237
|
+
exports.unrevealMarqueDomain = unrevealMarqueDomain;
|
|
1218
1238
|
exports.unsetExternalAccountPrimary = unsetExternalAccountPrimary;
|
|
1219
1239
|
exports.unsetPositionPrimary = unsetPositionPrimary;
|
|
1220
1240
|
exports.updateEducation = updateEducation;
|