@elek-io/core 0.16.0 → 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.
@@ -39,7 +39,7 @@ var __exportAll = (all, no_symbols) => {
39
39
  //#region package.json
40
40
  var package_default = {
41
41
  name: "@elek-io/core",
42
- version: "0.16.0",
42
+ version: "0.16.1",
43
43
  description: "Handles core functionality of elek.io Projects like file IO and version control.",
44
44
  homepage: "https://elek.io",
45
45
  repository: "https://github.com/elek-io/core",
@@ -45,7 +45,7 @@ var __exportAll = (all, no_symbols) => {
45
45
  //#region package.json
46
46
  var package_default = {
47
47
  name: "@elek-io/core",
48
- version: "0.16.0",
48
+ version: "0.16.1",
49
49
  description: "Handles core functionality of elek.io Projects like file IO and version control.",
50
50
  homepage: "https://elek.io",
51
51
  repository: "https://github.com/elek-io/core",
@@ -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;
@@ -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<{
@@ -12676,13 +12676,13 @@ declare function getUpdateEntrySchemaFromFieldDefinitions(fieldDefinitions: Fiel
12676
12676
  //#endregion
12677
12677
  //#region src/schema/serviceSchema.d.ts
12678
12678
  declare const serviceTypeSchema: z.ZodEnum<{
12679
- Asset: "Asset";
12680
- Collection: "Collection";
12681
12679
  Entry: "Entry";
12682
- Project: "Project";
12680
+ Collection: "Collection";
12681
+ Asset: "Asset";
12683
12682
  Git: "Git";
12684
12683
  GitTag: "GitTag";
12685
12684
  User: "User";
12685
+ Project: "Project";
12686
12686
  JsonFile: "JsonFile";
12687
12687
  Search: "Search";
12688
12688
  Value: "Value";
@@ -12750,8 +12750,8 @@ declare const listAssetsSchema: z.ZodObject<{
12750
12750
  }, z.core.$strip>;
12751
12751
  type ListAssetsProps = z.infer<typeof listAssetsSchema>;
12752
12752
  declare const listProjectsSchema: z.ZodObject<{
12753
- offset: z.ZodOptional<z.ZodNumber>;
12754
12753
  limit: z.ZodOptional<z.ZodNumber>;
12754
+ offset: z.ZodOptional<z.ZodNumber>;
12755
12755
  }, z.core.$strip>;
12756
12756
  type ListProjectsProps = z.infer<typeof listProjectsSchema>;
12757
12757
  declare const listGitTagsSchema: z.ZodObject<{
@@ -14292,6 +14292,17 @@ declare class CollectionService extends AbstractCrudService implements CrudServi
14292
14292
  min: number;
14293
14293
  max: number;
14294
14294
  defaultValue: number;
14295
+ } | {
14296
+ id: string;
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>>;
14298
+ 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;
14299
+ isDisabled: boolean;
14300
+ inputWidth: "3" | "4" | "6" | "12";
14301
+ valueType: "boolean";
14302
+ isRequired: true;
14303
+ defaultValue: boolean;
14304
+ isUnique: false;
14305
+ fieldType: "toggle";
14295
14306
  } | {
14296
14307
  id: string;
14297
14308
  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>>;
@@ -14317,17 +14328,6 @@ declare class CollectionService extends AbstractCrudService implements CrudServi
14317
14328
  ofCollections: string[];
14318
14329
  min: number | null;
14319
14330
  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";
14331
14331
  })[];
14332
14332
  };
14333
14333
  /**
@@ -23,7 +23,7 @@ import Semver from "semver";
23
23
  //#region package.json
24
24
  var package_default = {
25
25
  name: "@elek-io/core",
26
- version: "0.16.0",
26
+ version: "0.16.1",
27
27
  description: "Handles core functionality of elek.io Projects like file IO and version control.",
28
28
  homepage: "https://elek.io",
29
29
  repository: "https://github.com/elek-io/core",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elek-io/core",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Handles core functionality of elek.io Projects like file IO and version control.",
5
5
  "homepage": "https://elek.io",
6
6
  "repository": "https://github.com/elek-io/core",