@singi-labs/sifa-sdk 0.10.16 → 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/index.cjs +1 -1
- package/dist/index.js +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 +10 -1
- package/dist/query/fetchers/index.d.ts +10 -1
- 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 +6 -1
- package/dist/query/hooks/index.d.ts +6 -1
- 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 +2 -2
- package/dist/query/index.d.ts +2 -2
- package/dist/query/index.js +56 -5
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
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.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
|
|
@@ -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;
|