@legalplace/models-v3-types 3.4.48 → 3.4.50

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.
Files changed (3) hide show
  1. package/index.ts +31 -3
  2. package/package.json +1 -1
  3. package/schema.json +80 -0
package/index.ts CHANGED
@@ -50,6 +50,34 @@ export interface ModelV3<ConstumizationMeta = CustomizationMetaDefault> {
50
50
  [key: string]: boolean | undefined;
51
51
  private?: boolean;
52
52
  };
53
+ documentStyle?: {
54
+ styles?: {
55
+ Normal?: {
56
+ color?: string;
57
+ indent?: number;
58
+ },
59
+ headingOne?: {
60
+ color?: string;
61
+ indent?: number;
62
+ },
63
+ headingTwo?: {
64
+ color?: string;
65
+ indent?: number;
66
+ },
67
+ headingThree?: {
68
+ color?: string;
69
+ indent?: number;
70
+ },
71
+ headingFour?: {
72
+ color?: string;
73
+ indent?: number;
74
+ }
75
+ },
76
+ titlesNumbering?: {
77
+ enabled: boolean;
78
+ type: "ARTICLE-FIRST" | "SIMPLE"
79
+ }
80
+ };
53
81
  conditions?: ConditionV3;
54
82
  grantLevel?: 'ADMIN' | 'MANAGER' | 'USER' | 'GUEST';
55
83
  };
@@ -63,7 +91,6 @@ export interface ModelV3<ConstumizationMeta = CustomizationMetaDefault> {
63
91
  };
64
92
  customization: {
65
93
  disableAutoDefault?: boolean;
66
- disableDownloads?: boolean;
67
94
  meta?: ConstumizationMeta
68
95
  };
69
96
  }
@@ -86,8 +113,9 @@ export interface CustomizationMetaDefault {
86
113
  inputLabel?: string;
87
114
  warningBlock?: string;
88
115
  ctaLabel?: string;
89
- ctaIcon?: string
90
- }
116
+ ctaIcon?: string ;
117
+ };
118
+ disableDownloads?: boolean;
91
119
  }
92
120
 
93
121
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legalplace/models-v3-types",
3
- "version": "3.4.48",
3
+ "version": "3.4.50",
4
4
  "main": "",
5
5
  "types": "index",
6
6
  "author": "Moncef Hammou <moncef@legalplace.fr>",
package/schema.json CHANGED
@@ -2108,6 +2108,86 @@
2108
2108
  }
2109
2109
  ]
2110
2110
  },
2111
+ "documentStyle": {
2112
+ "properties": {
2113
+ "styles": {
2114
+ "properties": {
2115
+ "Normal": {
2116
+ "properties": {
2117
+ "color": {
2118
+ "type": "string"
2119
+ },
2120
+ "indent": {
2121
+ "type": "number"
2122
+ }
2123
+ },
2124
+ "type": "object"
2125
+ },
2126
+ "headingFour": {
2127
+ "properties": {
2128
+ "color": {
2129
+ "type": "string"
2130
+ },
2131
+ "indent": {
2132
+ "type": "number"
2133
+ }
2134
+ },
2135
+ "type": "object"
2136
+ },
2137
+ "headingOne": {
2138
+ "properties": {
2139
+ "color": {
2140
+ "type": "string"
2141
+ },
2142
+ "indent": {
2143
+ "type": "number"
2144
+ }
2145
+ },
2146
+ "type": "object"
2147
+ },
2148
+ "headingThree": {
2149
+ "properties": {
2150
+ "color": {
2151
+ "type": "string"
2152
+ },
2153
+ "indent": {
2154
+ "type": "number"
2155
+ }
2156
+ },
2157
+ "type": "object"
2158
+ },
2159
+ "headingTwo": {
2160
+ "properties": {
2161
+ "color": {
2162
+ "type": "string"
2163
+ },
2164
+ "indent": {
2165
+ "type": "number"
2166
+ }
2167
+ },
2168
+ "type": "object"
2169
+ }
2170
+ },
2171
+ "type": "object"
2172
+ },
2173
+ "titlesNumbering": {
2174
+ "properties": {
2175
+ "enabled": {
2176
+ "type": "boolean"
2177
+ },
2178
+ "type": {
2179
+ "enum": [
2180
+ "ARTICLE-FIRST",
2181
+ "SIMPLE"
2182
+ ],
2183
+ "type": "string"
2184
+ }
2185
+ },
2186
+ "type": "object"
2187
+ }
2188
+ },
2189
+ "type": "object"
2190
+ },
2111
2191
  "formats": {
2112
2192
  "properties": {
2113
2193
  "docx": {