@elek-io/core 0.15.3 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +158 -45
- 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} +292 -148
- package/dist/node/chunk-DQk6qfdC.mjs +18 -0
- package/dist/node/{index.node.d.ts → index.node.d.mts} +203 -90
- package/dist/node/{index.node.js → index.node.mjs} +122 -98
- 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<{
|
|
@@ -117,8 +117,8 @@ declare const assetExportSchema: z.ZodObject<{
|
|
|
117
117
|
}, z.core.$strip>;
|
|
118
118
|
type AssetExport = z.infer<typeof assetExportSchema>;
|
|
119
119
|
declare const createAssetSchema: z.ZodObject<{
|
|
120
|
-
name: z.ZodString;
|
|
121
120
|
description: z.ZodString;
|
|
121
|
+
name: z.ZodString;
|
|
122
122
|
projectId: z.ZodReadonly<z.ZodUUID>;
|
|
123
123
|
filePath: z.ZodReadonly<z.ZodString>;
|
|
124
124
|
}, z.core.$strip>;
|
|
@@ -138,8 +138,8 @@ declare const saveAssetSchema: z.ZodObject<{
|
|
|
138
138
|
type SaveAssetProps = z.infer<typeof saveAssetSchema>;
|
|
139
139
|
declare const updateAssetSchema: z.ZodObject<{
|
|
140
140
|
id: z.ZodReadonly<z.ZodUUID>;
|
|
141
|
-
name: z.ZodString;
|
|
142
141
|
description: z.ZodString;
|
|
142
|
+
name: z.ZodString;
|
|
143
143
|
projectId: z.ZodReadonly<z.ZodUUID>;
|
|
144
144
|
newFilePath: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
|
|
145
145
|
}, z.core.$strip>;
|
|
@@ -3681,6 +3681,32 @@ declare const collectionExportSchema: z.ZodObject<{
|
|
|
3681
3681
|
}, z.core.$strip>;
|
|
3682
3682
|
type CollectionExport = z.infer<typeof collectionExportSchema>;
|
|
3683
3683
|
declare const createCollectionSchema: z.ZodObject<{
|
|
3684
|
+
description: z.ZodRecord<z.ZodEnum<{
|
|
3685
|
+
bg: "bg";
|
|
3686
|
+
cs: "cs";
|
|
3687
|
+
da: "da";
|
|
3688
|
+
de: "de";
|
|
3689
|
+
el: "el";
|
|
3690
|
+
en: "en";
|
|
3691
|
+
es: "es";
|
|
3692
|
+
et: "et";
|
|
3693
|
+
fi: "fi";
|
|
3694
|
+
fr: "fr";
|
|
3695
|
+
hu: "hu";
|
|
3696
|
+
it: "it";
|
|
3697
|
+
ja: "ja";
|
|
3698
|
+
lt: "lt";
|
|
3699
|
+
lv: "lv";
|
|
3700
|
+
nl: "nl";
|
|
3701
|
+
pl: "pl";
|
|
3702
|
+
pt: "pt";
|
|
3703
|
+
ro: "ro";
|
|
3704
|
+
ru: "ru";
|
|
3705
|
+
sk: "sk";
|
|
3706
|
+
sl: "sl";
|
|
3707
|
+
sv: "sv";
|
|
3708
|
+
zh: "zh";
|
|
3709
|
+
}> & z.core.$partial, z.ZodString>;
|
|
3684
3710
|
name: z.ZodObject<{
|
|
3685
3711
|
singular: z.ZodRecord<z.ZodEnum<{
|
|
3686
3712
|
bg: "bg";
|
|
@@ -3735,32 +3761,6 @@ declare const createCollectionSchema: z.ZodObject<{
|
|
|
3735
3761
|
zh: "zh";
|
|
3736
3762
|
}> & z.core.$partial, z.ZodString>;
|
|
3737
3763
|
}, z.core.$strip>;
|
|
3738
|
-
description: z.ZodRecord<z.ZodEnum<{
|
|
3739
|
-
bg: "bg";
|
|
3740
|
-
cs: "cs";
|
|
3741
|
-
da: "da";
|
|
3742
|
-
de: "de";
|
|
3743
|
-
el: "el";
|
|
3744
|
-
en: "en";
|
|
3745
|
-
es: "es";
|
|
3746
|
-
et: "et";
|
|
3747
|
-
fi: "fi";
|
|
3748
|
-
fr: "fr";
|
|
3749
|
-
hu: "hu";
|
|
3750
|
-
it: "it";
|
|
3751
|
-
ja: "ja";
|
|
3752
|
-
lt: "lt";
|
|
3753
|
-
lv: "lv";
|
|
3754
|
-
nl: "nl";
|
|
3755
|
-
pl: "pl";
|
|
3756
|
-
pt: "pt";
|
|
3757
|
-
ro: "ro";
|
|
3758
|
-
ru: "ru";
|
|
3759
|
-
sk: "sk";
|
|
3760
|
-
sl: "sl";
|
|
3761
|
-
sv: "sv";
|
|
3762
|
-
zh: "zh";
|
|
3763
|
-
}> & z.core.$partial, z.ZodString>;
|
|
3764
3764
|
slug: z.ZodObject<{
|
|
3765
3765
|
singular: z.ZodString;
|
|
3766
3766
|
plural: z.ZodString;
|
|
@@ -4717,6 +4717,32 @@ declare const readCollectionSchema: z.ZodObject<{
|
|
|
4717
4717
|
type ReadCollectionProps = z.infer<typeof readCollectionSchema>;
|
|
4718
4718
|
declare const updateCollectionSchema: z.ZodObject<{
|
|
4719
4719
|
id: z.ZodReadonly<z.ZodUUID>;
|
|
4720
|
+
description: z.ZodRecord<z.ZodEnum<{
|
|
4721
|
+
bg: "bg";
|
|
4722
|
+
cs: "cs";
|
|
4723
|
+
da: "da";
|
|
4724
|
+
de: "de";
|
|
4725
|
+
el: "el";
|
|
4726
|
+
en: "en";
|
|
4727
|
+
es: "es";
|
|
4728
|
+
et: "et";
|
|
4729
|
+
fi: "fi";
|
|
4730
|
+
fr: "fr";
|
|
4731
|
+
hu: "hu";
|
|
4732
|
+
it: "it";
|
|
4733
|
+
ja: "ja";
|
|
4734
|
+
lt: "lt";
|
|
4735
|
+
lv: "lv";
|
|
4736
|
+
nl: "nl";
|
|
4737
|
+
pl: "pl";
|
|
4738
|
+
pt: "pt";
|
|
4739
|
+
ro: "ro";
|
|
4740
|
+
ru: "ru";
|
|
4741
|
+
sk: "sk";
|
|
4742
|
+
sl: "sl";
|
|
4743
|
+
sv: "sv";
|
|
4744
|
+
zh: "zh";
|
|
4745
|
+
}> & z.core.$partial, z.ZodString>;
|
|
4720
4746
|
name: z.ZodObject<{
|
|
4721
4747
|
singular: z.ZodRecord<z.ZodEnum<{
|
|
4722
4748
|
bg: "bg";
|
|
@@ -4771,32 +4797,6 @@ declare const updateCollectionSchema: z.ZodObject<{
|
|
|
4771
4797
|
zh: "zh";
|
|
4772
4798
|
}> & z.core.$partial, z.ZodString>;
|
|
4773
4799
|
}, z.core.$strip>;
|
|
4774
|
-
description: z.ZodRecord<z.ZodEnum<{
|
|
4775
|
-
bg: "bg";
|
|
4776
|
-
cs: "cs";
|
|
4777
|
-
da: "da";
|
|
4778
|
-
de: "de";
|
|
4779
|
-
el: "el";
|
|
4780
|
-
en: "en";
|
|
4781
|
-
es: "es";
|
|
4782
|
-
et: "et";
|
|
4783
|
-
fi: "fi";
|
|
4784
|
-
fr: "fr";
|
|
4785
|
-
hu: "hu";
|
|
4786
|
-
it: "it";
|
|
4787
|
-
ja: "ja";
|
|
4788
|
-
lt: "lt";
|
|
4789
|
-
lv: "lv";
|
|
4790
|
-
nl: "nl";
|
|
4791
|
-
pl: "pl";
|
|
4792
|
-
pt: "pt";
|
|
4793
|
-
ro: "ro";
|
|
4794
|
-
ru: "ru";
|
|
4795
|
-
sk: "sk";
|
|
4796
|
-
sl: "sl";
|
|
4797
|
-
sv: "sv";
|
|
4798
|
-
zh: "zh";
|
|
4799
|
-
}> & z.core.$partial, z.ZodString>;
|
|
4800
4800
|
slug: z.ZodObject<{
|
|
4801
4801
|
singular: z.ZodString;
|
|
4802
4802
|
plural: z.ZodString;
|
|
@@ -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";
|
|
@@ -11322,8 +11322,8 @@ declare const projectExportSchema: z.ZodObject<{
|
|
|
11322
11322
|
}, z.core.$strip>;
|
|
11323
11323
|
type ProjectExport = z.infer<typeof projectExportSchema>;
|
|
11324
11324
|
declare const createProjectSchema: z.ZodObject<{
|
|
11325
|
-
name: z.ZodString;
|
|
11326
11325
|
description: z.ZodString;
|
|
11326
|
+
name: z.ZodString;
|
|
11327
11327
|
settings: z.ZodObject<{
|
|
11328
11328
|
language: z.ZodObject<{
|
|
11329
11329
|
default: z.ZodEnum<{
|
|
@@ -11389,8 +11389,8 @@ declare const readProjectSchema: z.ZodObject<{
|
|
|
11389
11389
|
type ReadProjectProps = z.infer<typeof readProjectSchema>;
|
|
11390
11390
|
declare const updateProjectSchema: z.ZodObject<{
|
|
11391
11391
|
id: z.ZodReadonly<z.ZodUUID>;
|
|
11392
|
-
name: z.ZodString;
|
|
11393
11392
|
description: z.ZodString;
|
|
11393
|
+
name: z.ZodString;
|
|
11394
11394
|
settings: z.ZodObject<{
|
|
11395
11395
|
language: z.ZodObject<{
|
|
11396
11396
|
default: z.ZodEnum<{
|
|
@@ -11613,6 +11613,116 @@ declare const searchProjectSchema: z.ZodObject<{
|
|
|
11613
11613
|
type SearchProjectProps = z.infer<typeof searchProjectSchema>;
|
|
11614
11614
|
//#endregion
|
|
11615
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>>>;
|
|
11616
11726
|
/**
|
|
11617
11727
|
* Generates a zod schema to check a Value based on given Field definition
|
|
11618
11728
|
*/
|
|
@@ -12566,13 +12676,13 @@ declare function getUpdateEntrySchemaFromFieldDefinitions(fieldDefinitions: Fiel
|
|
|
12566
12676
|
//#endregion
|
|
12567
12677
|
//#region src/schema/serviceSchema.d.ts
|
|
12568
12678
|
declare const serviceTypeSchema: z.ZodEnum<{
|
|
12569
|
-
Asset: "Asset";
|
|
12570
12679
|
Entry: "Entry";
|
|
12571
12680
|
Collection: "Collection";
|
|
12572
|
-
|
|
12681
|
+
Asset: "Asset";
|
|
12573
12682
|
Git: "Git";
|
|
12574
12683
|
GitTag: "GitTag";
|
|
12575
12684
|
User: "User";
|
|
12685
|
+
Project: "Project";
|
|
12576
12686
|
JsonFile: "JsonFile";
|
|
12577
12687
|
Search: "Search";
|
|
12578
12688
|
Value: "Value";
|
|
@@ -12640,8 +12750,8 @@ declare const listAssetsSchema: z.ZodObject<{
|
|
|
12640
12750
|
}, z.core.$strip>;
|
|
12641
12751
|
type ListAssetsProps = z.infer<typeof listAssetsSchema>;
|
|
12642
12752
|
declare const listProjectsSchema: z.ZodObject<{
|
|
12643
|
-
offset: z.ZodOptional<z.ZodNumber>;
|
|
12644
12753
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
12754
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
12645
12755
|
}, z.core.$strip>;
|
|
12646
12756
|
type ListProjectsProps = z.infer<typeof listProjectsSchema>;
|
|
12647
12757
|
declare const listGitTagsSchema: z.ZodObject<{
|
|
@@ -13421,9 +13531,12 @@ type ApiStartProps = z$1.infer<typeof apiStartSchema>;
|
|
|
13421
13531
|
declare const exportSchema: z$1.ZodObject<{
|
|
13422
13532
|
outDir: z$1.ZodDefault<z$1.ZodString>;
|
|
13423
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
|
+
}>>;
|
|
13424
13538
|
options: z$1.ZodObject<{
|
|
13425
13539
|
watch: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
13426
|
-
separate: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
13427
13540
|
}, z$1.core.$strip>;
|
|
13428
13541
|
}, z$1.core.$strip>;
|
|
13429
13542
|
type ExportProps = z$1.infer<typeof exportSchema>;
|
|
@@ -14051,32 +14164,6 @@ declare class CollectionService extends AbstractCrudService implements CrudServi
|
|
|
14051
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>>;
|
|
14052
14165
|
icon: "home" | "plus" | "foobar";
|
|
14053
14166
|
fieldDefinitions: ({
|
|
14054
|
-
id: string;
|
|
14055
|
-
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>>;
|
|
14056
|
-
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;
|
|
14057
|
-
isRequired: boolean;
|
|
14058
|
-
isDisabled: boolean;
|
|
14059
|
-
inputWidth: "3" | "4" | "6" | "12";
|
|
14060
|
-
valueType: "number";
|
|
14061
|
-
min: number | null;
|
|
14062
|
-
max: number | null;
|
|
14063
|
-
isUnique: false;
|
|
14064
|
-
defaultValue: number | null;
|
|
14065
|
-
fieldType: "number";
|
|
14066
|
-
} | {
|
|
14067
|
-
id: string;
|
|
14068
|
-
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>>;
|
|
14069
|
-
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;
|
|
14070
|
-
isDisabled: boolean;
|
|
14071
|
-
inputWidth: "3" | "4" | "6" | "12";
|
|
14072
|
-
valueType: "number";
|
|
14073
|
-
isUnique: false;
|
|
14074
|
-
fieldType: "range";
|
|
14075
|
-
isRequired: true;
|
|
14076
|
-
min: number;
|
|
14077
|
-
max: number;
|
|
14078
|
-
defaultValue: number;
|
|
14079
|
-
} | {
|
|
14080
14167
|
id: string;
|
|
14081
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>>;
|
|
14082
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;
|
|
@@ -14179,6 +14266,32 @@ declare class CollectionService extends AbstractCrudService implements CrudServi
|
|
|
14179
14266
|
valueType: "string";
|
|
14180
14267
|
fieldType: "telephone";
|
|
14181
14268
|
defaultValue: string | null;
|
|
14269
|
+
} | {
|
|
14270
|
+
id: string;
|
|
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>>;
|
|
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;
|
|
14274
|
+
isDisabled: boolean;
|
|
14275
|
+
inputWidth: "3" | "4" | "6" | "12";
|
|
14276
|
+
valueType: "number";
|
|
14277
|
+
min: number | null;
|
|
14278
|
+
max: number | null;
|
|
14279
|
+
isUnique: false;
|
|
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;
|
|
14182
14295
|
} | {
|
|
14183
14296
|
id: string;
|
|
14184
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>>;
|
|
@@ -14723,5 +14836,5 @@ declare class ElekIoCore {
|
|
|
14723
14836
|
get api(): LocalApi;
|
|
14724
14837
|
}
|
|
14725
14838
|
//#endregion
|
|
14726
|
-
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, 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 };
|
|
14727
|
-
//# 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
|