@singi-labs/sifa-sdk 0.19.34 → 0.19.36
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-CH8NiQwH.d.cts → index-YuN--u4s.d.cts} +8 -2
- package/dist/{index-ayiu2kGy.d.ts → index-zH6rKRMx.d.ts} +8 -2
- package/dist/index.cjs +9 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/jsonld/index.d.cts +1 -1
- package/dist/jsonld/index.d.ts +1 -1
- package/dist/{network-map-CtXK5EY7.d.ts → network-map-CjsywYe3.d.ts} +3 -3
- package/dist/{network-map-DG4_UpQ4.d.cts → network-map-DzUZbvNV.d.cts} +3 -3
- package/dist/{org-9B__E4ad.d.cts → org-Bgi06A5c.d.cts} +2 -2
- package/dist/{org-C_s76iQT.d.ts → org-dzSDMm8B.d.ts} +2 -2
- package/dist/{profile-investment-BIOYJf-x.d.cts → profile-investment-BdN_H620.d.cts} +2 -4
- package/dist/{profile-investment-BIOYJf-x.d.ts → profile-investment-BdN_H620.d.ts} +2 -4
- package/dist/{profile-summary-DXnFXPlO.d.ts → profile-summary-BZK3QP-a.d.ts} +1 -1
- package/dist/{profile-summary-BYWU098I.d.cts → profile-summary-BpsM-qn7.d.cts} +1 -1
- package/dist/query/fetchers/index.cjs +2 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +6 -6
- package/dist/query/fetchers/index.d.ts +6 -6
- package/dist/query/fetchers/index.js +2 -0
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +2 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +4 -4
- package/dist/query/hooks/index.d.ts +4 -4
- package/dist/query/hooks/index.js +2 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.d.cts +9 -9
- package/dist/query/index.d.ts +9 -9
- package/dist/resume/index.d.cts +1 -1
- package/dist/resume/index.d.ts +1 -1
- package/dist/schemas/index.cjs +8 -3
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +8 -3
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +6 -2
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +2 -0
- package/dist/schemas/write/index.d.ts +2 -0
- package/dist/schemas/write/index.js +6 -2
- package/dist/schemas/write/index.js.map +1 -1
- package/dist/{types-pK_aShdG.d.ts → types-7-Jq6p_Z.d.cts} +3 -1
- package/dist/{types-By-g5caY.d.cts → types-BYiUBDvk.d.ts} +3 -1
- package/dist/{use-org-notification-emails-DamYHmQc.d.cts → use-org-notification-emails-D87skWDq.d.cts} +3 -3
- package/dist/{use-org-notification-emails-BwYnA7tk.d.ts → use-org-notification-emails-DVEluUaC.d.ts} +3 -3
- package/package.json +1 -1
|
@@ -213,6 +213,8 @@ interface ProfileCertification {
|
|
|
213
213
|
interface ProfileProject {
|
|
214
214
|
rkey: string;
|
|
215
215
|
name: string;
|
|
216
|
+
/** The user's own role on the project (#596), e.g. Maintainer. */
|
|
217
|
+
role?: string;
|
|
216
218
|
description?: string;
|
|
217
219
|
url?: string;
|
|
218
220
|
startDate?: string;
|
|
@@ -525,9 +527,13 @@ interface ProfileCourse {
|
|
|
525
527
|
/** Teaching period of a taught or assisted course (YYYY, YYYY-MM or YYYY-MM-DD). */
|
|
526
528
|
startedAt?: string;
|
|
527
529
|
endedAt?: string;
|
|
528
|
-
/** rkey of the position the course was taught under
|
|
529
|
-
* it from the record's `position`
|
|
530
|
+
/** rkey of the position the course was part of (taught under it, or taken
|
|
531
|
+
* as part of the job). The AppView resolves it from the record's `position`
|
|
532
|
+
* at-uri when building the profile view. */
|
|
530
533
|
positionRkey?: string;
|
|
534
|
+
/** rkey of the education record the course was part of, resolved by the
|
|
535
|
+
* AppView from the record's `education` at-uri. */
|
|
536
|
+
educationRkey?: string;
|
|
531
537
|
hidden?: boolean;
|
|
532
538
|
}
|
|
533
539
|
/** A related link on a presentation or delivery, as returned by the AppView. */
|
|
@@ -213,6 +213,8 @@ interface ProfileCertification {
|
|
|
213
213
|
interface ProfileProject {
|
|
214
214
|
rkey: string;
|
|
215
215
|
name: string;
|
|
216
|
+
/** The user's own role on the project (#596), e.g. Maintainer. */
|
|
217
|
+
role?: string;
|
|
216
218
|
description?: string;
|
|
217
219
|
url?: string;
|
|
218
220
|
startDate?: string;
|
|
@@ -525,9 +527,13 @@ interface ProfileCourse {
|
|
|
525
527
|
/** Teaching period of a taught or assisted course (YYYY, YYYY-MM or YYYY-MM-DD). */
|
|
526
528
|
startedAt?: string;
|
|
527
529
|
endedAt?: string;
|
|
528
|
-
/** rkey of the position the course was taught under
|
|
529
|
-
* it from the record's `position`
|
|
530
|
+
/** rkey of the position the course was part of (taught under it, or taken
|
|
531
|
+
* as part of the job). The AppView resolves it from the record's `position`
|
|
532
|
+
* at-uri when building the profile view. */
|
|
530
533
|
positionRkey?: string;
|
|
534
|
+
/** rkey of the education record the course was part of, resolved by the
|
|
535
|
+
* AppView from the record's `education` at-uri. */
|
|
536
|
+
educationRkey?: string;
|
|
531
537
|
hidden?: boolean;
|
|
532
538
|
}
|
|
533
539
|
/** A related link on a presentation or delivery, as returned by the AppView. */
|
package/dist/index.cjs
CHANGED
|
@@ -6375,7 +6375,9 @@ var ProfileCourseRecordSchema = zod.z.object({
|
|
|
6375
6375
|
// Portable org entity identifier (Wikidata/ROR/LEI URI) from the typeahead.
|
|
6376
6376
|
// Constrained to http(s) so a script-bearing scheme is never a valid ref (#159).
|
|
6377
6377
|
entityRef: zod.z.string().url().refine((s) => /^https?:\/\//i.test(s), { message: "entityRef must be an http(s) URL" }).max(2048).optional(),
|
|
6378
|
-
education
|
|
6378
|
+
// AT-URI of the id.sifa.profile.education the course was part of. Plain
|
|
6379
|
+
// at-uri (not a strongRef) so the link tracks the live education record.
|
|
6380
|
+
education: atUriSchema.optional(),
|
|
6379
6381
|
// AT-URI of the associated id.sifa.profile.certification record. Plain
|
|
6380
6382
|
// at-uri (not a strongRef) so the link tracks the live certification.
|
|
6381
6383
|
credential: atUriSchema.optional(),
|
|
@@ -6385,8 +6387,9 @@ var ProfileCourseRecordSchema = zod.z.object({
|
|
|
6385
6387
|
// Teaching period of a taught or assisted course.
|
|
6386
6388
|
startedAt: partialDateSchema.optional(),
|
|
6387
6389
|
endedAt: partialDateSchema.optional(),
|
|
6388
|
-
// AT-URI of the id.sifa.profile.position the course was
|
|
6389
|
-
// at-uri (not a strongRef) so
|
|
6390
|
+
// AT-URI of the id.sifa.profile.position the course was part of (taught
|
|
6391
|
+
// under it, or taken as part of the job). Plain at-uri (not a strongRef) so
|
|
6392
|
+
// the link tracks the live position.
|
|
6390
6393
|
position: atUriSchema.optional(),
|
|
6391
6394
|
createdAt: datetimeSchema
|
|
6392
6395
|
});
|
|
@@ -6434,6 +6437,8 @@ var projectMemberRefSchema = zod.z.object({
|
|
|
6434
6437
|
});
|
|
6435
6438
|
var ProfileProjectRecordSchema = zod.z.object({
|
|
6436
6439
|
name: zod.z.string().min(1).refine(maxGraphemes(256)).max(2560),
|
|
6440
|
+
// The user's own role on the project (#596), e.g. Maintainer.
|
|
6441
|
+
role: zod.z.string().refine(maxGraphemes(256)).max(2560).optional(),
|
|
6437
6442
|
description: zod.z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
|
|
6438
6443
|
url: uriSchema.optional(),
|
|
6439
6444
|
members: zod.z.array(projectMemberRefSchema).max(50).optional(),
|
|
@@ -6956,7 +6961,7 @@ function describeSifaRecord(collection, value) {
|
|
|
6956
6961
|
}
|
|
6957
6962
|
|
|
6958
6963
|
// src/index.ts
|
|
6959
|
-
var SIFA_SDK_VERSION = "0.19.
|
|
6964
|
+
var SIFA_SDK_VERSION = "0.19.36";
|
|
6960
6965
|
|
|
6961
6966
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
6962
6967
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|