jourycms-sdk 1.1.44 → 1.1.45

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jourycms-sdk",
3
- "version": "1.1.44",
3
+ "version": "1.1.45",
4
4
  "description": "Sdk for Joury CMS",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -10,6 +10,14 @@ declare module Levelup {
10
10
  export interface IFromInsights {
11
11
  entry_count?: number;
12
12
  }
13
+
14
+ export interface IFormSettings {
15
+ has_reset_button?: boolean;
16
+ reset_button_label?: string;
17
+ has_submit_button?: boolean;
18
+ submit_button_label?: string;
19
+ shown_fields_on_dashboard?: string[];
20
+ }
13
21
 
14
22
  export interface Form
15
23
  extends Utils.Entity.General.ICreatable,
@@ -23,9 +31,9 @@ declare module Levelup {
23
31
  is_published: boolean;
24
32
  published_at: Date | null;
25
33
  fields: ICustomMetaField[];
26
-
27
34
  insights: IFromInsights;
28
35
  snapshots: IFromSnapshots;
36
+ settings: IFormSettings;
29
37
  }
30
38
  }
31
39
  }