@legalplace/models-v3-types 5.2.2 → 5.3.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/CHANGELOG.md +20 -0
- package/index.ts +19 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.3.0](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/models-v3-types@5.2.3...@legalplace/models-v3-types@5.3.0) (2024-02-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add new model V3 types for autocomplete props ([089710a](https://git.legalplace.eu/legalplace/monorepo/commits/089710a05e8ab99e2df2fd4e5acc0e090ae5ad96)), closes [api#10616](https://git.legalplace.eu/api/issues/10616)
|
|
12
|
+
* explicit naming ([848e4e1](https://git.legalplace.eu/legalplace/monorepo/commits/848e4e18a41ca219f728487f64c2f8f4299eb94d)), closes [api#10616](https://git.legalplace.eu/api/issues/10616)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [5.2.3](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/models-v3-types@5.2.2...@legalplace/models-v3-types@5.2.3) (2024-02-01)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @legalplace/models-v3-types
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [5.2.2](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/models-v3-types@5.2.1...@legalplace/models-v3-types@5.2.2) (2024-01-31)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @legalplace/models-v3-types
|
package/index.ts
CHANGED
|
@@ -426,7 +426,8 @@ export interface VariableV3 {
|
|
|
426
426
|
| "user_email"
|
|
427
427
|
| "phone_number"
|
|
428
428
|
| "iframe"
|
|
429
|
-
| "mask"
|
|
429
|
+
| "mask"
|
|
430
|
+
| "autocomplete";
|
|
430
431
|
/**
|
|
431
432
|
* Variable's grantLevel
|
|
432
433
|
*/
|
|
@@ -561,6 +562,16 @@ export interface VariableV3 {
|
|
|
561
562
|
message?: string;
|
|
562
563
|
};
|
|
563
564
|
|
|
565
|
+
/**
|
|
566
|
+
* Autocomplete dataset
|
|
567
|
+
*/
|
|
568
|
+
autocompleteDataset?: AutocompleteDatasetEnum;
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Linked variables (used in autocomplete)
|
|
572
|
+
*/
|
|
573
|
+
linkedVariables?: Record<string, number>;
|
|
574
|
+
|
|
564
575
|
/**
|
|
565
576
|
* Termsheet
|
|
566
577
|
*/
|
|
@@ -639,3 +650,10 @@ export interface FDFBoxesV3 {
|
|
|
639
650
|
id: number;
|
|
640
651
|
}[];
|
|
641
652
|
}
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Autocomplete datasets
|
|
656
|
+
*/
|
|
657
|
+
export enum AutocompleteDatasetEnum {
|
|
658
|
+
DATAGOUV_ADDRESSES = "datagouv_addresses",
|
|
659
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legalplace/models-v3-types",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"main": "",
|
|
5
5
|
"types": "index",
|
|
6
6
|
"author": "Moncef Hammou <moncef@legalplace.fr>",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"write-schema": "typescript-json-schema tsconfig.json ModelV3 -o schema.json"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@legalplace/typeorm-constants": "^3.
|
|
12
|
+
"@legalplace/typeorm-constants": "^3.24.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@legalplace/eslint-config": "^2.2.0",
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"typescript-json-schema": "^0.43.0"
|
|
18
18
|
},
|
|
19
19
|
"prettier": "@legalplace/prettier-config",
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "3dbb904c331a5c955551452e00c3eec5e3e707a5"
|
|
21
21
|
}
|