@remit/config-format 0.0.8 → 0.0.10
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/package.json +46 -46
- package/schema/reader-config.v2.schema.json +28 -28
- package/src/document.ts +1 -1
- package/src/envelope.ts +1 -1
- package/src/json-schema.ts +1 -1
- package/src/migrations.ts +1 -1
package/package.json
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
2
|
+
"name": "@remit/config-format",
|
|
3
|
+
"version": "0.0.10",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "src/index.ts",
|
|
6
|
+
"types": "src/index.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./src/index.ts",
|
|
10
|
+
"default": "./src/index.ts"
|
|
11
|
+
},
|
|
12
|
+
"./document": {
|
|
13
|
+
"types": "./src/document.ts",
|
|
14
|
+
"default": "./src/document.ts"
|
|
15
|
+
},
|
|
16
|
+
"./errors": {
|
|
17
|
+
"types": "./src/errors.ts",
|
|
18
|
+
"default": "./src/errors.ts"
|
|
19
|
+
},
|
|
20
|
+
"./read": {
|
|
21
|
+
"types": "./src/read.ts",
|
|
22
|
+
"default": "./src/read.ts"
|
|
23
|
+
},
|
|
24
|
+
"./json-schema": {
|
|
25
|
+
"types": "./src/json-schema.ts",
|
|
26
|
+
"default": "./src/json-schema.ts"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"schema:emit": "node --import tsx src/bin/emit-schema.ts",
|
|
31
|
+
"check:schema": "node --import tsx src/bin/check-schema.ts",
|
|
32
|
+
"test:typecheck": "tsgo --noEmit",
|
|
33
|
+
"test:run": "node $NODE_TEST_FLAGS --import tsx --experimental-test-coverage --test-coverage-include='src/**' --test-coverage-exclude='src/**/*.test.ts' --test-coverage-exclude='src/bin/**' --test-coverage-lines=95 --test 'src/**/*.test.ts' && npm run check:schema"
|
|
34
|
+
},
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public"
|
|
38
|
+
},
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "git+https://github.com/remit-mail/reader.git",
|
|
42
|
+
"directory": "packages/config-format"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@remit/domain-enums": "*",
|
|
46
|
+
"zod": "^4.6.7"
|
|
47
|
+
}
|
|
48
48
|
}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"const": 2
|
|
12
12
|
},
|
|
13
13
|
"generator": {
|
|
14
|
-
"description": "Which reader wrote this file, and when.",
|
|
15
14
|
"type": "object",
|
|
16
15
|
"properties": {
|
|
17
16
|
"app": {
|
|
@@ -25,7 +24,7 @@
|
|
|
25
24
|
"exportedAt": {
|
|
26
25
|
"type": "string",
|
|
27
26
|
"format": "date-time",
|
|
28
|
-
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d
|
|
27
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
29
28
|
}
|
|
30
29
|
},
|
|
31
30
|
"required": [
|
|
@@ -33,10 +32,10 @@
|
|
|
33
32
|
"version",
|
|
34
33
|
"exportedAt"
|
|
35
34
|
],
|
|
36
|
-
"additionalProperties": false
|
|
35
|
+
"additionalProperties": false,
|
|
36
|
+
"description": "Which reader wrote this file, and when."
|
|
37
37
|
},
|
|
38
38
|
"provenance": {
|
|
39
|
-
"description": "The instance this file was exported from. Never applied.",
|
|
40
39
|
"type": "object",
|
|
41
40
|
"properties": {
|
|
42
41
|
"accountConfigId": {
|
|
@@ -52,7 +51,8 @@
|
|
|
52
51
|
"accountConfigId",
|
|
53
52
|
"instance"
|
|
54
53
|
],
|
|
55
|
-
"additionalProperties": false
|
|
54
|
+
"additionalProperties": false,
|
|
55
|
+
"description": "The instance this file was exported from. Never applied."
|
|
56
56
|
},
|
|
57
57
|
"accountConfig": {
|
|
58
58
|
"type": "object",
|
|
@@ -190,10 +190,10 @@
|
|
|
190
190
|
"type": "boolean"
|
|
191
191
|
},
|
|
192
192
|
"setAt": {
|
|
193
|
-
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed.",
|
|
194
193
|
"type": "integer",
|
|
195
194
|
"minimum": -9007199254740991,
|
|
196
|
-
"maximum": 9007199254740991
|
|
195
|
+
"maximum": 9007199254740991,
|
|
196
|
+
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed."
|
|
197
197
|
},
|
|
198
198
|
"setBy": {
|
|
199
199
|
"type": "string"
|
|
@@ -294,10 +294,10 @@
|
|
|
294
294
|
"type": "boolean"
|
|
295
295
|
},
|
|
296
296
|
"setAt": {
|
|
297
|
-
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed.",
|
|
298
297
|
"type": "integer",
|
|
299
298
|
"minimum": -9007199254740991,
|
|
300
|
-
"maximum": 9007199254740991
|
|
299
|
+
"maximum": 9007199254740991,
|
|
300
|
+
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed."
|
|
301
301
|
},
|
|
302
302
|
"setBy": {
|
|
303
303
|
"type": "string"
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
{
|
|
415
415
|
"type": "string",
|
|
416
416
|
"format": "date-time",
|
|
417
|
-
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d
|
|
417
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
418
418
|
},
|
|
419
419
|
{
|
|
420
420
|
"type": "null"
|
|
@@ -531,10 +531,10 @@
|
|
|
531
531
|
"type": "boolean"
|
|
532
532
|
},
|
|
533
533
|
"setAt": {
|
|
534
|
-
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed.",
|
|
535
534
|
"type": "integer",
|
|
536
535
|
"minimum": -9007199254740991,
|
|
537
|
-
"maximum": 9007199254740991
|
|
536
|
+
"maximum": 9007199254740991,
|
|
537
|
+
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed."
|
|
538
538
|
},
|
|
539
539
|
"setBy": {
|
|
540
540
|
"type": "string"
|
|
@@ -561,10 +561,10 @@
|
|
|
561
561
|
"type": "boolean"
|
|
562
562
|
},
|
|
563
563
|
"setAt": {
|
|
564
|
-
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed.",
|
|
565
564
|
"type": "integer",
|
|
566
565
|
"minimum": -9007199254740991,
|
|
567
|
-
"maximum": 9007199254740991
|
|
566
|
+
"maximum": 9007199254740991,
|
|
567
|
+
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed."
|
|
568
568
|
},
|
|
569
569
|
"setBy": {
|
|
570
570
|
"type": "string"
|
|
@@ -591,10 +591,10 @@
|
|
|
591
591
|
"type": "boolean"
|
|
592
592
|
},
|
|
593
593
|
"setAt": {
|
|
594
|
-
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed.",
|
|
595
594
|
"type": "integer",
|
|
596
595
|
"minimum": -9007199254740991,
|
|
597
|
-
"maximum": 9007199254740991
|
|
596
|
+
"maximum": 9007199254740991,
|
|
597
|
+
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed."
|
|
598
598
|
},
|
|
599
599
|
"setBy": {
|
|
600
600
|
"type": "string"
|
|
@@ -621,10 +621,10 @@
|
|
|
621
621
|
"type": "boolean"
|
|
622
622
|
},
|
|
623
623
|
"setAt": {
|
|
624
|
-
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed.",
|
|
625
624
|
"type": "integer",
|
|
626
625
|
"minimum": -9007199254740991,
|
|
627
|
-
"maximum": 9007199254740991
|
|
626
|
+
"maximum": 9007199254740991,
|
|
627
|
+
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed."
|
|
628
628
|
},
|
|
629
629
|
"setBy": {
|
|
630
630
|
"type": "string"
|
|
@@ -651,10 +651,10 @@
|
|
|
651
651
|
"type": "boolean"
|
|
652
652
|
},
|
|
653
653
|
"setAt": {
|
|
654
|
-
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed.",
|
|
655
654
|
"type": "integer",
|
|
656
655
|
"minimum": -9007199254740991,
|
|
657
|
-
"maximum": 9007199254740991
|
|
656
|
+
"maximum": 9007199254740991,
|
|
657
|
+
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed."
|
|
658
658
|
},
|
|
659
659
|
"setBy": {
|
|
660
660
|
"type": "string"
|
|
@@ -690,10 +690,10 @@
|
|
|
690
690
|
]
|
|
691
691
|
},
|
|
692
692
|
"setAt": {
|
|
693
|
-
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed.",
|
|
694
693
|
"type": "integer",
|
|
695
694
|
"minimum": -9007199254740991,
|
|
696
|
-
"maximum": 9007199254740991
|
|
695
|
+
"maximum": 9007199254740991,
|
|
696
|
+
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed."
|
|
697
697
|
},
|
|
698
698
|
"setBy": {
|
|
699
699
|
"type": "string"
|
|
@@ -720,10 +720,10 @@
|
|
|
720
720
|
"type": "boolean"
|
|
721
721
|
},
|
|
722
722
|
"setAt": {
|
|
723
|
-
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed.",
|
|
724
723
|
"type": "integer",
|
|
725
724
|
"minimum": -9007199254740991,
|
|
726
|
-
"maximum": 9007199254740991
|
|
725
|
+
"maximum": 9007199254740991,
|
|
726
|
+
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed."
|
|
727
727
|
},
|
|
728
728
|
"setBy": {
|
|
729
729
|
"type": "string"
|
|
@@ -750,10 +750,10 @@
|
|
|
750
750
|
"type": "boolean"
|
|
751
751
|
},
|
|
752
752
|
"setAt": {
|
|
753
|
-
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed.",
|
|
754
753
|
"type": "integer",
|
|
755
754
|
"minimum": -9007199254740991,
|
|
756
|
-
"maximum": 9007199254740991
|
|
755
|
+
"maximum": 9007199254740991,
|
|
756
|
+
"description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed."
|
|
757
757
|
},
|
|
758
758
|
"setBy": {
|
|
759
759
|
"type": "string"
|
|
@@ -802,10 +802,10 @@
|
|
|
802
802
|
"additionalProperties": false
|
|
803
803
|
},
|
|
804
804
|
"messageDecisions": {
|
|
805
|
-
"description": "Reserved for a later schema version; must be empty in v1.",
|
|
806
805
|
"maxItems": 0,
|
|
807
806
|
"type": "array",
|
|
808
|
-
"items": {}
|
|
807
|
+
"items": {},
|
|
808
|
+
"description": "Reserved for a later schema version; must be empty in v1."
|
|
809
809
|
}
|
|
810
810
|
},
|
|
811
811
|
"required": [
|
package/src/document.ts
CHANGED
package/src/envelope.ts
CHANGED
package/src/json-schema.ts
CHANGED
package/src/migrations.ts
CHANGED