@forge/manifest 12.0.0-next.5 → 12.1.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,30 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 12.1.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 19807bf: Changed schema for container resources
8
+
9
+ ## 12.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - 6b7a4ef: Added GraphConnector module Auth Provider reference validation
14
+ - dfa2aa6: Added GraphConnector module Auth Provider reference validation
15
+
16
+ ### Minor Changes
17
+
18
+ - ea28254: Added linting for icon
19
+ - e21f32f: Remove remote oauth scopes lint check as scopes are no longer required in manifest
20
+
21
+ ### Patch Changes
22
+
23
+ - 545ecc1: Update manifest definitions
24
+ - eadb4a6: Update manifest definitions
25
+ - 8db2311: Update manifest definitions
26
+ - 9418d29: Update manifest definitions
27
+
3
28
  ## 12.0.0-next.5
4
29
 
5
30
  ### Minor Changes
package/out/index.d.ts CHANGED
@@ -8,6 +8,6 @@ export * from './text';
8
8
  export * from './types';
9
9
  export * from './utils';
10
10
  export * from './validators';
11
- export { Modules, ManifestSchema, App, Resources, Permissions, Remotes, Fetch, Providers, Backend, Client, Frames, Navigation, Images, Media, Services, Scripts1, Styles1, Scopes, Content1, Fonts, Translations, ForgeSupportedLocaleCode, External } from './schema/manifest';
11
+ export { Modules, ManifestSchema, App, Resources, Permissions, Remotes, Fetch, Providers, Backend, Client, Frames, Navigation, Images, Media, Services, Containers, Scripts1, Styles1, Scopes, Content1, Fonts, Translations, ForgeSupportedLocaleCode, External } from './schema/manifest';
12
12
  export declare const validate: (basic?: boolean, manifest?: string | undefined) => Promise<ManifestValidationResult<ManifestSchema | BasicManifestSchema>>;
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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,EACT,OAAO,EACP,MAAM,EACN,MAAM,EACN,UAAU,EACV,MAAM,EACN,KAAK,EACL,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,OAAO,EACP,MAAM,EACN,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,wBAAwB,EACxB,QAAQ,EACT,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,QAAQ,+BAET,MAAM,GAAG,SAAS,KAC3B,QAAQ,yBAAyB,cAAc,GAAG,mBAAmB,CAAC,CAInD,CAAC"}
@@ -29944,17 +29944,26 @@
29944
29944
  }
29945
29945
  }
29946
29946
  },
29947
+ "ContainerCpuResourceSchema": {
29948
+ "type": "string",
29949
+ "pattern": "^([0-9]+m|[0-9]+(\\.[0-9]+)?)$"
29950
+ },
29951
+ "ContainerMemoryResourceSchema": {
29952
+ "type": "string",
29953
+ "pattern": "^[0-9]+[GM]i$"
29954
+ },
29947
29955
  "ContainerResourcesSchema": {
29948
29956
  "type": "object",
29949
29957
  "additionalProperties": false,
29958
+ "required": ["cpu", "memory"],
29950
29959
  "properties": {
29951
29960
  "cpu": {
29952
- "type": "number",
29953
- "description": "The amount of CPU to be allocated to the container"
29961
+ "$ref": "#/definitions/ContainerCpuResourceSchema",
29962
+ "description": "The reserved amount of CPU for the container"
29954
29963
  },
29955
29964
  "memory": {
29956
- "type": "number",
29957
- "description": "The amount of memory to be allocated to the container"
29965
+ "$ref": "#/definitions/ContainerMemoryResourceSchema",
29966
+ "description": "The reserved amount of memory for the container"
29958
29967
  }
29959
29968
  }
29960
29969
  },
@@ -30035,7 +30044,8 @@
30035
30044
  "required": [
30036
30045
  "key",
30037
30046
  "tag",
30038
- "health"
30047
+ "health",
30048
+ "resources"
30039
30049
  ],
30040
30050
  "additionalProperties": false,
30041
30051
  "properties": {
@@ -802,7 +802,7 @@ export type Containers = {
802
802
  key: string;
803
803
  tag: string;
804
804
  health: Health;
805
- resources?: Resources1;
805
+ resources: Resources1;
806
806
  tunnel?: ContainerTunnelConfig;
807
807
  }[];
808
808
  export type Services = {
@@ -74030,13 +74030,13 @@ export interface Health {
74030
74030
  }
74031
74031
  export interface Resources1 {
74032
74032
  /**
74033
- * The amount of CPU to be allocated to the container
74033
+ * The reserved amount of CPU for the container
74034
74034
  */
74035
- cpu?: number;
74035
+ cpu: string;
74036
74036
  /**
74037
- * The amount of memory to be allocated to the container
74037
+ * The reserved amount of memory for the container
74038
74038
  */
74039
- memory?: number;
74039
+ memory: string;
74040
74040
  }
74041
74041
  export interface ContainerTunnelConfig {
74042
74042
  docker: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "12.0.0-next.5",
3
+ "version": "12.1.0-next.0",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {