@platformatic/foundation 3.11.0 → 3.12.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 +28 -1
- package/package.json +1 -1
package/lib/schema.js
CHANGED
|
@@ -678,6 +678,31 @@ export const telemetry = {
|
|
|
678
678
|
additionalProperties: false
|
|
679
679
|
}
|
|
680
680
|
|
|
681
|
+
export const policies = {
|
|
682
|
+
type: 'object',
|
|
683
|
+
properties: {
|
|
684
|
+
deny: {
|
|
685
|
+
type: 'object',
|
|
686
|
+
patternProperties: {
|
|
687
|
+
'^.*$': {
|
|
688
|
+
oneOf: [
|
|
689
|
+
{ type: 'string' },
|
|
690
|
+
{
|
|
691
|
+
type: 'array',
|
|
692
|
+
items: {
|
|
693
|
+
type: 'string'
|
|
694
|
+
},
|
|
695
|
+
minItems: 1
|
|
696
|
+
}
|
|
697
|
+
]
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
required: ['deny'],
|
|
703
|
+
additionalProperties: false
|
|
704
|
+
}
|
|
705
|
+
|
|
681
706
|
export const applications = {
|
|
682
707
|
type: 'array',
|
|
683
708
|
items: {
|
|
@@ -1223,7 +1248,8 @@ export const runtimeProperties = {
|
|
|
1223
1248
|
},
|
|
1224
1249
|
required: ['name', 'cron', 'callbackUrl']
|
|
1225
1250
|
}
|
|
1226
|
-
}
|
|
1251
|
+
},
|
|
1252
|
+
policies
|
|
1227
1253
|
}
|
|
1228
1254
|
|
|
1229
1255
|
export const wrappedRuntimeProperties = omitProperties(runtimeProperties, runtimeUnwrappablePropertiesList)
|
|
@@ -1248,6 +1274,7 @@ export const schemaComponents = {
|
|
|
1248
1274
|
healthWithoutDefaults,
|
|
1249
1275
|
telemetryExporter,
|
|
1250
1276
|
telemetry,
|
|
1277
|
+
policies,
|
|
1251
1278
|
applications,
|
|
1252
1279
|
runtimeProperties,
|
|
1253
1280
|
wrappedRuntimeProperties,
|