jourycms-sdk 1.1.10 → 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.10",
3
+ "version": "1.1.12",
4
4
  "description": "Sdk for Joury CMS",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -25,7 +25,8 @@
25
25
  "lint": "yarn lint:src && yarn lint:typing",
26
26
  "lint:fix": "eslint ./src --fix",
27
27
  "push": "git add . && git commit -m 'update' && git push",
28
- "pub": "npm run build && npm run push && npm publish"
28
+ "pub": "npm run build && npm run push && npm publish",
29
+ "up": "npm version patch && npm publish"
29
30
  },
30
31
  "dependencies": {
31
32
  "axios": "^1.7.7",
@@ -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
  }