@legalplace/models-v3-types 5.10.1 → 5.11.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/index.ts +11 -1
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
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.11.0](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/models-v3-types@5.10.1...@legalplace/models-v3-types@5.11.0) (2024-05-21)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * correct prefill conditions and add prioritization feature api[#11364](https://git.legalplace.eu/legalplace/monorepo/issues/11364) ([d76183a](https://git.legalplace.eu/legalplace/monorepo/commits/d76183a0eb9df1fea80f996c58001b932c54639f))
12
+
13
+
14
+ ### Features
15
+
16
+ * adding kanoon convco api api[#11364](https://git.legalplace.eu/legalplace/monorepo/issues/11364) ([45f20af](https://git.legalplace.eu/legalplace/monorepo/commits/45f20afadecb033d855fad337fcc3d0f61c49db2))
17
+
18
+
19
+
20
+
21
+
6
22
  ## [5.10.1](https://git.legalplace.eu/legalplace/monorepo/compare/@legalplace/models-v3-types@5.10.0...@legalplace/models-v3-types@5.10.1) (2024-05-02)
7
23
 
8
24
  **Note:** Version bump only for package @legalplace/models-v3-types
package/index.ts CHANGED
@@ -460,6 +460,10 @@ export interface VariableV3 {
460
460
  * Preffiling's object
461
461
  */
462
462
  prefillings?: PrefillingV3[];
463
+ /**
464
+ * Determines whether prefillers take priority over user input.
465
+ */
466
+ prioritizePrefillings?: boolean;
463
467
  /**
464
468
  * Input's placeholder
465
469
  */
@@ -562,6 +566,11 @@ export interface VariableV3 {
562
566
  message?: string;
563
567
  };
564
568
 
569
+ /**
570
+ * Autocomplete input type
571
+ */
572
+ autocompleteInputType?: "text" | "select";
573
+
565
574
  /**
566
575
  * Autocomplete dataset
567
576
  */
@@ -668,7 +677,8 @@ export type AutocompleteDatasetType =
668
677
  | "datagouv_addresses"
669
678
  | "datagouv_cities"
670
679
  | "pappers"
671
- | "activities";
680
+ | "activities"
681
+ | "kanoon_collective_agreements";
672
682
 
673
683
  /**
674
684
  * Autocomplete linkedvariables
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legalplace/models-v3-types",
3
- "version": "5.10.1",
3
+ "version": "5.11.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.28.0"
12
+ "@legalplace/typeorm-constants": "^3.28.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": "c4c26641e4580ad2859303cf020f9e89a7619c67"
20
+ "gitHead": "22c3f78e2558927f920b2cc6a080f6f19cbc532d"
21
21
  }