@elek-io/core 0.16.0 → 0.16.2

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.
@@ -3737,6 +3737,10 @@ declare const createCollectionSchema: z.ZodObject<{
3737
3737
  zh: "zh";
3738
3738
  }> & z.core.$partial, z.ZodString>;
3739
3739
  }, z.core.$strip>;
3740
+ slug: z.ZodObject<{
3741
+ singular: z.ZodString;
3742
+ plural: z.ZodString;
3743
+ }, z.core.$strip>;
3740
3744
  description: z.ZodRecord<z.ZodEnum<{
3741
3745
  bg: "bg";
3742
3746
  cs: "cs";
@@ -3763,10 +3767,6 @@ declare const createCollectionSchema: z.ZodObject<{
3763
3767
  sv: "sv";
3764
3768
  zh: "zh";
3765
3769
  }> & z.core.$partial, z.ZodString>;
3766
- slug: z.ZodObject<{
3767
- singular: z.ZodString;
3768
- plural: z.ZodString;
3769
- }, z.core.$strip>;
3770
3770
  icon: z.ZodEnum<{
3771
3771
  home: "home";
3772
3772
  plus: "plus";
@@ -4773,6 +4773,10 @@ declare const updateCollectionSchema: z.ZodObject<{
4773
4773
  zh: "zh";
4774
4774
  }> & z.core.$partial, z.ZodString>;
4775
4775
  }, z.core.$strip>;
4776
+ slug: z.ZodObject<{
4777
+ singular: z.ZodString;
4778
+ plural: z.ZodString;
4779
+ }, z.core.$strip>;
4776
4780
  description: z.ZodRecord<z.ZodEnum<{
4777
4781
  bg: "bg";
4778
4782
  cs: "cs";
@@ -4799,10 +4803,6 @@ declare const updateCollectionSchema: z.ZodObject<{
4799
4803
  sv: "sv";
4800
4804
  zh: "zh";
4801
4805
  }> & z.core.$partial, z.ZodString>;
4802
- slug: z.ZodObject<{
4803
- singular: z.ZodString;
4804
- plural: z.ZodString;
4805
- }, z.core.$strip>;
4806
4806
  icon: z.ZodEnum<{
4807
4807
  home: "home";
4808
4808
  plus: "plus";
@@ -6573,11 +6573,11 @@ declare const FieldTypeSchema: z.ZodEnum<{
6573
6573
  number: "number";
6574
6574
  asset: "asset";
6575
6575
  entry: "entry";
6576
- date: "date";
6577
6576
  datetime: "datetime";
6578
- email: "email";
6577
+ date: "date";
6579
6578
  text: "text";
6580
6579
  textarea: "textarea";
6580
+ email: "email";
6581
6581
  url: "url";
6582
6582
  ipv4: "ipv4";
6583
6583
  time: "time";
@@ -12678,9 +12678,9 @@ declare function getUpdateEntrySchemaFromFieldDefinitions(fieldDefinitions: Fiel
12678
12678
  //#endregion
12679
12679
  //#region src/schema/serviceSchema.d.ts
12680
12680
  declare const serviceTypeSchema: z.ZodEnum<{
12681
- Asset: "Asset";
12682
12681
  Collection: "Collection";
12683
12682
  Entry: "Entry";
12683
+ Asset: "Asset";
12684
12684
  Project: "Project";
12685
12685
  Git: "Git";
12686
12686
  GitTag: "GitTag";
@@ -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.2",
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",
@@ -115,7 +115,7 @@ var package_default = {
115
115
  "@types/node": "24.12.0",
116
116
  "@types/semver": "7.7.1",
117
117
  "@vitest/coverage-v8": "4.0.18",
118
- "astro": "5.18.0",
118
+ "astro": "6.0.0-beta.20",
119
119
  "eslint": "10.0.3",
120
120
  "eslint-config-prettier": "10.1.8",
121
121
  "globals": "17.4.0",
@@ -126,7 +126,7 @@ var package_default = {
126
126
  "vitest": "4.0.18"
127
127
  },
128
128
  peerDependencies: {
129
- "astro": ">=5.0.0",
129
+ "astro": ">=6.0.0-beta.0",
130
130
  "dugite": "3.2.0"
131
131
  },
132
132
  peerDependenciesMeta: { "astro": { "optional": true } }
@@ -137,8 +137,8 @@ declare const saveAssetSchema: z.ZodObject<{
137
137
  }, z.core.$strip>;
138
138
  type SaveAssetProps = z.infer<typeof saveAssetSchema>;
139
139
  declare const updateAssetSchema: z.ZodObject<{
140
- id: z.ZodReadonly<z.ZodUUID>;
141
140
  name: z.ZodString;
141
+ id: z.ZodReadonly<z.ZodUUID>;
142
142
  description: z.ZodString;
143
143
  projectId: z.ZodReadonly<z.ZodUUID>;
144
144
  newFilePath: z.ZodOptional<z.ZodReadonly<z.ZodString>>;
@@ -4716,7 +4716,6 @@ declare const readCollectionSchema: z.ZodObject<{
4716
4716
  }, z.core.$strip>;
4717
4717
  type ReadCollectionProps = z.infer<typeof readCollectionSchema>;
4718
4718
  declare const updateCollectionSchema: z.ZodObject<{
4719
- id: z.ZodReadonly<z.ZodUUID>;
4720
4719
  name: z.ZodObject<{
4721
4720
  singular: z.ZodRecord<z.ZodEnum<{
4722
4721
  bg: "bg";
@@ -4771,6 +4770,7 @@ declare const updateCollectionSchema: z.ZodObject<{
4771
4770
  zh: "zh";
4772
4771
  }> & z.core.$partial, z.ZodString>;
4773
4772
  }, z.core.$strip>;
4773
+ id: z.ZodReadonly<z.ZodUUID>;
4774
4774
  description: z.ZodRecord<z.ZodEnum<{
4775
4775
  bg: "bg";
4776
4776
  cs: "cs";
@@ -6572,8 +6572,8 @@ declare const FieldTypeSchema: z.ZodEnum<{
6572
6572
  asset: "asset";
6573
6573
  entry: "entry";
6574
6574
  date: "date";
6575
- datetime: "datetime";
6576
6575
  email: "email";
6576
+ datetime: "datetime";
6577
6577
  text: "text";
6578
6578
  textarea: "textarea";
6579
6579
  url: "url";
@@ -11388,8 +11388,8 @@ declare const readProjectSchema: z.ZodObject<{
11388
11388
  }, z.core.$strip>;
11389
11389
  type ReadProjectProps = z.infer<typeof readProjectSchema>;
11390
11390
  declare const updateProjectSchema: z.ZodObject<{
11391
- id: z.ZodReadonly<z.ZodUUID>;
11392
11391
  name: z.ZodString;
11392
+ id: z.ZodReadonly<z.ZodUUID>;
11393
11393
  description: z.ZodString;
11394
11394
  settings: z.ZodObject<{
11395
11395
  language: z.ZodObject<{
@@ -12676,10 +12676,10 @@ declare function getUpdateEntrySchemaFromFieldDefinitions(fieldDefinitions: Fiel
12676
12676
  //#endregion
12677
12677
  //#region src/schema/serviceSchema.d.ts
12678
12678
  declare const serviceTypeSchema: z.ZodEnum<{
12679
+ Project: "Project";
12679
12680
  Asset: "Asset";
12680
12681
  Collection: "Collection";
12681
12682
  Entry: "Entry";
12682
- Project: "Project";
12683
12683
  Git: "Git";
12684
12684
  GitTag: "GitTag";
12685
12685
  User: "User";
@@ -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.2",
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",
@@ -93,7 +93,7 @@ var package_default = {
93
93
  "@types/node": "24.12.0",
94
94
  "@types/semver": "7.7.1",
95
95
  "@vitest/coverage-v8": "4.0.18",
96
- "astro": "5.18.0",
96
+ "astro": "6.0.0-beta.20",
97
97
  "eslint": "10.0.3",
98
98
  "eslint-config-prettier": "10.1.8",
99
99
  "globals": "17.4.0",
@@ -104,7 +104,7 @@ var package_default = {
104
104
  "vitest": "4.0.18"
105
105
  },
106
106
  peerDependencies: {
107
- "astro": ">=5.0.0",
107
+ "astro": ">=6.0.0-beta.0",
108
108
  "dugite": "3.2.0"
109
109
  },
110
110
  peerDependenciesMeta: { "astro": { "optional": true } }
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.2",
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",
@@ -66,7 +66,7 @@
66
66
  "@types/node": "24.12.0",
67
67
  "@types/semver": "7.7.1",
68
68
  "@vitest/coverage-v8": "4.0.18",
69
- "astro": "5.18.0",
69
+ "astro": "6.0.0-beta.20",
70
70
  "eslint": "10.0.3",
71
71
  "eslint-config-prettier": "10.1.8",
72
72
  "globals": "17.4.0",
@@ -77,7 +77,7 @@
77
77
  "vitest": "4.0.18"
78
78
  },
79
79
  "peerDependencies": {
80
- "astro": ">=5.0.0",
80
+ "astro": ">=6.0.0-beta.0",
81
81
  "dugite": "3.2.0"
82
82
  },
83
83
  "peerDependenciesMeta": {