@platformatic/foundation 3.67.0 → 3.68.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.
- package/lib/schema.js +13 -1
- package/package.json +1 -1
package/lib/schema.js
CHANGED
|
@@ -639,7 +639,15 @@ export const fastifyServer = {
|
|
|
639
639
|
},
|
|
640
640
|
http2: server.properties.http2,
|
|
641
641
|
https: server.properties.https,
|
|
642
|
-
cors
|
|
642
|
+
cors,
|
|
643
|
+
errorHandler: {
|
|
644
|
+
description:
|
|
645
|
+
'Path to a file or name of a package whose default export is a Fastify error handler. It is installed on the root instance before any route is registered, so it also covers the routes registered by the capability itself, such as the auto generated CRUD routes of @platformatic/db. Plugins can still override it for their own encapsulation context.',
|
|
646
|
+
anyOf: [
|
|
647
|
+
{ type: 'string', resolveModule: true },
|
|
648
|
+
{ type: 'string', resolvePath: true }
|
|
649
|
+
]
|
|
650
|
+
}
|
|
643
651
|
},
|
|
644
652
|
additionalProperties: false
|
|
645
653
|
}
|
|
@@ -899,6 +907,9 @@ export const application = {
|
|
|
899
907
|
useHttp: {
|
|
900
908
|
type: 'boolean'
|
|
901
909
|
},
|
|
910
|
+
websocket: {
|
|
911
|
+
type: 'boolean'
|
|
912
|
+
},
|
|
902
913
|
reuseTcpPorts: {
|
|
903
914
|
type: 'boolean',
|
|
904
915
|
default: true
|
|
@@ -1637,6 +1648,7 @@ export const applicationsUnwrappablePropertiesList = [
|
|
|
1637
1648
|
'gitBranch',
|
|
1638
1649
|
'dependencies',
|
|
1639
1650
|
'useHttp',
|
|
1651
|
+
'websocket',
|
|
1640
1652
|
'management'
|
|
1641
1653
|
]
|
|
1642
1654
|
|