@griddo/core 11.10.50 → 11.10.51-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.
@@ -7,6 +7,7 @@ import type timezone from "../constants/timezone";
7
7
  import type { Replace } from "../utilities";
8
8
  type Renderers = "gatsby" | "editor" | "preview" | "forms" | "ssg";
9
9
  type ContentTypeRelations = "off" | "full" | "simple" | boolean;
10
+ /** @deprecated Instance names will be removed from Griddo, use your own custom social name definitions with `schemas.config.socials` in `griddo.config.ts|js` */
10
11
  type SocialName = "instagram" | "linkedIn" | "facebook" | "twitter" | "youTube" | "flickr" | "tiktok" | "snapchat" | "newsletter";
11
12
  type Breadcrumb = Array<{
12
13
  path?: string;
@@ -224,7 +225,7 @@ interface Site {
224
225
  smallAvatar?: string | null;
225
226
  /** The slug for the site */
226
227
  slug?: string;
227
- socials?: Record<SocialName, string>;
228
+ socials?: Record<string, string>;
228
229
  theme?: string;
229
230
  thumbnail?: string;
230
231
  timezone?: TimeZone;
@@ -0,0 +1,2 @@
1
+ type Socials = string[];
2
+ export type { Socials };
@@ -9,7 +9,8 @@ import type { Languages } from "./Languages";
9
9
  import type { Menu, MenuItem } from "./Menu";
10
10
  import type { ModuleCategories } from "./ModuleCategories";
11
11
  import type { RichTextConfig } from "./RichTextConfig";
12
+ import type { Socials } from "./Socials";
12
13
  import type { ThemeEntry, Themes } from "./Themes";
13
14
  import type { Translations } from "./Translations";
14
- import type { Component, ContentTypeModule, FormTemplate, ListTemplate, Module, MultiPageComponent, MultiPageModule, PaginatedDataTemplate, Template, FormField, FormComponent } from "./UI";
15
- export type { AutoTypesConfig, CategoryContentType, Component, ContentTypeModule, DamDefaults, DataPack, DataPackCategory, Footer, FormTemplate, FormField, FormComponent, FormCategories, FormCategoryEntry, FormTemplateCategories, FormTemplateCategoryEntry, Header, Languages, ListTemplate, Menu, MenuItem, Module, ModuleCategories, MultiPageComponent, MultiPageModule, PageContentType, PaginatedDataTemplate, RichTextConfig, SimpleContentType, Template, Themes, Translations, ThemeEntry, };
15
+ import type { Component, ContentTypeModule, FormComponent, FormField, FormTemplate, ListTemplate, Module, MultiPageComponent, MultiPageModule, PaginatedDataTemplate, Template } from "./UI";
16
+ export type { AutoTypesConfig, CategoryContentType, Component, ContentTypeModule, DamDefaults, DataPack, DataPackCategory, Footer, FormCategories, FormCategoryEntry, FormComponent, FormField, FormTemplate, FormTemplateCategories, FormTemplateCategoryEntry, Header, Languages, ListTemplate, Menu, MenuItem, Module, ModuleCategories, MultiPageComponent, MultiPageModule, PageContentType, PaginatedDataTemplate, RichTextConfig, SimpleContentType, Socials, Template, ThemeEntry, Themes, Translations, };
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.50",
5
+ "version": "11.10.51-rc.0",
6
6
  "authors": [
7
7
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
8
8
  "Diego M. Béjar <diego.bejar@secuoyas.com>",
@@ -117,5 +117,5 @@
117
117
  "publishConfig": {
118
118
  "access": "public"
119
119
  },
120
- "gitHead": "436955fcbd3b425d3281aab388824c46bc41cc44"
120
+ "gitHead": "d01ec390ffc0840545586f8036dd2fc90fdd6c7c"
121
121
  }