@singi-labs/sifa-sdk 0.11.15 → 0.11.17

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.
@@ -13,7 +13,11 @@ interface SkillRef {
13
13
  }
14
14
  interface ProfilePosition {
15
15
  rkey: string;
16
- company: string;
16
+ /**
17
+ * Optional: omitted for self-employed / freelance / independent positions.
18
+ * The lexicon and the record schema already make company optional.
19
+ */
20
+ company?: string;
17
21
  /**
18
22
  * Portable org entity identifier (Wikidata/ROR/LEI URI) written when the user
19
23
  * picks an organization from the resolver typeahead. Absent for free-text or
@@ -111,6 +115,7 @@ interface PublicationContributor {
111
115
  interface ProfilePublication {
112
116
  rkey: string;
113
117
  title: string;
118
+ subtitle?: string;
114
119
  publisher?: string;
115
120
  date?: string;
116
121
  url?: string;
@@ -13,7 +13,11 @@ interface SkillRef {
13
13
  }
14
14
  interface ProfilePosition {
15
15
  rkey: string;
16
- company: string;
16
+ /**
17
+ * Optional: omitted for self-employed / freelance / independent positions.
18
+ * The lexicon and the record schema already make company optional.
19
+ */
20
+ company?: string;
17
21
  /**
18
22
  * Portable org entity identifier (Wikidata/ROR/LEI URI) written when the user
19
23
  * picks an organization from the resolver typeahead. Absent for free-text or
@@ -111,6 +115,7 @@ interface PublicationContributor {
111
115
  interface ProfilePublication {
112
116
  rkey: string;
113
117
  title: string;
118
+ subtitle?: string;
114
119
  publisher?: string;
115
120
  date?: string;
116
121
  url?: string;
package/dist/index.cjs CHANGED
@@ -2762,6 +2762,7 @@ var PublicationAuthorSchema = zod.z.object({
2762
2762
  });
2763
2763
  var ProfilePublicationRecordSchema = zod.z.object({
2764
2764
  title: zod.z.string().min(1).refine(maxGraphemes(200)).max(2e3),
2765
+ subtitle: zod.z.string().refine(maxGraphemes(200)).max(2e3).optional(),
2765
2766
  publisher: zod.z.string().refine(maxGraphemes(100)).max(1e3).optional(),
2766
2767
  url: uriSchema.optional(),
2767
2768
  description: zod.z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
@@ -2800,7 +2801,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
2800
2801
  });
2801
2802
 
2802
2803
  // src/index.ts
2803
- var SIFA_SDK_VERSION = "0.11.15";
2804
+ var SIFA_SDK_VERSION = "0.11.17";
2804
2805
 
2805
2806
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
2806
2807
  exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;