@ninetailed/experience.js-utils-contentful 2.0.0-beta.8 → 2.0.1

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.
@@ -0,0 +1,283 @@
1
+ import { z } from 'zod';
2
+ export declare const Entry: z.ZodObject<{
3
+ sys: z.ZodObject<{
4
+ type: z.ZodString;
5
+ id: z.ZodString;
6
+ createdAt: z.ZodString;
7
+ updatedAt: z.ZodString;
8
+ locale: z.ZodString;
9
+ revision: z.ZodOptional<z.ZodNumber>;
10
+ space: z.ZodOptional<z.ZodObject<{
11
+ sys: z.ZodObject<z.extendShape<{
12
+ type: z.ZodLiteral<"Link">;
13
+ linkType: z.ZodString;
14
+ id: z.ZodString;
15
+ }, {
16
+ linkType: z.ZodLiteral<"Space">;
17
+ }>, "strip", z.ZodTypeAny, {
18
+ type: "Link";
19
+ linkType: "Space";
20
+ id: string;
21
+ }, {
22
+ type: "Link";
23
+ linkType: "Space";
24
+ id: string;
25
+ }>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ sys: {
28
+ type: "Link";
29
+ linkType: "Space";
30
+ id: string;
31
+ };
32
+ }, {
33
+ sys: {
34
+ type: "Link";
35
+ linkType: "Space";
36
+ id: string;
37
+ };
38
+ }>>;
39
+ environment: z.ZodOptional<z.ZodObject<{
40
+ sys: z.ZodObject<z.extendShape<{
41
+ type: z.ZodLiteral<"Link">;
42
+ linkType: z.ZodString;
43
+ id: z.ZodString;
44
+ }, {
45
+ linkType: z.ZodLiteral<"Environment">;
46
+ }>, "strip", z.ZodTypeAny, {
47
+ type: "Link";
48
+ linkType: "Environment";
49
+ id: string;
50
+ }, {
51
+ type: "Link";
52
+ linkType: "Environment";
53
+ id: string;
54
+ }>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ sys: {
57
+ type: "Link";
58
+ linkType: "Environment";
59
+ id: string;
60
+ };
61
+ }, {
62
+ sys: {
63
+ type: "Link";
64
+ linkType: "Environment";
65
+ id: string;
66
+ };
67
+ }>>;
68
+ contentType: z.ZodObject<{
69
+ sys: z.ZodObject<z.extendShape<{
70
+ type: z.ZodLiteral<"Link">;
71
+ linkType: z.ZodString;
72
+ id: z.ZodString;
73
+ }, {
74
+ linkType: z.ZodLiteral<"ContentType">;
75
+ }>, "strip", z.ZodTypeAny, {
76
+ type: "Link";
77
+ linkType: "ContentType";
78
+ id: string;
79
+ }, {
80
+ type: "Link";
81
+ linkType: "ContentType";
82
+ id: string;
83
+ }>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ sys: {
86
+ type: "Link";
87
+ linkType: "ContentType";
88
+ id: string;
89
+ };
90
+ }, {
91
+ sys: {
92
+ type: "Link";
93
+ linkType: "ContentType";
94
+ id: string;
95
+ };
96
+ }>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ revision?: number | undefined;
99
+ space?: {
100
+ sys: {
101
+ type: "Link";
102
+ linkType: "Space";
103
+ id: string;
104
+ };
105
+ } | undefined;
106
+ environment?: {
107
+ sys: {
108
+ type: "Link";
109
+ linkType: "Environment";
110
+ id: string;
111
+ };
112
+ } | undefined;
113
+ type: string;
114
+ id: string;
115
+ createdAt: string;
116
+ updatedAt: string;
117
+ locale: string;
118
+ contentType: {
119
+ sys: {
120
+ type: "Link";
121
+ linkType: "ContentType";
122
+ id: string;
123
+ };
124
+ };
125
+ }, {
126
+ revision?: number | undefined;
127
+ space?: {
128
+ sys: {
129
+ type: "Link";
130
+ linkType: "Space";
131
+ id: string;
132
+ };
133
+ } | undefined;
134
+ environment?: {
135
+ sys: {
136
+ type: "Link";
137
+ linkType: "Environment";
138
+ id: string;
139
+ };
140
+ } | undefined;
141
+ type: string;
142
+ id: string;
143
+ createdAt: string;
144
+ updatedAt: string;
145
+ locale: string;
146
+ contentType: {
147
+ sys: {
148
+ type: "Link";
149
+ linkType: "ContentType";
150
+ id: string;
151
+ };
152
+ };
153
+ }>;
154
+ fields: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
155
+ metadata: z.ZodObject<{
156
+ tags: z.ZodArray<z.ZodObject<{
157
+ sys: z.ZodObject<z.extendShape<{
158
+ type: z.ZodLiteral<"Link">;
159
+ linkType: z.ZodString;
160
+ id: z.ZodString;
161
+ }, {
162
+ linkType: z.ZodLiteral<"Tag">;
163
+ }>, "strip", z.ZodTypeAny, {
164
+ type: "Link";
165
+ linkType: "Tag";
166
+ id: string;
167
+ }, {
168
+ type: "Link";
169
+ linkType: "Tag";
170
+ id: string;
171
+ }>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ sys: {
174
+ type: "Link";
175
+ linkType: "Tag";
176
+ id: string;
177
+ };
178
+ }, {
179
+ sys: {
180
+ type: "Link";
181
+ linkType: "Tag";
182
+ id: string;
183
+ };
184
+ }>, "many">;
185
+ }, "strip", z.ZodTypeAny, {
186
+ tags: {
187
+ sys: {
188
+ type: "Link";
189
+ linkType: "Tag";
190
+ id: string;
191
+ };
192
+ }[];
193
+ }, {
194
+ tags: {
195
+ sys: {
196
+ type: "Link";
197
+ linkType: "Tag";
198
+ id: string;
199
+ };
200
+ }[];
201
+ }>;
202
+ }, "strip", z.ZodTypeAny, {
203
+ sys: {
204
+ revision?: number | undefined;
205
+ space?: {
206
+ sys: {
207
+ type: "Link";
208
+ linkType: "Space";
209
+ id: string;
210
+ };
211
+ } | undefined;
212
+ environment?: {
213
+ sys: {
214
+ type: "Link";
215
+ linkType: "Environment";
216
+ id: string;
217
+ };
218
+ } | undefined;
219
+ type: string;
220
+ id: string;
221
+ createdAt: string;
222
+ updatedAt: string;
223
+ locale: string;
224
+ contentType: {
225
+ sys: {
226
+ type: "Link";
227
+ linkType: "ContentType";
228
+ id: string;
229
+ };
230
+ };
231
+ };
232
+ fields: {};
233
+ metadata: {
234
+ tags: {
235
+ sys: {
236
+ type: "Link";
237
+ linkType: "Tag";
238
+ id: string;
239
+ };
240
+ }[];
241
+ };
242
+ }, {
243
+ sys: {
244
+ revision?: number | undefined;
245
+ space?: {
246
+ sys: {
247
+ type: "Link";
248
+ linkType: "Space";
249
+ id: string;
250
+ };
251
+ } | undefined;
252
+ environment?: {
253
+ sys: {
254
+ type: "Link";
255
+ linkType: "Environment";
256
+ id: string;
257
+ };
258
+ } | undefined;
259
+ type: string;
260
+ id: string;
261
+ createdAt: string;
262
+ updatedAt: string;
263
+ locale: string;
264
+ contentType: {
265
+ sys: {
266
+ type: "Link";
267
+ linkType: "ContentType";
268
+ id: string;
269
+ };
270
+ };
271
+ };
272
+ fields: {};
273
+ metadata: {
274
+ tags: {
275
+ sys: {
276
+ type: "Link";
277
+ linkType: "Tag";
278
+ id: string;
279
+ };
280
+ }[];
281
+ };
282
+ }>;
283
+ export declare type Entry = z.infer<typeof Entry>;