@platformatic/service 1.5.2 → 1.6.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 (2) hide show
  1. package/lib/schema.js +55 -0
  2. package/package.json +7 -6
package/lib/schema.js CHANGED
@@ -170,6 +170,61 @@ const server = {
170
170
  properties: {
171
171
  level: {
172
172
  type: 'string'
173
+ },
174
+ transport: {
175
+ anyOf: [{
176
+ type: 'object',
177
+ properties: {
178
+ target: {
179
+ type: 'string',
180
+ resolveModule: true
181
+ },
182
+ options: {
183
+ type: 'object'
184
+ }
185
+ },
186
+ additionalProperties: false
187
+ }, {
188
+ type: 'object',
189
+ properties: {
190
+ targets: {
191
+ type: 'array',
192
+ items: {
193
+ type: 'object',
194
+ properties: {
195
+ target: {
196
+ type: 'string',
197
+ resolveModule: true
198
+ },
199
+ options: {
200
+ type: 'object'
201
+ },
202
+ level: {
203
+ type: 'string'
204
+ },
205
+ additionalProperties: false
206
+ }
207
+ }
208
+ },
209
+ options: {
210
+ type: 'object'
211
+ }
212
+ },
213
+ additionalProperties: false
214
+ }]
215
+ },
216
+ pipeline: {
217
+ type: 'object',
218
+ properties: {
219
+ target: {
220
+ type: 'string',
221
+ resolveModule: true
222
+ },
223
+ options: {
224
+ type: 'object'
225
+ }
226
+ },
227
+ additionalProperties: false
173
228
  }
174
229
  },
175
230
  additionalProperties: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/service",
3
- "version": "1.5.2",
3
+ "version": "1.6.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -23,6 +23,7 @@
23
23
  "glob": "^10.3.10",
24
24
  "json-schema-to-typescript": "^13.1.1",
25
25
  "openapi-types": "^12.1.3",
26
+ "pino-abstract-transport": "^1.1.0",
26
27
  "self-cert": "^2.0.0",
27
28
  "snazzy": "^9.0.0",
28
29
  "split2": "^4.2.0",
@@ -67,11 +68,11 @@
67
68
  "pino-pretty": "^10.2.0",
68
69
  "rfdc": "^1.3.0",
69
70
  "ua-parser-js": "^1.0.36",
70
- "@platformatic/client": "1.5.2",
71
- "@platformatic/config": "1.5.2",
72
- "@platformatic/swagger-ui-theme": "1.5.2",
73
- "@platformatic/telemetry": "1.5.2",
74
- "@platformatic/utils": "1.5.2"
71
+ "@platformatic/client": "1.6.0",
72
+ "@platformatic/config": "1.6.0",
73
+ "@platformatic/swagger-ui-theme": "1.6.0",
74
+ "@platformatic/telemetry": "1.6.0",
75
+ "@platformatic/utils": "1.6.0"
75
76
  },
76
77
  "standard": {
77
78
  "ignore": [