nuxt-google-sheets-import 0.1.18 → 0.1.19
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/module.mjs
CHANGED
|
@@ -13,13 +13,16 @@ const module$1 = defineNuxtModule({
|
|
|
13
13
|
"@nuxt/ui": {
|
|
14
14
|
version: ">=4"
|
|
15
15
|
}
|
|
16
|
+
// 'zod': {
|
|
17
|
+
// version: '>=4',
|
|
18
|
+
// },
|
|
16
19
|
},
|
|
17
20
|
onInstall() {
|
|
18
21
|
const resolver = createResolver(import.meta.url);
|
|
19
22
|
addTemplate({
|
|
20
|
-
filename: "googleSheetsImportSchemas.
|
|
21
|
-
src: resolver.resolve("./runtime/app/examples/googleSheetsImportSchemas.
|
|
22
|
-
dst: "utils/.googleSheetsImportSchemas.ts",
|
|
23
|
+
filename: "googleSheetsImportSchemas.ts",
|
|
24
|
+
src: resolver.resolve("./runtime/app/examples/googleSheetsImportSchemas.ts"),
|
|
25
|
+
dst: "app/utils/.googleSheetsImportSchemas.ts",
|
|
23
26
|
write: true
|
|
24
27
|
});
|
|
25
28
|
},
|
|
@@ -1,75 +1,28 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
1
2
|
export declare const googleSheetsImportSchemas: {
|
|
2
|
-
example:
|
|
3
|
-
slug:
|
|
4
|
-
pageOrder:
|
|
5
|
-
number:
|
|
6
|
-
string:
|
|
7
|
-
enumString:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
stringArray: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
12
|
-
numberArray: import("zod").ZodArray<import("zod").ZodNumber, "many">;
|
|
13
|
-
boolean: import("zod").ZodBoolean;
|
|
14
|
-
object: import("zod").ZodObject<{
|
|
15
|
-
key1: import("zod").ZodString;
|
|
16
|
-
key2: import("zod").ZodString;
|
|
17
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
18
|
-
key1: string;
|
|
19
|
-
key2: string;
|
|
20
|
-
}, {
|
|
21
|
-
key1: string;
|
|
22
|
-
key2: string;
|
|
3
|
+
example: z.ZodObject<{
|
|
4
|
+
slug: z.ZodString;
|
|
5
|
+
pageOrder: z.ZodCoercedNumber<unknown>;
|
|
6
|
+
number: z.ZodCoercedNumber<unknown>;
|
|
7
|
+
string: z.ZodString;
|
|
8
|
+
enumString: z.ZodEnum<{
|
|
9
|
+
foo: "foo";
|
|
10
|
+
bar: "bar";
|
|
11
|
+
baz: "baz";
|
|
23
12
|
}>;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
key1: string;
|
|
40
|
-
key2: string;
|
|
41
|
-
};
|
|
42
|
-
slug: string;
|
|
43
|
-
pageOrder: number;
|
|
44
|
-
enumString: "foo" | "bar" | "baz";
|
|
45
|
-
literalString: "foo";
|
|
46
|
-
unionString: "foo" | "bar";
|
|
47
|
-
unionStringArray: ("foo" | "bar")[];
|
|
48
|
-
stringArray: string[];
|
|
49
|
-
numberArray: number[];
|
|
50
|
-
objectArray: {
|
|
51
|
-
keyA: string;
|
|
52
|
-
keyB: string;
|
|
53
|
-
}[];
|
|
54
|
-
}, {
|
|
55
|
-
string: string;
|
|
56
|
-
number: number;
|
|
57
|
-
boolean: boolean;
|
|
58
|
-
object: {
|
|
59
|
-
key1: string;
|
|
60
|
-
key2: string;
|
|
61
|
-
};
|
|
62
|
-
slug: string;
|
|
63
|
-
pageOrder: number;
|
|
64
|
-
enumString: "foo" | "bar" | "baz";
|
|
65
|
-
literalString: "foo";
|
|
66
|
-
unionString: "foo" | "bar";
|
|
67
|
-
unionStringArray: ("foo" | "bar")[];
|
|
68
|
-
stringArray: string[];
|
|
69
|
-
numberArray: number[];
|
|
70
|
-
objectArray: {
|
|
71
|
-
keyA: string;
|
|
72
|
-
keyB: string;
|
|
73
|
-
}[];
|
|
74
|
-
}>;
|
|
13
|
+
literalString: z.ZodLiteral<"foo">;
|
|
14
|
+
unionString: z.ZodUnion<readonly [z.ZodLiteral<"foo">, z.ZodLiteral<"bar">]>;
|
|
15
|
+
unionStringArray: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"foo">, z.ZodLiteral<"bar">]>>;
|
|
16
|
+
stringArray: z.ZodArray<z.ZodString>;
|
|
17
|
+
numberArray: z.ZodArray<z.ZodCoercedNumber<unknown>>;
|
|
18
|
+
boolean: z.ZodCoercedBoolean<unknown>;
|
|
19
|
+
object: z.ZodObject<{
|
|
20
|
+
key1: z.ZodString;
|
|
21
|
+
key2: z.ZodString;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
objectArray: z.ZodArray<z.ZodObject<{
|
|
24
|
+
keyA: z.ZodString;
|
|
25
|
+
keyB: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
75
28
|
};
|
package/package.json
CHANGED