@forge/manifest 12.8.0-next.7 → 12.8.0-next.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 12.8.0-next.8
4
+
5
+ ### Minor Changes
6
+
7
+ - bf76c3c: allow overrides for services
8
+
3
9
  ## 12.8.0-next.7
4
10
 
5
11
  ### Patch Changes
@@ -33099,6 +33099,58 @@
33099
33099
  }
33100
33100
  }
33101
33101
  },
33102
+ "ManifestOverridesSchema": {
33103
+ "type": "array",
33104
+ "items": {
33105
+ "type": "object",
33106
+ "additionalProperties": false,
33107
+ "required": [
33108
+ "applyTo",
33109
+ "value"
33110
+ ],
33111
+ "properties": {
33112
+ "applyTo": {
33113
+ "type": "object",
33114
+ "additionalProperties": false,
33115
+ "minProperties": 1,
33116
+ "properties": {
33117
+ "environmentTypes": {
33118
+ "type": "array",
33119
+ "minItems": 1,
33120
+ "items": {
33121
+ "type": "string",
33122
+ "enum": [
33123
+ "DEVELOPMENT",
33124
+ "STAGING",
33125
+ "PRODUCTION"
33126
+ ]
33127
+ }
33128
+ },
33129
+ "shards": {
33130
+ "type": "array",
33131
+ "minItems": 1,
33132
+ "items": {
33133
+ "type": "string",
33134
+ "maxLength": 32,
33135
+ "pattern": "^[a-zA-Z0-9_:-]+$"
33136
+ }
33137
+ }
33138
+ }
33139
+ },
33140
+ "value": {
33141
+ "type": "object",
33142
+ "additionalProperties": false,
33143
+ "minProperties": 1,
33144
+ "properties": {
33145
+ "services": {
33146
+ "$ref": "#/definitions/ServicesSchema",
33147
+ "title": "OverriddenServices"
33148
+ }
33149
+ }
33150
+ }
33151
+ }
33152
+ }
33153
+ },
33102
33154
  "OAuth2ScopeName": {
33103
33155
  "type": "string",
33104
33156
  "pattern": "^[^\\s]+$"
@@ -36210,6 +36262,10 @@
36210
36262
  "services": {
36211
36263
  "$ref": "#/definitions/ServicesSchema",
36212
36264
  "title": "services"
36265
+ },
36266
+ "overrides": {
36267
+ "$ref": "#/definitions/ManifestOverridesSchema",
36268
+ "title": "ManifestOverrides"
36213
36269
  }
36214
36270
  },
36215
36271
  "required": [
@@ -802,6 +802,21 @@ export type Services = {
802
802
  scaling?: Scaling;
803
803
  tunnel?: ServiceTunnelConfig;
804
804
  }[];
805
+ export type OverriddenServices = {
806
+ key: string;
807
+ containers: Containers;
808
+ scaling?: Scaling;
809
+ tunnel?: ServiceTunnelConfig;
810
+ }[];
811
+ export type ManifestOverrides = {
812
+ applyTo: {
813
+ environmentTypes?: ['DEVELOPMENT' | 'STAGING' | 'PRODUCTION', ...('DEVELOPMENT' | 'STAGING' | 'PRODUCTION')[]];
814
+ shards?: [string, ...string[]];
815
+ };
816
+ value: {
817
+ services?: OverriddenServices;
818
+ };
819
+ }[];
805
820
 
806
821
  export interface ManifestSchema {
807
822
  app: App;
@@ -814,6 +829,7 @@ export interface ManifestSchema {
814
829
  environment?: Environment;
815
830
  translations?: Translations;
816
831
  services?: Services;
832
+ overrides?: ManifestOverrides;
817
833
  }
818
834
  export interface App {
819
835
  description?: Description;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "12.8.0-next.7",
3
+ "version": "12.8.0-next.8",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {