@uns-kit/database 3.0.6 → 3.0.7

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.
@@ -1,20 +1,10 @@
1
1
  import { z } from "zod";
2
- export declare const secretPlaceholderSchema: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
2
+ export declare const secretPlaceholderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3
3
  provider: z.ZodLiteral<"env">;
4
4
  key: z.ZodString;
5
5
  optional: z.ZodOptional<z.ZodBoolean>;
6
6
  default: z.ZodOptional<z.ZodString>;
7
- }, "strict", z.ZodTypeAny, {
8
- provider?: "env";
9
- key?: string;
10
- optional?: boolean;
11
- default?: string;
12
- }, {
13
- provider?: "env";
14
- key?: string;
15
- optional?: boolean;
16
- default?: string;
17
- }>, z.ZodObject<{
7
+ }, z.core.$strict>, z.ZodObject<{
18
8
  provider: z.ZodLiteral<"infisical">;
19
9
  path: z.ZodString;
20
10
  key: z.ZodString;
@@ -22,39 +12,13 @@ export declare const secretPlaceholderSchema: z.ZodDiscriminatedUnion<"provider"
22
12
  environment: z.ZodOptional<z.ZodString>;
23
13
  projectId: z.ZodOptional<z.ZodString>;
24
14
  default: z.ZodOptional<z.ZodString>;
25
- }, "strict", z.ZodTypeAny, {
26
- provider?: "infisical";
27
- path?: string;
28
- key?: string;
29
- optional?: boolean;
30
- default?: string;
31
- environment?: string;
32
- projectId?: string;
33
- }, {
34
- provider?: "infisical";
35
- path?: string;
36
- key?: string;
37
- optional?: boolean;
38
- default?: string;
39
- environment?: string;
40
- projectId?: string;
41
- }>]>;
42
- export declare const secretValueSchema: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
15
+ }, z.core.$strict>], "provider">;
16
+ export declare const secretValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
43
17
  provider: z.ZodLiteral<"env">;
44
18
  key: z.ZodString;
45
19
  optional: z.ZodOptional<z.ZodBoolean>;
46
20
  default: z.ZodOptional<z.ZodString>;
47
- }, "strict", z.ZodTypeAny, {
48
- provider?: "env";
49
- key?: string;
50
- optional?: boolean;
51
- default?: string;
52
- }, {
53
- provider?: "env";
54
- key?: string;
55
- optional?: boolean;
56
- default?: string;
57
- }>, z.ZodObject<{
21
+ }, z.core.$strict>, z.ZodObject<{
58
22
  provider: z.ZodLiteral<"infisical">;
59
23
  path: z.ZodString;
60
24
  key: z.ZodString;
@@ -62,107 +26,41 @@ export declare const secretValueSchema: z.ZodUnion<[z.ZodString, z.ZodDiscrimina
62
26
  environment: z.ZodOptional<z.ZodString>;
63
27
  projectId: z.ZodOptional<z.ZodString>;
64
28
  default: z.ZodOptional<z.ZodString>;
65
- }, "strict", z.ZodTypeAny, {
66
- provider?: "infisical";
67
- path?: string;
68
- key?: string;
69
- optional?: boolean;
70
- default?: string;
71
- environment?: string;
72
- projectId?: string;
73
- }, {
74
- provider?: "infisical";
75
- path?: string;
76
- key?: string;
77
- optional?: boolean;
78
- default?: string;
79
- environment?: string;
80
- projectId?: string;
81
- }>]>]>;
82
- export declare const hostPlaceholderSchema: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
29
+ }, z.core.$strict>], "provider">]>;
30
+ export declare const hostPlaceholderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
83
31
  provider: z.ZodLiteral<"inline">;
84
32
  value: z.ZodString;
85
- }, "strict", z.ZodTypeAny, {
86
- provider?: "inline";
87
- value?: string;
88
- }, {
89
- provider?: "inline";
90
- value?: string;
91
- }>, z.ZodObject<{
33
+ }, z.core.$strict>, z.ZodObject<{
92
34
  provider: z.ZodLiteral<"external">;
93
35
  key: z.ZodString;
94
36
  optional: z.ZodOptional<z.ZodBoolean>;
95
37
  default: z.ZodOptional<z.ZodString>;
96
- }, "strict", z.ZodTypeAny, {
97
- provider?: "external";
98
- key?: string;
99
- optional?: boolean;
100
- default?: string;
101
- }, {
102
- provider?: "external";
103
- key?: string;
104
- optional?: boolean;
105
- default?: string;
106
- }>, z.ZodObject<{
38
+ }, z.core.$strict>, z.ZodObject<{
107
39
  provider: z.ZodLiteral<"system">;
108
- family: z.ZodDefault<z.ZodEnum<["IPv4", "IPv6"]>>;
40
+ family: z.ZodDefault<z.ZodEnum<{
41
+ IPv4: "IPv4";
42
+ IPv6: "IPv6";
43
+ }>>;
109
44
  interfaceName: z.ZodOptional<z.ZodString>;
110
45
  optional: z.ZodOptional<z.ZodBoolean>;
111
46
  default: z.ZodOptional<z.ZodString>;
112
- }, "strict", z.ZodTypeAny, {
113
- provider?: "system";
114
- optional?: boolean;
115
- default?: string;
116
- family?: "IPv4" | "IPv6";
117
- interfaceName?: string;
118
- }, {
119
- provider?: "system";
120
- optional?: boolean;
121
- default?: string;
122
- family?: "IPv4" | "IPv6";
123
- interfaceName?: string;
124
- }>]>;
125
- export declare const hostValueSchema: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
47
+ }, z.core.$strict>], "provider">;
48
+ export declare const hostValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
126
49
  provider: z.ZodLiteral<"inline">;
127
50
  value: z.ZodString;
128
- }, "strict", z.ZodTypeAny, {
129
- provider?: "inline";
130
- value?: string;
131
- }, {
132
- provider?: "inline";
133
- value?: string;
134
- }>, z.ZodObject<{
51
+ }, z.core.$strict>, z.ZodObject<{
135
52
  provider: z.ZodLiteral<"external">;
136
53
  key: z.ZodString;
137
54
  optional: z.ZodOptional<z.ZodBoolean>;
138
55
  default: z.ZodOptional<z.ZodString>;
139
- }, "strict", z.ZodTypeAny, {
140
- provider?: "external";
141
- key?: string;
142
- optional?: boolean;
143
- default?: string;
144
- }, {
145
- provider?: "external";
146
- key?: string;
147
- optional?: boolean;
148
- default?: string;
149
- }>, z.ZodObject<{
56
+ }, z.core.$strict>, z.ZodObject<{
150
57
  provider: z.ZodLiteral<"system">;
151
- family: z.ZodDefault<z.ZodEnum<["IPv4", "IPv6"]>>;
58
+ family: z.ZodDefault<z.ZodEnum<{
59
+ IPv4: "IPv4";
60
+ IPv6: "IPv6";
61
+ }>>;
152
62
  interfaceName: z.ZodOptional<z.ZodString>;
153
63
  optional: z.ZodOptional<z.ZodBoolean>;
154
64
  default: z.ZodOptional<z.ZodString>;
155
- }, "strict", z.ZodTypeAny, {
156
- provider?: "system";
157
- optional?: boolean;
158
- default?: string;
159
- family?: "IPv4" | "IPv6";
160
- interfaceName?: string;
161
- }, {
162
- provider?: "system";
163
- optional?: boolean;
164
- default?: string;
165
- family?: "IPv4" | "IPv6";
166
- interfaceName?: string;
167
- }>]>]>;
65
+ }, z.core.$strict>], "provider">]>;
168
66
  //# sourceMappingURL=placeholders.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"placeholders.d.ts","sourceRoot":"","sources":["../src/placeholders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuCxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGlC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAG5B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIhC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAG1B,CAAC"}
1
+ {"version":3,"file":"placeholders.d.ts","sourceRoot":"","sources":["../src/placeholders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuCxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;gCAGlC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;kCAG5B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;gCAIhC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;kCAG1B,CAAC"}