@singi-labs/sifa-sdk 0.12.37 → 0.12.38
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 +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/publishing/index.cjs +3 -0
- package/dist/publishing/index.cjs.map +1 -1
- package/dist/publishing/index.js +3 -0
- package/dist/publishing/index.js.map +1 -1
- package/dist/schemas/index.cjs +9 -2
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +12 -3
- package/dist/schemas/index.d.ts +12 -3
- package/dist/schemas/index.js +9 -3
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +3 -0
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.js +3 -0
- package/dist/schemas/write/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3131,6 +3131,9 @@ var strongRefSchema = zod.z.object({
|
|
|
3131
3131
|
uri: atUriSchema,
|
|
3132
3132
|
cid: cidSchema
|
|
3133
3133
|
});
|
|
3134
|
+
var skillRefSchema = zod.z.object({
|
|
3135
|
+
uri: atUriSchema
|
|
3136
|
+
});
|
|
3134
3137
|
var externalRecordRefSchema = zod.z.object({
|
|
3135
3138
|
uri: atUriSchema,
|
|
3136
3139
|
cid: cidSchema.optional()
|
|
@@ -4664,10 +4667,13 @@ var ProfilePositionRecordSchema = zod.z.object({
|
|
|
4664
4667
|
location: zod.z.unknown().optional(),
|
|
4665
4668
|
startedAt: partialDateSchema,
|
|
4666
4669
|
endedAt: partialDateSchema.optional(),
|
|
4667
|
-
|
|
4670
|
+
// id.sifa.defs#skillRef -- at-uri only, no cid. Skills are mutable records
|
|
4671
|
+
// in the same repo, so the ref resolves live rather than pinning a version.
|
|
4672
|
+
skills: zod.z.array(skillRefSchema).max(50).optional(),
|
|
4673
|
+
isPrimary: zod.z.boolean().optional(),
|
|
4668
4674
|
labels: selfLabelsSchema.optional(),
|
|
4669
4675
|
createdAt: datetimeSchema
|
|
4670
|
-
});
|
|
4676
|
+
}).passthrough();
|
|
4671
4677
|
var PresentationDurationSchema = zod.z.object({
|
|
4672
4678
|
minMinutes: zod.z.number().int().min(1),
|
|
4673
4679
|
maxMinutes: zod.z.number().int().min(1).optional()
|
|
@@ -4878,7 +4884,7 @@ function roadmapIssueUrl(issue) {
|
|
|
4878
4884
|
}
|
|
4879
4885
|
|
|
4880
4886
|
// src/index.ts
|
|
4881
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
4887
|
+
var SIFA_SDK_VERSION = "0.12.38";
|
|
4882
4888
|
|
|
4883
4889
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
4884
4890
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
|
@@ -5100,6 +5106,7 @@ exports.sanitizeHandleInput = sanitizeHandleInput;
|
|
|
5100
5106
|
exports.searchResultDisambiguation = searchResultDisambiguation;
|
|
5101
5107
|
exports.selfLabelsSchema = selfLabelsSchema;
|
|
5102
5108
|
exports.singleDateExtractor = singleDateExtractor;
|
|
5109
|
+
exports.skillRefSchema = skillRefSchema;
|
|
5103
5110
|
exports.slugifyTitle = slugifyTitle;
|
|
5104
5111
|
exports.sortByActiveDateRange = sortByActiveDateRange;
|
|
5105
5112
|
exports.sortByDateDesc = sortByDateDesc;
|