@elek-io/core 0.5.4 → 0.7.0

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,9 +1,11 @@
1
1
  import z, { z as z$1 } from 'zod';
2
+ import { SpawnOptionsWithoutStdio } from 'child_process';
3
+ import Fs from 'fs-extra';
2
4
 
3
5
  declare const assetFileSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4
6
  id: z.ZodReadonly<z.ZodString>;
5
- created: z.ZodReadonly<z.ZodNumber>;
6
- updated: z.ZodNullable<z.ZodNumber>;
7
+ created: z.ZodReadonly<z.ZodString>;
8
+ updated: z.ZodNullable<z.ZodString>;
7
9
  }, {
8
10
  language: z.ZodReadonly<z.ZodEnum<["bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hu", "it", "ja", "lt", "lv", "nl", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "zh"]>>;
9
11
  }>, {
@@ -20,8 +22,8 @@ declare const assetFileSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
20
22
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
21
23
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
22
24
  id: string;
23
- created: number;
24
- updated: number | null;
25
+ created: string;
26
+ updated: string | null;
25
27
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
26
28
  objectType: "asset";
27
29
  name: string;
@@ -31,8 +33,8 @@ declare const assetFileSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
31
33
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
32
34
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
33
35
  id: string;
34
- created: number;
35
- updated: number | null;
36
+ created: string;
37
+ updated: string | null;
36
38
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
37
39
  objectType: "asset";
38
40
  name: string;
@@ -42,8 +44,8 @@ declare const assetFileSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
42
44
  type AssetFile = z.infer<typeof assetFileSchema>;
43
45
  declare const assetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
44
46
  id: z.ZodReadonly<z.ZodString>;
45
- created: z.ZodReadonly<z.ZodNumber>;
46
- updated: z.ZodNullable<z.ZodNumber>;
47
+ created: z.ZodReadonly<z.ZodString>;
48
+ updated: z.ZodNullable<z.ZodString>;
47
49
  }, {
48
50
  language: z.ZodReadonly<z.ZodEnum<["bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hu", "it", "ja", "lt", "lv", "nl", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "zh"]>>;
49
51
  }>, {
@@ -65,8 +67,8 @@ declare const assetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
65
67
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
66
68
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
67
69
  id: string;
68
- created: number;
69
- updated: number | null;
70
+ created: string;
71
+ updated: string | null;
70
72
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
71
73
  objectType: "asset";
72
74
  name: string;
@@ -77,8 +79,8 @@ declare const assetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
77
79
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
78
80
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
79
81
  id: string;
80
- created: number;
81
- updated: number | null;
82
+ created: string;
83
+ updated: string | null;
82
84
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
83
85
  objectType: "asset";
84
86
  name: string;
@@ -89,8 +91,8 @@ declare const assetSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
89
91
  type Asset = z.infer<typeof assetSchema>;
90
92
  declare const assetExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
91
93
  id: z.ZodReadonly<z.ZodString>;
92
- created: z.ZodReadonly<z.ZodNumber>;
93
- updated: z.ZodNullable<z.ZodNumber>;
94
+ created: z.ZodReadonly<z.ZodString>;
95
+ updated: z.ZodNullable<z.ZodString>;
94
96
  }, {
95
97
  language: z.ZodReadonly<z.ZodEnum<["bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hu", "it", "ja", "lt", "lv", "nl", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "zh"]>>;
96
98
  }>, {
@@ -112,8 +114,8 @@ declare const assetExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
112
114
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
113
115
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
114
116
  id: string;
115
- created: number;
116
- updated: number | null;
117
+ created: string;
118
+ updated: string | null;
117
119
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
118
120
  objectType: "asset";
119
121
  name: string;
@@ -124,8 +126,8 @@ declare const assetExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
124
126
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
125
127
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
126
128
  id: string;
127
- created: number;
128
- updated: number | null;
129
+ created: string;
130
+ updated: string | null;
129
131
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
130
132
  objectType: "asset";
131
133
  name: string;
@@ -136,8 +138,8 @@ declare const assetExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
136
138
  type AssetExport = z.infer<typeof assetExportSchema>;
137
139
  declare const createAssetSchema: z.ZodObject<z.objectUtil.extendShape<Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
138
140
  id: z.ZodReadonly<z.ZodString>;
139
- created: z.ZodReadonly<z.ZodNumber>;
140
- updated: z.ZodNullable<z.ZodNumber>;
141
+ created: z.ZodReadonly<z.ZodString>;
142
+ updated: z.ZodNullable<z.ZodString>;
141
143
  }, {
142
144
  language: z.ZodReadonly<z.ZodEnum<["bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hu", "it", "ja", "lt", "lv", "nl", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "zh"]>>;
143
145
  }>, {
@@ -172,8 +174,8 @@ declare const createAssetSchema: z.ZodObject<z.objectUtil.extendShape<Pick<z.obj
172
174
  type CreateAssetProps = z.infer<typeof createAssetSchema>;
173
175
  declare const readAssetSchema: z.ZodObject<z.objectUtil.extendShape<Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
174
176
  id: z.ZodReadonly<z.ZodString>;
175
- created: z.ZodReadonly<z.ZodNumber>;
176
- updated: z.ZodNullable<z.ZodNumber>;
177
+ created: z.ZodReadonly<z.ZodString>;
178
+ updated: z.ZodNullable<z.ZodString>;
177
179
  }, {
178
180
  language: z.ZodReadonly<z.ZodEnum<["bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hu", "it", "ja", "lt", "lv", "nl", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "zh"]>>;
179
181
  }>, {
@@ -200,8 +202,8 @@ declare const readAssetSchema: z.ZodObject<z.objectUtil.extendShape<Pick<z.objec
200
202
  type ReadAssetProps = z.infer<typeof readAssetSchema>;
201
203
  declare const updateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
202
204
  id: z.ZodReadonly<z.ZodString>;
203
- created: z.ZodReadonly<z.ZodNumber>;
204
- updated: z.ZodNullable<z.ZodNumber>;
205
+ created: z.ZodReadonly<z.ZodString>;
206
+ updated: z.ZodNullable<z.ZodString>;
205
207
  }, {
206
208
  language: z.ZodReadonly<z.ZodEnum<["bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hu", "it", "ja", "lt", "lv", "nl", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "zh"]>>;
207
209
  }>, {
@@ -238,8 +240,8 @@ declare const updateAssetSchema: z.ZodObject<z.objectUtil.extendShape<Pick<z.obj
238
240
  type UpdateAssetProps = z.infer<typeof updateAssetSchema>;
239
241
  declare const deleteAssetSchema: z.ZodObject<z.objectUtil.extendShape<Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
240
242
  id: z.ZodReadonly<z.ZodString>;
241
- created: z.ZodReadonly<z.ZodNumber>;
242
- updated: z.ZodNullable<z.ZodNumber>;
243
+ created: z.ZodReadonly<z.ZodString>;
244
+ updated: z.ZodNullable<z.ZodString>;
243
245
  }, {
244
246
  language: z.ZodReadonly<z.ZodEnum<["bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hu", "it", "ja", "lt", "lv", "nl", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "zh"]>>;
245
247
  }>, {
@@ -2408,8 +2410,8 @@ declare const resolvedReferencedValueSchema: z.ZodObject<z.objectUtil.extendShap
2408
2410
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
2409
2411
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
2410
2412
  id: string;
2411
- created: number;
2412
- updated: number | null;
2413
+ created: string;
2414
+ updated: string | null;
2413
2415
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
2414
2416
  objectType: "asset";
2415
2417
  name: string;
@@ -2420,8 +2422,8 @@ declare const resolvedReferencedValueSchema: z.ZodObject<z.objectUtil.extendShap
2420
2422
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
2421
2423
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
2422
2424
  id: string;
2423
- created: number;
2424
- updated: number | null;
2425
+ created: string;
2426
+ updated: string | null;
2425
2427
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
2426
2428
  objectType: "asset";
2427
2429
  name: string;
@@ -2437,8 +2439,8 @@ declare const resolvedReferencedValueSchema: z.ZodObject<z.objectUtil.extendShap
2437
2439
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
2438
2440
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
2439
2441
  id: string;
2440
- created: number;
2441
- updated: number | null;
2442
+ created: string;
2443
+ updated: string | null;
2442
2444
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
2443
2445
  objectType: "asset";
2444
2446
  name: string;
@@ -2454,8 +2456,8 @@ declare const resolvedReferencedValueSchema: z.ZodObject<z.objectUtil.extendShap
2454
2456
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
2455
2457
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
2456
2458
  id: string;
2457
- created: number;
2458
- updated: number | null;
2459
+ created: string;
2460
+ updated: string | null;
2459
2461
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
2460
2462
  objectType: "asset";
2461
2463
  name: string;
@@ -2557,8 +2559,8 @@ declare const resolvedValueSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectU
2557
2559
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
2558
2560
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
2559
2561
  id: string;
2560
- created: number;
2561
- updated: number | null;
2562
+ created: string;
2563
+ updated: string | null;
2562
2564
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
2563
2565
  objectType: "asset";
2564
2566
  name: string;
@@ -2569,8 +2571,8 @@ declare const resolvedValueSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectU
2569
2571
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
2570
2572
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
2571
2573
  id: string;
2572
- created: number;
2573
- updated: number | null;
2574
+ created: string;
2575
+ updated: string | null;
2574
2576
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
2575
2577
  objectType: "asset";
2576
2578
  name: string;
@@ -2586,8 +2588,8 @@ declare const resolvedValueSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectU
2586
2588
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
2587
2589
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
2588
2590
  id: string;
2589
- created: number;
2590
- updated: number | null;
2591
+ created: string;
2592
+ updated: string | null;
2591
2593
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
2592
2594
  objectType: "asset";
2593
2595
  name: string;
@@ -2603,8 +2605,8 @@ declare const resolvedValueSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectU
2603
2605
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
2604
2606
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
2605
2607
  id: string;
2606
- created: number;
2607
- updated: number | null;
2608
+ created: string;
2609
+ updated: string | null;
2608
2610
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
2609
2611
  objectType: "asset";
2610
2612
  name: string;
@@ -2648,8 +2650,8 @@ declare function getValueContentSchemaFromDefinition(definition: ValueDefinition
2648
2650
 
2649
2651
  declare const entryFileSchema: z.ZodObject<z.objectUtil.extendShape<{
2650
2652
  id: z.ZodReadonly<z.ZodString>;
2651
- created: z.ZodReadonly<z.ZodNumber>;
2652
- updated: z.ZodNullable<z.ZodNumber>;
2653
+ created: z.ZodReadonly<z.ZodString>;
2654
+ updated: z.ZodNullable<z.ZodString>;
2653
2655
  }, {
2654
2656
  objectType: z.ZodReadonly<z.ZodLiteral<"entry">>;
2655
2657
  values: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -2803,8 +2805,8 @@ declare const entryFileSchema: z.ZodObject<z.objectUtil.extendShape<{
2803
2805
  })[]>>;
2804
2806
  })[];
2805
2807
  id: string;
2806
- created: number;
2807
- updated: number | null;
2808
+ created: string;
2809
+ updated: string | null;
2808
2810
  objectType: "entry";
2809
2811
  }, {
2810
2812
  values: ({
@@ -2839,8 +2841,8 @@ declare const entryFileSchema: z.ZodObject<z.objectUtil.extendShape<{
2839
2841
  })[]>>;
2840
2842
  })[];
2841
2843
  id: string;
2842
- created: number;
2843
- updated: number | null;
2844
+ created: string;
2845
+ updated: string | null;
2844
2846
  objectType: "entry";
2845
2847
  }>;
2846
2848
  type EntryFile = z.infer<typeof entryFileSchema>;
@@ -2851,8 +2853,8 @@ type Entry = z.infer<typeof entryFileSchema> & {
2851
2853
  };
2852
2854
  declare const entrySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2853
2855
  id: z.ZodReadonly<z.ZodString>;
2854
- created: z.ZodReadonly<z.ZodNumber>;
2855
- updated: z.ZodNullable<z.ZodNumber>;
2856
+ created: z.ZodReadonly<z.ZodString>;
2857
+ updated: z.ZodNullable<z.ZodString>;
2856
2858
  }, {
2857
2859
  objectType: z.ZodReadonly<z.ZodLiteral<"entry">>;
2858
2860
  values: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -3066,8 +3068,8 @@ declare const entrySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3066
3068
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3067
3069
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3068
3070
  id: string;
3069
- created: number;
3070
- updated: number | null;
3071
+ created: string;
3072
+ updated: string | null;
3071
3073
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3072
3074
  objectType: "asset";
3073
3075
  name: string;
@@ -3078,8 +3080,8 @@ declare const entrySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3078
3080
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3079
3081
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3080
3082
  id: string;
3081
- created: number;
3082
- updated: number | null;
3083
+ created: string;
3084
+ updated: string | null;
3083
3085
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3084
3086
  objectType: "asset";
3085
3087
  name: string;
@@ -3095,8 +3097,8 @@ declare const entrySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3095
3097
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3096
3098
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3097
3099
  id: string;
3098
- created: number;
3099
- updated: number | null;
3100
+ created: string;
3101
+ updated: string | null;
3100
3102
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3101
3103
  objectType: "asset";
3102
3104
  name: string;
@@ -3112,8 +3114,8 @@ declare const entrySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3112
3114
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3113
3115
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3114
3116
  id: string;
3115
- created: number;
3116
- updated: number | null;
3117
+ created: string;
3118
+ updated: string | null;
3117
3119
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3118
3120
  objectType: "asset";
3119
3121
  name: string;
@@ -3146,8 +3148,8 @@ declare const entrySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3146
3148
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3147
3149
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3148
3150
  id: string;
3149
- created: number;
3150
- updated: number | null;
3151
+ created: string;
3152
+ updated: string | null;
3151
3153
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3152
3154
  objectType: "asset";
3153
3155
  name: string;
@@ -3157,8 +3159,8 @@ declare const entrySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3157
3159
  } | Entry)[]>>;
3158
3160
  })[];
3159
3161
  id: string;
3160
- created: number;
3161
- updated: number | null;
3162
+ created: string;
3163
+ updated: string | null;
3162
3164
  objectType: "entry";
3163
3165
  }, {
3164
3166
  values: ({
@@ -3184,8 +3186,8 @@ declare const entrySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3184
3186
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3185
3187
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3186
3188
  id: string;
3187
- created: number;
3188
- updated: number | null;
3189
+ created: string;
3190
+ updated: string | null;
3189
3191
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3190
3192
  objectType: "asset";
3191
3193
  name: string;
@@ -3195,14 +3197,14 @@ declare const entrySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3195
3197
  } | Entry)[]>>;
3196
3198
  })[];
3197
3199
  id: string;
3198
- created: number;
3199
- updated: number | null;
3200
+ created: string;
3201
+ updated: string | null;
3200
3202
  objectType: "entry";
3201
3203
  }>;
3202
3204
  declare const entryExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3203
3205
  id: z.ZodReadonly<z.ZodString>;
3204
- created: z.ZodReadonly<z.ZodNumber>;
3205
- updated: z.ZodNullable<z.ZodNumber>;
3206
+ created: z.ZodReadonly<z.ZodString>;
3207
+ updated: z.ZodNullable<z.ZodString>;
3206
3208
  }, {
3207
3209
  objectType: z.ZodReadonly<z.ZodLiteral<"entry">>;
3208
3210
  values: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -3416,8 +3418,8 @@ declare const entryExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
3416
3418
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3417
3419
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3418
3420
  id: string;
3419
- created: number;
3420
- updated: number | null;
3421
+ created: string;
3422
+ updated: string | null;
3421
3423
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3422
3424
  objectType: "asset";
3423
3425
  name: string;
@@ -3428,8 +3430,8 @@ declare const entryExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
3428
3430
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3429
3431
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3430
3432
  id: string;
3431
- created: number;
3432
- updated: number | null;
3433
+ created: string;
3434
+ updated: string | null;
3433
3435
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3434
3436
  objectType: "asset";
3435
3437
  name: string;
@@ -3445,8 +3447,8 @@ declare const entryExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
3445
3447
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3446
3448
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3447
3449
  id: string;
3448
- created: number;
3449
- updated: number | null;
3450
+ created: string;
3451
+ updated: string | null;
3450
3452
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3451
3453
  objectType: "asset";
3452
3454
  name: string;
@@ -3462,8 +3464,8 @@ declare const entryExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
3462
3464
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3463
3465
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3464
3466
  id: string;
3465
- created: number;
3466
- updated: number | null;
3467
+ created: string;
3468
+ updated: string | null;
3467
3469
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3468
3470
  objectType: "asset";
3469
3471
  name: string;
@@ -3496,8 +3498,8 @@ declare const entryExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
3496
3498
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3497
3499
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3498
3500
  id: string;
3499
- created: number;
3500
- updated: number | null;
3501
+ created: string;
3502
+ updated: string | null;
3501
3503
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3502
3504
  objectType: "asset";
3503
3505
  name: string;
@@ -3507,8 +3509,8 @@ declare const entryExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
3507
3509
  } | Entry)[]>>;
3508
3510
  })[];
3509
3511
  id: string;
3510
- created: number;
3511
- updated: number | null;
3512
+ created: string;
3513
+ updated: string | null;
3512
3514
  objectType: "entry";
3513
3515
  }, {
3514
3516
  values: ({
@@ -3534,8 +3536,8 @@ declare const entryExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
3534
3536
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
3535
3537
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
3536
3538
  id: string;
3537
- created: number;
3538
- updated: number | null;
3539
+ created: string;
3540
+ updated: string | null;
3539
3541
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
3540
3542
  objectType: "asset";
3541
3543
  name: string;
@@ -3545,15 +3547,15 @@ declare const entryExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUt
3545
3547
  } | Entry)[]>>;
3546
3548
  })[];
3547
3549
  id: string;
3548
- created: number;
3549
- updated: number | null;
3550
+ created: string;
3551
+ updated: string | null;
3550
3552
  objectType: "entry";
3551
3553
  }>;
3552
3554
  type EntryExport = z.infer<typeof entryExportSchema>;
3553
3555
  declare const createEntrySchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
3554
3556
  id: z.ZodReadonly<z.ZodString>;
3555
- created: z.ZodReadonly<z.ZodNumber>;
3556
- updated: z.ZodNullable<z.ZodNumber>;
3557
+ created: z.ZodReadonly<z.ZodString>;
3558
+ updated: z.ZodNullable<z.ZodString>;
3557
3559
  }, {
3558
3560
  objectType: z.ZodReadonly<z.ZodLiteral<"entry">>;
3559
3561
  values: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -3881,8 +3883,8 @@ declare const readEntrySchema: z.ZodObject<{
3881
3883
  type ReadEntryProps = z.infer<typeof readEntrySchema>;
3882
3884
  declare const updateEntrySchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3883
3885
  id: z.ZodReadonly<z.ZodString>;
3884
- created: z.ZodReadonly<z.ZodNumber>;
3885
- updated: z.ZodNullable<z.ZodNumber>;
3886
+ created: z.ZodReadonly<z.ZodString>;
3887
+ updated: z.ZodNullable<z.ZodString>;
3886
3888
  }, {
3887
3889
  objectType: z.ZodReadonly<z.ZodLiteral<"entry">>;
3888
3890
  values: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -4096,8 +4098,8 @@ declare const updateEntrySchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obj
4096
4098
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
4097
4099
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
4098
4100
  id: string;
4099
- created: number;
4100
- updated: number | null;
4101
+ created: string;
4102
+ updated: string | null;
4101
4103
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
4102
4104
  objectType: "asset";
4103
4105
  name: string;
@@ -4108,8 +4110,8 @@ declare const updateEntrySchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obj
4108
4110
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
4109
4111
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
4110
4112
  id: string;
4111
- created: number;
4112
- updated: number | null;
4113
+ created: string;
4114
+ updated: string | null;
4113
4115
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
4114
4116
  objectType: "asset";
4115
4117
  name: string;
@@ -4125,8 +4127,8 @@ declare const updateEntrySchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obj
4125
4127
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
4126
4128
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
4127
4129
  id: string;
4128
- created: number;
4129
- updated: number | null;
4130
+ created: string;
4131
+ updated: string | null;
4130
4132
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
4131
4133
  objectType: "asset";
4132
4134
  name: string;
@@ -4142,8 +4144,8 @@ declare const updateEntrySchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obj
4142
4144
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
4143
4145
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
4144
4146
  id: string;
4145
- created: number;
4146
- updated: number | null;
4147
+ created: string;
4148
+ updated: string | null;
4147
4149
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
4148
4150
  objectType: "asset";
4149
4151
  name: string;
@@ -4179,8 +4181,8 @@ declare const updateEntrySchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obj
4179
4181
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
4180
4182
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
4181
4183
  id: string;
4182
- created: number;
4183
- updated: number | null;
4184
+ created: string;
4185
+ updated: string | null;
4184
4186
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
4185
4187
  objectType: "asset";
4186
4188
  name: string;
@@ -4216,8 +4218,8 @@ declare const updateEntrySchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.obj
4216
4218
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
4217
4219
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
4218
4220
  id: string;
4219
- created: number;
4220
- updated: number | null;
4221
+ created: string;
4222
+ updated: string | null;
4221
4223
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
4222
4224
  objectType: "asset";
4223
4225
  name: string;
@@ -4259,8 +4261,8 @@ type CountEntriesProps = z.infer<typeof countEntriesSchema>;
4259
4261
 
4260
4262
  declare const collectionFileSchema: z.ZodObject<z.objectUtil.extendShape<{
4261
4263
  id: z.ZodReadonly<z.ZodString>;
4262
- created: z.ZodReadonly<z.ZodNumber>;
4263
- updated: z.ZodNullable<z.ZodNumber>;
4264
+ created: z.ZodReadonly<z.ZodString>;
4265
+ updated: z.ZodNullable<z.ZodString>;
4264
4266
  }, {
4265
4267
  objectType: z.ZodReadonly<z.ZodLiteral<"collection">>;
4266
4268
  name: z.ZodObject<{
@@ -4828,8 +4830,8 @@ declare const collectionFileSchema: z.ZodObject<z.objectUtil.extendShape<{
4828
4830
  }>]>, "many">;
4829
4831
  }>, "strip", z.ZodTypeAny, {
4830
4832
  id: string;
4831
- created: number;
4832
- updated: number | null;
4833
+ created: string;
4834
+ updated: string | null;
4833
4835
  objectType: "collection";
4834
4836
  name: {
4835
4837
  singular: Partial<Record<"bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh", string>>;
@@ -5010,8 +5012,8 @@ declare const collectionFileSchema: z.ZodObject<z.objectUtil.extendShape<{
5010
5012
  })[];
5011
5013
  }, {
5012
5014
  id: string;
5013
- created: number;
5014
- updated: number | null;
5015
+ created: string;
5016
+ updated: string | null;
5015
5017
  objectType: "collection";
5016
5018
  name: {
5017
5019
  singular: Partial<Record<"bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh", string>>;
@@ -5194,8 +5196,8 @@ declare const collectionFileSchema: z.ZodObject<z.objectUtil.extendShape<{
5194
5196
  type CollectionFile = z.infer<typeof collectionFileSchema>;
5195
5197
  declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5196
5198
  id: z.ZodReadonly<z.ZodString>;
5197
- created: z.ZodReadonly<z.ZodNumber>;
5198
- updated: z.ZodNullable<z.ZodNumber>;
5199
+ created: z.ZodReadonly<z.ZodString>;
5200
+ updated: z.ZodNullable<z.ZodString>;
5199
5201
  }, {
5200
5202
  objectType: z.ZodReadonly<z.ZodLiteral<"collection">>;
5201
5203
  name: z.ZodObject<{
@@ -5763,8 +5765,8 @@ declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
5763
5765
  }>]>, "many">;
5764
5766
  }>, {}>, "strip", z.ZodTypeAny, {
5765
5767
  id: string;
5766
- created: number;
5767
- updated: number | null;
5768
+ created: string;
5769
+ updated: string | null;
5768
5770
  objectType: "collection";
5769
5771
  name: {
5770
5772
  singular: Partial<Record<"bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh", string>>;
@@ -5945,8 +5947,8 @@ declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
5945
5947
  })[];
5946
5948
  }, {
5947
5949
  id: string;
5948
- created: number;
5949
- updated: number | null;
5950
+ created: string;
5951
+ updated: string | null;
5950
5952
  objectType: "collection";
5951
5953
  name: {
5952
5954
  singular: Partial<Record<"bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh", string>>;
@@ -6129,8 +6131,8 @@ declare const collectionSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUti
6129
6131
  type Collection = z.infer<typeof collectionSchema>;
6130
6132
  declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
6131
6133
  id: z.ZodReadonly<z.ZodString>;
6132
- created: z.ZodReadonly<z.ZodNumber>;
6133
- updated: z.ZodNullable<z.ZodNumber>;
6134
+ created: z.ZodReadonly<z.ZodString>;
6135
+ updated: z.ZodNullable<z.ZodString>;
6134
6136
  }, {
6135
6137
  objectType: z.ZodReadonly<z.ZodLiteral<"collection">>;
6136
6138
  name: z.ZodObject<{
@@ -6699,8 +6701,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
6699
6701
  }>, {}>, {
6700
6702
  entries: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
6701
6703
  id: z.ZodReadonly<z.ZodString>;
6702
- created: z.ZodReadonly<z.ZodNumber>;
6703
- updated: z.ZodNullable<z.ZodNumber>;
6704
+ created: z.ZodReadonly<z.ZodString>;
6705
+ updated: z.ZodNullable<z.ZodString>;
6704
6706
  }, {
6705
6707
  objectType: z.ZodReadonly<z.ZodLiteral<"entry">>;
6706
6708
  values: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -6914,8 +6916,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
6914
6916
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
6915
6917
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
6916
6918
  id: string;
6917
- created: number;
6918
- updated: number | null;
6919
+ created: string;
6920
+ updated: string | null;
6919
6921
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
6920
6922
  objectType: "asset";
6921
6923
  name: string;
@@ -6926,8 +6928,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
6926
6928
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
6927
6929
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
6928
6930
  id: string;
6929
- created: number;
6930
- updated: number | null;
6931
+ created: string;
6932
+ updated: string | null;
6931
6933
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
6932
6934
  objectType: "asset";
6933
6935
  name: string;
@@ -6943,8 +6945,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
6943
6945
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
6944
6946
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
6945
6947
  id: string;
6946
- created: number;
6947
- updated: number | null;
6948
+ created: string;
6949
+ updated: string | null;
6948
6950
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
6949
6951
  objectType: "asset";
6950
6952
  name: string;
@@ -6960,8 +6962,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
6960
6962
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
6961
6963
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
6962
6964
  id: string;
6963
- created: number;
6964
- updated: number | null;
6965
+ created: string;
6966
+ updated: string | null;
6965
6967
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
6966
6968
  objectType: "asset";
6967
6969
  name: string;
@@ -6994,8 +6996,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
6994
6996
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
6995
6997
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
6996
6998
  id: string;
6997
- created: number;
6998
- updated: number | null;
6999
+ created: string;
7000
+ updated: string | null;
6999
7001
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
7000
7002
  objectType: "asset";
7001
7003
  name: string;
@@ -7005,8 +7007,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
7005
7007
  } | Entry)[]>>;
7006
7008
  })[];
7007
7009
  id: string;
7008
- created: number;
7009
- updated: number | null;
7010
+ created: string;
7011
+ updated: string | null;
7010
7012
  objectType: "entry";
7011
7013
  }, {
7012
7014
  values: ({
@@ -7032,8 +7034,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
7032
7034
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
7033
7035
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
7034
7036
  id: string;
7035
- created: number;
7036
- updated: number | null;
7037
+ created: string;
7038
+ updated: string | null;
7037
7039
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
7038
7040
  objectType: "asset";
7039
7041
  name: string;
@@ -7043,8 +7045,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
7043
7045
  } | Entry)[]>>;
7044
7046
  })[];
7045
7047
  id: string;
7046
- created: number;
7047
- updated: number | null;
7048
+ created: string;
7049
+ updated: string | null;
7048
7050
  objectType: "entry";
7049
7051
  }>, "many">;
7050
7052
  }>, "strip", z.ZodTypeAny, {
@@ -7072,8 +7074,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
7072
7074
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
7073
7075
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
7074
7076
  id: string;
7075
- created: number;
7076
- updated: number | null;
7077
+ created: string;
7078
+ updated: string | null;
7077
7079
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
7078
7080
  objectType: "asset";
7079
7081
  name: string;
@@ -7083,13 +7085,13 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
7083
7085
  } | Entry)[]>>;
7084
7086
  })[];
7085
7087
  id: string;
7086
- created: number;
7087
- updated: number | null;
7088
+ created: string;
7089
+ updated: string | null;
7088
7090
  objectType: "entry";
7089
7091
  }[];
7090
7092
  id: string;
7091
- created: number;
7092
- updated: number | null;
7093
+ created: string;
7094
+ updated: string | null;
7093
7095
  objectType: "collection";
7094
7096
  name: {
7095
7097
  singular: Partial<Record<"bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh", string>>;
@@ -7293,8 +7295,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
7293
7295
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
7294
7296
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
7295
7297
  id: string;
7296
- created: number;
7297
- updated: number | null;
7298
+ created: string;
7299
+ updated: string | null;
7298
7300
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
7299
7301
  objectType: "asset";
7300
7302
  name: string;
@@ -7304,13 +7306,13 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
7304
7306
  } | Entry)[]>>;
7305
7307
  })[];
7306
7308
  id: string;
7307
- created: number;
7308
- updated: number | null;
7309
+ created: string;
7310
+ updated: string | null;
7309
7311
  objectType: "entry";
7310
7312
  }[];
7311
7313
  id: string;
7312
- created: number;
7313
- updated: number | null;
7314
+ created: string;
7315
+ updated: string | null;
7314
7316
  objectType: "collection";
7315
7317
  name: {
7316
7318
  singular: Partial<Record<"bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh", string>>;
@@ -7493,8 +7495,8 @@ declare const collectionExportSchema: z.ZodObject<z.objectUtil.extendShape<z.obj
7493
7495
  type CollectionExport = z.infer<typeof collectionExportSchema>;
7494
7496
  declare const createCollectionSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<{
7495
7497
  id: z.ZodReadonly<z.ZodString>;
7496
- created: z.ZodReadonly<z.ZodNumber>;
7497
- updated: z.ZodNullable<z.ZodNumber>;
7498
+ created: z.ZodReadonly<z.ZodString>;
7499
+ updated: z.ZodNullable<z.ZodString>;
7498
7500
  }, {
7499
7501
  objectType: z.ZodReadonly<z.ZodLiteral<"collection">>;
7500
7502
  name: z.ZodObject<{
@@ -8435,8 +8437,8 @@ declare const readCollectionSchema: z.ZodObject<{
8435
8437
  type ReadCollectionProps = z.infer<typeof readCollectionSchema>;
8436
8438
  declare const updateCollectionSchema: z.ZodObject<z.objectUtil.extendShape<Pick<z.objectUtil.extendShape<{
8437
8439
  id: z.ZodReadonly<z.ZodString>;
8438
- created: z.ZodReadonly<z.ZodNumber>;
8439
- updated: z.ZodNullable<z.ZodNumber>;
8440
+ created: z.ZodReadonly<z.ZodString>;
8441
+ updated: z.ZodNullable<z.ZodString>;
8440
8442
  }, {
8441
8443
  objectType: z.ZodReadonly<z.ZodLiteral<"collection">>;
8442
8444
  name: z.ZodObject<{
@@ -9490,21 +9492,21 @@ declare const baseFileSchema: z.ZodObject<{
9490
9492
  */
9491
9493
  id: z.ZodReadonly<z.ZodString>;
9492
9494
  /**
9493
- * The timestamp of the file being created is set by the service of "objectType" while creating it
9495
+ * The datetime of the file being created is set by the service of "objectType" while creating it
9494
9496
  */
9495
- created: z.ZodReadonly<z.ZodNumber>;
9497
+ created: z.ZodReadonly<z.ZodString>;
9496
9498
  /**
9497
- * The timestamp of the file being updated is set by the service of "objectType" while updating it
9499
+ * The datetime of the file being updated is set by the service of "objectType" while updating it
9498
9500
  */
9499
- updated: z.ZodNullable<z.ZodNumber>;
9501
+ updated: z.ZodNullable<z.ZodString>;
9500
9502
  }, "strip", z.ZodTypeAny, {
9501
9503
  id: string;
9502
- created: number;
9503
- updated: number | null;
9504
+ created: string;
9505
+ updated: string | null;
9504
9506
  }, {
9505
9507
  id: string;
9506
- created: number;
9507
- updated: number | null;
9508
+ created: string;
9509
+ updated: string | null;
9508
9510
  }>;
9509
9511
  type BaseFile = z.infer<typeof baseFileSchema>;
9510
9512
  declare const baseFileWithLanguageSchema: z.ZodObject<z.objectUtil.extendShape<{
@@ -9515,13 +9517,13 @@ declare const baseFileWithLanguageSchema: z.ZodObject<z.objectUtil.extendShape<{
9515
9517
  */
9516
9518
  id: z.ZodReadonly<z.ZodString>;
9517
9519
  /**
9518
- * The timestamp of the file being created is set by the service of "objectType" while creating it
9520
+ * The datetime of the file being created is set by the service of "objectType" while creating it
9519
9521
  */
9520
- created: z.ZodReadonly<z.ZodNumber>;
9522
+ created: z.ZodReadonly<z.ZodString>;
9521
9523
  /**
9522
- * The timestamp of the file being updated is set by the service of "objectType" while updating it
9524
+ * The datetime of the file being updated is set by the service of "objectType" while updating it
9523
9525
  */
9524
- updated: z.ZodNullable<z.ZodNumber>;
9526
+ updated: z.ZodNullable<z.ZodString>;
9525
9527
  }, {
9526
9528
  /**
9527
9529
  * The language of the file
@@ -9534,13 +9536,13 @@ declare const baseFileWithLanguageSchema: z.ZodObject<z.objectUtil.extendShape<{
9534
9536
  language: z.ZodReadonly<z.ZodEnum<["bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hu", "it", "ja", "lt", "lv", "nl", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "zh"]>>;
9535
9537
  }>, "strip", z.ZodTypeAny, {
9536
9538
  id: string;
9537
- created: number;
9538
- updated: number | null;
9539
+ created: string;
9540
+ updated: string | null;
9539
9541
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
9540
9542
  }, {
9541
9543
  id: string;
9542
- created: number;
9543
- updated: number | null;
9544
+ created: string;
9545
+ updated: string | null;
9544
9546
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
9545
9547
  }>;
9546
9548
  type BaseFileWithLanguage = z.infer<typeof baseFileWithLanguageSchema>;
@@ -9593,25 +9595,25 @@ declare const gitCommitSchema: z$1.ZodObject<{
9593
9595
  email: string;
9594
9596
  name: string;
9595
9597
  }>;
9596
- timestamp: z$1.ZodNumber;
9598
+ datetime: z$1.ZodString;
9597
9599
  tag: z$1.ZodNullable<z$1.ZodString>;
9598
9600
  }, "strip", z$1.ZodTypeAny, {
9599
9601
  message: string;
9602
+ datetime: string;
9600
9603
  hash: string;
9601
9604
  author: {
9602
9605
  email: string;
9603
9606
  name: string;
9604
9607
  };
9605
- timestamp: number;
9606
9608
  tag: string | null;
9607
9609
  }, {
9608
9610
  message: string;
9611
+ datetime: string;
9609
9612
  hash: string;
9610
9613
  author: {
9611
9614
  email: string;
9612
9615
  name: string;
9613
9616
  };
9614
- timestamp: number;
9615
9617
  tag: string | null;
9616
9618
  }>;
9617
9619
  type GitCommit = z$1.infer<typeof gitCommitSchema>;
@@ -9731,23 +9733,23 @@ declare const gitTagSchema: z$1.ZodObject<{
9731
9733
  email: string;
9732
9734
  name: string;
9733
9735
  }>;
9734
- timestamp: z$1.ZodNumber;
9736
+ datetime: z$1.ZodString;
9735
9737
  }, "strip", z$1.ZodTypeAny, {
9736
9738
  message: string;
9739
+ datetime: string;
9737
9740
  id: string;
9738
9741
  author: {
9739
9742
  email: string;
9740
9743
  name: string;
9741
9744
  };
9742
- timestamp: number;
9743
9745
  }, {
9744
9746
  message: string;
9747
+ datetime: string;
9745
9748
  id: string;
9746
9749
  author: {
9747
9750
  email: string;
9748
9751
  name: string;
9749
9752
  };
9750
- timestamp: number;
9751
9753
  }>;
9752
9754
  type GitTag = z$1.infer<typeof gitTagSchema>;
9753
9755
  declare const createGitTagSchema: z$1.ZodObject<z$1.objectUtil.extendShape<Pick<{
@@ -9763,7 +9765,7 @@ declare const createGitTagSchema: z$1.ZodObject<z$1.objectUtil.extendShape<Pick<
9763
9765
  email: string;
9764
9766
  name: string;
9765
9767
  }>;
9766
- timestamp: z$1.ZodNumber;
9768
+ datetime: z$1.ZodString;
9767
9769
  }, "message">, {
9768
9770
  path: z$1.ZodString;
9769
9771
  hash: z$1.ZodOptional<z$1.ZodString>;
@@ -9837,8 +9839,8 @@ declare const projectFolderSchema: z$1.ZodEnum<["assets", "collections", "shared
9837
9839
  type ProjectFolder = z$1.infer<typeof projectFolderSchema>;
9838
9840
  declare const projectFileSchema: z$1.ZodObject<z$1.objectUtil.extendShape<{
9839
9841
  id: z$1.ZodReadonly<z$1.ZodString>;
9840
- created: z$1.ZodReadonly<z$1.ZodNumber>;
9841
- updated: z$1.ZodNullable<z$1.ZodNumber>;
9842
+ created: z$1.ZodReadonly<z$1.ZodString>;
9843
+ updated: z$1.ZodNullable<z$1.ZodString>;
9842
9844
  }, {
9843
9845
  objectType: z$1.ZodReadonly<z$1.ZodLiteral<"project">>;
9844
9846
  coreVersion: z$1.ZodString;
@@ -9871,8 +9873,8 @@ declare const projectFileSchema: z$1.ZodObject<z$1.objectUtil.extendShape<{
9871
9873
  }>, "strip", z$1.ZodTypeAny, {
9872
9874
  status: "foo" | "bar" | "todo";
9873
9875
  id: string;
9874
- created: number;
9875
- updated: number | null;
9876
+ created: string;
9877
+ updated: string | null;
9876
9878
  objectType: "project";
9877
9879
  name: string;
9878
9880
  description: string;
@@ -9887,8 +9889,8 @@ declare const projectFileSchema: z$1.ZodObject<z$1.objectUtil.extendShape<{
9887
9889
  }, {
9888
9890
  status: "foo" | "bar" | "todo";
9889
9891
  id: string;
9890
- created: number;
9891
- updated: number | null;
9892
+ created: string;
9893
+ updated: string | null;
9892
9894
  objectType: "project";
9893
9895
  name: string;
9894
9896
  description: string;
@@ -9904,8 +9906,8 @@ declare const projectFileSchema: z$1.ZodObject<z$1.objectUtil.extendShape<{
9904
9906
  type ProjectFile = z$1.infer<typeof projectFileSchema>;
9905
9907
  declare const projectSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.objectUtil.extendShape<{
9906
9908
  id: z$1.ZodReadonly<z$1.ZodString>;
9907
- created: z$1.ZodReadonly<z$1.ZodNumber>;
9908
- updated: z$1.ZodNullable<z$1.ZodNumber>;
9909
+ created: z$1.ZodReadonly<z$1.ZodString>;
9910
+ updated: z$1.ZodNullable<z$1.ZodString>;
9909
9911
  }, {
9910
9912
  objectType: z$1.ZodReadonly<z$1.ZodLiteral<"project">>;
9911
9913
  coreVersion: z$1.ZodString;
@@ -9938,8 +9940,8 @@ declare const projectSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.object
9938
9940
  }>, {}>, "strip", z$1.ZodTypeAny, {
9939
9941
  status: "foo" | "bar" | "todo";
9940
9942
  id: string;
9941
- created: number;
9942
- updated: number | null;
9943
+ created: string;
9944
+ updated: string | null;
9943
9945
  objectType: "project";
9944
9946
  name: string;
9945
9947
  description: string;
@@ -9954,8 +9956,8 @@ declare const projectSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.object
9954
9956
  }, {
9955
9957
  status: "foo" | "bar" | "todo";
9956
9958
  id: string;
9957
- created: number;
9958
- updated: number | null;
9959
+ created: string;
9960
+ updated: string | null;
9959
9961
  objectType: "project";
9960
9962
  name: string;
9961
9963
  description: string;
@@ -9971,8 +9973,8 @@ declare const projectSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.object
9971
9973
  type Project = z$1.infer<typeof projectSchema>;
9972
9974
  declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.objectUtil.extendShape<z$1.objectUtil.extendShape<{
9973
9975
  id: z$1.ZodReadonly<z$1.ZodString>;
9974
- created: z$1.ZodReadonly<z$1.ZodNumber>;
9975
- updated: z$1.ZodNullable<z$1.ZodNumber>;
9976
+ created: z$1.ZodReadonly<z$1.ZodString>;
9977
+ updated: z$1.ZodNullable<z$1.ZodString>;
9976
9978
  }, {
9977
9979
  objectType: z$1.ZodReadonly<z$1.ZodLiteral<"project">>;
9978
9980
  coreVersion: z$1.ZodString;
@@ -10005,8 +10007,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10005
10007
  }>, {}>, {
10006
10008
  assets: z$1.ZodArray<z$1.ZodObject<z$1.objectUtil.extendShape<z$1.objectUtil.extendShape<z$1.objectUtil.extendShape<z$1.objectUtil.extendShape<{
10007
10009
  id: z$1.ZodReadonly<z$1.ZodString>;
10008
- created: z$1.ZodReadonly<z$1.ZodNumber>;
10009
- updated: z$1.ZodNullable<z$1.ZodNumber>;
10010
+ created: z$1.ZodReadonly<z$1.ZodString>;
10011
+ updated: z$1.ZodNullable<z$1.ZodString>;
10010
10012
  }, {
10011
10013
  language: z$1.ZodReadonly<z$1.ZodEnum<["bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "hu", "it", "ja", "lt", "lv", "nl", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "zh"]>>;
10012
10014
  }>, {
@@ -10022,8 +10024,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10022
10024
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
10023
10025
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
10024
10026
  id: string;
10025
- created: number;
10026
- updated: number | null;
10027
+ created: string;
10028
+ updated: string | null;
10027
10029
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
10028
10030
  objectType: "asset";
10029
10031
  name: string;
@@ -10034,8 +10036,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10034
10036
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
10035
10037
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
10036
10038
  id: string;
10037
- created: number;
10038
- updated: number | null;
10039
+ created: string;
10040
+ updated: string | null;
10039
10041
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
10040
10042
  objectType: "asset";
10041
10043
  name: string;
@@ -10045,8 +10047,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10045
10047
  }>, "many">;
10046
10048
  collections: z$1.ZodArray<z$1.ZodObject<z$1.objectUtil.extendShape<z$1.objectUtil.extendShape<z$1.objectUtil.extendShape<{
10047
10049
  id: z$1.ZodReadonly<z$1.ZodString>;
10048
- created: z$1.ZodReadonly<z$1.ZodNumber>;
10049
- updated: z$1.ZodNullable<z$1.ZodNumber>;
10050
+ created: z$1.ZodReadonly<z$1.ZodString>;
10051
+ updated: z$1.ZodNullable<z$1.ZodString>;
10050
10052
  }, {
10051
10053
  objectType: z$1.ZodReadonly<z$1.ZodLiteral<"collection">>;
10052
10054
  name: z$1.ZodObject<{
@@ -10615,8 +10617,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10615
10617
  }>, {}>, {
10616
10618
  entries: z$1.ZodArray<z$1.ZodObject<z$1.objectUtil.extendShape<z$1.objectUtil.extendShape<z$1.objectUtil.extendShape<{
10617
10619
  id: z$1.ZodReadonly<z$1.ZodString>;
10618
- created: z$1.ZodReadonly<z$1.ZodNumber>;
10619
- updated: z$1.ZodNullable<z$1.ZodNumber>;
10620
+ created: z$1.ZodReadonly<z$1.ZodString>;
10621
+ updated: z$1.ZodNullable<z$1.ZodString>;
10620
10622
  }, {
10621
10623
  objectType: z$1.ZodReadonly<z$1.ZodLiteral<"entry">>;
10622
10624
  values: z$1.ZodArray<z$1.ZodUnion<[z$1.ZodUnion<[z$1.ZodObject<z$1.objectUtil.extendShape<{
@@ -10830,8 +10832,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10830
10832
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
10831
10833
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
10832
10834
  id: string;
10833
- created: number;
10834
- updated: number | null;
10835
+ created: string;
10836
+ updated: string | null;
10835
10837
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
10836
10838
  objectType: "asset";
10837
10839
  name: string;
@@ -10842,8 +10844,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10842
10844
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
10843
10845
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
10844
10846
  id: string;
10845
- created: number;
10846
- updated: number | null;
10847
+ created: string;
10848
+ updated: string | null;
10847
10849
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
10848
10850
  objectType: "asset";
10849
10851
  name: string;
@@ -10859,8 +10861,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10859
10861
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
10860
10862
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
10861
10863
  id: string;
10862
- created: number;
10863
- updated: number | null;
10864
+ created: string;
10865
+ updated: string | null;
10864
10866
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
10865
10867
  objectType: "asset";
10866
10868
  name: string;
@@ -10876,8 +10878,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10876
10878
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
10877
10879
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
10878
10880
  id: string;
10879
- created: number;
10880
- updated: number | null;
10881
+ created: string;
10882
+ updated: string | null;
10881
10883
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
10882
10884
  objectType: "asset";
10883
10885
  name: string;
@@ -10910,8 +10912,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10910
10912
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
10911
10913
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
10912
10914
  id: string;
10913
- created: number;
10914
- updated: number | null;
10915
+ created: string;
10916
+ updated: string | null;
10915
10917
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
10916
10918
  objectType: "asset";
10917
10919
  name: string;
@@ -10921,8 +10923,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10921
10923
  } | Entry)[]>>;
10922
10924
  })[];
10923
10925
  id: string;
10924
- created: number;
10925
- updated: number | null;
10926
+ created: string;
10927
+ updated: string | null;
10926
10928
  objectType: "entry";
10927
10929
  }, {
10928
10930
  values: ({
@@ -10948,8 +10950,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10948
10950
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
10949
10951
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
10950
10952
  id: string;
10951
- created: number;
10952
- updated: number | null;
10953
+ created: string;
10954
+ updated: string | null;
10953
10955
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
10954
10956
  objectType: "asset";
10955
10957
  name: string;
@@ -10959,8 +10961,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10959
10961
  } | Entry)[]>>;
10960
10962
  })[];
10961
10963
  id: string;
10962
- created: number;
10963
- updated: number | null;
10964
+ created: string;
10965
+ updated: string | null;
10964
10966
  objectType: "entry";
10965
10967
  }>, "many">;
10966
10968
  }>, "strip", z$1.ZodTypeAny, {
@@ -10988,8 +10990,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10988
10990
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
10989
10991
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
10990
10992
  id: string;
10991
- created: number;
10992
- updated: number | null;
10993
+ created: string;
10994
+ updated: string | null;
10993
10995
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
10994
10996
  objectType: "asset";
10995
10997
  name: string;
@@ -10999,13 +11001,13 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
10999
11001
  } | Entry)[]>>;
11000
11002
  })[];
11001
11003
  id: string;
11002
- created: number;
11003
- updated: number | null;
11004
+ created: string;
11005
+ updated: string | null;
11004
11006
  objectType: "entry";
11005
11007
  }[];
11006
11008
  id: string;
11007
- created: number;
11008
- updated: number | null;
11009
+ created: string;
11010
+ updated: string | null;
11009
11011
  objectType: "collection";
11010
11012
  name: {
11011
11013
  singular: Partial<Record<"bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh", string>>;
@@ -11209,8 +11211,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
11209
11211
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
11210
11212
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
11211
11213
  id: string;
11212
- created: number;
11213
- updated: number | null;
11214
+ created: string;
11215
+ updated: string | null;
11214
11216
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
11215
11217
  objectType: "asset";
11216
11218
  name: string;
@@ -11220,13 +11222,13 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
11220
11222
  } | Entry)[]>>;
11221
11223
  })[];
11222
11224
  id: string;
11223
- created: number;
11224
- updated: number | null;
11225
+ created: string;
11226
+ updated: string | null;
11225
11227
  objectType: "entry";
11226
11228
  }[];
11227
11229
  id: string;
11228
- created: number;
11229
- updated: number | null;
11230
+ created: string;
11231
+ updated: string | null;
11230
11232
  objectType: "collection";
11231
11233
  name: {
11232
11234
  singular: Partial<Record<"bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh", string>>;
@@ -11409,8 +11411,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
11409
11411
  }>, "strip", z$1.ZodTypeAny, {
11410
11412
  status: "foo" | "bar" | "todo";
11411
11413
  id: string;
11412
- created: number;
11413
- updated: number | null;
11414
+ created: string;
11415
+ updated: string | null;
11414
11416
  objectType: "project";
11415
11417
  name: string;
11416
11418
  description: string;
@@ -11419,8 +11421,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
11419
11421
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
11420
11422
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
11421
11423
  id: string;
11422
- created: number;
11423
- updated: number | null;
11424
+ created: string;
11425
+ updated: string | null;
11424
11426
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
11425
11427
  objectType: "asset";
11426
11428
  name: string;
@@ -11453,8 +11455,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
11453
11455
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
11454
11456
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
11455
11457
  id: string;
11456
- created: number;
11457
- updated: number | null;
11458
+ created: string;
11459
+ updated: string | null;
11458
11460
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
11459
11461
  objectType: "asset";
11460
11462
  name: string;
@@ -11464,13 +11466,13 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
11464
11466
  } | Entry)[]>>;
11465
11467
  })[];
11466
11468
  id: string;
11467
- created: number;
11468
- updated: number | null;
11469
+ created: string;
11470
+ updated: string | null;
11469
11471
  objectType: "entry";
11470
11472
  }[];
11471
11473
  id: string;
11472
- created: number;
11473
- updated: number | null;
11474
+ created: string;
11475
+ updated: string | null;
11474
11476
  objectType: "collection";
11475
11477
  name: {
11476
11478
  singular: Partial<Record<"bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh", string>>;
@@ -11660,8 +11662,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
11660
11662
  }, {
11661
11663
  status: "foo" | "bar" | "todo";
11662
11664
  id: string;
11663
- created: number;
11664
- updated: number | null;
11665
+ created: string;
11666
+ updated: string | null;
11665
11667
  objectType: "project";
11666
11668
  name: string;
11667
11669
  description: string;
@@ -11670,8 +11672,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
11670
11672
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
11671
11673
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
11672
11674
  id: string;
11673
- created: number;
11674
- updated: number | null;
11675
+ created: string;
11676
+ updated: string | null;
11675
11677
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
11676
11678
  objectType: "asset";
11677
11679
  name: string;
@@ -11704,8 +11706,8 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
11704
11706
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
11705
11707
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
11706
11708
  id: string;
11707
- created: number;
11708
- updated: number | null;
11709
+ created: string;
11710
+ updated: string | null;
11709
11711
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
11710
11712
  objectType: "asset";
11711
11713
  name: string;
@@ -11715,13 +11717,13 @@ declare const projectExportSchema: z$1.ZodObject<z$1.objectUtil.extendShape<z$1.
11715
11717
  } | Entry)[]>>;
11716
11718
  })[];
11717
11719
  id: string;
11718
- created: number;
11719
- updated: number | null;
11720
+ created: string;
11721
+ updated: string | null;
11720
11722
  objectType: "entry";
11721
11723
  }[];
11722
11724
  id: string;
11723
- created: number;
11724
- updated: number | null;
11725
+ created: string;
11726
+ updated: string | null;
11725
11727
  objectType: "collection";
11726
11728
  name: {
11727
11729
  singular: Partial<Record<"bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh", string>>;
@@ -12037,8 +12039,8 @@ declare const projectUpgradeSchema: z$1.ZodObject<{
12037
12039
  */
12038
12040
  run: z$1.ZodFunction<z$1.ZodTuple<[z$1.ZodObject<z$1.objectUtil.extendShape<{
12039
12041
  id: z$1.ZodReadonly<z$1.ZodString>;
12040
- created: z$1.ZodReadonly<z$1.ZodNumber>;
12041
- updated: z$1.ZodNullable<z$1.ZodNumber>;
12042
+ created: z$1.ZodReadonly<z$1.ZodString>;
12043
+ updated: z$1.ZodNullable<z$1.ZodString>;
12042
12044
  }, {
12043
12045
  objectType: z$1.ZodReadonly<z$1.ZodLiteral<"project">>;
12044
12046
  coreVersion: z$1.ZodString;
@@ -12071,8 +12073,8 @@ declare const projectUpgradeSchema: z$1.ZodObject<{
12071
12073
  }>, "strip", z$1.ZodTypeAny, {
12072
12074
  status: "foo" | "bar" | "todo";
12073
12075
  id: string;
12074
- created: number;
12075
- updated: number | null;
12076
+ created: string;
12077
+ updated: string | null;
12076
12078
  objectType: "project";
12077
12079
  name: string;
12078
12080
  description: string;
@@ -12087,8 +12089,8 @@ declare const projectUpgradeSchema: z$1.ZodObject<{
12087
12089
  }, {
12088
12090
  status: "foo" | "bar" | "todo";
12089
12091
  id: string;
12090
- created: number;
12091
- updated: number | null;
12092
+ created: string;
12093
+ updated: string | null;
12092
12094
  objectType: "project";
12093
12095
  name: string;
12094
12096
  description: string;
@@ -12106,8 +12108,8 @@ declare const projectUpgradeSchema: z$1.ZodObject<{
12106
12108
  run: (args_0: {
12107
12109
  status: "foo" | "bar" | "todo";
12108
12110
  id: string;
12109
- created: number;
12110
- updated: number | null;
12111
+ created: string;
12112
+ updated: string | null;
12111
12113
  objectType: "project";
12112
12114
  name: string;
12113
12115
  description: string;
@@ -12125,8 +12127,8 @@ declare const projectUpgradeSchema: z$1.ZodObject<{
12125
12127
  run: (args_0: {
12126
12128
  status: "foo" | "bar" | "todo";
12127
12129
  id: string;
12128
- created: number;
12129
- updated: number | null;
12130
+ created: string;
12131
+ updated: string | null;
12130
12132
  objectType: "project";
12131
12133
  name: string;
12132
12134
  description: string;
@@ -12535,17 +12537,824 @@ type SetUserProps = z.infer<typeof setUserSchema>;
12535
12537
  */
12536
12538
  declare function uuid(): Uuid;
12537
12539
  /**
12538
- * Returns the current UNIX timestamp
12540
+ * Returns a string representing date and time
12541
+ * in a simplified format based on ISO 8601.
12542
+ * The timezone is always UTC.
12539
12543
  *
12540
- * Since the UNIX timestamp is the number of seconds
12541
- * that have elapsed from January 1, 1970, UTC and
12542
- * `Date.now()` returns the time in milliseconds,
12543
- * we need to convert this into seconds.
12544
+ * - If value is not given, the current date and time is used
12545
+ * - If value is given, it's converted to above representation and UTC timezone
12546
+ *
12547
+ * @example 'YYYY-MM-DDTHH:mm:ss.sssZ'
12548
+ *
12549
+ * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
12550
+ * @see https://en.wikipedia.org/wiki/ISO_8601
12544
12551
  */
12545
- declare function currentTimestamp(): number;
12552
+ declare function datetime(value?: number | string | Date): string;
12546
12553
  /**
12547
12554
  * Returns the slug of given string
12548
12555
  */
12549
12556
  declare function slug(string: string): string;
12550
12557
 
12551
- export { type Asset, type AssetExport, type AssetFile, type AssetValueDefinition, type BaseFile, type BaseFileWithLanguage, type BaseUser, BooleanValueDefinitionBaseSchema, type CloneProjectProps, type CloudUser, type Collection, type CollectionExport, type CollectionFile, type ConstructorElekIoCoreProps, type CountAssetsProps, type CountCollectionsProps, type CountEntriesProps, type CountGitTagsProps, type CreateAssetProps, type CreateCollectionProps, type CreateEntryProps, type CreateGitTagProps, type CreateProjectProps, type CrudService, type CurrentBranchProjectProps, type DateValueDefinition, type DatetimeValueDefinition, type DeleteAssetProps, type DeleteCollectionProps, type DeleteEntryProps, type DeleteGitTagProps, type DeleteProjectProps, type DirectBooleanValue, type DirectNumberValue, type DirectStringValue, type DirectValue, type ElekIoCoreOptions, type EmailValueDefinition, type Entry, type EntryExport, type EntryFile, type EntryValueDefinition, type Environment, type ExtendedCrudService, type FileReference, type GetChangesProjectProps, type GetRemoteOriginUrlProjectProps, type GitCloneOptions, type GitCommit, type GitCommitIcon, type GitInitOptions, type GitLogOptions, type GitSignature, type GitSwitchOptions, type GitTag, type IpValueDefinition, type ListAssetsProps, type ListBranchesProjectProps, type ListCollectionsProps, type ListEntriesProps, type ListGitTagsProps, type ListProjectsProps, type LocalUser, type NumberValueDefinition, NumberValueDefinitionBaseSchema, type ObjectType, type PaginatedList, type PaginationOptions, type Project, type ProjectExport, type ProjectFile, type ProjectFolder, type ProjectSettings, type ProjectStatus, type ProjectUpgrade, type RangeValueDefinition, type ReadAssetProps, type ReadCollectionProps, type ReadEntryProps, type ReadGitTagProps, type ReadProjectProps, ReferenceValueDefinitionBaseSchema, type ReferencedValue, type ResolvedReferencedValue, type ResolvedValue, type ResolvedValueContentReference, type SearchProjectProps, type ServiceType, type SetRemoteOriginUrlProjectProps, type SetUserProps, type StringValueDefinition, StringValueDefinitionBaseSchema, type SupportedAssetExtension, type SupportedAssetMimeType, type SupportedAssetType, type SupportedIcon, type SupportedLanguage, type SwitchBranchProjectProps, type SynchronizeProjectProps, type TelephoneValueDefinition, type TextValueDefinition, type TextareaValueDefinition, type TimeValueDefinition, type ToggleValueDefinition, type TranslatableBoolean, type TranslatableNumber, type TranslatableString, type UpdateAssetProps, type UpdateCollectionProps, type UpdateEntryProps, type UpdateProjectProps, type UpgradeProjectProps, type UrlValueDefinition, type User, type UserFile, UserTypeSchema, type Uuid, type Value, type ValueContentReference, type ValueContentReferenceToAsset, type ValueContentReferenceToCollection, type ValueContentReferenceToEntry, type ValueDefinition, type ValueDefinitionBase, ValueDefinitionBaseSchema, type ValueInputType, ValueInputTypeSchema, ValueInputWidthSchema, type ValueType, ValueTypeSchema, type Version, assetExportSchema, assetFileSchema, assetSchema, assetValueDefinitionSchema, baseFileSchema, baseFileWithLanguageSchema, baseUserSchema, cloneProjectSchema, cloudUserSchema, collectionExportSchema, collectionFileSchema, collectionSchema, constructorElekIoCoreSchema, countAssetsSchema, countCollectionsSchema, countEntriesSchema, countGitTagsSchema, createAssetSchema, createCollectionSchema, createEntrySchema, createGitTagSchema, createProjectSchema, currentBranchProjectSchema, currentTimestamp, dateValueDefinitionSchema, datetimeValueDefinitionSchema, deleteAssetSchema, deleteCollectionSchema, deleteEntrySchema, deleteGitTagSchema, deleteProjectSchema, directBooleanValueSchema, directNumberValueSchema, directStringValueSchema, directValueBaseSchema, directValueSchema, elekIoCoreOptionsSchema, emailValueDefinitionSchema, entryExportSchema, entryFileSchema, entrySchema, entryValueDefinitionSchema, environmentSchema, fileReferenceSchema, getChangesProjectSchema, getRemoteOriginUrlProjectSchema, getValueContentSchemaFromDefinition, gitCloneOptionsSchema, gitCommitIconSchema, gitCommitSchema, gitInitOptionsSchema, gitLogOptionsSchema, gitRepositoryPathSchema, gitSignatureSchema, gitSwitchOptionsSchema, gitTagSchema, ipValueDefinitionSchema, listAssetsSchema, listBranchesProjectSchema, listCollectionsSchema, listEntriesSchema, listGitTagsSchema, listProjectsSchema, localUserSchema, numberValueDefinitionSchema, objectTypeSchema, projectExportSchema, projectFileSchema, projectFolderSchema, projectSchema, projectSettingsSchema, projectStatusSchema, projectUpgradeSchema, rangeValueDefinitionSchema, readAssetSchema, readCollectionSchema, readEntrySchema, readGitTagSchema, readProjectSchema, referencedValueSchema, resolvedReferencedValueSchema, resolvedValueContentReferenceSchema, resolvedValueSchema, searchProjectSchema, serviceTypeSchema, setRemoteOriginUrlProjectSchema, setUserSchema, slug, stringValueDefinitionSchema, supportedAssetExtensionSchema, supportedAssetMimeTypeSchema, supportedAssetTypeSchema, supportedIconSchema, supportedLanguageSchema, switchBranchProjectSchema, synchronizeProjectSchema, telephoneValueDefinitionSchema, textValueDefinitionSchema, textareaValueDefinitionSchema, timeValueDefinitionSchema, toggleValueDefinitionSchema, translatableArrayOf, translatableBooleanSchema, translatableNumberSchema, translatableStringSchema, updateAssetSchema, updateCollectionSchema, updateEntrySchema, updateProjectSchema, upgradeProjectSchema, urlValueDefinitionSchema, userFileSchema, userSchema, uuid, uuidSchema, valueContentReferenceBase, valueContentReferenceSchema, valueContentReferenceToAssetSchema, valueContentReferenceToCollectionSchema, valueContentReferenceToEntrySchema, valueContentReferenceWithLanguageBase, valueDefinitionSchema, valueSchema, versionSchema };
12558
+ /**
12559
+ * A base service that provides properties for most other services
12560
+ */
12561
+ declare abstract class AbstractCrudService {
12562
+ readonly type: ServiceType;
12563
+ readonly options: ElekIoCoreOptions;
12564
+ /**
12565
+ * Dynamically generated git messages for operations
12566
+ */
12567
+ readonly gitMessage: {
12568
+ create: string;
12569
+ update: string;
12570
+ delete: string;
12571
+ };
12572
+ /**
12573
+ * Do not instantiate directly as this is an abstract class
12574
+ */
12575
+ protected constructor(type: ServiceType, options: ElekIoCoreOptions);
12576
+ /**
12577
+ * Returns a list of all file references of given project and type
12578
+ *
12579
+ * @param type File type of the references wanted
12580
+ * @param projectId Project to get all asset references from
12581
+ * @param collectionId Only needed when requesting files of type "Entry"
12582
+ */
12583
+ protected listReferences(type: ObjectType, projectId?: string, collectionId?: string): Promise<FileReference[]>;
12584
+ private getFolderReferences;
12585
+ /**
12586
+ * Searches for all files inside given folder,
12587
+ * parses their names and returns them as FileReference
12588
+ *
12589
+ * Ignores files not matching the [id].[language].[extension]
12590
+ * or [id].[extension] format for their names
12591
+ */
12592
+ private getFileReferences;
12593
+ }
12594
+
12595
+ /**
12596
+ * Service that manages CRUD functionality for GitTags
12597
+ */
12598
+ declare class GitTagService extends AbstractCrudService implements ExtendedCrudService<GitTag> {
12599
+ private git;
12600
+ constructor(options: ElekIoCoreOptions, git: GitService['git']);
12601
+ /**
12602
+ * Creates a new tag
12603
+ *
12604
+ * @see https://git-scm.com/docs/git-tag#Documentation/git-tag.txt---annotate
12605
+ */
12606
+ create(props: CreateGitTagProps): Promise<GitTag>;
12607
+ /**
12608
+ * Returns a tag by ID
12609
+ *
12610
+ * Internally uses list() but only returns the tag with matching ID.
12611
+ */
12612
+ read(props: ReadGitTagProps): Promise<GitTag>;
12613
+ /**
12614
+ * Updating a git tag is not supported.
12615
+ * Please delete the old and create a new one
12616
+ *
12617
+ * @see https://git-scm.com/docs/git-tag#_on_re_tagging
12618
+ */
12619
+ update(): Promise<never>;
12620
+ /**
12621
+ * Deletes a tag
12622
+ *
12623
+ * @see https://git-scm.com/docs/git-tag#Documentation/git-tag.txt---delete
12624
+ *
12625
+ * @param path Path to the repository
12626
+ * @param id UUID of the tag to delete
12627
+ */
12628
+ delete(props: DeleteGitTagProps): Promise<void>;
12629
+ /**
12630
+ * Gets all local tags or filter them by pattern
12631
+ *
12632
+ * They are sorted by authordate of the commit, not when the tag is created.
12633
+ * This ensures tags are sorted correctly in the timeline of their commits.
12634
+ *
12635
+ * @see https://git-scm.com/docs/git-tag#Documentation/git-tag.txt---list
12636
+ */
12637
+ list(props: ListGitTagsProps): Promise<PaginatedList<GitTag>>;
12638
+ /**
12639
+ * Returns the total number of tags inside given repository
12640
+ *
12641
+ * Internally uses list(), so do not use count()
12642
+ * in conjuncion with it to avoid multiple git calls.
12643
+ *
12644
+ * @param path Path to the repository
12645
+ */
12646
+ count(props: CountGitTagsProps): Promise<number>;
12647
+ /**
12648
+ * Type guard for GitTag
12649
+ *
12650
+ * @param obj The object to check
12651
+ */
12652
+ private isGitTag;
12653
+ }
12654
+
12655
+ /**
12656
+ * Service that manages CRUD functionality for JSON files on disk
12657
+ */
12658
+ declare class JsonFileService extends AbstractCrudService {
12659
+ private cache;
12660
+ constructor(options: ElekIoCoreOptions);
12661
+ /**
12662
+ * Creates a new file on disk. Fails if path already exists
12663
+ *
12664
+ * @param data Data to write into the file
12665
+ * @param path Path to write the file to
12666
+ * @param schema Schema of the file to validate against
12667
+ * @returns Validated content of the file from disk
12668
+ */
12669
+ create<T extends z$1.ZodType<BaseFile>>(data: unknown, path: string, schema: T): Promise<z$1.output<T>>;
12670
+ /**
12671
+ * Reads the content of a file on disk. Fails if path does not exist
12672
+ *
12673
+ * @param path Path to read the file from
12674
+ * @param schema Schema of the file to validate against
12675
+ * @returns Validated content of the file from disk
12676
+ */
12677
+ read<T extends z$1.ZodType<BaseFile | UserFile>>(path: string, schema: T): Promise<z$1.output<T>>;
12678
+ /**
12679
+ * Overwrites an existing file on disk
12680
+ *
12681
+ * @todo Check how to error out if the file does not exist already
12682
+ *
12683
+ * @param data Data to write into the file
12684
+ * @param path Path to the file to overwrite
12685
+ * @param schema Schema of the file to validate against
12686
+ * @returns Validated content of the file from disk
12687
+ */
12688
+ update<T extends z$1.ZodType<BaseFile | UserFile>>(data: unknown, path: string, schema: T): Promise<z$1.output<T>>;
12689
+ private serialize;
12690
+ private deserialize;
12691
+ }
12692
+
12693
+ /**
12694
+ * Service to handle the User that is currently working with Core
12695
+ */
12696
+ declare class UserService {
12697
+ private readonly jsonFileService;
12698
+ constructor(jsonFileService: JsonFileService);
12699
+ /**
12700
+ * Returns the User currently working with Core
12701
+ */
12702
+ get(): Promise<User | undefined>;
12703
+ /**
12704
+ * Sets the User currently working with Core
12705
+ *
12706
+ * By doing so all git operations are done with the signature of this User
12707
+ */
12708
+ set(props: SetUserProps): Promise<User>;
12709
+ }
12710
+
12711
+ /**
12712
+ * Service that manages Git functionality
12713
+ *
12714
+ * Uses dugite Node.js bindings for Git to be fully compatible
12715
+ * and be able to leverage Git LFS functionality
12716
+ * @see https://github.com/desktop/dugite
12717
+ *
12718
+ * Heavily inspired by the GitHub Desktop app
12719
+ * @see https://github.com/desktop/desktop
12720
+ *
12721
+ * Git operations are sequential!
12722
+ * We use a FIFO queue to translate async calls
12723
+ * into a sequence of git operations
12724
+ *
12725
+ * @todo All public methods should recieve only a single object as parameter and the type should be defined through the shared library to be accessible in Core and Client
12726
+ */
12727
+ declare class GitService {
12728
+ private version;
12729
+ private gitPath;
12730
+ private queue;
12731
+ private gitTagService;
12732
+ private userService;
12733
+ constructor(options: ElekIoCoreOptions, userService: UserService);
12734
+ /**
12735
+ * CRUD methods to work with git tags
12736
+ */
12737
+ get tags(): GitTagService;
12738
+ /**
12739
+ * Create an empty Git repository or reinitialize an existing one
12740
+ *
12741
+ * @see https://git-scm.com/docs/git-init
12742
+ *
12743
+ * @param path Path to initialize in. Fails if path does not exist
12744
+ * @param options Options specific to the init operation
12745
+ */
12746
+ init(path: string, options?: Partial<GitInitOptions>): Promise<void>;
12747
+ /**
12748
+ * Clone a repository into a directory
12749
+ *
12750
+ * @see https://git-scm.com/docs/git-clone
12751
+ *
12752
+ * @todo Implement progress callback / events
12753
+ *
12754
+ * @param url The remote repository URL to clone from
12755
+ * @param path The destination path for the cloned repository.
12756
+ * Which is only working if the directory is existing and empty.
12757
+ * @param options Options specific to the clone operation
12758
+ */
12759
+ clone(url: string, path: string, options?: Partial<GitCloneOptions>): Promise<void>;
12760
+ /**
12761
+ * Add file contents to the index
12762
+ *
12763
+ * @see https://git-scm.com/docs/git-add
12764
+ *
12765
+ * @param path Path to the repository
12766
+ * @param files Files to add
12767
+ */
12768
+ add(path: string, files: string[]): Promise<void>;
12769
+ branches: {
12770
+ /**
12771
+ * List branches
12772
+ *
12773
+ * @see https://www.git-scm.com/docs/git-branch
12774
+ *
12775
+ * @param path Path to the repository
12776
+ */
12777
+ list: (path: string) => Promise<{
12778
+ local: string[];
12779
+ remote: string[];
12780
+ }>;
12781
+ /**
12782
+ * Returns the name of the current branch. In detached HEAD state, an empty string is returned.
12783
+ *
12784
+ * @see https://www.git-scm.com/docs/git-branch#Documentation/git-branch.txt---show-current
12785
+ *
12786
+ * @param path Path to the repository
12787
+ */
12788
+ current: (path: string) => Promise<string>;
12789
+ /**
12790
+ * Switch branches
12791
+ *
12792
+ * @see https://git-scm.com/docs/git-switch/
12793
+ *
12794
+ * @param path Path to the repository
12795
+ * @param branch Name of the branch to switch to
12796
+ * @param options Options specific to the switch operation
12797
+ */
12798
+ switch: (path: string, branch: string, options?: GitSwitchOptions) => Promise<void>;
12799
+ };
12800
+ remotes: {
12801
+ /**
12802
+ * Returns a list of currently tracked remotes
12803
+ *
12804
+ * @see https://git-scm.com/docs/git-remote
12805
+ *
12806
+ * @param path Path to the repository
12807
+ */
12808
+ list: (path: string) => Promise<string[]>;
12809
+ /**
12810
+ * Returns true if the `origin` remote exists, otherwise false
12811
+ *
12812
+ * @param path Path to the repository
12813
+ */
12814
+ hasOrigin: (path: string) => Promise<boolean>;
12815
+ /**
12816
+ * Adds the `origin` remote with given URL
12817
+ *
12818
+ * Throws if `origin` remote is added already.
12819
+ *
12820
+ * @see https://git-scm.com/docs/git-remote#Documentation/git-remote.txt-emaddem
12821
+ *
12822
+ * @param path Path to the repository
12823
+ */
12824
+ addOrigin: (path: string, url: string) => Promise<void>;
12825
+ /**
12826
+ * Returns the current `origin` remote URL
12827
+ *
12828
+ * Throws if no `origin` remote is added yet.
12829
+ *
12830
+ * @see https://git-scm.com/docs/git-remote#Documentation/git-remote.txt-emget-urlem
12831
+ *
12832
+ * @param path Path to the repository
12833
+ */
12834
+ getOriginUrl: (path: string) => Promise<string | null>;
12835
+ /**
12836
+ * Sets the current `origin` remote URL
12837
+ *
12838
+ * Throws if no `origin` remote is added yet.
12839
+ *
12840
+ * @see https://git-scm.com/docs/git-remote#Documentation/git-remote.txt-emset-urlem
12841
+ *
12842
+ * @param path Path to the repository
12843
+ */
12844
+ setOriginUrl: (path: string, url: string) => Promise<void>;
12845
+ };
12846
+ /**
12847
+ * Reset current HEAD to the specified state
12848
+ *
12849
+ * @todo maybe add more options
12850
+ * @see https://git-scm.com/docs/git-reset
12851
+ *
12852
+ * @param path Path to the repository
12853
+ * @param mode Modifies the working tree depending on given mode
12854
+ * @param commit Resets the current branch head to this commit / tag
12855
+ */
12856
+ reset(path: string, mode: 'soft' | 'hard', commit: string): Promise<void>;
12857
+ /**
12858
+ * Restore working tree files
12859
+ *
12860
+ * @see https://git-scm.com/docs/git-restore/
12861
+ *
12862
+ * @todo It's probably a good idea to not use restore
12863
+ * for a use case where someone just wants to have a look
12864
+ * and maybe copy something from a deleted file.
12865
+ * We should use `checkout` without `add .` and `commit` for that
12866
+ *
12867
+ * @param path Path to the repository
12868
+ * @param source Git commit SHA or tag name to restore to
12869
+ * @param files Files to restore
12870
+ */
12871
+ /**
12872
+ * Download objects and refs from remote `origin`
12873
+ *
12874
+ * @see https://www.git-scm.com/docs/git-fetch
12875
+ *
12876
+ * @param path Path to the repository
12877
+ */
12878
+ fetch(path: string): Promise<void>;
12879
+ /**
12880
+ * Fetch from and integrate (rebase or merge) with a local branch
12881
+ *
12882
+ * @see https://git-scm.com/docs/git-pull
12883
+ *
12884
+ * @param path Path to the repository
12885
+ */
12886
+ pull(path: string): Promise<void>;
12887
+ /**
12888
+ * Update remote refs along with associated objects to remote `origin`
12889
+ *
12890
+ * @see https://git-scm.com/docs/git-push
12891
+ *
12892
+ * @param path Path to the repository
12893
+ */
12894
+ push(path: string, options?: Partial<{
12895
+ all: boolean;
12896
+ force: boolean;
12897
+ }>): Promise<void>;
12898
+ /**
12899
+ * Record changes to the repository
12900
+ *
12901
+ * @see https://git-scm.com/docs/git-commit
12902
+ *
12903
+ * @param path Path to the repository
12904
+ * @param message A message that describes the changes
12905
+ */
12906
+ commit(path: string, message: string): Promise<void>;
12907
+ /**
12908
+ * Gets local commit history
12909
+ *
12910
+ * @see https://git-scm.com/docs/git-log
12911
+ *
12912
+ * @todo Check if there is a need to trim the git commit message of chars
12913
+ * @todo Use this method in a service. Decide if we need a HistoryService for example
12914
+ *
12915
+ * @param path Path to the repository
12916
+ * @param options Options specific to the log operation
12917
+ */
12918
+ log(path: string, options?: Partial<GitLogOptions>): Promise<GitCommit[]>;
12919
+ refNameToTagName(refName: string): string | null;
12920
+ /**
12921
+ * Reads the currently used version of Git
12922
+ *
12923
+ * This can help debugging
12924
+ */
12925
+ private updateVersion;
12926
+ /**
12927
+ * Reads the path to the executable of Git that is used
12928
+ *
12929
+ * This can help debugging, since dugite is shipping their own executable
12930
+ * but in some cases resolves another executable
12931
+ * @see https://github.com/desktop/dugite/blob/main/lib/git-environment.ts
12932
+ */
12933
+ private updateGitPath;
12934
+ /**
12935
+ * A reference is used in Git to specify branches and tags.
12936
+ * This method checks if given name matches the required format
12937
+ *
12938
+ * @see https://git-scm.com/docs/git-check-ref-format
12939
+ *
12940
+ * @param path Path to the repository
12941
+ * @param name Name to check
12942
+ */
12943
+ private checkBranchOrTagName;
12944
+ /**
12945
+ * Installs LFS support and starts tracking
12946
+ * all files inside the lfs folder
12947
+ *
12948
+ * @param path Path to the repository
12949
+ */
12950
+ private installLfs;
12951
+ /**
12952
+ * Sets the git config of given local repository from ElekIoCoreOptions
12953
+ *
12954
+ * @param path Path to the repository
12955
+ */
12956
+ private setLocalConfig;
12957
+ /**
12958
+ * Type guard for GitCommit
12959
+ *
12960
+ * @param obj The object to check
12961
+ */
12962
+ private isGitCommit;
12963
+ /**
12964
+ * Wraps the execution of any git command
12965
+ * to use a FIFO queue for sequential processing
12966
+ *
12967
+ * @param path Path to the repository
12968
+ * @param args Arguments to append after the `git` command
12969
+ */
12970
+ private git;
12971
+ }
12972
+
12973
+ /**
12974
+ * Service that manages CRUD functionality for Asset files on disk
12975
+ */
12976
+ declare class AssetService extends AbstractCrudService implements ExtendedCrudService<Asset> {
12977
+ private readonly jsonFileService;
12978
+ private readonly gitService;
12979
+ constructor(options: ElekIoCoreOptions, jsonFileService: JsonFileService, gitService: GitService);
12980
+ /**
12981
+ * Creates a new Asset
12982
+ */
12983
+ create(props: CreateAssetProps): Promise<Asset>;
12984
+ /**
12985
+ * Returns an Asset by ID and language
12986
+ */
12987
+ read(props: ReadAssetProps): Promise<Asset>;
12988
+ /**
12989
+ * Updates given Asset
12990
+ *
12991
+ * Use the optional "newFilePath" prop to update the Asset itself
12992
+ */
12993
+ update(props: UpdateAssetProps): Promise<Asset>;
12994
+ /**
12995
+ * Deletes given Asset
12996
+ */
12997
+ delete(props: DeleteAssetProps): Promise<void>;
12998
+ list(props: ListAssetsProps): Promise<PaginatedList<Asset>>;
12999
+ count(props: CountAssetsProps): Promise<number>;
13000
+ /**
13001
+ * Checks if given object is of type Asset
13002
+ */
13003
+ isAsset(obj: BaseFile | unknown): obj is Asset;
13004
+ /**
13005
+ * Returns the size of an Asset in bytes
13006
+ *
13007
+ * @param path Path of the Asset to get the size from
13008
+ */
13009
+ private getAssetSize;
13010
+ /**
13011
+ * Creates an Asset from given AssetFile
13012
+ *
13013
+ * @param projectId The project's ID
13014
+ * @param assetFile The AssetFile to convert
13015
+ */
13016
+ private toAsset;
13017
+ /**
13018
+ * Returns the found and supported extension as well as mime type,
13019
+ * otherwise throws an error
13020
+ *
13021
+ * @param filePath Path to the file to check
13022
+ */
13023
+ private getSupportedFileTypeOrThrow;
13024
+ }
13025
+
13026
+ /**
13027
+ * Service that manages CRUD functionality for Collection files on disk
13028
+ */
13029
+ declare class CollectionService extends AbstractCrudService implements ExtendedCrudService<Collection> {
13030
+ private jsonFileService;
13031
+ private gitService;
13032
+ constructor(options: ElekIoCoreOptions, jsonFileService: JsonFileService, gitService: GitService);
13033
+ /**
13034
+ * Creates a new Collection
13035
+ */
13036
+ create(props: CreateCollectionProps): Promise<Collection>;
13037
+ /**
13038
+ * Returns a Collection by ID
13039
+ */
13040
+ read(props: ReadCollectionProps): Promise<Collection>;
13041
+ /**
13042
+ * Updates given Collection
13043
+ *
13044
+ * @todo finish implementing checks for FieldDefinitions and extract methods
13045
+ *
13046
+ * @param projectId Project ID of the collection to update
13047
+ * @param collection Collection to write to disk
13048
+ * @returns An object containing information about the actions needed to be taken,
13049
+ * before given update can be executed or void if the update was executed successfully
13050
+ */
13051
+ update(props: UpdateCollectionProps): Promise<Collection>;
13052
+ /**
13053
+ * Deletes given Collection (folder), including it's items
13054
+ *
13055
+ * The Fields that Collection used are not deleted.
13056
+ */
13057
+ delete(props: DeleteCollectionProps): Promise<void>;
13058
+ list(props: ListCollectionsProps): Promise<PaginatedList<Collection>>;
13059
+ count(props: CountCollectionsProps): Promise<number>;
13060
+ /**
13061
+ * Checks if given object is of type Collection
13062
+ */
13063
+ isCollection(obj: BaseFile | unknown): obj is Collection;
13064
+ }
13065
+
13066
+ /**
13067
+ * Service that manages CRUD functionality for Entry files on disk
13068
+ */
13069
+ declare class EntryService extends AbstractCrudService implements ExtendedCrudService<Entry> {
13070
+ private jsonFileService;
13071
+ private gitService;
13072
+ private collectionService;
13073
+ private assetService;
13074
+ constructor(options: ElekIoCoreOptions, jsonFileService: JsonFileService, gitService: GitService, collectionService: CollectionService, assetService: AssetService);
13075
+ /**
13076
+ * Creates a new Entry for given Collection
13077
+ */
13078
+ create(props: CreateEntryProps): Promise<Entry>;
13079
+ /**
13080
+ * Returns an Entry from given Collection by ID and language
13081
+ */
13082
+ read(props: ReadEntryProps): Promise<Entry>;
13083
+ /**
13084
+ * Updates an Entry of given Collection with new Values and shared Values
13085
+ */
13086
+ update(props: UpdateEntryProps): Promise<Entry>;
13087
+ /**
13088
+ * Deletes given Entry from it's Collection
13089
+ */
13090
+ delete(props: DeleteEntryProps): Promise<void>;
13091
+ list(props: ListEntriesProps): Promise<{
13092
+ total: number;
13093
+ limit: number;
13094
+ offset: number;
13095
+ list: Entry[];
13096
+ }>;
13097
+ count(props: CountEntriesProps): Promise<number>;
13098
+ /**
13099
+ * Checks if given object is of type Entry
13100
+ */
13101
+ isEntry(obj: BaseFile | unknown): obj is Entry;
13102
+ /**
13103
+ * Returns a Value definition by ID
13104
+ */
13105
+ private getValueDefinitionById;
13106
+ /**
13107
+ * Validates given Values against it's Collections definitions
13108
+ */
13109
+ private validateValues;
13110
+ /**
13111
+ * Validates given shared Value references against it's Collections definitions
13112
+ */
13113
+ private resolveValueContentReference;
13114
+ private resolveValueContentReferences;
13115
+ /**
13116
+ * Creates an Entry from given EntryFile by resolving it's Values
13117
+ */
13118
+ private toEntry;
13119
+ }
13120
+
13121
+ /**
13122
+ * Service that manages CRUD functionality for Project files on disk
13123
+ */
13124
+ declare class ProjectService extends AbstractCrudService implements ExtendedCrudService<Project> {
13125
+ private jsonFileService;
13126
+ private userService;
13127
+ private gitService;
13128
+ private assetService;
13129
+ private collectionService;
13130
+ private entryService;
13131
+ constructor(options: ElekIoCoreOptions, jsonFileService: JsonFileService, userService: UserService, gitService: GitService, assetService: AssetService, collectionService: CollectionService, entryService: EntryService);
13132
+ /**
13133
+ * Creates a new Project
13134
+ */
13135
+ create(props: CreateProjectProps): Promise<Project>;
13136
+ /**
13137
+ * Clones a Project by URL
13138
+ */
13139
+ clone(props: CloneProjectProps): Promise<Project>;
13140
+ /**
13141
+ * Returns a Project by ID
13142
+ */
13143
+ read(props: ReadProjectProps): Promise<Project>;
13144
+ /**
13145
+ * Updates given Project
13146
+ */
13147
+ update(props: UpdateProjectProps): Promise<Project>;
13148
+ /**
13149
+ * Upgrades given Project to the latest version of this client
13150
+ *
13151
+ * Needed when a new core version is requiring changes to existing files or structure.
13152
+ *
13153
+ * @todo Find out why using this.snapshotService is throwing isObjWithKeyAndValueOfString of undefined error in gitService (maybe binding issue)
13154
+ */
13155
+ upgrade(props: UpgradeProjectProps): Promise<void>;
13156
+ branches: {
13157
+ list: (props: ListBranchesProjectProps) => Promise<{
13158
+ local: string[];
13159
+ remote: string[];
13160
+ }>;
13161
+ current: (props: CurrentBranchProjectProps) => Promise<string>;
13162
+ switch: (props: SwitchBranchProjectProps) => Promise<void>;
13163
+ };
13164
+ remotes: {
13165
+ getOriginUrl: (props: GetRemoteOriginUrlProjectProps) => Promise<string | null>;
13166
+ setOriginUrl: (props: SetRemoteOriginUrlProjectProps) => Promise<void>;
13167
+ };
13168
+ /**
13169
+ * Returns the differences of the given Projects current branch
13170
+ * between the local and remote `origin` (commits ahead & behind)
13171
+ *
13172
+ * - `behind` contains a list of commits on the current branch that are available on the remote `origin` but not yet locally
13173
+ * - `ahead` contains a list of commits on the current branch that are available locally but not yet on the remote `origin`
13174
+ */
13175
+ getChanges(props: GetChangesProjectProps): Promise<{
13176
+ behind: {
13177
+ message: string;
13178
+ datetime: string;
13179
+ hash: string;
13180
+ author: {
13181
+ email: string;
13182
+ name: string;
13183
+ };
13184
+ tag: string | null;
13185
+ }[];
13186
+ ahead: {
13187
+ message: string;
13188
+ datetime: string;
13189
+ hash: string;
13190
+ author: {
13191
+ email: string;
13192
+ name: string;
13193
+ };
13194
+ tag: string | null;
13195
+ }[];
13196
+ }>;
13197
+ /**
13198
+ * Pulls remote changes of `origin` down to the local repository
13199
+ * and then pushes local commits to the upstream branch
13200
+ */
13201
+ synchronize(props: SynchronizeProjectProps): Promise<void>;
13202
+ /**
13203
+ * Deletes given Project
13204
+ *
13205
+ * Deletes the whole Project folder including the history, not only the config file.
13206
+ * Use with caution, since a Project that is only available locally could be lost forever.
13207
+ * Or changes that are not pushed to a remote yet, will be lost too.
13208
+ */
13209
+ delete(props: DeleteProjectProps): Promise<void>;
13210
+ list(props?: ListProjectsProps): Promise<PaginatedList<Project>>;
13211
+ count(): Promise<number>;
13212
+ /**
13213
+ * Checks if given object is of type Project
13214
+ */
13215
+ isProject(obj: BaseFile | unknown): obj is Project;
13216
+ /**
13217
+ * Exports given Project to JSON
13218
+ *
13219
+ * @todo do not read everything before writing to disk -> stream into file given via props
13220
+ * @todo performance tests
13221
+ * @todo add progress callback
13222
+ */
13223
+ exportToJson(projectId: string): Promise<ProjectExport>;
13224
+ /**
13225
+ * Creates a Project from given ProjectFile by adding git information
13226
+ */
13227
+ private toProject;
13228
+ /**
13229
+ * Creates the projects folder structure and makes sure to
13230
+ * write empty .gitkeep files inside them to ensure they are
13231
+ * committed
13232
+ */
13233
+ private createFolderStructure;
13234
+ /**
13235
+ * Writes the Projects main .gitignore file to disk
13236
+ *
13237
+ * @todo Add general things to ignore
13238
+ * @see https://github.com/github/gitignore/tree/master/Global
13239
+ */
13240
+ private createGitignore;
13241
+ }
13242
+
13243
+ /**
13244
+ * The directory in which everything is stored and will be worked in
13245
+ *
13246
+ * @todo make the workingDirectory an elek option to be set via app.getPath('home') (electron instead of node)?
13247
+ */
13248
+ declare const workingDirectory: string;
13249
+ /**
13250
+ * A collection of often used paths
13251
+ */
13252
+ declare const pathTo: {
13253
+ tmp: string;
13254
+ userFile: string;
13255
+ projects: string;
13256
+ project: (projectId: string) => string;
13257
+ projectFile: (projectId: string) => string;
13258
+ lfs: (projectId: string) => string;
13259
+ collections: (projectId: string) => string;
13260
+ collection: (projectId: string, id: string) => string;
13261
+ collectionFile: (projectId: string, id: string) => string;
13262
+ entries: (projectId: string, collectionId: string) => string;
13263
+ entryFile: (projectId: string, collectionId: string, id: string) => string;
13264
+ sharedValues: (projectId: string) => string;
13265
+ sharedValueFile: (projectId: string, id: string, language: string) => string;
13266
+ assets: (projectId: string) => string;
13267
+ assetFile: (projectId: string, id: string, language: string) => string;
13268
+ asset: (projectId: string, id: string, language: string, extension: string) => string;
13269
+ };
13270
+ /**
13271
+ * Returns a complete default type, hydrated with the partials of value
13272
+ */
13273
+ declare function assignDefaultIfMissing<T extends {}>(value: Partial<T> | undefined | null, defaultsTo: T): T;
13274
+ /**
13275
+ * Used as parameter for filter() methods to assure,
13276
+ * only values not null, undefined or empty strings are returned
13277
+ *
13278
+ * @param value Value to check
13279
+ */
13280
+ declare function notEmpty<T>(value: T | null | undefined): value is T;
13281
+ declare function isNoError<T>(item: T | Error): item is T;
13282
+ /**
13283
+ * Basically a Promise.all() without rejecting if one promise fails to resolve
13284
+ */
13285
+ declare function returnResolved<T>(promises: Promise<T>[]): Promise<Awaited<T>[]>;
13286
+ /**
13287
+ * Custom async typescript ready implementation of Node.js child_process
13288
+ *
13289
+ * @see https://nodejs.org/api/child_process.html
13290
+ * @see https://github.com/ralphtheninja/await-spawn
13291
+ */
13292
+ declare function spawnChildProcess(command: string, args: ReadonlyArray<string>, options?: SpawnOptionsWithoutStdio): Promise<string>;
13293
+ /**
13294
+ * Returns all folders of given path
13295
+ */
13296
+ declare function folders(path: string): Promise<Fs.Dirent[]>;
13297
+ /**
13298
+ * Returns all files of given path which can be filtered by extension
13299
+ */
13300
+ declare function files(path: string, extension?: string): Promise<Fs.Dirent[]>;
13301
+
13302
+ declare const Util_assignDefaultIfMissing: typeof assignDefaultIfMissing;
13303
+ declare const Util_files: typeof files;
13304
+ declare const Util_folders: typeof folders;
13305
+ declare const Util_isNoError: typeof isNoError;
13306
+ declare const Util_notEmpty: typeof notEmpty;
13307
+ declare const Util_pathTo: typeof pathTo;
13308
+ declare const Util_returnResolved: typeof returnResolved;
13309
+ declare const Util_spawnChildProcess: typeof spawnChildProcess;
13310
+ declare const Util_workingDirectory: typeof workingDirectory;
13311
+ declare namespace Util {
13312
+ export { Util_assignDefaultIfMissing as assignDefaultIfMissing, Util_files as files, Util_folders as folders, Util_isNoError as isNoError, Util_notEmpty as notEmpty, Util_pathTo as pathTo, Util_returnResolved as returnResolved, Util_spawnChildProcess as spawnChildProcess, Util_workingDirectory as workingDirectory };
13313
+ }
13314
+
13315
+ /**
13316
+ * elek.io Core
13317
+ *
13318
+ * Provides access to all services Core is offering
13319
+ */
13320
+ declare class ElekIoCore {
13321
+ private readonly options;
13322
+ private readonly userService;
13323
+ private readonly gitService;
13324
+ private readonly jsonFileService;
13325
+ private readonly assetService;
13326
+ private readonly projectService;
13327
+ private readonly collectionService;
13328
+ private readonly entryService;
13329
+ constructor(props?: ConstructorElekIoCoreProps);
13330
+ /**
13331
+ * Utility / helper functions
13332
+ */
13333
+ get util(): typeof Util;
13334
+ /**
13335
+ * Exposes git functions
13336
+ */
13337
+ get git(): GitService;
13338
+ /**
13339
+ * Getter and setter methods for the User currently working with Core
13340
+ */
13341
+ get user(): UserService;
13342
+ /**
13343
+ * CRUD methods to work with Projects
13344
+ */
13345
+ get projects(): ProjectService;
13346
+ /**
13347
+ * CRUD methods to work with Assets
13348
+ */
13349
+ get assets(): AssetService;
13350
+ /**
13351
+ * CRUD methods to work with Collections
13352
+ */
13353
+ get collections(): CollectionService;
13354
+ /**
13355
+ * CRUD methods to work with Entries
13356
+ */
13357
+ get entries(): EntryService;
13358
+ }
13359
+
13360
+ export { type Asset, type AssetExport, type AssetFile, type AssetValueDefinition, type BaseFile, type BaseFileWithLanguage, type BaseUser, BooleanValueDefinitionBaseSchema, type CloneProjectProps, type CloudUser, type Collection, type CollectionExport, type CollectionFile, type ConstructorElekIoCoreProps, type CountAssetsProps, type CountCollectionsProps, type CountEntriesProps, type CountGitTagsProps, type CreateAssetProps, type CreateCollectionProps, type CreateEntryProps, type CreateGitTagProps, type CreateProjectProps, type CrudService, type CurrentBranchProjectProps, type DateValueDefinition, type DatetimeValueDefinition, type DeleteAssetProps, type DeleteCollectionProps, type DeleteEntryProps, type DeleteGitTagProps, type DeleteProjectProps, type DirectBooleanValue, type DirectNumberValue, type DirectStringValue, type DirectValue, ElekIoCore, type ElekIoCoreOptions, type EmailValueDefinition, type Entry, type EntryExport, type EntryFile, type EntryValueDefinition, type Environment, type ExtendedCrudService, type FileReference, type GetChangesProjectProps, type GetRemoteOriginUrlProjectProps, type GitCloneOptions, type GitCommit, type GitCommitIcon, type GitInitOptions, type GitLogOptions, type GitSignature, type GitSwitchOptions, type GitTag, type IpValueDefinition, type ListAssetsProps, type ListBranchesProjectProps, type ListCollectionsProps, type ListEntriesProps, type ListGitTagsProps, type ListProjectsProps, type LocalUser, type NumberValueDefinition, NumberValueDefinitionBaseSchema, type ObjectType, type PaginatedList, type PaginationOptions, type Project, type ProjectExport, type ProjectFile, type ProjectFolder, type ProjectSettings, type ProjectStatus, type ProjectUpgrade, type RangeValueDefinition, type ReadAssetProps, type ReadCollectionProps, type ReadEntryProps, type ReadGitTagProps, type ReadProjectProps, ReferenceValueDefinitionBaseSchema, type ReferencedValue, type ResolvedReferencedValue, type ResolvedValue, type ResolvedValueContentReference, type SearchProjectProps, type ServiceType, type SetRemoteOriginUrlProjectProps, type SetUserProps, type StringValueDefinition, StringValueDefinitionBaseSchema, type SupportedAssetExtension, type SupportedAssetMimeType, type SupportedAssetType, type SupportedIcon, type SupportedLanguage, type SwitchBranchProjectProps, type SynchronizeProjectProps, type TelephoneValueDefinition, type TextValueDefinition, type TextareaValueDefinition, type TimeValueDefinition, type ToggleValueDefinition, type TranslatableBoolean, type TranslatableNumber, type TranslatableString, type UpdateAssetProps, type UpdateCollectionProps, type UpdateEntryProps, type UpdateProjectProps, type UpgradeProjectProps, type UrlValueDefinition, type User, type UserFile, UserTypeSchema, type Uuid, type Value, type ValueContentReference, type ValueContentReferenceToAsset, type ValueContentReferenceToCollection, type ValueContentReferenceToEntry, type ValueDefinition, type ValueDefinitionBase, ValueDefinitionBaseSchema, type ValueInputType, ValueInputTypeSchema, ValueInputWidthSchema, type ValueType, ValueTypeSchema, type Version, assetExportSchema, assetFileSchema, assetSchema, assetValueDefinitionSchema, baseFileSchema, baseFileWithLanguageSchema, baseUserSchema, cloneProjectSchema, cloudUserSchema, collectionExportSchema, collectionFileSchema, collectionSchema, constructorElekIoCoreSchema, countAssetsSchema, countCollectionsSchema, countEntriesSchema, countGitTagsSchema, createAssetSchema, createCollectionSchema, createEntrySchema, createGitTagSchema, createProjectSchema, currentBranchProjectSchema, dateValueDefinitionSchema, datetime, datetimeValueDefinitionSchema, deleteAssetSchema, deleteCollectionSchema, deleteEntrySchema, deleteGitTagSchema, deleteProjectSchema, directBooleanValueSchema, directNumberValueSchema, directStringValueSchema, directValueBaseSchema, directValueSchema, elekIoCoreOptionsSchema, emailValueDefinitionSchema, entryExportSchema, entryFileSchema, entrySchema, entryValueDefinitionSchema, environmentSchema, fileReferenceSchema, getChangesProjectSchema, getRemoteOriginUrlProjectSchema, getValueContentSchemaFromDefinition, gitCloneOptionsSchema, gitCommitIconSchema, gitCommitSchema, gitInitOptionsSchema, gitLogOptionsSchema, gitRepositoryPathSchema, gitSignatureSchema, gitSwitchOptionsSchema, gitTagSchema, ipValueDefinitionSchema, listAssetsSchema, listBranchesProjectSchema, listCollectionsSchema, listEntriesSchema, listGitTagsSchema, listProjectsSchema, localUserSchema, numberValueDefinitionSchema, objectTypeSchema, projectExportSchema, projectFileSchema, projectFolderSchema, projectSchema, projectSettingsSchema, projectStatusSchema, projectUpgradeSchema, rangeValueDefinitionSchema, readAssetSchema, readCollectionSchema, readEntrySchema, readGitTagSchema, readProjectSchema, referencedValueSchema, resolvedReferencedValueSchema, resolvedValueContentReferenceSchema, resolvedValueSchema, searchProjectSchema, serviceTypeSchema, setRemoteOriginUrlProjectSchema, setUserSchema, slug, stringValueDefinitionSchema, supportedAssetExtensionSchema, supportedAssetMimeTypeSchema, supportedAssetTypeSchema, supportedIconSchema, supportedLanguageSchema, switchBranchProjectSchema, synchronizeProjectSchema, telephoneValueDefinitionSchema, textValueDefinitionSchema, textareaValueDefinitionSchema, timeValueDefinitionSchema, toggleValueDefinitionSchema, translatableArrayOf, translatableBooleanSchema, translatableNumberSchema, translatableStringSchema, updateAssetSchema, updateCollectionSchema, updateEntrySchema, updateProjectSchema, upgradeProjectSchema, urlValueDefinitionSchema, userFileSchema, userSchema, uuid, uuidSchema, valueContentReferenceBase, valueContentReferenceSchema, valueContentReferenceToAssetSchema, valueContentReferenceToCollectionSchema, valueContentReferenceToEntrySchema, valueContentReferenceWithLanguageBase, valueDefinitionSchema, valueSchema, versionSchema };