@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.
Files changed (51) hide show
  1. package/dist/{index-CH8NiQwH.d.cts → index-YuN--u4s.d.cts} +8 -2
  2. package/dist/{index-ayiu2kGy.d.ts → index-zH6rKRMx.d.ts} +8 -2
  3. package/dist/index.cjs +9 -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 +9 -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-CjsywYe3.d.ts} +3 -3
  12. package/dist/{network-map-DG4_UpQ4.d.cts → network-map-DzUZbvNV.d.cts} +3 -3
  13. package/dist/{org-9B__E4ad.d.cts → org-Bgi06A5c.d.cts} +2 -2
  14. package/dist/{org-C_s76iQT.d.ts → org-dzSDMm8B.d.ts} +2 -2
  15. package/dist/{profile-investment-BIOYJf-x.d.cts → profile-investment-BdN_H620.d.cts} +2 -4
  16. package/dist/{profile-investment-BIOYJf-x.d.ts → profile-investment-BdN_H620.d.ts} +2 -4
  17. package/dist/{profile-summary-DXnFXPlO.d.ts → profile-summary-BZK3QP-a.d.ts} +1 -1
  18. package/dist/{profile-summary-BYWU098I.d.cts → profile-summary-BpsM-qn7.d.cts} +1 -1
  19. package/dist/query/fetchers/index.cjs +2 -0
  20. package/dist/query/fetchers/index.cjs.map +1 -1
  21. package/dist/query/fetchers/index.d.cts +6 -6
  22. package/dist/query/fetchers/index.d.ts +6 -6
  23. package/dist/query/fetchers/index.js +2 -0
  24. package/dist/query/fetchers/index.js.map +1 -1
  25. package/dist/query/hooks/index.cjs +2 -0
  26. package/dist/query/hooks/index.cjs.map +1 -1
  27. package/dist/query/hooks/index.d.cts +4 -4
  28. package/dist/query/hooks/index.d.ts +4 -4
  29. package/dist/query/hooks/index.js +2 -0
  30. package/dist/query/hooks/index.js.map +1 -1
  31. package/dist/query/index.d.cts +9 -9
  32. package/dist/query/index.d.ts +9 -9
  33. package/dist/resume/index.d.cts +1 -1
  34. package/dist/resume/index.d.ts +1 -1
  35. package/dist/schemas/index.cjs +8 -3
  36. package/dist/schemas/index.cjs.map +1 -1
  37. package/dist/schemas/index.d.cts +1 -1
  38. package/dist/schemas/index.d.ts +1 -1
  39. package/dist/schemas/index.js +8 -3
  40. package/dist/schemas/index.js.map +1 -1
  41. package/dist/schemas/write/index.cjs +6 -2
  42. package/dist/schemas/write/index.cjs.map +1 -1
  43. package/dist/schemas/write/index.d.cts +2 -0
  44. package/dist/schemas/write/index.d.ts +2 -0
  45. package/dist/schemas/write/index.js +6 -2
  46. package/dist/schemas/write/index.js.map +1 -1
  47. package/dist/{types-pK_aShdG.d.ts → types-7-Jq6p_Z.d.cts} +3 -1
  48. package/dist/{types-By-g5caY.d.cts → types-BYiUBDvk.d.ts} +3 -1
  49. package/dist/{use-org-notification-emails-DamYHmQc.d.cts → use-org-notification-emails-D87skWDq.d.cts} +3 -3
  50. package/dist/{use-org-notification-emails-BwYnA7tk.d.ts → use-org-notification-emails-DVEluUaC.d.ts} +3 -3
  51. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { L as LocationValue } from '../index-CH8NiQwH.cjs';
1
+ import { L as LocationValue } from '../index-YuN--u4s.cjs';
2
2
  import '../shared-v0vl5hov.cjs';
3
3
  import 'zod';
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocationValue } from '../index-ayiu2kGy.js';
1
+ import { L as LocationValue } from '../index-zH6rKRMx.js';
2
2
  import '../shared-v0vl5hov.js';
3
3
  import 'zod';
4
4
 
@@ -1,6 +1,6 @@
1
- import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-ayiu2kGy.js';
2
- import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-pK_aShdG.js';
3
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-DXnFXPlO.js';
1
+ import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-zH6rKRMx.js';
2
+ import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-BYiUBDvk.js';
3
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-BZK3QP-a.js';
4
4
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-D1l6pulB.js';
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-CH8NiQwH.cjs';
2
- import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-By-g5caY.cjs';
3
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-BYWU098I.cjs';
1
+ import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-YuN--u4s.cjs';
2
+ import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, N as CreateResult, W as WriteResult } from './types-7-Jq6p_Z.cjs';
3
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-BpsM-qn7.cjs';
4
4
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-D1l6pulB.cjs';
5
5
 
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-By-g5caY.cjs';
2
- import { p as ExternalAccount } from './index-CH8NiQwH.cjs';
1
+ import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-7-Jq6p_Z.cjs';
2
+ import { p as ExternalAccount } from './index-YuN--u4s.cjs';
3
3
  import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-D1l6pulB.cjs';
4
4
  import { z } from 'zod';
5
5
  import { d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-C73Sin5E.cjs';
@@ -1,5 +1,5 @@
1
- import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-pK_aShdG.js';
2
- import { p as ExternalAccount } from './index-ayiu2kGy.js';
1
+ import { W as WriteResult, K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-BYiUBDvk.js';
2
+ import { p as ExternalAccount } from './index-zH6rKRMx.js';
3
3
  import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-D1l6pulB.js';
4
4
  import { z } from 'zod';
5
5
  import { d as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, c as OrgDomainVerifyRequestInput } from './org-settings-C73Sin5E.js';
@@ -438,10 +438,7 @@ declare const ProfileCourseRecordSchema: z.ZodObject<{
438
438
  number: z.ZodOptional<z.ZodString>;
439
439
  institution: z.ZodOptional<z.ZodString>;
440
440
  entityRef: z.ZodOptional<z.ZodString>;
441
- education: z.ZodOptional<z.ZodObject<{
442
- uri: z.ZodString;
443
- cid: z.ZodString;
444
- }, z.core.$strip>>;
441
+ education: z.ZodOptional<z.ZodString>;
445
442
  credential: z.ZodOptional<z.ZodString>;
446
443
  completedAt: z.ZodOptional<z.ZodString>;
447
444
  role: z.ZodOptional<z.ZodString>;
@@ -650,6 +647,7 @@ type ProfilePresentationDeliveryRecord = z.infer<typeof ProfilePresentationDeliv
650
647
  /** Zod schema for `id.sifa.profile.project` records. */
651
648
  declare const ProfileProjectRecordSchema: z.ZodObject<{
652
649
  name: z.ZodString;
650
+ role: z.ZodOptional<z.ZodString>;
653
651
  description: z.ZodOptional<z.ZodString>;
654
652
  url: z.ZodOptional<z.ZodString>;
655
653
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -438,10 +438,7 @@ declare const ProfileCourseRecordSchema: z.ZodObject<{
438
438
  number: z.ZodOptional<z.ZodString>;
439
439
  institution: z.ZodOptional<z.ZodString>;
440
440
  entityRef: z.ZodOptional<z.ZodString>;
441
- education: z.ZodOptional<z.ZodObject<{
442
- uri: z.ZodString;
443
- cid: z.ZodString;
444
- }, z.core.$strip>>;
441
+ education: z.ZodOptional<z.ZodString>;
445
442
  credential: z.ZodOptional<z.ZodString>;
446
443
  completedAt: z.ZodOptional<z.ZodString>;
447
444
  role: z.ZodOptional<z.ZodString>;
@@ -650,6 +647,7 @@ type ProfilePresentationDeliveryRecord = z.infer<typeof ProfilePresentationDeliv
650
647
  /** Zod schema for `id.sifa.profile.project` records. */
651
648
  declare const ProfileProjectRecordSchema: z.ZodObject<{
652
649
  name: z.ZodString;
650
+ role: z.ZodOptional<z.ZodString>;
653
651
  description: z.ZodOptional<z.ZodString>;
654
652
  url: z.ZodOptional<z.ZodString>;
655
653
  members: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { n as ProfileView } from './types-pK_aShdG.js';
1
+ import { n as ProfileView } from './types-BYiUBDvk.js';
2
2
 
3
3
  /**
4
4
  * Compact professional summary derived from a {@link ProfileView}.
@@ -1,4 +1,4 @@
1
- import { n as ProfileView } from './types-By-g5caY.cjs';
1
+ import { n as ProfileView } from './types-7-Jq6p_Z.cjs';
2
2
 
3
3
  /**
4
4
  * Compact professional summary derived from a {@link ProfileView}.
@@ -1903,6 +1903,8 @@ var projectMemberRefSchema = zod.z.object({
1903
1903
  });
1904
1904
  zod.z.object({
1905
1905
  name: zod.z.string().min(1).refine(maxGraphemes(256)).max(2560),
1906
+ // The user's own role on the project (#596), e.g. Maintainer.
1907
+ role: zod.z.string().refine(maxGraphemes(256)).max(2560).optional(),
1906
1908
  description: zod.z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
1907
1909
  url: uriSchema.optional(),
1908
1910
  members: zod.z.array(projectMemberRefSchema).max(50).optional(),