@griddo/core 11.4.13-rc.0 → 11.4.14

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.
@@ -1,5 +1,6 @@
1
1
  import type { ImagePosition } from "../core";
2
2
  import type { FilterItemFromFilterEndPoint, HTMLHeadingTag } from "../global";
3
+ import type __AT__ from "@/autotypes";
3
4
  /** Return the `__contentTypeName` if it exists. */
4
5
  type ContentTypeName<T> = T extends {
5
6
  __contentTypeName: string;
@@ -34,7 +35,13 @@ type ColorPickerFixed = {
34
35
  hex: string;
35
36
  };
36
37
  type ComponentArray<ComponentProps> = Array<ComponentProps>;
37
- type FormContainer<T> = T;
38
+ type FormContainer<T> = {
39
+ component?: "FormPage";
40
+ template?: {
41
+ type: "formTemplate";
42
+ templateType: __AT__.FormTemplates;
43
+ } & T;
44
+ };
38
45
  type FormFieldArray<T> = Array<T>;
39
46
  type ComponentContainer<ComponentProps> = ComponentProps;
40
47
  type Conditional<Values> = Values;
@@ -147,7 +147,7 @@ interface Page<ContentType = unknown> {
147
147
  id: number;
148
148
  } & Partial<ContentType>;
149
149
  template: {
150
- type: "template";
150
+ type: "template" | "formTemplate";
151
151
  templateType: string;
152
152
  activeSectionSlug: string;
153
153
  activeSectionBase: string;
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.4.13-rc.0",
5
+ "version": "11.4.14",
6
6
  "authors": [
7
7
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
8
8
  "Diego M. Béjar <diego.bejar@secuoyas.com>",
@@ -128,5 +128,5 @@
128
128
  "publishConfig": {
129
129
  "access": "public"
130
130
  },
131
- "gitHead": "ce34b7c15cd11a725be71a317afd8bde37880bb2"
131
+ "gitHead": "91a7a9998319a6dc21dab4a22d38e87f8b59b6c5"
132
132
  }