@griddo/core 11.0.26-rc.0 → 11.0.27-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.
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import type { Schema } from "../..";
2
3
  import type { CloudinaryImageProps } from "../../components/CloudinaryImage";
3
4
  import type { GriddoLinkProps } from "../../components/GriddoLink";
4
5
  import type { Image, Menu } from "../api-response-fields";
@@ -337,4 +338,29 @@ interface ContentPresence {
337
338
  presenceType: "page-specific" | "page-custom" | "page-manual" | "all";
338
339
  relatedPages: Array<number> | null;
339
340
  }
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, };
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, };
@@ -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: "module";
80
+ schemaType: "formComponent";
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.26-rc.0",
5
+ "version": "11.0.27-rc.0",
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": "9f2c9cb7e12918578b34046d2804edbe010d5ca3"
122
+ "gitHead": "15beb457f7fddc15b542afc42274a740b267da67"
123
123
  }