@legalplace/models-v3-types 3.4.42 → 3.4.44

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/index.ts +7 -3
  2. package/package.json +1 -1
  3. package/schema.json +23 -17
package/index.ts CHANGED
@@ -531,7 +531,12 @@ export interface FDFInputsV3 {
531
531
  },
532
532
  variables: {
533
533
  id: number,
534
- conditions?: ConditionV3
534
+ date?: 'DD' | 'MM' | 'AAAA',
535
+ hour?: 'HH' | 'MM',
536
+ fragment?: {
537
+ from: number
538
+ to: number
539
+ }
535
540
  }[]
536
541
  }
537
542
 
@@ -548,7 +553,6 @@ export interface FDFBoxesV3 {
548
553
  height: number
549
554
  },
550
555
  options: {
551
- id: number,
552
- conditions?: ConditionV3
556
+ id: number
553
557
  }[]
554
558
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legalplace/models-v3-types",
3
- "version": "3.4.42",
3
+ "version": "3.4.44",
4
4
  "main": "",
5
5
  "types": "index",
6
6
  "author": "Moncef Hammou <moncef@legalplace.fr>",
package/schema.json CHANGED
@@ -1413,16 +1413,6 @@
1413
1413
  "options": {
1414
1414
  "items": {
1415
1415
  "properties": {
1416
- "conditions": {
1417
- "allOf": [
1418
- {
1419
- "$ref": "#/definitions/CONDITION_OPERATOR"
1420
- },
1421
- {
1422
- "$ref": "#/definitions/CONDITION"
1423
- }
1424
- ]
1425
- },
1426
1416
  "id": {
1427
1417
  "type": "number"
1428
1418
  }
@@ -1501,15 +1491,31 @@
1501
1491
  "variables": {
1502
1492
  "items": {
1503
1493
  "properties": {
1504
- "conditions": {
1505
- "allOf": [
1506
- {
1507
- "$ref": "#/definitions/CONDITION_OPERATOR"
1494
+ "date": {
1495
+ "enum": [
1496
+ "AAAA",
1497
+ "DD",
1498
+ "MM"
1499
+ ],
1500
+ "type": "string"
1501
+ },
1502
+ "fragment": {
1503
+ "properties": {
1504
+ "from": {
1505
+ "type": "number"
1508
1506
  },
1509
- {
1510
- "$ref": "#/definitions/CONDITION"
1507
+ "to": {
1508
+ "type": "number"
1511
1509
  }
1512
- ]
1510
+ },
1511
+ "type": "object"
1512
+ },
1513
+ "hour": {
1514
+ "enum": [
1515
+ "HH",
1516
+ "MM"
1517
+ ],
1518
+ "type": "string"
1513
1519
  },
1514
1520
  "id": {
1515
1521
  "type": "number"