@legalplace/models-v3-types 5.4.0 → 5.4.1
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 +11 -0
- package/index.ts +3 -19
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.4.1](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/models-v3-types@5.4.0...@legalplace/models-v3-types@5.4.1) (2024-02-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* remove const and enums from model v3 types ([a8e16ef](https://git.legalplace.eu/legalplace/monorepo/commits/a8e16efff1bb261e9bb8fa8671b1e305608fe6c2)), closes [api#10618](https://git.legalplace.eu/api/issues/10618)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [5.4.0](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/models-v3-types@5.3.0...@legalplace/models-v3-types@5.4.0) (2024-02-20)
|
|
7
18
|
|
|
8
19
|
|
package/index.ts
CHANGED
|
@@ -565,7 +565,7 @@ export interface VariableV3 {
|
|
|
565
565
|
/**
|
|
566
566
|
* Autocomplete dataset
|
|
567
567
|
*/
|
|
568
|
-
autocompleteDataset?:
|
|
568
|
+
autocompleteDataset?: AutocompleteDatasetType;
|
|
569
569
|
|
|
570
570
|
/**
|
|
571
571
|
* Linked variables (used in autocomplete)
|
|
@@ -654,9 +654,7 @@ export interface FDFBoxesV3 {
|
|
|
654
654
|
/**
|
|
655
655
|
* Autocomplete datasets
|
|
656
656
|
*/
|
|
657
|
-
export
|
|
658
|
-
DATAGOUV_ADDRESSES = "datagouv_addresses",
|
|
659
|
-
}
|
|
657
|
+
export type AutocompleteDatasetType = "datagouv_addresses";
|
|
660
658
|
|
|
661
659
|
/**
|
|
662
660
|
* Autocomplete linkedvariables
|
|
@@ -664,18 +662,4 @@ export enum AutocompleteDatasetEnum {
|
|
|
664
662
|
export type AutocompleteLinkedVariableType =
|
|
665
663
|
| "postcode"
|
|
666
664
|
| "city"
|
|
667
|
-
| "
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* Autocomplete linked variable config
|
|
671
|
-
*/
|
|
672
|
-
export const AutocompleteLinkedVariablesConfig: Record<
|
|
673
|
-
AutocompleteDatasetEnum,
|
|
674
|
-
AutocompleteLinkedVariableType[]
|
|
675
|
-
> = {
|
|
676
|
-
[AutocompleteDatasetEnum.DATAGOUV_ADDRESSES]: [
|
|
677
|
-
"postcode",
|
|
678
|
-
"city",
|
|
679
|
-
"countrycode",
|
|
680
|
-
],
|
|
681
|
-
};
|
|
665
|
+
| "communal_code";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legalplace/models-v3-types",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.1",
|
|
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.24.
|
|
12
|
+
"@legalplace/typeorm-constants": "^3.24.3"
|
|
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": "503ef432ad21584ad9e8ca3850a1b7e8fe02c425"
|
|
21
21
|
}
|