@effect-app/vue-components 1.6.1 → 1.6.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-app/vue-components",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "peerDependencies": {
5
5
  "@mdi/js": "^7.4.47",
6
6
  "effect": "^3.18.0",
@@ -51,8 +51,8 @@
51
51
  "highlight.js": "^11.11.1",
52
52
  "mitt": "^3.0.1",
53
53
  "vue3-highlightjs": "^1.0.5",
54
- "@effect-app/vue": "2.83.0",
55
- "effect-app": "3.9.0"
54
+ "@effect-app/vue": "2.84.1",
55
+ "effect-app": "3.10.0"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "pnpm build:run",
@@ -202,12 +202,12 @@ export type NumberFieldMeta = BaseFieldMeta & {
202
202
 
203
203
  export type SelectFieldMeta = BaseFieldMeta & {
204
204
  type: "select"
205
- members: any[]
205
+ members: any[] // TODO: should be non empty array?
206
206
  }
207
207
 
208
208
  export type MultipleFieldMeta = BaseFieldMeta & {
209
209
  type: "multiple"
210
- members: any[]
210
+ members: any[] // TODO: should be non empty array?
211
211
  rest: S.AST.Type[]
212
212
  }
213
213
 
@@ -756,7 +756,7 @@ export const generateInputStandardSchemaFromFieldMeta = (
756
756
  }
757
757
  break
758
758
  case "select":
759
- schema = S.Literal(...meta.members).annotations({
759
+ schema = S.Literal(...meta.members as [any]).annotations({
760
760
  message: () => ({
761
761
  message: trans("validation.not_a_valid", {
762
762
  type: "select",