@legalplace/models-v3-types 5.3.0 → 5.4.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 +11 -0
- package/index.ts +22 -0
- 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.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
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add linked variables in model v3 types and naming for datagouv package interfaces ([81c0993](https://git.legalplace.eu/legalplace/monorepo/commits/81c0993ab40331730fbbea70a0f1f2290b27b33c)), closes [api#10618](https://git.legalplace.eu/api/issues/10618)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [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
18
|
|
|
8
19
|
|
package/index.ts
CHANGED
|
@@ -657,3 +657,25 @@ export interface FDFBoxesV3 {
|
|
|
657
657
|
export enum AutocompleteDatasetEnum {
|
|
658
658
|
DATAGOUV_ADDRESSES = "datagouv_addresses",
|
|
659
659
|
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Autocomplete linkedvariables
|
|
663
|
+
*/
|
|
664
|
+
export type AutocompleteLinkedVariableType =
|
|
665
|
+
| "postcode"
|
|
666
|
+
| "city"
|
|
667
|
+
| "countrycode";
|
|
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
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legalplace/models-v3-types",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.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.24.
|
|
12
|
+
"@legalplace/typeorm-constants": "^3.24.2"
|
|
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": "4847432c9d0651bbb22cb5c4edc7e97268ed0f95"
|
|
21
21
|
}
|