@phosart/common 0.4.39 → 0.4.40
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.
|
@@ -31,6 +31,7 @@ export declare const BaseGallery: z.ZodObject<{
|
|
|
31
31
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
32
32
|
alt: z.ZodString;
|
|
33
33
|
description: z.ZodOptional<z.ZodString>;
|
|
34
|
+
alts_display: z.ZodOptional<z.ZodLiteral<"alternatives" | "comic_panels">>;
|
|
34
35
|
alts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
36
|
name: z.ZodString;
|
|
36
37
|
image: z.ZodString;
|
|
@@ -75,6 +76,7 @@ export declare const RawGallery: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
75
76
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
76
77
|
alt: z.ZodString;
|
|
77
78
|
description: z.ZodOptional<z.ZodString>;
|
|
79
|
+
alts_display: z.ZodOptional<z.ZodLiteral<"alternatives" | "comic_panels">>;
|
|
78
80
|
alts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
79
81
|
name: z.ZodString;
|
|
80
82
|
image: z.ZodString;
|
|
@@ -155,6 +157,7 @@ export declare const FullGallery: z.ZodObject<{
|
|
|
155
157
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
156
158
|
alt: z.ZodString;
|
|
157
159
|
description: z.ZodOptional<z.ZodString>;
|
|
160
|
+
alts_display: z.ZodOptional<z.ZodLiteral<"alternatives" | "comic_panels">>;
|
|
158
161
|
alts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
162
|
name: z.ZodString;
|
|
160
163
|
image: z.ZodObject<{
|
|
@@ -234,6 +237,7 @@ export declare const BaseArtPiece: z.ZodObject<{
|
|
|
234
237
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
235
238
|
alt: z.ZodString;
|
|
236
239
|
description: z.ZodOptional<z.ZodString>;
|
|
240
|
+
alts_display: z.ZodOptional<z.ZodLiteral<"alternatives" | "comic_panels">>;
|
|
237
241
|
alts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
238
242
|
name: z.ZodString;
|
|
239
243
|
image: z.ZodString;
|
|
@@ -312,6 +316,7 @@ export declare const FullArtPiece: z.ZodObject<{
|
|
|
312
316
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
313
317
|
alt: z.ZodString;
|
|
314
318
|
description: z.ZodOptional<z.ZodString>;
|
|
319
|
+
alts_display: z.ZodOptional<z.ZodLiteral<"alternatives" | "comic_panels">>;
|
|
315
320
|
alts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
316
321
|
name: z.ZodString;
|
|
317
322
|
image: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.d.ts","sourceRoot":"","sources":["../../../src/lib/server/models/Gallery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe;;iBAE1B,CAAC;AAEH,eAAO,MAAM,KAAK;;;iBAGhB,CAAC;AAEH,eAAO,MAAM,UAAU;;;mBAGrB,CAAC;
|
|
1
|
+
{"version":3,"file":"Gallery.d.ts","sourceRoot":"","sources":["../../../src/lib/server/models/Gallery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe;;iBAE1B,CAAC;AAEH,eAAO,MAAM,KAAK;;;iBAGhB,CAAC;AAEH,eAAO,MAAM,UAAU;;;mBAGrB,CAAC;AAmDH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAsB,CAAC;AAC/C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAA0C,CAAC;AAClE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAmB,CAAC;AAC5C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAuB,CAAC;AACjD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAoB,CAAC"}
|
package/package.json
CHANGED
|
@@ -37,6 +37,7 @@ function ArtPiece<T extends z.ZodTypeAny>(imageType: T) {
|
|
|
37
37
|
tags: z.array(z.string()).default([]),
|
|
38
38
|
alt: z.string(),
|
|
39
39
|
description: z.string().optional(),
|
|
40
|
+
alts_display: z.literal(['alternatives', 'comic_panels']).optional(),
|
|
40
41
|
alts: z
|
|
41
42
|
.array(
|
|
42
43
|
z.object({
|