@forge/manifest 9.1.0 → 9.2.0-next.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 9.2.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6c0dcee: Added manifest support for container health objects
8
+
3
9
  ## 9.1.0
4
10
 
5
11
  ### Minor Changes
@@ -27189,6 +27189,63 @@
27189
27189
  }
27190
27190
  }
27191
27191
  },
27192
+ "ContainerHealthSchema": {
27193
+ "type": "object",
27194
+ "required": [
27195
+ "type",
27196
+ "route"
27197
+ ],
27198
+ "additionalProperties": false,
27199
+ "properties": {
27200
+ "type": {
27201
+ "type": "string",
27202
+ "enum": ["http"]
27203
+ },
27204
+ "route": {
27205
+ "type": "object",
27206
+ "required": ["path"],
27207
+ "additionalProperties": false,
27208
+ "properties": {
27209
+ "path": {
27210
+ "type": "string",
27211
+ "description": "The path to the health check endpoint",
27212
+ "pattern": "^((\/[a-zA-Z0-9-_]+)+|\/)$"
27213
+ }
27214
+ }
27215
+ }
27216
+ }
27217
+ },
27218
+ "ContainersSchema": {
27219
+ "type": "array",
27220
+ "uniqueItems": true,
27221
+ "items": {
27222
+ "type": "object",
27223
+ "required": [
27224
+ "key",
27225
+ "tag",
27226
+ "health"
27227
+ ],
27228
+ "additionalProperties": false,
27229
+ "properties": {
27230
+ "key": {
27231
+ "type": "string",
27232
+ "maxLength": 25,
27233
+ "minLength": 1,
27234
+ "pattern": "^[a-z]([a-z0-9-]{0,23}[a-z0-9])?$"
27235
+ },
27236
+ "tag": {
27237
+ "type": "string",
27238
+ "maxLength": 128,
27239
+ "minLength": 1,
27240
+ "pattern": "^[\\w][\\w.-]{0,127}$"
27241
+ },
27242
+ "health": {
27243
+ "$ref": "#/definitions/ContainerHealthSchema",
27244
+ "title": "health"
27245
+ }
27246
+ }
27247
+ }
27248
+ },
27192
27249
  "ServicesSchema": {
27193
27250
  "type": "array",
27194
27251
  "additionalProperties": false,
@@ -27208,30 +27265,8 @@
27208
27265
  "pattern": "^[a-z]([a-z0-9-]{0,23}[a-z0-9])?$"
27209
27266
  },
27210
27267
  "containers": {
27211
- "type": "array",
27212
- "uniqueItems": true,
27213
- "items": {
27214
- "type": "object",
27215
- "required": [
27216
- "key",
27217
- "tag"
27218
- ],
27219
- "additionalProperties": false,
27220
- "properties": {
27221
- "key": {
27222
- "type": "string",
27223
- "maxLength": 25,
27224
- "minLength": 1,
27225
- "pattern": "^[a-z]([a-z0-9-]{0,23}[a-z0-9])?$"
27226
- },
27227
- "tag": {
27228
- "type": "string",
27229
- "maxLength": 128,
27230
- "minLength": 1,
27231
- "pattern": "^[\\w][\\w.-]{0,127}$"
27232
- }
27233
- }
27234
- }
27268
+ "$ref": "#/definitions/ContainersSchema",
27269
+ "title": "containers"
27235
27270
  }
27236
27271
  }
27237
27272
  }
@@ -758,12 +758,14 @@ export type TranslationsFallback = {
758
758
  } & {
759
759
  default: ForgeSupportedLocaleCode;
760
760
  };
761
+ export type Containers = {
762
+ key: string;
763
+ tag: string;
764
+ health: Health;
765
+ }[];
761
766
  export type Services = {
762
767
  key: string;
763
- containers: {
764
- key: string;
765
- tag: string;
766
- }[];
768
+ containers: Containers;
767
769
  }[];
768
770
 
769
771
  export interface ManifestSchema {
@@ -61414,3 +61416,12 @@ export interface Translations {
61414
61416
  resources: TranslationsResources;
61415
61417
  fallback: TranslationsFallback;
61416
61418
  }
61419
+ export interface Health {
61420
+ type: 'http';
61421
+ route: {
61422
+ /**
61423
+ * The path to the health check endpoint
61424
+ */
61425
+ path: string;
61426
+ };
61427
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "9.1.0",
3
+ "version": "9.2.0-next.0",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {