@shotstack/schemas 1.9.11 → 1.9.12
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/zod/zod.gen.cjs +1 -1
- package/dist/zod/zod.gen.js +1 -1
- package/dist/zod/zod.gen.ts +1 -1
- package/package.json +1 -1
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -1152,7 +1152,7 @@ exports.richcaptionassetRichCaptionAssetSchema = zod_1.z.object({
|
|
|
1152
1152
|
if (mediaExts.some((ext) => pathname.endsWith(ext))) {
|
|
1153
1153
|
ctx.addIssue({
|
|
1154
1154
|
code: zod_1.z.ZodIssueCode.custom,
|
|
1155
|
-
message: "src must
|
|
1155
|
+
message: "Caption src must be an SRT or VTT subtitle file. To generate captions from a media asset, use an alias reference (e.g. \"alias://my-clip\") instead of a direct URL. See: https://shotstack.io/docs/guide/architecting-an-application/rich-captions/",
|
|
1156
1156
|
path: ["src"],
|
|
1157
1157
|
});
|
|
1158
1158
|
}
|
package/dist/zod/zod.gen.js
CHANGED
|
@@ -1144,7 +1144,7 @@ export const richcaptionassetRichCaptionAssetSchema = z.object({
|
|
|
1144
1144
|
if (mediaExts.some((ext) => pathname.endsWith(ext))) {
|
|
1145
1145
|
ctx.addIssue({
|
|
1146
1146
|
code: z.ZodIssueCode.custom,
|
|
1147
|
-
message: "src must
|
|
1147
|
+
message: "Caption src must be an SRT or VTT subtitle file. To generate captions from a media asset, use an alias reference (e.g. \"alias://my-clip\") instead of a direct URL. See: https://shotstack.io/docs/guide/architecting-an-application/rich-captions/",
|
|
1148
1148
|
path: ["src"],
|
|
1149
1149
|
});
|
|
1150
1150
|
}
|
package/dist/zod/zod.gen.ts
CHANGED
|
@@ -982,7 +982,7 @@ export const richcaptionassetRichCaptionAssetSchema = z.object({
|
|
|
982
982
|
if (mediaExts.some((ext) => pathname.endsWith(ext))) {
|
|
983
983
|
ctx.addIssue({
|
|
984
984
|
code: z.ZodIssueCode.custom,
|
|
985
|
-
message: "src must
|
|
985
|
+
message: "Caption src must be an SRT or VTT subtitle file. To generate captions from a media asset, use an alias reference (e.g. \"alias://my-clip\") instead of a direct URL. See: https://shotstack.io/docs/guide/architecting-an-application/rich-captions/",
|
|
986
986
|
path: ["src"],
|
|
987
987
|
});
|
|
988
988
|
}
|