@forge/manifest 12.8.0-next.6 → 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 +12 -0
- package/out/schema/manifest-schema.json +58 -0
- package/out/schema/manifest.d.ts +16 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 12.8.0-next.8
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bf76c3c: allow overrides for services
|
|
8
|
+
|
|
9
|
+
## 12.8.0-next.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- f7c39e1: Setup limit to max number of resource entries allowed
|
|
14
|
+
|
|
3
15
|
## 12.8.0-next.6
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -32302,6 +32302,8 @@
|
|
|
32302
32302
|
},
|
|
32303
32303
|
"entry": {
|
|
32304
32304
|
"type": "object",
|
|
32305
|
+
"minProperties": 1,
|
|
32306
|
+
"maxProperties": 50,
|
|
32305
32307
|
"propertyNames": {
|
|
32306
32308
|
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
32307
32309
|
"maxLength": 23
|
|
@@ -33097,6 +33099,58 @@
|
|
|
33097
33099
|
}
|
|
33098
33100
|
}
|
|
33099
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
|
+
},
|
|
33100
33154
|
"OAuth2ScopeName": {
|
|
33101
33155
|
"type": "string",
|
|
33102
33156
|
"pattern": "^[^\\s]+$"
|
|
@@ -36208,6 +36262,10 @@
|
|
|
36208
36262
|
"services": {
|
|
36209
36263
|
"$ref": "#/definitions/ServicesSchema",
|
|
36210
36264
|
"title": "services"
|
|
36265
|
+
},
|
|
36266
|
+
"overrides": {
|
|
36267
|
+
"$ref": "#/definitions/ManifestOverridesSchema",
|
|
36268
|
+
"title": "ManifestOverrides"
|
|
36211
36269
|
}
|
|
36212
36270
|
},
|
|
36213
36271
|
"required": [
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -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;
|