@legalplace/models-v3-types 3.5.0 → 3.6.0
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/index.ts +14 -9
- package/package.json +2 -2
- package/schema.json +4 -0
package/index.ts
CHANGED
|
@@ -53,6 +53,10 @@ export interface ModelV3<ConstumizationMeta = CustomizationMetaDefault> {
|
|
|
53
53
|
* Document's name
|
|
54
54
|
*/
|
|
55
55
|
name: string;
|
|
56
|
+
/**
|
|
57
|
+
* Document's fallback name
|
|
58
|
+
*/
|
|
59
|
+
fallbackName?: string;
|
|
56
60
|
/**
|
|
57
61
|
* Document's sections list
|
|
58
62
|
*/
|
|
@@ -78,33 +82,33 @@ export interface ModelV3<ConstumizationMeta = CustomizationMetaDefault> {
|
|
|
78
82
|
[key: string]: boolean | undefined;
|
|
79
83
|
private?: boolean;
|
|
80
84
|
};
|
|
81
|
-
documentStyle?:
|
|
85
|
+
documentStyle?: {
|
|
82
86
|
styles?: {
|
|
83
87
|
Normal?: {
|
|
84
88
|
color?: string;
|
|
85
89
|
indent?: number;
|
|
86
|
-
}
|
|
90
|
+
};
|
|
87
91
|
headingOne?: {
|
|
88
92
|
color?: string;
|
|
89
93
|
indent?: number;
|
|
90
|
-
}
|
|
94
|
+
};
|
|
91
95
|
headingTwo?: {
|
|
92
96
|
color?: string;
|
|
93
97
|
indent?: number;
|
|
94
|
-
}
|
|
98
|
+
};
|
|
95
99
|
headingThree?: {
|
|
96
100
|
color?: string;
|
|
97
101
|
indent?: number;
|
|
98
|
-
}
|
|
102
|
+
};
|
|
99
103
|
headingFour?: {
|
|
100
104
|
color?: string;
|
|
101
105
|
indent?: number;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
106
|
+
};
|
|
107
|
+
};
|
|
104
108
|
titlesNumbering?: {
|
|
105
109
|
enabled: boolean;
|
|
106
|
-
type: "ARTICLE-FIRST" | "SIMPLE"
|
|
107
|
-
}
|
|
110
|
+
type: "ARTICLE-FIRST" | "SIMPLE";
|
|
111
|
+
};
|
|
108
112
|
};
|
|
109
113
|
conditions?: ConditionV3;
|
|
110
114
|
grantLevel?: "ADMIN" | "MANAGER" | "USER" | "GUEST";
|
|
@@ -410,6 +414,7 @@ export interface VariableV3 {
|
|
|
410
414
|
| "eval"
|
|
411
415
|
| "hour"
|
|
412
416
|
| "email"
|
|
417
|
+
| "user_email"
|
|
413
418
|
| "mask";
|
|
414
419
|
/**
|
|
415
420
|
* Variable's grantLevel
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legalplace/models-v3-types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"main": "",
|
|
5
5
|
"types": "index",
|
|
6
6
|
"author": "Moncef Hammou <moncef@legalplace.fr>",
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"typescript-json-schema": "^0.43.0"
|
|
13
13
|
}
|
|
14
|
-
}
|
|
14
|
+
}
|
package/schema.json
CHANGED
|
@@ -2095,6 +2095,10 @@
|
|
|
2095
2095
|
"documents": {
|
|
2096
2096
|
"additionalProperties": {
|
|
2097
2097
|
"properties": {
|
|
2098
|
+
"fallbackName": {
|
|
2099
|
+
"description": "Document's fallback name",
|
|
2100
|
+
"type": "string"
|
|
2101
|
+
},
|
|
2098
2102
|
"name": {
|
|
2099
2103
|
"description": "Document's name",
|
|
2100
2104
|
"type": "string"
|