@singi-labs/sifa-sdk 0.20.2 → 0.22.0
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 +6 -92
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -16
- package/dist/index.d.ts +3 -16
- package/dist/index.js +2 -7
- package/dist/index.js.map +1 -1
- package/dist/query/fetchers/index.cjs +33 -75
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +1 -1
- package/dist/query/fetchers/index.d.ts +1 -1
- package/dist/query/fetchers/index.js +1 -9
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/fetchers/roadmap.js +34 -71
- package/dist/query/fetchers/roadmap.js.map +1 -1
- package/dist/query/hooks/index.cjs +24 -135
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +1 -11
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/hooks/use-roadmap-mutations.js +5 -63
- package/dist/query/hooks/use-roadmap-mutations.js.map +1 -1
- package/dist/query/index.cjs +35 -150
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +3 -3
- package/dist/query/index.d.ts +3 -3
- package/dist/query/index.js +2 -17
- package/dist/query/index.js.map +1 -1
- package/dist/query/keys.js +0 -5
- package/dist/query/keys.js.map +1 -1
- package/dist/roadmap/index.js +0 -91
- package/dist/roadmap/index.js.map +1 -1
- package/dist/schemas/write/certification.js +3 -3
- package/dist/schemas/write/certification.js.map +1 -1
- package/dist/schemas/write/course.js +5 -10
- package/dist/schemas/write/course.js.map +1 -1
- package/dist/schemas/write/education.js +3 -3
- package/dist/schemas/write/education.js.map +1 -1
- package/dist/schemas/write/honor.js +2 -2
- package/dist/schemas/write/honor.js.map +1 -1
- package/dist/schemas/write/index.cjs +25 -26
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +19 -19
- package/dist/schemas/write/index.d.ts +19 -19
- package/dist/schemas/write/investment.js +3 -3
- package/dist/schemas/write/investment.js.map +1 -1
- package/dist/schemas/write/involvement.js +3 -3
- package/dist/schemas/write/involvement.js.map +1 -1
- package/dist/schemas/write/position.js +8 -3
- package/dist/schemas/write/position.js.map +1 -1
- package/dist/schemas/write/project.js +3 -3
- package/dist/schemas/write/project.js.map +1 -1
- package/dist/schemas/write/publication.js +2 -2
- package/dist/schemas/write/publication.js.map +1 -1
- package/dist/schemas/write/shared.js +6 -0
- package/dist/schemas/write/shared.js.map +1 -1
- package/dist/schemas/write/volunteering.js +3 -3
- package/dist/schemas/write/volunteering.js.map +1 -1
- package/dist/{use-user-settings-Cq_AHkkM.d.cts → use-user-settings-Bn6g8bgr.d.cts} +7 -22
- package/dist/{use-user-settings-DoNP3tNl.d.ts → use-user-settings-DQ6Dyby7.d.ts} +7 -22
- package/dist/{user-settings-CBtacio1.d.ts → user-settings-BdNrDa9O.d.ts} +16 -50
- package/dist/{user-settings-DDP76dZH.d.cts → user-settings-C8JUD4DM.d.cts} +16 -50
- package/package.json +1 -1
- package/dist/query/hooks/use-roadmap.js +0 -31
- package/dist/query/hooks/use-roadmap.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -3819,6 +3819,11 @@ function isValidPartialDate(input) {
|
|
|
3819
3819
|
if (typeof input !== "string") return false;
|
|
3820
3820
|
return PARTIAL_DATE_RE.test(input) || isValidDateOnly(input);
|
|
3821
3821
|
}
|
|
3822
|
+
var DATETIME_DAY_RE = /^(\d{4}-\d{2}-\d{2})T\d{2}:\d{2}/;
|
|
3823
|
+
zod.z.string().transform((v) => DATETIME_DAY_RE.exec(v)?.[1] ?? v).refine(
|
|
3824
|
+
(v) => v === "" || isValidPartialDate(v),
|
|
3825
|
+
"must be a valid YYYY, YYYY-MM or YYYY-MM-DD date"
|
|
3826
|
+
).nullable().optional();
|
|
3822
3827
|
zod.z.string().url().refine((s) => /^https?:\/\//i.test(s), { message: "entityRef must be an http(s) URL" }).max(2048).optional();
|
|
3823
3828
|
zod.z.object({
|
|
3824
3829
|
url: zod.z.string().max(2048).refine((v) => httpUrlOrNull(v) !== null, "must be an http(s) URL"),
|
|
@@ -7754,96 +7759,6 @@ var ProfileInvestmentRecordSchema = zod.z.object({
|
|
|
7754
7759
|
|
|
7755
7760
|
// src/roadmap/index.ts
|
|
7756
7761
|
var ROADMAP_ISSUES_REPO = "singi-labs/sifa-workspace";
|
|
7757
|
-
var ROADMAP_ITEM_META = {
|
|
7758
|
-
endorsementsAttestations: {
|
|
7759
|
-
description: "Let colleagues vouch for your skills and experience, recorded as attestations you carry with you.",
|
|
7760
|
-
issues: [3, 166]
|
|
7761
|
-
},
|
|
7762
|
-
notifications: {
|
|
7763
|
-
description: "Get told when someone endorses you, links an organization, or acts on your profile.",
|
|
7764
|
-
issues: [158]
|
|
7765
|
-
},
|
|
7766
|
-
verifiedConnections: {
|
|
7767
|
-
description: "Confirm real working relationships, not just follows.",
|
|
7768
|
-
issues: []
|
|
7769
|
-
},
|
|
7770
|
-
profileAnalytics: {
|
|
7771
|
-
description: "See who views your profile and how people find you.",
|
|
7772
|
-
issues: []
|
|
7773
|
-
},
|
|
7774
|
-
jobProfiles: {
|
|
7775
|
-
description: "Structured work history that stays with your identity across the network.",
|
|
7776
|
-
issues: [102]
|
|
7777
|
-
},
|
|
7778
|
-
eventRsvp: {
|
|
7779
|
-
description: "Show the talks and events you're attending or speaking at.",
|
|
7780
|
-
issues: [214]
|
|
7781
|
-
},
|
|
7782
|
-
companyPages: {
|
|
7783
|
-
description: "Claimable organization pages that link the people who work there.",
|
|
7784
|
-
issues: [73]
|
|
7785
|
-
},
|
|
7786
|
-
advancedSearch: {
|
|
7787
|
-
description: "Search across categories, with filters and forgiving name matching.",
|
|
7788
|
-
issues: [5]
|
|
7789
|
-
},
|
|
7790
|
-
multiAccountLinking: {
|
|
7791
|
-
description: "Tie several atproto accounts to one professional identity.",
|
|
7792
|
-
issues: [8]
|
|
7793
|
-
},
|
|
7794
|
-
mobileApps: {
|
|
7795
|
-
description: "Native iOS and Android apps.",
|
|
7796
|
-
issues: [114]
|
|
7797
|
-
},
|
|
7798
|
-
atmosphereStream: {
|
|
7799
|
-
description: "One feed that gathers your activity from across the atproto network.",
|
|
7800
|
-
issues: [7, 12]
|
|
7801
|
-
},
|
|
7802
|
-
localizationMultiLanguage: {
|
|
7803
|
-
description: "The interface in your own language.",
|
|
7804
|
-
issues: [218]
|
|
7805
|
-
},
|
|
7806
|
-
rssFediverseIngestion: {
|
|
7807
|
-
description: "Fediverse posts are in your stream. RSS feeds are next.",
|
|
7808
|
-
issues: [111, 153]
|
|
7809
|
-
},
|
|
7810
|
-
githubFeedIngestion: {
|
|
7811
|
-
description: "GitHub activity is in your track record. GitLab and org-owned repositories are next.",
|
|
7812
|
-
issues: [391, 392]
|
|
7813
|
-
},
|
|
7814
|
-
compensationInformation: {
|
|
7815
|
-
description: "Add optional pay and compensation context to your roles.",
|
|
7816
|
-
issues: [81]
|
|
7817
|
-
},
|
|
7818
|
-
embedCustomization: {
|
|
7819
|
-
description: "Choose which fields show in your embeddable profile card.",
|
|
7820
|
-
issues: [117]
|
|
7821
|
-
},
|
|
7822
|
-
academicLexicon: {
|
|
7823
|
-
description: "Schema and features built for researchers and academics.",
|
|
7824
|
-
issues: [119, 148]
|
|
7825
|
-
},
|
|
7826
|
-
journalismLexicon: {
|
|
7827
|
-
description: "Schema and features built for journalists.",
|
|
7828
|
-
issues: [121]
|
|
7829
|
-
},
|
|
7830
|
-
skillEvidenceGithub: {
|
|
7831
|
-
description: "Back up skill claims with the languages in your GitHub repositories.",
|
|
7832
|
-
issues: [107]
|
|
7833
|
-
},
|
|
7834
|
-
latexCvExport: {
|
|
7835
|
-
description: "Export your profile as a LaTeX CV.",
|
|
7836
|
-
issues: [113]
|
|
7837
|
-
},
|
|
7838
|
-
jsonResumeImportExport: {
|
|
7839
|
-
description: "Move your profile in and out using the JSON Resume standard.",
|
|
7840
|
-
issues: [151]
|
|
7841
|
-
},
|
|
7842
|
-
linkedClaimsResearch: {
|
|
7843
|
-
description: "Exploring the LinkedClaims spec for portable, verifiable endorsements.",
|
|
7844
|
-
issues: [155]
|
|
7845
|
-
}
|
|
7846
|
-
};
|
|
7847
7762
|
function roadmapIssueUrl(issue) {
|
|
7848
7763
|
return `https://github.com/${ROADMAP_ISSUES_REPO}/issues/${issue}`;
|
|
7849
7764
|
}
|
|
@@ -8095,7 +8010,7 @@ function describeSifaRecord(collection, value) {
|
|
|
8095
8010
|
}
|
|
8096
8011
|
|
|
8097
8012
|
// src/index.ts
|
|
8098
|
-
var SIFA_SDK_VERSION = "0.
|
|
8013
|
+
var SIFA_SDK_VERSION = "0.22.0";
|
|
8099
8014
|
|
|
8100
8015
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
8101
8016
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
|
@@ -8217,7 +8132,6 @@ exports.ProfileSkillRecordSchema = ProfileSkillRecordSchema;
|
|
|
8217
8132
|
exports.ProfileVolunteeringRecordSchema = ProfileVolunteeringRecordSchema;
|
|
8218
8133
|
exports.PublicationAuthorSchema = PublicationAuthorSchema;
|
|
8219
8134
|
exports.ROADMAP_ISSUES_REPO = ROADMAP_ISSUES_REPO;
|
|
8220
|
-
exports.ROADMAP_ITEM_META = ROADMAP_ITEM_META;
|
|
8221
8135
|
exports.RelatedIdentifierSchema = RelatedIdentifierSchema;
|
|
8222
8136
|
exports.SEARCH_FILTER_DEFS = SEARCH_FILTER_DEFS;
|
|
8223
8137
|
exports.SECTION_GROUPS = SECTION_GROUPS;
|