@revisium/schema-toolkit 0.14.3 → 0.16.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 (90) hide show
  1. package/README.md +1 -1
  2. package/dist/FormulaValidator-CKE2kT4C.d.cts +10 -0
  3. package/dist/FormulaValidator-DGGmwqDQ.d.ts +10 -0
  4. package/dist/{chunk-DJ4JPKI4.js → chunk-2NRQPOQY.js} +126 -218
  5. package/dist/chunk-2NRQPOQY.js.map +1 -0
  6. package/dist/chunk-3IKI64T2.js +3 -0
  7. package/dist/{chunk-H7W4QNMA.js.map → chunk-3IKI64T2.js.map} +1 -1
  8. package/dist/{chunk-L5MLJEC7.js → chunk-CYTPQYVM.js} +2 -2
  9. package/dist/chunk-CYTPQYVM.js.map +1 -0
  10. package/dist/{chunk-B22UU3JK.cjs → chunk-GAPLSVZN.cjs} +2 -2
  11. package/dist/chunk-GAPLSVZN.cjs.map +1 -0
  12. package/dist/chunk-IWRV6QAD.cjs +2621 -0
  13. package/dist/chunk-IWRV6QAD.cjs.map +1 -0
  14. package/dist/chunk-LF6CGXRQ.js +2289 -0
  15. package/dist/chunk-LF6CGXRQ.js.map +1 -0
  16. package/dist/chunk-OR2I3XOQ.cjs +2320 -0
  17. package/dist/chunk-OR2I3XOQ.cjs.map +1 -0
  18. package/dist/chunk-S7GEDTSL.js +2569 -0
  19. package/dist/chunk-S7GEDTSL.js.map +1 -0
  20. package/dist/chunk-TBFTADML.cjs +4 -0
  21. package/dist/{chunk-ODCH3PP2.cjs.map → chunk-TBFTADML.cjs.map} +1 -1
  22. package/dist/chunk-WSPFHUHU.cjs +130 -0
  23. package/dist/chunk-WSPFHUHU.cjs.map +1 -0
  24. package/dist/{chunk-VX5C5YMF.cjs → chunk-XS47N22X.cjs} +125 -218
  25. package/dist/chunk-XS47N22X.cjs.map +1 -0
  26. package/dist/chunk-YFWOURZL.js +128 -0
  27. package/dist/chunk-YFWOURZL.js.map +1 -0
  28. package/dist/{chunk-KJCURW4D.js → chunk-ZBPUTF3Q.js} +3 -3
  29. package/dist/chunk-ZBPUTF3Q.js.map +1 -0
  30. package/dist/{chunk-GF3XXYOS.cjs → chunk-ZRNFSUOV.cjs} +3 -3
  31. package/dist/chunk-ZRNFSUOV.cjs.map +1 -0
  32. package/dist/computeValueDiff-CDwbNw8F.d.ts +5 -0
  33. package/dist/computeValueDiff-CNT84rwK.d.cts +5 -0
  34. package/dist/core/index.cjs +231 -0
  35. package/dist/core/index.cjs.map +1 -0
  36. package/dist/core/index.d.cts +314 -0
  37. package/dist/core/index.d.ts +314 -0
  38. package/dist/core/index.js +29 -0
  39. package/dist/core/index.js.map +1 -0
  40. package/dist/formula/index.d.cts +1 -1
  41. package/dist/formula/index.d.ts +1 -1
  42. package/dist/index.cjs +182 -44
  43. package/dist/index.d.cts +13 -8
  44. package/dist/index.d.ts +13 -8
  45. package/dist/index.js +7 -5
  46. package/dist/{json-patch.types-CYt9TCu3.d.ts → json-patch.types-DTUHS9SV.d.ts} +1 -1
  47. package/dist/{json-patch.types-DUcWbQRY.d.cts → json-patch.types-eltVqnWC.d.cts} +1 -1
  48. package/dist/{json-string.store-CcZ197KO.d.cts → json-string.store-DKlkc1u_.d.cts} +1 -1
  49. package/dist/{json-string.store-DckDcMVN.d.ts → json-string.store-DMrHPJ3v.d.ts} +1 -1
  50. package/dist/json-value-patch.types-CjBpq5VF.d.cts +24 -0
  51. package/dist/json-value-patch.types-U2y_ugm1.d.ts +24 -0
  52. package/dist/lib/index.cjs +40 -39
  53. package/dist/lib/index.d.cts +6 -7
  54. package/dist/lib/index.d.ts +6 -7
  55. package/dist/lib/index.js +4 -3
  56. package/dist/mocks/index.cjs +1 -1
  57. package/dist/mocks/index.d.cts +2 -2
  58. package/dist/mocks/index.d.ts +2 -2
  59. package/dist/mocks/index.js +1 -1
  60. package/dist/model/index.cjs +125 -2
  61. package/dist/model/index.d.cts +596 -4
  62. package/dist/model/index.d.ts +596 -4
  63. package/dist/model/index.js +5 -2
  64. package/dist/plugins/index.cjs +1 -1
  65. package/dist/plugins/index.d.cts +25 -1
  66. package/dist/plugins/index.d.ts +25 -1
  67. package/dist/plugins/index.js +1 -1
  68. package/dist/{schema.types-CLHMJmkJ.d.cts → schema.types-ZX5fUW1X.d.cts} +6 -0
  69. package/dist/{schema.types-CLHMJmkJ.d.ts → schema.types-ZX5fUW1X.d.ts} +6 -0
  70. package/dist/types/index.cjs +5 -5
  71. package/dist/types/index.d.cts +8 -29
  72. package/dist/types/index.d.ts +8 -29
  73. package/dist/types/index.js +3 -3
  74. package/dist/{value-diff.types-BRoI_kGE.d.cts → types-C_GxaUve.d.cts} +4 -4
  75. package/dist/{value-diff.types-BRoI_kGE.d.ts → types-C_GxaUve.d.ts} +4 -4
  76. package/dist/types-Cnfj5nLO.d.ts +198 -0
  77. package/dist/types-DMzUCve0.d.cts +198 -0
  78. package/package.json +14 -1
  79. package/dist/chunk-B22UU3JK.cjs.map +0 -1
  80. package/dist/chunk-DJ4JPKI4.js.map +0 -1
  81. package/dist/chunk-GF3XXYOS.cjs.map +0 -1
  82. package/dist/chunk-H7W4QNMA.js +0 -3
  83. package/dist/chunk-KJCURW4D.js.map +0 -1
  84. package/dist/chunk-L5MLJEC7.js.map +0 -1
  85. package/dist/chunk-ODCH3PP2.cjs +0 -4
  86. package/dist/chunk-SBJFTOWW.js +0 -3
  87. package/dist/chunk-SBJFTOWW.js.map +0 -1
  88. package/dist/chunk-VX5C5YMF.cjs.map +0 -1
  89. package/dist/chunk-XAFOMEOK.cjs +0 -4
  90. package/dist/chunk-XAFOMEOK.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { b as JsonStringSchema, J as JsonSchemaTypeName, X as XFormula, f as JsonObjectSchema, i as JsonSchema } from '../schema.types-CLHMJmkJ.cjs';
1
+ import { b as JsonStringSchema, J as JsonSchemaTypeName, X as XFormula, f as JsonObjectSchema, i as JsonSchema } from '../schema.types-ZX5fUW1X.cjs';
2
2
  import { S as SystemSchemaIds } from '../system-schema-ids-B-2xMN-1.cjs';
3
3
 
4
4
  declare const rowIdSchema: JsonStringSchema;
@@ -7,12 +7,15 @@ declare const ajvRowIdSchema: {
7
7
  default: string;
8
8
  foreignKey?: string;
9
9
  readOnly?: boolean;
10
+ required?: boolean;
10
11
  title?: string;
11
12
  description?: string;
12
13
  deprecated?: boolean;
13
14
  pattern?: string;
14
15
  format?: "date-time" | "date" | "time" | "email" | "regex";
15
16
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
17
+ minLength?: number;
18
+ maxLength?: number;
16
19
  enum?: string[];
17
20
  'x-formula'?: XFormula;
18
21
  $id: SystemSchemaIds;
@@ -24,12 +27,15 @@ declare const ajvRowVersionIdSchema: {
24
27
  default: string;
25
28
  foreignKey?: string;
26
29
  readOnly?: boolean;
30
+ required?: boolean;
27
31
  title?: string;
28
32
  description?: string;
29
33
  deprecated?: boolean;
30
34
  pattern?: string;
31
35
  format?: "date-time" | "date" | "time" | "email" | "regex";
32
36
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
37
+ minLength?: number;
38
+ maxLength?: number;
33
39
  enum?: string[];
34
40
  'x-formula'?: XFormula;
35
41
  $id: SystemSchemaIds;
@@ -41,12 +47,15 @@ declare const ajvRowCreatedIdSchema: {
41
47
  default: string;
42
48
  foreignKey?: string;
43
49
  readOnly?: boolean;
50
+ required?: boolean;
44
51
  title?: string;
45
52
  description?: string;
46
53
  deprecated?: boolean;
47
54
  pattern?: string;
48
55
  format?: "date-time" | "date" | "time" | "email" | "regex";
49
56
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
57
+ minLength?: number;
58
+ maxLength?: number;
50
59
  enum?: string[];
51
60
  'x-formula'?: XFormula;
52
61
  $id: SystemSchemaIds;
@@ -58,12 +67,15 @@ declare const ajvRowCreatedAtSchema: {
58
67
  default: string;
59
68
  foreignKey?: string;
60
69
  readOnly?: boolean;
70
+ required?: boolean;
61
71
  title?: string;
62
72
  description?: string;
63
73
  deprecated?: boolean;
64
74
  pattern?: string;
65
75
  format?: "date-time" | "date" | "time" | "email" | "regex";
66
76
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
77
+ minLength?: number;
78
+ maxLength?: number;
67
79
  enum?: string[];
68
80
  'x-formula'?: XFormula;
69
81
  $id: SystemSchemaIds;
@@ -75,12 +87,15 @@ declare const ajvRowPublishedAtSchema: {
75
87
  default: string;
76
88
  foreignKey?: string;
77
89
  readOnly?: boolean;
90
+ required?: boolean;
78
91
  title?: string;
79
92
  description?: string;
80
93
  deprecated?: boolean;
81
94
  pattern?: string;
82
95
  format?: "date-time" | "date" | "time" | "email" | "regex";
83
96
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
97
+ minLength?: number;
98
+ maxLength?: number;
84
99
  enum?: string[];
85
100
  'x-formula'?: XFormula;
86
101
  $id: SystemSchemaIds;
@@ -92,12 +107,15 @@ declare const ajvRowUpdatedAtSchema: {
92
107
  default: string;
93
108
  foreignKey?: string;
94
109
  readOnly?: boolean;
110
+ required?: boolean;
95
111
  title?: string;
96
112
  description?: string;
97
113
  deprecated?: boolean;
98
114
  pattern?: string;
99
115
  format?: "date-time" | "date" | "time" | "email" | "regex";
100
116
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
117
+ minLength?: number;
118
+ maxLength?: number;
101
119
  enum?: string[];
102
120
  'x-formula'?: XFormula;
103
121
  $id: SystemSchemaIds;
@@ -109,12 +127,15 @@ declare const ajvRowHashSchema: {
109
127
  default: string;
110
128
  foreignKey?: string;
111
129
  readOnly?: boolean;
130
+ required?: boolean;
112
131
  title?: string;
113
132
  description?: string;
114
133
  deprecated?: boolean;
115
134
  pattern?: string;
116
135
  format?: "date-time" | "date" | "time" | "email" | "regex";
117
136
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
137
+ minLength?: number;
138
+ maxLength?: number;
118
139
  enum?: string[];
119
140
  'x-formula'?: XFormula;
120
141
  $id: SystemSchemaIds;
@@ -126,12 +147,15 @@ declare const ajvRowSchemaHashSchema: {
126
147
  default: string;
127
148
  foreignKey?: string;
128
149
  readOnly?: boolean;
150
+ required?: boolean;
129
151
  title?: string;
130
152
  description?: string;
131
153
  deprecated?: boolean;
132
154
  pattern?: string;
133
155
  format?: "date-time" | "date" | "time" | "email" | "regex";
134
156
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
157
+ minLength?: number;
158
+ maxLength?: number;
135
159
  enum?: string[];
136
160
  'x-formula'?: XFormula;
137
161
  $id: SystemSchemaIds;
@@ -1,4 +1,4 @@
1
- import { b as JsonStringSchema, J as JsonSchemaTypeName, X as XFormula, f as JsonObjectSchema, i as JsonSchema } from '../schema.types-CLHMJmkJ.js';
1
+ import { b as JsonStringSchema, J as JsonSchemaTypeName, X as XFormula, f as JsonObjectSchema, i as JsonSchema } from '../schema.types-ZX5fUW1X.js';
2
2
  import { S as SystemSchemaIds } from '../system-schema-ids-B-2xMN-1.js';
3
3
 
4
4
  declare const rowIdSchema: JsonStringSchema;
@@ -7,12 +7,15 @@ declare const ajvRowIdSchema: {
7
7
  default: string;
8
8
  foreignKey?: string;
9
9
  readOnly?: boolean;
10
+ required?: boolean;
10
11
  title?: string;
11
12
  description?: string;
12
13
  deprecated?: boolean;
13
14
  pattern?: string;
14
15
  format?: "date-time" | "date" | "time" | "email" | "regex";
15
16
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
17
+ minLength?: number;
18
+ maxLength?: number;
16
19
  enum?: string[];
17
20
  'x-formula'?: XFormula;
18
21
  $id: SystemSchemaIds;
@@ -24,12 +27,15 @@ declare const ajvRowVersionIdSchema: {
24
27
  default: string;
25
28
  foreignKey?: string;
26
29
  readOnly?: boolean;
30
+ required?: boolean;
27
31
  title?: string;
28
32
  description?: string;
29
33
  deprecated?: boolean;
30
34
  pattern?: string;
31
35
  format?: "date-time" | "date" | "time" | "email" | "regex";
32
36
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
37
+ minLength?: number;
38
+ maxLength?: number;
33
39
  enum?: string[];
34
40
  'x-formula'?: XFormula;
35
41
  $id: SystemSchemaIds;
@@ -41,12 +47,15 @@ declare const ajvRowCreatedIdSchema: {
41
47
  default: string;
42
48
  foreignKey?: string;
43
49
  readOnly?: boolean;
50
+ required?: boolean;
44
51
  title?: string;
45
52
  description?: string;
46
53
  deprecated?: boolean;
47
54
  pattern?: string;
48
55
  format?: "date-time" | "date" | "time" | "email" | "regex";
49
56
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
57
+ minLength?: number;
58
+ maxLength?: number;
50
59
  enum?: string[];
51
60
  'x-formula'?: XFormula;
52
61
  $id: SystemSchemaIds;
@@ -58,12 +67,15 @@ declare const ajvRowCreatedAtSchema: {
58
67
  default: string;
59
68
  foreignKey?: string;
60
69
  readOnly?: boolean;
70
+ required?: boolean;
61
71
  title?: string;
62
72
  description?: string;
63
73
  deprecated?: boolean;
64
74
  pattern?: string;
65
75
  format?: "date-time" | "date" | "time" | "email" | "regex";
66
76
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
77
+ minLength?: number;
78
+ maxLength?: number;
67
79
  enum?: string[];
68
80
  'x-formula'?: XFormula;
69
81
  $id: SystemSchemaIds;
@@ -75,12 +87,15 @@ declare const ajvRowPublishedAtSchema: {
75
87
  default: string;
76
88
  foreignKey?: string;
77
89
  readOnly?: boolean;
90
+ required?: boolean;
78
91
  title?: string;
79
92
  description?: string;
80
93
  deprecated?: boolean;
81
94
  pattern?: string;
82
95
  format?: "date-time" | "date" | "time" | "email" | "regex";
83
96
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
97
+ minLength?: number;
98
+ maxLength?: number;
84
99
  enum?: string[];
85
100
  'x-formula'?: XFormula;
86
101
  $id: SystemSchemaIds;
@@ -92,12 +107,15 @@ declare const ajvRowUpdatedAtSchema: {
92
107
  default: string;
93
108
  foreignKey?: string;
94
109
  readOnly?: boolean;
110
+ required?: boolean;
95
111
  title?: string;
96
112
  description?: string;
97
113
  deprecated?: boolean;
98
114
  pattern?: string;
99
115
  format?: "date-time" | "date" | "time" | "email" | "regex";
100
116
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
117
+ minLength?: number;
118
+ maxLength?: number;
101
119
  enum?: string[];
102
120
  'x-formula'?: XFormula;
103
121
  $id: SystemSchemaIds;
@@ -109,12 +127,15 @@ declare const ajvRowHashSchema: {
109
127
  default: string;
110
128
  foreignKey?: string;
111
129
  readOnly?: boolean;
130
+ required?: boolean;
112
131
  title?: string;
113
132
  description?: string;
114
133
  deprecated?: boolean;
115
134
  pattern?: string;
116
135
  format?: "date-time" | "date" | "time" | "email" | "regex";
117
136
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
137
+ minLength?: number;
138
+ maxLength?: number;
118
139
  enum?: string[];
119
140
  'x-formula'?: XFormula;
120
141
  $id: SystemSchemaIds;
@@ -126,12 +147,15 @@ declare const ajvRowSchemaHashSchema: {
126
147
  default: string;
127
148
  foreignKey?: string;
128
149
  readOnly?: boolean;
150
+ required?: boolean;
129
151
  title?: string;
130
152
  description?: string;
131
153
  deprecated?: boolean;
132
154
  pattern?: string;
133
155
  format?: "date-time" | "date" | "time" | "email" | "regex";
134
156
  contentMediaType?: "text/plain" | "text/markdown" | "text/html" | "application/json" | "application/schema+json" | "application/yaml";
157
+ minLength?: number;
158
+ maxLength?: number;
135
159
  enum?: string[];
136
160
  'x-formula'?: XFormula;
137
161
  $id: SystemSchemaIds;
@@ -1,5 +1,5 @@
1
1
  export { ajvFileSchema, ajvRowCreatedAtSchema, ajvRowCreatedIdSchema, ajvRowHashSchema, ajvRowIdSchema, ajvRowPublishedAtSchema, ajvRowSchemaHashSchema, ajvRowUpdatedAtSchema, ajvRowVersionIdSchema, fileSchema, rowCreatedAtSchema, rowCreatedIdSchema, rowHashSchema, rowIdSchema, rowPublishedAtSchema, rowSchemaHashSchema, rowUpdatedAtSchema, rowVersionIdSchema } from '../chunk-LLHQWDAR.js';
2
2
  import '../chunk-Q2UOTIMG.js';
3
- import '../chunk-L5MLJEC7.js';
3
+ import '../chunk-CYTPQYVM.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -19,12 +19,15 @@ type JsonStringSchema = {
19
19
  default: string;
20
20
  foreignKey?: string;
21
21
  readOnly?: boolean;
22
+ required?: boolean;
22
23
  title?: string;
23
24
  description?: string;
24
25
  deprecated?: boolean;
25
26
  pattern?: string;
26
27
  format?: 'date-time' | 'date' | 'time' | 'email' | 'regex';
27
28
  contentMediaType?: 'text/plain' | 'text/markdown' | 'text/html' | 'application/json' | 'application/schema+json' | 'application/yaml';
29
+ minLength?: number;
30
+ maxLength?: number;
28
31
  enum?: string[];
29
32
  'x-formula'?: XFormula;
30
33
  } & JsonSchemaSharedFields;
@@ -35,6 +38,9 @@ type JsonNumberSchema = {
35
38
  title?: string;
36
39
  description?: string;
37
40
  deprecated?: boolean;
41
+ minimum?: number;
42
+ maximum?: number;
43
+ enum?: number[];
38
44
  'x-formula'?: XFormula;
39
45
  } & JsonSchemaSharedFields;
40
46
  type JsonBooleanSchema = {
@@ -19,12 +19,15 @@ type JsonStringSchema = {
19
19
  default: string;
20
20
  foreignKey?: string;
21
21
  readOnly?: boolean;
22
+ required?: boolean;
22
23
  title?: string;
23
24
  description?: string;
24
25
  deprecated?: boolean;
25
26
  pattern?: string;
26
27
  format?: 'date-time' | 'date' | 'time' | 'email' | 'regex';
27
28
  contentMediaType?: 'text/plain' | 'text/markdown' | 'text/html' | 'application/json' | 'application/schema+json' | 'application/yaml';
29
+ minLength?: number;
30
+ maxLength?: number;
28
31
  enum?: string[];
29
32
  'x-formula'?: XFormula;
30
33
  } & JsonSchemaSharedFields;
@@ -35,6 +38,9 @@ type JsonNumberSchema = {
35
38
  title?: string;
36
39
  description?: string;
37
40
  deprecated?: boolean;
41
+ minimum?: number;
42
+ maximum?: number;
43
+ enum?: number[];
38
44
  'x-formula'?: XFormula;
39
45
  } & JsonSchemaSharedFields;
40
46
  type JsonBooleanSchema = {
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- require('../chunk-XAFOMEOK.cjs');
4
- var chunkGF3XXYOS_cjs = require('../chunk-GF3XXYOS.cjs');
5
- var chunkB22UU3JK_cjs = require('../chunk-B22UU3JK.cjs');
3
+ require('../chunk-TBFTADML.cjs');
4
+ var chunkZRNFSUOV_cjs = require('../chunk-ZRNFSUOV.cjs');
5
+ var chunkGAPLSVZN_cjs = require('../chunk-GAPLSVZN.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "FieldChangeType", {
10
10
  enumerable: true,
11
- get: function () { return chunkGF3XXYOS_cjs.FieldChangeType; }
11
+ get: function () { return chunkZRNFSUOV_cjs.FieldChangeType; }
12
12
  });
13
13
  Object.defineProperty(exports, "JsonSchemaTypeName", {
14
14
  enumerable: true,
15
- get: function () { return chunkB22UU3JK_cjs.JsonSchemaTypeName; }
15
+ get: function () { return chunkGAPLSVZN_cjs.JsonSchemaTypeName; }
16
16
  });
17
17
  //# sourceMappingURL=index.cjs.map
18
18
  //# sourceMappingURL=index.cjs.map
@@ -1,31 +1,10 @@
1
- import { c as JsonValue } from '../json.types-46Cq-WxU.cjs';
2
- export { b as JsonArray, J as JsonObject, a as JsonPrimitives } from '../json.types-46Cq-WxU.cjs';
3
- import { h as JsonPatch } from '../json-patch.types-DUcWbQRY.cjs';
4
- export { g as JsonPatchAdd, c as JsonPatchAddOperation, d as JsonPatchMove, J as JsonPatchMoveOperation, f as JsonPatchRemove, b as JsonPatchRemoveOperation, e as JsonPatchReplace, a as JsonPatchReplaceOperation } from '../json-patch.types-DUcWbQRY.cjs';
5
- import { i as JsonSchema } from '../schema.types-CLHMJmkJ.cjs';
6
- export { g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema, X as XFormula } from '../schema.types-CLHMJmkJ.cjs';
7
- export { a as FieldChange, F as FieldChangeType } from '../value-diff.types-BRoI_kGE.cjs';
8
-
9
- type JsonValuePatchMove = {
10
- op: 'move';
11
- from: string;
12
- path: string;
13
- };
14
- type JsonValuePatchReplace = {
15
- op: 'replace';
16
- path: string;
17
- value: JsonValue;
18
- };
19
- type JsonValuePatchRemove = {
20
- op: 'remove';
21
- path: string;
22
- };
23
- type JsonValuePatchAdd = {
24
- op: 'add';
25
- path: string;
26
- value: JsonValue;
27
- };
28
- type JsonValuePatch = JsonValuePatchMove | JsonValuePatchReplace | JsonValuePatchRemove | JsonValuePatchAdd;
1
+ export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from '../json.types-46Cq-WxU.cjs';
2
+ import { h as JsonPatch } from '../json-patch.types-eltVqnWC.cjs';
3
+ export { g as JsonPatchAdd, c as JsonPatchAddOperation, d as JsonPatchMove, J as JsonPatchMoveOperation, f as JsonPatchRemove, b as JsonPatchRemoveOperation, e as JsonPatchReplace, a as JsonPatchReplaceOperation } from '../json-patch.types-eltVqnWC.cjs';
4
+ export { d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace } from '../json-value-patch.types-CjBpq5VF.cjs';
5
+ import { i as JsonSchema } from '../schema.types-ZX5fUW1X.cjs';
6
+ export { g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema, X as XFormula } from '../schema.types-ZX5fUW1X.cjs';
7
+ export { a as FieldChange, F as FieldChangeType } from '../types-C_GxaUve.cjs';
29
8
 
30
9
  type UpdateMigration = {
31
10
  changeType: 'update';
@@ -54,4 +33,4 @@ type InitMigration = {
54
33
  };
55
34
  type Migration = InitMigration | UpdateMigration | RenameMigration | RemoveMigration;
56
35
 
57
- export { type InitMigration, JsonPatch, JsonSchema, JsonValue, type JsonValuePatch, type JsonValuePatchAdd, type JsonValuePatchMove, type JsonValuePatchRemove, type JsonValuePatchReplace, type Migration, type RemoveMigration, type RenameMigration, type UpdateMigration };
36
+ export { type InitMigration, JsonPatch, JsonSchema, type Migration, type RemoveMigration, type RenameMigration, type UpdateMigration };
@@ -1,31 +1,10 @@
1
- import { c as JsonValue } from '../json.types-46Cq-WxU.js';
2
- export { b as JsonArray, J as JsonObject, a as JsonPrimitives } from '../json.types-46Cq-WxU.js';
3
- import { h as JsonPatch } from '../json-patch.types-CYt9TCu3.js';
4
- export { g as JsonPatchAdd, c as JsonPatchAddOperation, d as JsonPatchMove, J as JsonPatchMoveOperation, f as JsonPatchRemove, b as JsonPatchRemoveOperation, e as JsonPatchReplace, a as JsonPatchReplaceOperation } from '../json-patch.types-CYt9TCu3.js';
5
- import { i as JsonSchema } from '../schema.types-CLHMJmkJ.js';
6
- export { g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema, X as XFormula } from '../schema.types-CLHMJmkJ.js';
7
- export { a as FieldChange, F as FieldChangeType } from '../value-diff.types-BRoI_kGE.js';
8
-
9
- type JsonValuePatchMove = {
10
- op: 'move';
11
- from: string;
12
- path: string;
13
- };
14
- type JsonValuePatchReplace = {
15
- op: 'replace';
16
- path: string;
17
- value: JsonValue;
18
- };
19
- type JsonValuePatchRemove = {
20
- op: 'remove';
21
- path: string;
22
- };
23
- type JsonValuePatchAdd = {
24
- op: 'add';
25
- path: string;
26
- value: JsonValue;
27
- };
28
- type JsonValuePatch = JsonValuePatchMove | JsonValuePatchReplace | JsonValuePatchRemove | JsonValuePatchAdd;
1
+ export { b as JsonArray, J as JsonObject, a as JsonPrimitives, c as JsonValue } from '../json.types-46Cq-WxU.js';
2
+ import { h as JsonPatch } from '../json-patch.types-DTUHS9SV.js';
3
+ export { g as JsonPatchAdd, c as JsonPatchAddOperation, d as JsonPatchMove, J as JsonPatchMoveOperation, f as JsonPatchRemove, b as JsonPatchRemoveOperation, e as JsonPatchReplace, a as JsonPatchReplaceOperation } from '../json-patch.types-DTUHS9SV.js';
4
+ export { d as JsonValuePatch, c as JsonValuePatchAdd, J as JsonValuePatchMove, b as JsonValuePatchRemove, a as JsonValuePatchReplace } from '../json-value-patch.types-U2y_ugm1.js';
5
+ import { i as JsonSchema } from '../schema.types-ZX5fUW1X.js';
6
+ export { g as JsonArraySchema, d as JsonBooleanSchema, c as JsonNumberSchema, f as JsonObjectSchema, h as JsonRefSchema, e as JsonSchemaPrimitives, a as JsonSchemaSharedFields, J as JsonSchemaTypeName, j as JsonSchemaWithoutRef, b as JsonStringSchema, X as XFormula } from '../schema.types-ZX5fUW1X.js';
7
+ export { a as FieldChange, F as FieldChangeType } from '../types-C_GxaUve.js';
29
8
 
30
9
  type UpdateMigration = {
31
10
  changeType: 'update';
@@ -54,4 +33,4 @@ type InitMigration = {
54
33
  };
55
34
  type Migration = InitMigration | UpdateMigration | RenameMigration | RemoveMigration;
56
35
 
57
- export { type InitMigration, JsonPatch, JsonSchema, JsonValue, type JsonValuePatch, type JsonValuePatchAdd, type JsonValuePatchMove, type JsonValuePatchRemove, type JsonValuePatchReplace, type Migration, type RemoveMigration, type RenameMigration, type UpdateMigration };
36
+ export { type InitMigration, JsonPatch, JsonSchema, type Migration, type RemoveMigration, type RenameMigration, type UpdateMigration };
@@ -1,5 +1,5 @@
1
- import '../chunk-SBJFTOWW.js';
2
- export { FieldChangeType } from '../chunk-KJCURW4D.js';
3
- export { JsonSchemaTypeName } from '../chunk-L5MLJEC7.js';
1
+ import '../chunk-3IKI64T2.js';
2
+ export { FieldChangeType } from '../chunk-ZBPUTF3Q.js';
3
+ export { JsonSchemaTypeName } from '../chunk-CYTPQYVM.js';
4
4
  //# sourceMappingURL=index.js.map
5
5
  //# sourceMappingURL=index.js.map
@@ -4,10 +4,10 @@ declare enum FieldChangeType {
4
4
  Modified = "MODIFIED"
5
5
  }
6
6
  interface FieldChange {
7
- path: string;
8
- oldValue: unknown;
9
- newValue: unknown;
10
- changeType: FieldChangeType;
7
+ readonly path: string;
8
+ readonly oldValue: unknown;
9
+ readonly newValue: unknown;
10
+ readonly changeType: FieldChangeType;
11
11
  }
12
12
 
13
13
  export { FieldChangeType as F, type FieldChange as a };
@@ -4,10 +4,10 @@ declare enum FieldChangeType {
4
4
  Modified = "MODIFIED"
5
5
  }
6
6
  interface FieldChange {
7
- path: string;
8
- oldValue: unknown;
9
- newValue: unknown;
10
- changeType: FieldChangeType;
7
+ readonly path: string;
8
+ readonly oldValue: unknown;
9
+ readonly newValue: unknown;
10
+ readonly changeType: FieldChangeType;
11
11
  }
12
12
 
13
13
  export { FieldChangeType as F, type FieldChange as a };