jourycms-sdk 1.1.11 → 1.1.12

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jourycms-sdk",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "Sdk for Joury CMS",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -4,6 +4,12 @@ declare module JouryCMS {
4
4
  export namespace Theme {
5
5
  export type LayoutProps = {
6
6
  route: Levelup.CMS.V1.UI.Routes.RouteItem;
7
+ headerControls?: {
8
+ path?: string;
9
+ onClick?: ()=>void | PromiseLike<void>;
10
+ title: string;
11
+ icons?: Levelup.CMS.V1.UI.IconType
12
+ }[]
7
13
  children: React.ReactNode;
8
14
  }
9
15
  }
@@ -4,6 +4,12 @@ declare module JouryCMS {
4
4
  export namespace Theme {
5
5
  export type PageProps = {
6
6
  route: Levelup.CMS.V1.UI.Routes.RouteItem;
7
+ headerControls?: {
8
+ path?: string;
9
+ onClick?: ()=>void | PromiseLike<void>;
10
+ title: string;
11
+ icons?: Levelup.CMS.V1.UI.IconType
12
+ }[]
7
13
  }
8
14
  }
9
15
  }