@dvsa/cvs-type-definitions 6.1.0 → 6.2.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.
@@ -139,14 +139,9 @@
139
139
  "maxLength": 1024
140
140
  },
141
141
  "createdAtDate": {
142
- "anyOf": [
143
- {
144
- "type": "string",
145
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
146
- },
147
- {
148
- "type": "null"
149
- }
142
+ "type": [
143
+ "string",
144
+ "null"
150
145
  ]
151
146
  },
152
147
  "lastUpdatedBy": {
@@ -109,14 +109,9 @@
109
109
  "maxLength": 1024
110
110
  },
111
111
  "createdAtDate": {
112
- "anyOf": [
113
- {
114
- "type": "string",
115
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
116
- },
117
- {
118
- "type": "null"
119
- }
112
+ "type": [
113
+ "string",
114
+ "null"
120
115
  ]
121
116
  },
122
117
  "lastUpdatedBy": {
@@ -113,14 +113,9 @@
113
113
  "maxLength": 1024
114
114
  },
115
115
  "createdAtDate": {
116
- "anyOf": [
117
- {
118
- "type": "string",
119
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
120
- },
121
- {
122
- "type": "null"
123
- }
116
+ "type": [
117
+ "string",
118
+ "null"
124
119
  ]
125
120
  },
126
121
  "lastUpdatedBy": {
@@ -144,14 +144,9 @@
144
144
  "maxLength": 1024
145
145
  },
146
146
  "createdAtDate": {
147
- "anyOf": [
148
- {
149
- "type": "string",
150
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
151
- },
152
- {
153
- "type": "null"
154
- }
147
+ "type": [
148
+ "string",
149
+ "null"
155
150
  ]
156
151
  },
157
152
  "lastUpdatedBy": {
@@ -141,14 +141,9 @@
141
141
  "maxLength": 1024
142
142
  },
143
143
  "createdAtDate": {
144
- "anyOf": [
145
- {
146
- "type": "string",
147
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
148
- },
149
- {
150
- "type": "null"
151
- }
144
+ "type": [
145
+ "string",
146
+ "null"
152
147
  ]
153
148
  },
154
149
  "lastUpdatedBy": {
@@ -121,14 +121,9 @@
121
121
  "maxLength": 1024
122
122
  },
123
123
  "createdAtDate": {
124
- "anyOf": [
125
- {
126
- "type": "string",
127
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
128
- },
129
- {
130
- "type": "null"
131
- }
124
+ "type": [
125
+ "string",
126
+ "null"
132
127
  ]
133
128
  },
134
129
  "lastUpdatedBy": {
@@ -101,14 +101,9 @@
101
101
  "maxLength": 1024
102
102
  },
103
103
  "createdAtDate": {
104
- "anyOf": [
105
- {
106
- "type": "string",
107
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
108
- },
109
- {
110
- "type": "null"
111
- }
104
+ "type": [
105
+ "string",
106
+ "null"
112
107
  ]
113
108
  },
114
109
  "lastUpdatedBy": {
@@ -103,14 +103,9 @@
103
103
  "maxLength": 1024
104
104
  },
105
105
  "createdAtDate": {
106
- "anyOf": [
107
- {
108
- "type": "string",
109
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
110
- },
111
- {
112
- "type": "null"
113
- }
106
+ "type": [
107
+ "string",
108
+ "null"
114
109
  ]
115
110
  },
116
111
  "lastUpdatedBy": {
@@ -127,14 +127,9 @@
127
127
  "maxLength": 1024
128
128
  },
129
129
  "createdAtDate": {
130
- "anyOf": [
131
- {
132
- "type": "string",
133
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
134
- },
135
- {
136
- "type": "null"
137
- }
130
+ "type": [
131
+ "string",
132
+ "null"
138
133
  ]
139
134
  },
140
135
  "lastUpdatedBy": {
@@ -95,14 +95,9 @@
95
95
  "maxLength": 1024
96
96
  },
97
97
  "createdAtDate": {
98
- "anyOf": [
99
- {
100
- "type": "string",
101
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
102
- },
103
- {
104
- "type": "null"
105
- }
98
+ "type": [
99
+ "string",
100
+ "null"
106
101
  ]
107
102
  },
108
103
  "lastUpdatedBy": {
@@ -97,14 +97,9 @@
97
97
  "maxLength": 1024
98
98
  },
99
99
  "createdAtDate": {
100
- "anyOf": [
101
- {
102
- "type": "string",
103
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
104
- },
105
- {
106
- "type": "null"
107
- }
100
+ "type": [
101
+ "string",
102
+ "null"
108
103
  ]
109
104
  },
110
105
  "lastUpdatedBy": {
@@ -146,14 +146,9 @@
146
146
  "maxLength": 1024
147
147
  },
148
148
  "createdAtDate": {
149
- "anyOf": [
150
- {
151
- "type": "string",
152
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
153
- },
154
- {
155
- "type": "null"
156
- }
149
+ "type": [
150
+ "string",
151
+ "null"
157
152
  ]
158
153
  },
159
154
  "lastUpdatedBy": {
@@ -143,14 +143,9 @@
143
143
  "maxLength": 1024
144
144
  },
145
145
  "createdAtDate": {
146
- "anyOf": [
147
- {
148
- "type": "string",
149
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
150
- },
151
- {
152
- "type": "null"
153
- }
146
+ "type": [
147
+ "string",
148
+ "null"
154
149
  ]
155
150
  },
156
151
  "lastUpdatedBy": {
@@ -110,14 +110,9 @@
110
110
  "maxLength": 1024
111
111
  },
112
112
  "createdAtDate": {
113
- "anyOf": [
114
- {
115
- "type": "string",
116
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
117
- },
118
- {
119
- "type": "null"
120
- }
113
+ "type": [
114
+ "string",
115
+ "null"
121
116
  ]
122
117
  },
123
118
  "lastUpdatedBy": {
@@ -160,14 +160,9 @@
160
160
  "maxLength": 1024
161
161
  },
162
162
  "createdAtDate": {
163
- "anyOf": [
164
- {
165
- "type": "string",
166
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
167
- },
168
- {
169
- "type": "null"
170
- }
163
+ "type": [
164
+ "string",
165
+ "null"
171
166
  ]
172
167
  },
173
168
  "lastUpdatedBy": {
@@ -162,14 +162,9 @@
162
162
  "maxLength": 1024
163
163
  },
164
164
  "createdAtDate": {
165
- "anyOf": [
166
- {
167
- "type": "string",
168
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
169
- },
170
- {
171
- "type": "null"
172
- }
165
+ "type": [
166
+ "string",
167
+ "null"
173
168
  ]
174
169
  },
175
170
  "lastUpdatedBy": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "6.1.0",
3
+ "version": "6.2.0",
4
4
  "description": "type definitions for cvs vta and vtm applications",
5
5
  "main": "index.js",
6
6
  "repository": {