@griddo/core 11.10.1 → 11.10.3-rc.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.
@@ -2,7 +2,7 @@ import type { BaseAIReferenceField, BaseArrayFieldGroup, BaseAsyncCheckGroup, Ba
2
2
  import type { WithDataSources, WithFrom, WithIndexable, WithRelations_AutoTypes, WithShowList, WithWhiteList } from "./props";
3
3
  type Common = WithFrom & WithIndexable & WithShowList;
4
4
  type AIReferenceField = BaseAIReferenceField & Common;
5
- type ArrayFieldGroup = BaseArrayFieldGroup<PageContentTypeFields> & Common;
5
+ type ArrayFieldGroup = BaseArrayFieldGroup<PageContentTypeFieldsForArrayFieldGroup> & Common;
6
6
  type ConditionalField = BaseConditionalField<PageContentTypeFields> & Common;
7
7
  type FieldGroup = BaseFieldGroup<PageContentTypeFields> & Common;
8
8
  type AsyncCheckGroup = BaseAsyncCheckGroup & Common;
@@ -35,5 +35,7 @@ type UniqueCheck = BaseUniqueCheck & Common;
35
35
  type UrlField = BaseUrlField & Common;
36
36
  type VisualUniqueSelection = BaseVisualUniqueSelection & Common;
37
37
  type Wysiwyg = BaseWysiwyg & Common;
38
- type PageContentTypeFields = AIReferenceField | ArrayFieldGroup | ConditionalField | FieldGroup | AsyncCheckGroup | AsyncSelect | CheckGroup | ColorPicker | ComponentArray | ComponentContainer | DateField | FieldsDivider | FileField | HeadingField | ImageField | LinkField | MultiCheckSelect | MultiCheckSelectGroup | NoteField | NumberField | RadioGroup | ReferenceField | RichText | Select | SliderField | TagsField | TextArea | TextField | TimeField | ToggleField | UniqueCheck | UrlField | VisualUniqueSelection | Wysiwyg;
38
+ type CommonPageContentTypeFields = AIReferenceField | ArrayFieldGroup | ConditionalField | FieldGroup | AsyncCheckGroup | AsyncSelect | CheckGroup | ColorPicker | ComponentContainer | DateField | FieldsDivider | FileField | HeadingField | ImageField | LinkField | MultiCheckSelect | MultiCheckSelectGroup | NoteField | NumberField | RadioGroup | ReferenceField | RichText | Select | SliderField | TagsField | TextArea | TextField | TimeField | ToggleField | UniqueCheck | UrlField | VisualUniqueSelection | Wysiwyg;
39
+ type PageContentTypeFields = CommonPageContentTypeFields | ComponentArray;
40
+ type PageContentTypeFieldsForArrayFieldGroup = CommonPageContentTypeFields;
39
41
  export type { AIReferenceField, ArrayFieldGroup, ConditionalField, FieldGroup, AsyncCheckGroup, AsyncSelect, CheckGroup, ColorPicker, ComponentArray, ComponentContainer, DateField, FieldsDivider, FileField, HeadingField, ImageField, LinkField, MultiCheckSelect, MultiCheckSelectGroup, NoteField, NumberField, RadioGroup, ReferenceField, RichText, Select, SliderField, TagsField, TextArea, TextField, TimeField, ToggleField, UniqueCheck, UrlField, VisualUniqueSelection, Wysiwyg, PageContentTypeFields, };
@@ -2,7 +2,7 @@ import type { BaseAIReferenceField, BaseArrayFieldGroup, BaseAsyncCheckGroup, Ba
2
2
  import type { WithAllOption, WithAuxText, WithBackground, WithDataSources, WithFullWidth, WithHelpText, WithHidden, WithHideable, WithHumanReadable, WithIsMockup, WithPlaceHolder, WithPrefix, WithReadonly, WithRelations_AutoTypes, WithSiteLanguage, WithSlugTo, WithTemplatesWhiteList, WithValidators, WithWhiteList } from "./props";
3
3
  import type { FormFieldArray } from "./ui-form-template-fields";
4
4
  export type AIReferenceField = BaseAIReferenceField & WithTemplatesWhiteList;
5
- export type ArrayFieldGroup = BaseArrayFieldGroup<UIFields> & WithHelpText & WithHideable & WithHidden;
5
+ export type ArrayFieldGroup = BaseArrayFieldGroup<UIFieldsForArrayFieldGroup> & WithHelpText & WithHideable & WithHidden;
6
6
  export type AsyncCheckGroup = BaseAsyncCheckGroup & WithHelpText & WithHideable & WithHidden & WithSiteLanguage & WithAllOption;
7
7
  export type AsyncSelect = BaseAsyncSelect & WithHelpText & WithHideable & WithPlaceHolder & WithHidden & WithSiteLanguage;
8
8
  export type CheckGroup = BaseCheckGroup & WithHelpText & WithHideable & WithHidden;
@@ -36,4 +36,6 @@ export type UniqueCheck = BaseUniqueCheck & WithHelpText & WithHideable & WithHi
36
36
  export type UrlField = BaseUrlField & WithValidators & WithHelpText & WithHideable & WithPlaceHolder & WithHidden;
37
37
  export type VisualUniqueSelection = BaseVisualUniqueSelection & WithHelpText & WithHideable & WithHidden;
38
38
  export type Wysiwyg = BaseWysiwyg & WithIsMockup & WithValidators & WithPlaceHolder & WithHumanReadable & WithHelpText & WithHideable & WithHidden;
39
- export type UIFields = AIReferenceField | ArrayFieldGroup | AsyncCheckGroup | AsyncSelect | CheckGroup | ColorPicker | ComponentArray | ComponentContainer | ConditionalField | DateField | FieldGroup | FieldsDivider | FileField | FormContainer | FormFieldArray | HeadingField | ImageField | LinkField | MultiCheckSelect | MultiCheckSelectGroup | NoteField | NumberField | RadioGroup | ReferenceField | RichText | Select | SliderField | TagsField | TextArea | TextField | TimeField | ToggleField | UniqueCheck | UrlField | VisualUniqueSelection | Wysiwyg;
39
+ export type CommonUIFields = AIReferenceField | ArrayFieldGroup | AsyncCheckGroup | AsyncSelect | CheckGroup | ColorPicker | ComponentContainer | ConditionalField | DateField | FieldGroup | FieldsDivider | FileField | FormContainer | FormFieldArray | HeadingField | ImageField | LinkField | MultiCheckSelect | MultiCheckSelectGroup | NoteField | NumberField | RadioGroup | ReferenceField | RichText | Select | SliderField | TagsField | TextArea | TextField | TimeField | ToggleField | UniqueCheck | UrlField | VisualUniqueSelection | Wysiwyg;
40
+ export type UIFields = CommonUIFields | ComponentArray;
41
+ export type UIFieldsForArrayFieldGroup = CommonUIFields;
@@ -2,7 +2,7 @@ import type { Fields } from "../..";
2
2
  import type { BaseAIReferenceField, BaseArrayFieldGroup, BaseAsyncCheckGroup, BaseAsyncSelect, BaseCheckGroup, BaseColorPicker, BaseComponentArray, BaseComponentContainer, BaseConditionalField, BaseDateField, BaseFieldGroup, BaseFieldsDivider, BaseFileField, BaseFormContainer, BaseHeadingField, BaseImageField, BaseLinkField, BaseMultiCheckSelect, BaseMultiCheckSelectGroup, BaseNoteField, BaseNumberField, BaseRadioGroup, BaseReferenceField, BaseRichText, BaseSelect, BaseSliderField, BaseTagsField, BaseTextArea, BaseTextField, BaseTimeField, BaseToggleField, BaseUniqueCheck, BaseUrlField, BaseVisualUniqueSelection, BaseWysiwyg } from "./base";
3
3
  import type { WithAuxText, WithBackground, WithComputed, WithDataSources, WithFullWidth, WithHelpText, WithHidden, WithHideable, WithHumanReadable, WithIsMockup, WithPlaceHolder, WithPrefix, WithReadonly, WithRelations_AutoTypes, WithSiteLanguage, WithSlugTo, WithValidators, WithWhiteList } from "./props";
4
4
  export type AIReferenceField = BaseAIReferenceField & WithHelpText & WithHidden;
5
- export type ArrayFieldGroup = BaseArrayFieldGroup<UITemplateFields> & WithHelpText & WithHideable & WithHidden;
5
+ export type ArrayFieldGroup = BaseArrayFieldGroup<UITemplateFieldsForArrayFieldGroup> & WithHelpText & WithHideable & WithHidden;
6
6
  export type AsyncCheckGroup = BaseAsyncCheckGroup & WithHelpText & WithHideable & WithHidden & WithSiteLanguage;
7
7
  export type AsyncSelect = BaseAsyncSelect & WithHelpText & WithHideable & WithPlaceHolder & WithHidden & WithSiteLanguage;
8
8
  export type CheckGroup = BaseCheckGroup & WithHelpText & WithHideable & WithHidden;
@@ -36,4 +36,6 @@ export type UniqueCheck = BaseUniqueCheck & WithHelpText & WithHideable & WithHi
36
36
  export type UrlField = BaseUrlField & WithValidators & WithHelpText & WithHideable & WithPlaceHolder & WithHidden;
37
37
  export type VisualUniqueSelection = BaseVisualUniqueSelection & WithHelpText & WithHideable & WithHidden;
38
38
  export type Wysiwyg = BaseWysiwyg & WithIsMockup & WithValidators & WithPlaceHolder & WithHumanReadable & WithHelpText & WithHideable & WithHidden;
39
- export type UITemplateFields = AIReferenceField | ArrayFieldGroup | AsyncCheckGroup | AsyncSelect | CheckGroup | ColorPicker | ComponentArray | ComponentContainer | ConditionalField | DateField | FieldGroup | FieldsDivider | FileField | FormContainer | HeadingField | ImageField | LinkField | MultiCheckSelect | MultiCheckSelectGroup | NoteField | NumberField | RadioGroup | ReferenceField | RichText | Select | SliderField | TagsField | TextArea | TextField | TimeField | ToggleField | UniqueCheck | UrlField | VisualUniqueSelection | Wysiwyg;
39
+ export type CommonUITemplateFields = AIReferenceField | ArrayFieldGroup | AsyncCheckGroup | AsyncSelect | CheckGroup | ColorPicker | ComponentContainer | ConditionalField | DateField | FieldGroup | FieldsDivider | FileField | FormContainer | HeadingField | ImageField | LinkField | MultiCheckSelect | MultiCheckSelectGroup | NoteField | NumberField | RadioGroup | ReferenceField | RichText | Select | SliderField | TagsField | TextArea | TextField | TimeField | ToggleField | UniqueCheck | UrlField | VisualUniqueSelection | Wysiwyg;
40
+ export type UITemplateFields = CommonUITemplateFields | ComponentArray;
41
+ export type UITemplateFieldsForArrayFieldGroup = CommonUITemplateFields;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@griddo/core",
3
3
  "description": "Reload version of Griddo Core",
4
4
  "license": "UNLICENSED",
5
- "version": "11.10.1",
5
+ "version": "11.10.3-rc.0",
6
6
  "authors": [
7
7
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
8
8
  "Diego M. Béjar <diego.bejar@secuoyas.com>",
@@ -19,7 +19,8 @@
19
19
  "main": "dist/index.js",
20
20
  "types": "dist/index.d.ts",
21
21
  "bin": {
22
- "griddo-autotypes": "dist/autotypes.js"
22
+ "griddo-autotypes-legacy": "dist/autotypes.js",
23
+ "griddo-autotypes": "dist/autotypes.mjs"
23
24
  },
24
25
  "exports": {
25
26
  ".": {
@@ -53,8 +54,9 @@
53
54
  "run:format": "prettier --write ."
54
55
  },
55
56
  "dependencies": {
56
- "camelcase": "8.0.0",
57
- "react-aspect-ratio": "1.1.8"
57
+ "prettier": "3.6.2",
58
+ "react-aspect-ratio": "1.1.8",
59
+ "tsx": "4.20.6"
58
60
  },
59
61
  "devDependencies": {
60
62
  "@babel/core": "7.26.0",
@@ -88,7 +90,6 @@
88
90
  "jest-fetch-mock": "^3.0.3",
89
91
  "pkg-dir": "6.0.1",
90
92
  "postcss": "8.4.49",
91
- "prettier": "3.4.2",
92
93
  "rollup": "3.29.5",
93
94
  "rollup-plugin-local-resolve": "1.0.7",
94
95
  "rollup-plugin-postcss": "4.0.2",
@@ -116,5 +117,5 @@
116
117
  "publishConfig": {
117
118
  "access": "public"
118
119
  },
119
- "gitHead": "3688290e3b1623f74bbb97d38f5073c7d4b0b3c8"
120
+ "gitHead": "5ce1da960593a4b6d01efa550494879edf0fd1cb"
120
121
  }