@gigadrive/network-config 4.3.7 → 4.4.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.
@@ -248,7 +248,8 @@
248
248
  },
249
249
  "services": {
250
250
  "type": "object",
251
- "description": "Optionally, specify additional services like databases to deploy.",
251
+ "description": "Managed services to provision for the deployment environment.",
252
+ "additionalProperties": false,
252
253
  "properties": {
253
254
  "redis": {
254
255
  "oneOf": [
@@ -362,6 +363,39 @@
362
363
  }
363
364
  }
364
365
  ]
366
+ },
367
+ "storage": {
368
+ "type": "object",
369
+ "required": ["buckets"],
370
+ "additionalProperties": false,
371
+ "description": "File Storage buckets to provision in the deployment environment. The environment and global delivery/S3 slug are assigned by the platform.",
372
+ "properties": {
373
+ "buckets": {
374
+ "type": "object",
375
+ "description": "Buckets keyed by immutable environment-scoped name. Use null or an empty object for the default private visibility.",
376
+ "propertyNames": {
377
+ "minLength": 3,
378
+ "maxLength": 63,
379
+ "pattern": "^(?![0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"
380
+ },
381
+ "additionalProperties": {
382
+ "oneOf": [
383
+ { "type": "null" },
384
+ {
385
+ "type": "object",
386
+ "additionalProperties": false,
387
+ "properties": {
388
+ "visibility": {
389
+ "type": "string",
390
+ "enum": ["public", "private"],
391
+ "description": "Bucket access policy. Defaults to private when omitted. Public buckets can serve objects through their CDN hostname."
392
+ }
393
+ }
394
+ }
395
+ ]
396
+ }
397
+ }
398
+ }
365
399
  }
366
400
  }
367
401
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gigadrive/network-config",
3
- "version": "4.3.7",
3
+ "version": "4.4.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Gigadrive/sdk.git",
@@ -248,7 +248,8 @@
248
248
  },
249
249
  "services": {
250
250
  "type": "object",
251
- "description": "Optionally, specify additional services like databases to deploy.",
251
+ "description": "Managed services to provision for the deployment environment.",
252
+ "additionalProperties": false,
252
253
  "properties": {
253
254
  "redis": {
254
255
  "oneOf": [
@@ -362,6 +363,39 @@
362
363
  }
363
364
  }
364
365
  ]
366
+ },
367
+ "storage": {
368
+ "type": "object",
369
+ "required": ["buckets"],
370
+ "additionalProperties": false,
371
+ "description": "File Storage buckets to provision in the deployment environment. The environment and global delivery/S3 slug are assigned by the platform.",
372
+ "properties": {
373
+ "buckets": {
374
+ "type": "object",
375
+ "description": "Buckets keyed by immutable environment-scoped name. Use null or an empty object for the default private visibility.",
376
+ "propertyNames": {
377
+ "minLength": 3,
378
+ "maxLength": 63,
379
+ "pattern": "^(?![0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$)[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"
380
+ },
381
+ "additionalProperties": {
382
+ "oneOf": [
383
+ { "type": "null" },
384
+ {
385
+ "type": "object",
386
+ "additionalProperties": false,
387
+ "properties": {
388
+ "visibility": {
389
+ "type": "string",
390
+ "enum": ["public", "private"],
391
+ "description": "Bucket access policy. Defaults to private when omitted. Public buckets can serve objects through their CDN hostname."
392
+ }
393
+ }
394
+ }
395
+ ]
396
+ }
397
+ }
398
+ }
365
399
  }
366
400
  }
367
401
  }