jourycms-sdk 1.1.11 → 1.1.17

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.17",
4
4
  "description": "Sdk for Joury CMS",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -4,6 +4,13 @@ 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
+ icon?: Levelup.CMS.V1.UI.IconType;
12
+ ac?: ()=>boolean;
13
+ }[]
7
14
  children: React.ReactNode;
8
15
  }
9
16
  }
@@ -4,6 +4,13 @@ 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
+ icon?: Levelup.CMS.V1.UI.IconType;
12
+ ac?: ()=>boolean;
13
+ }[]
7
14
  }
8
15
  }
9
16
  }