@griddo/core 11.0.27-rc.0 → 11.0.28

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,4 @@
1
1
  /// <reference types="react" />
2
- import type { Schema } from "../..";
3
2
  import type { CloudinaryImageProps } from "../../components/CloudinaryImage";
4
3
  import type { GriddoLinkProps } from "../../components/GriddoLink";
5
4
  import type { Image, Menu } from "../api-response-fields";
@@ -338,29 +337,4 @@ interface ContentPresence {
338
337
  presenceType: "page-specific" | "page-custom" | "page-manual" | "all";
339
338
  relatedPages: Array<number> | null;
340
339
  }
341
- interface Config {
342
- autotypes?: Partial<Schema.AutoTypesConfig>;
343
- schemas: {
344
- config: {
345
- languages: Schema.Languages;
346
- menus: Schema.Menu;
347
- menuItems: Schema.MenuItem;
348
- richTextConfig?: Schema.RichTextConfig;
349
- moduleCategories?: Schema.ModuleCategories;
350
- themes: Schema.Themes;
351
- subthemes?: Array<string>;
352
- };
353
- ui: {
354
- components: Record<string, Schema.Component>;
355
- modules: Record<string, Schema.Module>;
356
- templates: Record<string, Schema.Template>;
357
- };
358
- contentTypes: {
359
- dataPacks: Record<string, Schema.DataPack>;
360
- dataPacksCategories: Record<string, Schema.DataPackCategory>;
361
- structuredData: Record<string, Schema.CategoryContentType | Schema.PageContentType | Schema.SimpleContentType>;
362
- };
363
- forms?: any;
364
- };
365
- }
366
- export type { BackgroundImageSizesProps, Breadcrumb, CloudinaryDefaults, Config, ContentPresence, ContentTypeRelations, FetchPriority, FooterModule, FullPath, GriddoDamDefaults, HeaderModule, ImageCropType, ImageDecoding, ImageFormats, ImageLoading, ImagePosition, ImageTransform, ISOLocale, LibraryComponentProps, ListContentType, Locale, LocaleTranslations, NavigationModule, Page, PageIntegration, PageLanguage, Renderers, ResponsiveImageProps, Site, SiteLanguage, SocialName, TimeZone, };
340
+ export type { BackgroundImageSizesProps, Breadcrumb, CloudinaryDefaults, ContentPresence, ContentTypeRelations, FetchPriority, FooterModule, FullPath, GriddoDamDefaults, HeaderModule, ImageCropType, ImageDecoding, ImageFormats, ImageLoading, ImagePosition, ImageTransform, ISOLocale, LibraryComponentProps, ListContentType, Locale, LocaleTranslations, NavigationModule, Page, PageIntegration, PageLanguage, Renderers, ResponsiveImageProps, Site, SiteLanguage, SocialName, TimeZone, };
@@ -77,7 +77,7 @@ interface ContentTypeModule<ContentTypeModuleProps = unknown> extends ComponentA
77
77
  }
78
78
  interface FormField<FormFieldProps = unknown> {
79
79
  /** Type of schema. */
80
- schemaType: "formComponent";
80
+ schemaType: "module";
81
81
  /** Array of objects that represent each of the tabs of the component, module or template in the Griddo editor where the form fields for data entry will be displayed. */
82
82
  configTabs: Array<ConfigTabs>;
83
83
  /** React component name for the schema. */
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.0.27-rc.0",
5
+ "version": "11.0.28",
6
6
  "authors": [
7
7
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
8
8
  "Diego M. Béjar <diego.bejar@secuoyas.com>",
@@ -119,5 +119,5 @@
119
119
  "publishConfig": {
120
120
  "access": "public"
121
121
  },
122
- "gitHead": "15beb457f7fddc15b542afc42274a740b267da67"
122
+ "gitHead": "b1fd110a0e9185bf5708cf2cee9e733b61dd15b6"
123
123
  }
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import "./styles.css";
3
- interface FormWrapperProps {
4
- selectedEditorID: number | null;
5
- editorID?: number;
6
- component: string;
7
- isSelectionAllowed: boolean;
8
- children: JSX.Element;
9
- }
10
- declare const FormWrapper: (props: FormWrapperProps) => JSX.Element;
11
- export { FormWrapper };