@legalplace/models-v3-types 3.7.0 → 3.8.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 +5 -5
- package/package.json +3 -2
package/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Type definitions for model v3
|
|
2
2
|
// TypeScript Version: 2.1
|
|
3
|
-
|
|
3
|
+
import type { ROLE } from "@legalplace/typeorm-constants"
|
|
4
4
|
type CONDITION_TYPE =
|
|
5
5
|
| "selected"
|
|
6
6
|
| "not-selected"
|
|
@@ -111,7 +111,7 @@ export interface ModelV3<ConstumizationMeta = CustomizationMetaDefault> {
|
|
|
111
111
|
};
|
|
112
112
|
};
|
|
113
113
|
conditions?: ConditionV3;
|
|
114
|
-
grantLevel?:
|
|
114
|
+
grantLevel?: ROLE;
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
117
|
};
|
|
@@ -198,7 +198,7 @@ export interface SectionV3 {
|
|
|
198
198
|
/**
|
|
199
199
|
* Section's grant type
|
|
200
200
|
*/
|
|
201
|
-
grantLevel?:
|
|
201
|
+
grantLevel?: ROLE;
|
|
202
202
|
/**
|
|
203
203
|
* Section's title
|
|
204
204
|
*/
|
|
@@ -284,7 +284,7 @@ export interface OptionV3 {
|
|
|
284
284
|
/**
|
|
285
285
|
* Option's grantLevel
|
|
286
286
|
*/
|
|
287
|
-
grantLevel?:
|
|
287
|
+
grantLevel?: ROLE;
|
|
288
288
|
/**
|
|
289
289
|
* Option style
|
|
290
290
|
*/
|
|
@@ -422,7 +422,7 @@ export interface VariableV3 {
|
|
|
422
422
|
/**
|
|
423
423
|
* Variable's grantLevel
|
|
424
424
|
*/
|
|
425
|
-
grantLevel?:
|
|
425
|
+
grantLevel?: ROLE;
|
|
426
426
|
/**
|
|
427
427
|
* Variable's suffix
|
|
428
428
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legalplace/models-v3-types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"main": "",
|
|
5
5
|
"types": "index",
|
|
6
6
|
"author": "Moncef Hammou <moncef@legalplace.fr>",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"write-schema": "typescript-json-schema tsconfig.json ModelV3 -o schema.json"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"typescript-json-schema": "^0.43.0"
|
|
12
|
+
"typescript-json-schema": "^0.43.0",
|
|
13
|
+
"@legalplace/typeorm-constants": "^2.3.1"
|
|
13
14
|
}
|
|
14
15
|
}
|