@singi-labs/sifa-sdk 0.12.66 → 0.12.68
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 +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -483,11 +483,15 @@ function isCompanyRequired(employmentType) {
|
|
|
483
483
|
if (!employmentType) return true;
|
|
484
484
|
return !COMPANY_OPTIONAL_EMPLOYMENT_TYPES.has(employmentType);
|
|
485
485
|
}
|
|
486
|
-
new Set(
|
|
486
|
+
var ON_BEHALF_OF_EMPLOYMENT_TYPES = new Set(
|
|
487
487
|
EMPLOYMENT_TYPE_GROUPS.find((g) => g.label === "Governance & advisory")?.items.map(
|
|
488
488
|
(i) => i.value
|
|
489
489
|
) ?? []
|
|
490
490
|
);
|
|
491
|
+
function isOnBehalfOfApplicable(employmentType) {
|
|
492
|
+
if (!employmentType) return false;
|
|
493
|
+
return ON_BEHALF_OF_EMPLOYMENT_TYPES.has(employmentType);
|
|
494
|
+
}
|
|
491
495
|
|
|
492
496
|
// src/taxonomy/industry-taxonomy.ts
|
|
493
497
|
var INDUSTRY_OPTIONS = [
|
|
@@ -1006,6 +1010,10 @@ var APP_CATEGORY_MAP = {
|
|
|
1006
1010
|
bluesky: "Posts",
|
|
1007
1011
|
tangled: "Code",
|
|
1008
1012
|
github: "Code",
|
|
1013
|
+
// Posts ingested from a verified Fediverse (ActivityPub) account. Like
|
|
1014
|
+
// github, there is no PDS collection behind it -- its own scanner owns the
|
|
1015
|
+
// app-stats row.
|
|
1016
|
+
fediverse: "Posts",
|
|
1009
1017
|
smokesignal: "Events",
|
|
1010
1018
|
flashes: "Photos",
|
|
1011
1019
|
grain: "Photos",
|
|
@@ -5672,7 +5680,7 @@ function describeSifaRecord(collection, value) {
|
|
|
5672
5680
|
}
|
|
5673
5681
|
|
|
5674
5682
|
// src/index.ts
|
|
5675
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
5683
|
+
var SIFA_SDK_VERSION = "0.12.68";
|
|
5676
5684
|
|
|
5677
5685
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
5678
5686
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
|
@@ -5726,6 +5734,7 @@ exports.INVOLVEMENT_KIND_HEADINGS = INVOLVEMENT_KIND_HEADINGS;
|
|
|
5726
5734
|
exports.INVOLVEMENT_KIND_LABELS = INVOLVEMENT_KIND_LABELS;
|
|
5727
5735
|
exports.INVOLVEMENT_KIND_OPTIONS = INVOLVEMENT_KIND_OPTIONS;
|
|
5728
5736
|
exports.MIN_SKILLS = MIN_SKILLS;
|
|
5737
|
+
exports.ON_BEHALF_OF_EMPLOYMENT_TYPES = ON_BEHALF_OF_EMPLOYMENT_TYPES;
|
|
5729
5738
|
exports.OPEN_TO_OPTIONS = OPEN_TO_OPTIONS;
|
|
5730
5739
|
exports.OPEN_TO_TOKENS = OPEN_TO_TOKENS;
|
|
5731
5740
|
exports.OPEN_TO_TOKEN_TO_VALUE = OPEN_TO_TOKEN_TO_VALUE;
|
|
@@ -5850,6 +5859,7 @@ exports.isKnownAppId = isKnownAppId;
|
|
|
5850
5859
|
exports.isKnownPlatform = isKnownPlatform;
|
|
5851
5860
|
exports.isKnownVerificationProvider = isKnownVerificationProvider;
|
|
5852
5861
|
exports.isLinked = isLinked;
|
|
5862
|
+
exports.isOnBehalfOfApplicable = isOnBehalfOfApplicable;
|
|
5853
5863
|
exports.isPseudoEmployer = isPseudoEmployer;
|
|
5854
5864
|
exports.isRegistrableDomainHandle = isRegistrableDomainHandle;
|
|
5855
5865
|
exports.isSectionPopulated = isSectionPopulated;
|