@elek-io/core 0.15.2 → 0.16.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.
- package/dist/astro/index.astro.d.mts +60 -0
- package/dist/astro/index.astro.mjs +3864 -0
- package/dist/astro/index.astro.mjs.map +1 -0
- package/dist/browser/index.browser.d.ts +172 -61
- package/dist/browser/index.browser.js +1 -1
- package/dist/browser/index.browser.js.map +1 -1
- package/dist/cli/{index.cli.js → index.cli.mjs} +304 -184
- package/dist/node/chunk-DQk6qfdC.mjs +18 -0
- package/dist/node/{index.node.d.ts → index.node.d.mts} +161 -50
- package/dist/node/{index.node.js → index.node.mjs} +134 -134
- package/dist/node/index.node.mjs.map +1 -0
- package/package.json +44 -30
- package/dist/node/chunk-Bp6m_JJh.js +0 -13
- package/dist/node/index.node.js.map +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __exportAll = (all, no_symbols) => {
|
|
4
|
+
let target = {};
|
|
5
|
+
for (var name in all) {
|
|
6
|
+
__defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
if (!no_symbols) {
|
|
12
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
13
|
+
}
|
|
14
|
+
return target;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { __exportAll as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Fs from "fs-extra";
|
|
2
2
|
import { z } from "@hono/zod-openapi";
|
|
3
3
|
import { z as z$1 } from "zod";
|
|
4
|
-
import { ExecFileOptions } from "child_process";
|
|
4
|
+
import { ExecFileOptions } from "node:child_process";
|
|
5
5
|
|
|
6
6
|
//#region src/schema/assetSchema.d.ts
|
|
7
7
|
declare const assetFileSchema: z.ZodObject<{
|
|
@@ -6569,9 +6569,9 @@ type CountEntriesProps = z.infer<typeof countEntriesSchema>;
|
|
|
6569
6569
|
//#region src/schema/fieldSchema.d.ts
|
|
6570
6570
|
declare const FieldTypeSchema: z.ZodEnum<{
|
|
6571
6571
|
number: "number";
|
|
6572
|
-
date: "date";
|
|
6573
6572
|
asset: "asset";
|
|
6574
6573
|
entry: "entry";
|
|
6574
|
+
date: "date";
|
|
6575
6575
|
datetime: "datetime";
|
|
6576
6576
|
email: "email";
|
|
6577
6577
|
text: "text";
|
|
@@ -9879,12 +9879,11 @@ declare const projectSchema: z.ZodObject<{
|
|
|
9879
9879
|
}, z.core.$strip>>;
|
|
9880
9880
|
}, z.core.$strip>;
|
|
9881
9881
|
type Project = z.infer<typeof projectSchema>;
|
|
9882
|
-
declare const
|
|
9882
|
+
declare const migrateProjectSchema: z.ZodObject<{
|
|
9883
9883
|
id: z.ZodReadonly<z.ZodUUID>;
|
|
9884
|
-
name: z.ZodString;
|
|
9885
9884
|
coreVersion: z.ZodString;
|
|
9886
|
-
}, z.core.$
|
|
9887
|
-
type
|
|
9885
|
+
}, z.core.$loose>;
|
|
9886
|
+
type MigrateProjectProps = z.infer<typeof migrateProjectSchema>;
|
|
9888
9887
|
declare const projectExportSchema: z.ZodObject<{
|
|
9889
9888
|
id: z.ZodReadonly<z.ZodUUID>;
|
|
9890
9889
|
created: z.ZodReadonly<z.ZodString>;
|
|
@@ -11324,8 +11323,8 @@ declare const projectExportSchema: z.ZodObject<{
|
|
|
11324
11323
|
type ProjectExport = z.infer<typeof projectExportSchema>;
|
|
11325
11324
|
declare const createProjectSchema: z.ZodObject<{
|
|
11326
11325
|
name: z.ZodString;
|
|
11327
|
-
description: z.
|
|
11328
|
-
settings: z.
|
|
11326
|
+
description: z.ZodString;
|
|
11327
|
+
settings: z.ZodObject<{
|
|
11329
11328
|
language: z.ZodObject<{
|
|
11330
11329
|
default: z.ZodEnum<{
|
|
11331
11330
|
bg: "bg";
|
|
@@ -11380,7 +11379,7 @@ declare const createProjectSchema: z.ZodObject<{
|
|
|
11380
11379
|
zh: "zh";
|
|
11381
11380
|
}>>;
|
|
11382
11381
|
}, z.core.$strip>;
|
|
11383
|
-
}, z.core.$strip
|
|
11382
|
+
}, z.core.$strip>;
|
|
11384
11383
|
}, z.core.$strip>;
|
|
11385
11384
|
type CreateProjectProps = z.infer<typeof createProjectSchema>;
|
|
11386
11385
|
declare const readProjectSchema: z.ZodObject<{
|
|
@@ -11390,9 +11389,9 @@ declare const readProjectSchema: z.ZodObject<{
|
|
|
11390
11389
|
type ReadProjectProps = z.infer<typeof readProjectSchema>;
|
|
11391
11390
|
declare const updateProjectSchema: z.ZodObject<{
|
|
11392
11391
|
id: z.ZodReadonly<z.ZodUUID>;
|
|
11393
|
-
name: z.
|
|
11394
|
-
description: z.
|
|
11395
|
-
settings: z.
|
|
11392
|
+
name: z.ZodString;
|
|
11393
|
+
description: z.ZodString;
|
|
11394
|
+
settings: z.ZodObject<{
|
|
11396
11395
|
language: z.ZodObject<{
|
|
11397
11396
|
default: z.ZodEnum<{
|
|
11398
11397
|
bg: "bg";
|
|
@@ -11447,7 +11446,7 @@ declare const updateProjectSchema: z.ZodObject<{
|
|
|
11447
11446
|
zh: "zh";
|
|
11448
11447
|
}>>;
|
|
11449
11448
|
}, z.core.$strip>;
|
|
11450
|
-
}, z.core.$strip
|
|
11449
|
+
}, z.core.$strip>;
|
|
11451
11450
|
}, z.core.$strip>;
|
|
11452
11451
|
type UpdateProjectProps = z.infer<typeof updateProjectSchema>;
|
|
11453
11452
|
declare const upgradeProjectSchema: z.ZodObject<{
|
|
@@ -11614,6 +11613,116 @@ declare const searchProjectSchema: z.ZodObject<{
|
|
|
11614
11613
|
type SearchProjectProps = z.infer<typeof searchProjectSchema>;
|
|
11615
11614
|
//#endregion
|
|
11616
11615
|
//#region src/schema/schemaFromFieldDefinition.d.ts
|
|
11616
|
+
declare function getTranslatableStringValueContentSchemaFromFieldDefinition(fieldDefinition: StringFieldDefinition): z.ZodRecord<z.ZodEnum<{
|
|
11617
|
+
bg: "bg";
|
|
11618
|
+
cs: "cs";
|
|
11619
|
+
da: "da";
|
|
11620
|
+
de: "de";
|
|
11621
|
+
el: "el";
|
|
11622
|
+
en: "en";
|
|
11623
|
+
es: "es";
|
|
11624
|
+
et: "et";
|
|
11625
|
+
fi: "fi";
|
|
11626
|
+
fr: "fr";
|
|
11627
|
+
hu: "hu";
|
|
11628
|
+
it: "it";
|
|
11629
|
+
ja: "ja";
|
|
11630
|
+
lt: "lt";
|
|
11631
|
+
lv: "lv";
|
|
11632
|
+
nl: "nl";
|
|
11633
|
+
pl: "pl";
|
|
11634
|
+
pt: "pt";
|
|
11635
|
+
ro: "ro";
|
|
11636
|
+
ru: "ru";
|
|
11637
|
+
sk: "sk";
|
|
11638
|
+
sl: "sl";
|
|
11639
|
+
sv: "sv";
|
|
11640
|
+
zh: "zh";
|
|
11641
|
+
}> & z.core.$partial, z.ZodString | z.ZodNullable<z.ZodString> | z.ZodEmail | z.ZodNullable<z.ZodEmail> | z.ZodURL | z.ZodNullable<z.ZodURL> | z.ZodIPv4 | z.ZodNullable<z.ZodIPv4> | z.ZodISODate | z.ZodNullable<z.ZodISODate> | z.ZodISOTime | z.ZodNullable<z.ZodISOTime> | z.ZodISODateTime | z.ZodNullable<z.ZodISODateTime> | z.ZodE164 | z.ZodNullable<z.ZodE164>>;
|
|
11642
|
+
declare function getTranslatableNumberValueContentSchemaFromFieldDefinition(fieldDefinition: NumberFieldDefinition | RangeFieldDefinition): z.ZodRecord<z.ZodEnum<{
|
|
11643
|
+
bg: "bg";
|
|
11644
|
+
cs: "cs";
|
|
11645
|
+
da: "da";
|
|
11646
|
+
de: "de";
|
|
11647
|
+
el: "el";
|
|
11648
|
+
en: "en";
|
|
11649
|
+
es: "es";
|
|
11650
|
+
et: "et";
|
|
11651
|
+
fi: "fi";
|
|
11652
|
+
fr: "fr";
|
|
11653
|
+
hu: "hu";
|
|
11654
|
+
it: "it";
|
|
11655
|
+
ja: "ja";
|
|
11656
|
+
lt: "lt";
|
|
11657
|
+
lv: "lv";
|
|
11658
|
+
nl: "nl";
|
|
11659
|
+
pl: "pl";
|
|
11660
|
+
pt: "pt";
|
|
11661
|
+
ro: "ro";
|
|
11662
|
+
ru: "ru";
|
|
11663
|
+
sk: "sk";
|
|
11664
|
+
sl: "sl";
|
|
11665
|
+
sv: "sv";
|
|
11666
|
+
zh: "zh";
|
|
11667
|
+
}> & z.core.$partial, z.ZodNumber | z.ZodNullable<z.ZodNumber>>;
|
|
11668
|
+
declare function getTranslatableBooleanValueContentSchemaFromFieldDefinition(): z.ZodRecord<z.ZodEnum<{
|
|
11669
|
+
bg: "bg";
|
|
11670
|
+
cs: "cs";
|
|
11671
|
+
da: "da";
|
|
11672
|
+
de: "de";
|
|
11673
|
+
el: "el";
|
|
11674
|
+
en: "en";
|
|
11675
|
+
es: "es";
|
|
11676
|
+
et: "et";
|
|
11677
|
+
fi: "fi";
|
|
11678
|
+
fr: "fr";
|
|
11679
|
+
hu: "hu";
|
|
11680
|
+
it: "it";
|
|
11681
|
+
ja: "ja";
|
|
11682
|
+
lt: "lt";
|
|
11683
|
+
lv: "lv";
|
|
11684
|
+
nl: "nl";
|
|
11685
|
+
pl: "pl";
|
|
11686
|
+
pt: "pt";
|
|
11687
|
+
ro: "ro";
|
|
11688
|
+
ru: "ru";
|
|
11689
|
+
sk: "sk";
|
|
11690
|
+
sl: "sl";
|
|
11691
|
+
sv: "sv";
|
|
11692
|
+
zh: "zh";
|
|
11693
|
+
}> & z.core.$partial, z.ZodBoolean>;
|
|
11694
|
+
declare function getTranslatableReferenceValueContentSchemaFromFieldDefinition(fieldDefinition: AssetFieldDefinition | EntryFieldDefinition): z.ZodRecord<z.ZodEnum<{
|
|
11695
|
+
bg: "bg";
|
|
11696
|
+
cs: "cs";
|
|
11697
|
+
da: "da";
|
|
11698
|
+
de: "de";
|
|
11699
|
+
el: "el";
|
|
11700
|
+
en: "en";
|
|
11701
|
+
es: "es";
|
|
11702
|
+
et: "et";
|
|
11703
|
+
fi: "fi";
|
|
11704
|
+
fr: "fr";
|
|
11705
|
+
hu: "hu";
|
|
11706
|
+
it: "it";
|
|
11707
|
+
ja: "ja";
|
|
11708
|
+
lt: "lt";
|
|
11709
|
+
lv: "lv";
|
|
11710
|
+
nl: "nl";
|
|
11711
|
+
pl: "pl";
|
|
11712
|
+
pt: "pt";
|
|
11713
|
+
ro: "ro";
|
|
11714
|
+
ru: "ru";
|
|
11715
|
+
sk: "sk";
|
|
11716
|
+
sl: "sl";
|
|
11717
|
+
sv: "sv";
|
|
11718
|
+
zh: "zh";
|
|
11719
|
+
}> & z.core.$partial, z.ZodArray<z.ZodObject<{
|
|
11720
|
+
id: z.ZodUUID;
|
|
11721
|
+
objectType: z.ZodLiteral<"asset">;
|
|
11722
|
+
}, z.core.$strip>> | z.ZodArray<z.ZodObject<{
|
|
11723
|
+
id: z.ZodUUID;
|
|
11724
|
+
objectType: z.ZodLiteral<"entry">;
|
|
11725
|
+
}, z.core.$strip>>>;
|
|
11617
11726
|
/**
|
|
11618
11727
|
* Generates a zod schema to check a Value based on given Field definition
|
|
11619
11728
|
*/
|
|
@@ -13422,9 +13531,12 @@ type ApiStartProps = z$1.infer<typeof apiStartSchema>;
|
|
|
13422
13531
|
declare const exportSchema: z$1.ZodObject<{
|
|
13423
13532
|
outDir: z$1.ZodDefault<z$1.ZodString>;
|
|
13424
13533
|
projects: z$1.ZodPipe<z$1.ZodDefault<z$1.ZodString>, z$1.ZodTransform<string[] | "all", string>>;
|
|
13534
|
+
template: z$1.ZodDefault<z$1.ZodEnum<{
|
|
13535
|
+
nested: "nested";
|
|
13536
|
+
separate: "separate";
|
|
13537
|
+
}>>;
|
|
13425
13538
|
options: z$1.ZodObject<{
|
|
13426
13539
|
watch: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
13427
|
-
separate: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
13428
13540
|
}, z$1.core.$strip>;
|
|
13429
13541
|
}, z$1.core.$strip>;
|
|
13430
13542
|
type ExportProps = z$1.infer<typeof exportSchema>;
|
|
@@ -14052,32 +14164,6 @@ declare class CollectionService extends AbstractCrudService implements CrudServi
|
|
|
14052
14164
|
description: 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>>;
|
|
14053
14165
|
icon: "home" | "plus" | "foobar";
|
|
14054
14166
|
fieldDefinitions: ({
|
|
14055
|
-
id: string;
|
|
14056
|
-
label: 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>>;
|
|
14057
|
-
description: 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>> | null;
|
|
14058
|
-
isRequired: boolean;
|
|
14059
|
-
isDisabled: boolean;
|
|
14060
|
-
inputWidth: "3" | "4" | "6" | "12";
|
|
14061
|
-
valueType: "number";
|
|
14062
|
-
min: number | null;
|
|
14063
|
-
max: number | null;
|
|
14064
|
-
isUnique: false;
|
|
14065
|
-
defaultValue: number | null;
|
|
14066
|
-
fieldType: "number";
|
|
14067
|
-
} | {
|
|
14068
|
-
id: string;
|
|
14069
|
-
label: 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>>;
|
|
14070
|
-
description: 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>> | null;
|
|
14071
|
-
isDisabled: boolean;
|
|
14072
|
-
inputWidth: "3" | "4" | "6" | "12";
|
|
14073
|
-
valueType: "number";
|
|
14074
|
-
isUnique: false;
|
|
14075
|
-
fieldType: "range";
|
|
14076
|
-
isRequired: true;
|
|
14077
|
-
min: number;
|
|
14078
|
-
max: number;
|
|
14079
|
-
defaultValue: number;
|
|
14080
|
-
} | {
|
|
14081
14167
|
id: string;
|
|
14082
14168
|
label: 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>>;
|
|
14083
14169
|
description: 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>> | null;
|
|
@@ -14184,13 +14270,28 @@ declare class CollectionService extends AbstractCrudService implements CrudServi
|
|
|
14184
14270
|
id: string;
|
|
14185
14271
|
label: 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>>;
|
|
14186
14272
|
description: 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>> | null;
|
|
14273
|
+
isRequired: boolean;
|
|
14187
14274
|
isDisabled: boolean;
|
|
14188
14275
|
inputWidth: "3" | "4" | "6" | "12";
|
|
14189
|
-
valueType: "
|
|
14190
|
-
|
|
14191
|
-
|
|
14276
|
+
valueType: "number";
|
|
14277
|
+
min: number | null;
|
|
14278
|
+
max: number | null;
|
|
14192
14279
|
isUnique: false;
|
|
14193
|
-
|
|
14280
|
+
defaultValue: number | null;
|
|
14281
|
+
fieldType: "number";
|
|
14282
|
+
} | {
|
|
14283
|
+
id: string;
|
|
14284
|
+
label: 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>>;
|
|
14285
|
+
description: 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>> | null;
|
|
14286
|
+
isDisabled: boolean;
|
|
14287
|
+
inputWidth: "3" | "4" | "6" | "12";
|
|
14288
|
+
valueType: "number";
|
|
14289
|
+
isUnique: false;
|
|
14290
|
+
fieldType: "range";
|
|
14291
|
+
isRequired: true;
|
|
14292
|
+
min: number;
|
|
14293
|
+
max: number;
|
|
14294
|
+
defaultValue: number;
|
|
14194
14295
|
} | {
|
|
14195
14296
|
id: string;
|
|
14196
14297
|
label: 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>>;
|
|
@@ -14216,6 +14317,17 @@ declare class CollectionService extends AbstractCrudService implements CrudServi
|
|
|
14216
14317
|
ofCollections: string[];
|
|
14217
14318
|
min: number | null;
|
|
14218
14319
|
max: number | null;
|
|
14320
|
+
} | {
|
|
14321
|
+
id: string;
|
|
14322
|
+
label: 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>>;
|
|
14323
|
+
description: 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>> | null;
|
|
14324
|
+
isDisabled: boolean;
|
|
14325
|
+
inputWidth: "3" | "4" | "6" | "12";
|
|
14326
|
+
valueType: "boolean";
|
|
14327
|
+
isRequired: true;
|
|
14328
|
+
defaultValue: boolean;
|
|
14329
|
+
isUnique: false;
|
|
14330
|
+
fieldType: "toggle";
|
|
14219
14331
|
})[];
|
|
14220
14332
|
};
|
|
14221
14333
|
/**
|
|
@@ -14377,12 +14489,11 @@ declare class EntryService extends AbstractCrudService implements CrudServiceWit
|
|
|
14377
14489
|
declare class ProjectService extends AbstractCrudService implements CrudServiceWithListCount<Project> {
|
|
14378
14490
|
private coreVersion;
|
|
14379
14491
|
private jsonFileService;
|
|
14380
|
-
private userService;
|
|
14381
14492
|
private gitService;
|
|
14382
14493
|
private assetService;
|
|
14383
14494
|
private collectionService;
|
|
14384
14495
|
private entryService;
|
|
14385
|
-
constructor(coreVersion: Version, options: ElekIoCoreOptions, logService: LogService, jsonFileService: JsonFileService,
|
|
14496
|
+
constructor(coreVersion: Version, options: ElekIoCoreOptions, logService: LogService, jsonFileService: JsonFileService, gitService: GitService, assetService: AssetService, collectionService: CollectionService, entryService: EntryService);
|
|
14386
14497
|
/**
|
|
14387
14498
|
* Creates a new Project
|
|
14388
14499
|
*/
|
|
@@ -14498,7 +14609,7 @@ declare class ProjectService extends AbstractCrudService implements CrudServiceW
|
|
|
14498
14609
|
/**
|
|
14499
14610
|
* Lists outdated Projects that need to be upgraded
|
|
14500
14611
|
*/
|
|
14501
|
-
listOutdated(): Promise<
|
|
14612
|
+
listOutdated(): Promise<MigrateProjectProps[]>;
|
|
14502
14613
|
list(props?: ListProjectsProps): Promise<PaginatedList<Project>>;
|
|
14503
14614
|
count(): Promise<number>;
|
|
14504
14615
|
/**
|
|
@@ -14508,7 +14619,7 @@ declare class ProjectService extends AbstractCrudService implements CrudServiceW
|
|
|
14508
14619
|
/**
|
|
14509
14620
|
* Migrates an potentially outdated Project file to the current schema
|
|
14510
14621
|
*/
|
|
14511
|
-
migrate(
|
|
14622
|
+
migrate(props: MigrateProjectProps): {
|
|
14512
14623
|
id: string;
|
|
14513
14624
|
created: string;
|
|
14514
14625
|
updated: string | null;
|
|
@@ -14725,5 +14836,5 @@ declare class ElekIoCore {
|
|
|
14725
14836
|
get api(): LocalApi;
|
|
14726
14837
|
}
|
|
14727
14838
|
//#endregion
|
|
14728
|
-
export { ApiStartProps, Asset, AssetExport, AssetFieldDefinition, AssetFile, BaseFile, BaseUser, BooleanFieldDefinitionBaseSchema, CloneProjectProps, CloudUser, Collection, CollectionExport, CollectionFile, ConstructorElekIoCoreProps, CountAssetsProps, CountCollectionsProps, CountEntriesProps, CountGitTagsProps, CreateAssetProps, CreateCollectionProps, CreateEntryProps, CreateGitTagProps, CreateProjectProps, CrudService, CrudServiceWithListCount, CurrentBranchProjectProps, DateFieldDefinition, DatetimeFieldDefinition, DeleteAssetProps, DeleteCollectionProps, DeleteEntryProps, DeleteGitTagProps, DeleteProjectProps, DirectBooleanValue, DirectNumberValue, DirectStringValue, DirectValue, ElekIoCoreOptions, EmailFieldDefinition, Entry, EntryExport, EntryFieldDefinition, EntryFile, ExportProps, FieldDefinition, FieldDefinitionBase, FieldDefinitionBaseSchema, FieldType, FieldTypeSchema, FieldWidthSchema, FileReference, GenerateApiClientProps, GetChangesProjectProps, GetRemoteOriginUrlProjectProps, GitCloneOptions, GitCommit, GitInitOptions, GitLogOptions, GitMergeOptions, GitMessage, GitSignature, GitSwitchOptions, GitTag, Ipv4FieldDefinition, ListAssetsProps, ListBranchesProjectProps, ListCollectionsProps, ListEntriesProps, ListGitTagsProps, ListProjectsProps, LocalUser, LogConsoleTransportProps, LogProps, LogSource, NumberFieldDefinition, NumberFieldDefinitionBaseSchema, ObjectType,
|
|
14729
|
-
//# sourceMappingURL=index.node.d.
|
|
14839
|
+
export { ApiStartProps, Asset, AssetExport, AssetFieldDefinition, AssetFile, BaseFile, BaseUser, BooleanFieldDefinitionBaseSchema, CloneProjectProps, CloudUser, Collection, CollectionExport, CollectionFile, ConstructorElekIoCoreProps, CountAssetsProps, CountCollectionsProps, CountEntriesProps, CountGitTagsProps, CreateAssetProps, CreateCollectionProps, CreateEntryProps, CreateGitTagProps, CreateProjectProps, CrudService, CrudServiceWithListCount, CurrentBranchProjectProps, DateFieldDefinition, DatetimeFieldDefinition, DeleteAssetProps, DeleteCollectionProps, DeleteEntryProps, DeleteGitTagProps, DeleteProjectProps, DirectBooleanValue, DirectNumberValue, DirectStringValue, DirectValue, ElekIoCoreOptions, EmailFieldDefinition, Entry, EntryExport, EntryFieldDefinition, EntryFile, ExportProps, FieldDefinition, FieldDefinitionBase, FieldDefinitionBaseSchema, FieldType, FieldTypeSchema, FieldWidthSchema, FileReference, GenerateApiClientProps, GetChangesProjectProps, GetRemoteOriginUrlProjectProps, GitCloneOptions, GitCommit, GitInitOptions, GitLogOptions, GitMergeOptions, GitMessage, GitSignature, GitSwitchOptions, GitTag, Ipv4FieldDefinition, ListAssetsProps, ListBranchesProjectProps, ListCollectionsProps, ListEntriesProps, ListGitTagsProps, ListProjectsProps, LocalUser, LogConsoleTransportProps, LogProps, LogSource, MigrateProjectProps, NumberFieldDefinition, NumberFieldDefinitionBaseSchema, ObjectType, PaginatedList, PaginationOptions, Project, ProjectBranch, ProjectExport, ProjectFile, ProjectFolder, ProjectSettings, ProjectStatus, ProjectUpgrade, RangeFieldDefinition, ReadAssetProps, ReadCollectionProps, ReadEntryProps, ReadGitTagProps, ReadProjectProps, ReferenceFieldDefinitionBaseSchema, ReferencedValue, SaveAssetProps, SearchProjectProps, ServiceType, SetRemoteOriginUrlProjectProps, SetUserProps, StringFieldDefinition, StringFieldDefinitionBaseSchema, SupportedIcon, SupportedLanguage, SwitchBranchProjectProps, SynchronizeProjectProps, TelephoneFieldDefinition, TextFieldDefinition, TextareaFieldDefinition, TimeFieldDefinition, ToggleFieldDefinition, TranslatableBoolean, TranslatableNumber, TranslatableString, UpdateAssetProps, UpdateCollectionProps, UpdateEntryProps, UpdateProjectProps, UpgradeProjectProps, UrlFieldDefinition, User, UserFile, UserTypeSchema, Uuid, Value, ValueContentReference, ValueContentReferenceToAsset, ValueContentReferenceToCollection, ValueContentReferenceToEntry, ValueType, ValueTypeSchema, Version, apiStartSchema, assetExportSchema, assetFieldDefinitionSchema, assetFileSchema, assetSchema, baseFileSchema, baseUserSchema, cloneProjectSchema, cloudUserSchema, collectionExportSchema, collectionFileSchema, collectionSchema, constructorElekIoCoreSchema, countAssetsSchema, countCollectionsSchema, countEntriesSchema, countGitTagsSchema, createAssetSchema, createCollectionSchema, createEntrySchema, createGitTagSchema, createProjectSchema, currentBranchProjectSchema, dateFieldDefinitionSchema, datetime, datetimeFieldDefinitionSchema, ElekIoCore as default, deleteAssetSchema, deleteCollectionSchema, deleteEntrySchema, deleteGitTagSchema, deleteProjectSchema, directBooleanValueSchema, directNumberValueSchema, directStringValueSchema, directValueBaseSchema, directValueSchema, elekIoCoreOptionsSchema, emailFieldDefinitionSchema, entryExportSchema, entryFieldDefinitionSchema, entryFileSchema, entrySchema, exportSchema, fieldDefinitionSchema, fileReferenceSchema, generateApiClientSchema, getChangesProjectSchema, getCreateEntrySchemaFromFieldDefinitions, getEntrySchemaFromFieldDefinitions, getRemoteOriginUrlProjectSchema, getTranslatableBooleanValueContentSchemaFromFieldDefinition, getTranslatableNumberValueContentSchemaFromFieldDefinition, getTranslatableReferenceValueContentSchemaFromFieldDefinition, getTranslatableStringValueContentSchemaFromFieldDefinition, getUpdateEntrySchemaFromFieldDefinitions, getValueSchemaFromFieldDefinition, gitCloneOptionsSchema, gitCommitSchema, gitInitOptionsSchema, gitLogOptionsSchema, gitMergeOptionsSchema, gitMessageSchema, gitSignatureSchema, gitSwitchOptionsSchema, gitTagSchema, ipv4FieldDefinitionSchema, listAssetsSchema, listBranchesProjectSchema, listCollectionsSchema, listEntriesSchema, listGitTagsSchema, listProjectsSchema, localUserSchema, logConsoleTransportSchema, logLevelSchema, logSchema, logSourceSchema, migrateProjectSchema, numberFieldDefinitionSchema, objectTypeSchema, paginatedListOf, projectBranchSchema, projectExportSchema, projectFileSchema, projectFolderSchema, projectSchema, projectSettingsSchema, projectStatusSchema, projectUpgradeSchema, rangeFieldDefinitionSchema, readAssetSchema, readCollectionSchema, readEntrySchema, readGitTagSchema, readProjectSchema, referencedValueSchema, saveAssetSchema, searchProjectSchema, serviceTypeSchema, setRemoteOriginUrlProjectSchema, setUserSchema, slug, stringFieldDefinitionSchema, supportedIconSchema, supportedLanguageSchema, switchBranchProjectSchema, synchronizeProjectSchema, telephoneFieldDefinitionSchema, textFieldDefinitionSchema, textareaFieldDefinitionSchema, timeFieldDefinitionSchema, toggleFieldDefinitionSchema, translatableArrayOf, translatableBooleanSchema, translatableNumberSchema, translatableStringSchema, updateAssetSchema, updateCollectionSchema, updateEntrySchema, updateProjectSchema, upgradeProjectSchema, urlFieldDefinitionSchema, userFileSchema, userSchema, uuid, uuidSchema, valueContentReferenceBase, valueContentReferenceSchema, valueContentReferenceToAssetSchema, valueContentReferenceToCollectionSchema, valueContentReferenceToEntrySchema, valueSchema, versionSchema };
|
|
14840
|
+
//# sourceMappingURL=index.node.d.mts.map
|