@singi-labs/sifa-sdk 0.19.34 → 0.19.35

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.
Files changed (43) hide show
  1. package/dist/{index-CH8NiQwH.d.cts → index-BMUJEOoA.d.cts} +6 -2
  2. package/dist/{index-ayiu2kGy.d.ts → index-D7IufF6R.d.ts} +6 -2
  3. package/dist/index.cjs +7 -4
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +7 -7
  6. package/dist/index.d.ts +7 -7
  7. package/dist/index.js +7 -4
  8. package/dist/index.js.map +1 -1
  9. package/dist/jsonld/index.d.cts +1 -1
  10. package/dist/jsonld/index.d.ts +1 -1
  11. package/dist/{network-map-CtXK5EY7.d.ts → network-map--qYzsEP_.d.ts} +3 -3
  12. package/dist/{network-map-DG4_UpQ4.d.cts → network-map-DHkUgCYs.d.cts} +3 -3
  13. package/dist/{org-C_s76iQT.d.ts → org-BSHNseXX.d.ts} +2 -2
  14. package/dist/{org-9B__E4ad.d.cts → org-BYL2yrSq.d.cts} +2 -2
  15. package/dist/{profile-investment-BIOYJf-x.d.cts → profile-investment-CJwwK8DY.d.cts} +1 -4
  16. package/dist/{profile-investment-BIOYJf-x.d.ts → profile-investment-CJwwK8DY.d.ts} +1 -4
  17. package/dist/{profile-summary-BYWU098I.d.cts → profile-summary-BmUSSgAr.d.cts} +1 -1
  18. package/dist/{profile-summary-DXnFXPlO.d.ts → profile-summary-wEt4IKo1.d.ts} +1 -1
  19. package/dist/query/fetchers/index.d.cts +6 -6
  20. package/dist/query/fetchers/index.d.ts +6 -6
  21. package/dist/query/hooks/index.d.cts +4 -4
  22. package/dist/query/hooks/index.d.ts +4 -4
  23. package/dist/query/index.d.cts +9 -9
  24. package/dist/query/index.d.ts +9 -9
  25. package/dist/resume/index.d.cts +1 -1
  26. package/dist/resume/index.d.ts +1 -1
  27. package/dist/schemas/index.cjs +6 -3
  28. package/dist/schemas/index.cjs.map +1 -1
  29. package/dist/schemas/index.d.cts +1 -1
  30. package/dist/schemas/index.d.ts +1 -1
  31. package/dist/schemas/index.js +6 -3
  32. package/dist/schemas/index.js.map +1 -1
  33. package/dist/schemas/write/index.cjs +4 -2
  34. package/dist/schemas/write/index.cjs.map +1 -1
  35. package/dist/schemas/write/index.d.cts +1 -0
  36. package/dist/schemas/write/index.d.ts +1 -0
  37. package/dist/schemas/write/index.js +4 -2
  38. package/dist/schemas/write/index.js.map +1 -1
  39. package/dist/{types-pK_aShdG.d.ts → types-B6_rM5e1.d.cts} +2 -1
  40. package/dist/{types-By-g5caY.d.cts → types-BZSh8AHp.d.ts} +2 -1
  41. package/dist/{use-org-notification-emails-DamYHmQc.d.cts → use-org-notification-emails-CisY4oDQ.d.cts} +3 -3
  42. package/dist/{use-org-notification-emails-BwYnA7tk.d.ts → use-org-notification-emails-N5UXg0Zg.d.ts} +3 -3
  43. package/package.json +1 -1
@@ -525,9 +525,13 @@ interface ProfileCourse {
525
525
  /** Teaching period of a taught or assisted course (YYYY, YYYY-MM or YYYY-MM-DD). */
526
526
  startedAt?: string;
527
527
  endedAt?: string;
528
- /** rkey of the position the course was taught under. The AppView resolves
529
- * it from the record's `position` at-uri when building the profile view. */
528
+ /** rkey of the position the course was part of (taught under it, or taken
529
+ * as part of the job). The AppView resolves it from the record's `position`
530
+ * at-uri when building the profile view. */
530
531
  positionRkey?: string;
532
+ /** rkey of the education record the course was part of, resolved by the
533
+ * AppView from the record's `education` at-uri. */
534
+ educationRkey?: string;
531
535
  hidden?: boolean;
532
536
  }
533
537
  /** A related link on a presentation or delivery, as returned by the AppView. */
@@ -525,9 +525,13 @@ interface ProfileCourse {
525
525
  /** Teaching period of a taught or assisted course (YYYY, YYYY-MM or YYYY-MM-DD). */
526
526
  startedAt?: string;
527
527
  endedAt?: string;
528
- /** rkey of the position the course was taught under. The AppView resolves
529
- * it from the record's `position` at-uri when building the profile view. */
528
+ /** rkey of the position the course was part of (taught under it, or taken
529
+ * as part of the job). The AppView resolves it from the record's `position`
530
+ * at-uri when building the profile view. */
530
531
  positionRkey?: string;
532
+ /** rkey of the education record the course was part of, resolved by the
533
+ * AppView from the record's `education` at-uri. */
534
+ educationRkey?: string;
531
535
  hidden?: boolean;
532
536
  }
533
537
  /** 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: strongRefSchema.optional(),
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 taught under. Plain
6389
- // at-uri (not a strongRef) so the link tracks the live position.
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
  });
@@ -6956,7 +6959,7 @@ function describeSifaRecord(collection, value) {
6956
6959
  }
6957
6960
 
6958
6961
  // src/index.ts
6959
- var SIFA_SDK_VERSION = "0.19.34";
6962
+ var SIFA_SDK_VERSION = "0.19.35";
6960
6963
 
6961
6964
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
6962
6965
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;