@forge/manifest 13.5.0-next.0 → 13.5.0-next.2

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,19 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 13.5.0-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 28b74f6: Remove manifest test until app host artifacts deployment
8
+ - 0a75004: Update manifest definitions
9
+
10
+ ## 13.5.0-next.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 07cdf11: Fix manifest validation
15
+ - 150a3c5: Update manifest definitions
16
+
3
17
  ## 13.5.0-next.0
4
18
 
5
19
  ### Minor Changes
@@ -2764,8 +2764,7 @@
2764
2764
  "enum": [
2765
2765
  "inline",
2766
2766
  "block",
2767
- "bodied",
2768
- "inline-bodied"
2767
+ "bodied"
2769
2768
  ],
2770
2769
  "type": "string",
2771
2770
  "default": "block"
@@ -3003,12 +3002,6 @@
3003
3002
  "minLength": 1,
3004
3003
  "maxLength": 255
3005
3004
  },
3006
- "resource": {
3007
- "type": "string",
3008
- "minLength": 1,
3009
- "maxLength": 23,
3010
- "pattern": "^[a-zA-Z0-9_\\-]+$"
3011
- },
3012
3005
  "render": {
3013
3006
  "default": "default",
3014
3007
  "enum": [
@@ -3039,28 +3032,6 @@
3039
3032
  "resource"
3040
3033
  ]
3041
3034
  },
3042
- "edit.sidePanel": {
3043
- "type": "object",
3044
- "properties": {
3045
- "resource": {
3046
- "type": "string",
3047
- "minLength": 1,
3048
- "maxLength": 23,
3049
- "pattern": "^[a-zA-Z0-9_\\-]+$"
3050
- },
3051
- "render": {
3052
- "default": "default",
3053
- "enum": [
3054
- "default",
3055
- "native"
3056
- ],
3057
- "type": "string"
3058
- }
3059
- },
3060
- "required": [
3061
- "resource"
3062
- ]
3063
- },
3064
3035
  "resolver": {
3065
3036
  "anyOf": [
3066
3037
  {
@@ -3094,24 +3065,61 @@
3094
3065
  ]
3095
3066
  }
3096
3067
  ]
3097
- },
3098
- "key": {
3099
- "$ref": "#/definitions/ModuleKeySchema"
3100
3068
  }
3101
3069
  },
3102
3070
  "required": [
3103
3071
  "title",
3104
3072
  "icon",
3105
- "resource",
3106
- "edit",
3107
- "edit.sidePanel",
3108
- "key"
3073
+ "edit"
3109
3074
  ],
3110
- "not": {
3111
- "required": [
3112
- "unlicensedAccess"
3113
- ]
3114
- }
3075
+ "oneOf": [
3076
+ {
3077
+ "type": "object",
3078
+ "properties": {
3079
+ "function": {
3080
+ "type": "string",
3081
+ "minLength": 1,
3082
+ "maxLength": 255,
3083
+ "pattern": "^[a-zA-Z0-9-_]+$"
3084
+ },
3085
+ "key": {
3086
+ "$ref": "#/definitions/ModuleKeySchema"
3087
+ }
3088
+ },
3089
+ "required": [
3090
+ "function",
3091
+ "key"
3092
+ ],
3093
+ "not": {
3094
+ "required": [
3095
+ "unlicensedAccess"
3096
+ ]
3097
+ }
3098
+ },
3099
+ {
3100
+ "type": "object",
3101
+ "properties": {
3102
+ "resource": {
3103
+ "type": "string",
3104
+ "minLength": 1,
3105
+ "maxLength": 23,
3106
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
3107
+ },
3108
+ "key": {
3109
+ "$ref": "#/definitions/ModuleKeySchema"
3110
+ }
3111
+ },
3112
+ "required": [
3113
+ "resource",
3114
+ "key"
3115
+ ],
3116
+ "not": {
3117
+ "required": [
3118
+ "unlicensedAccess"
3119
+ ]
3120
+ }
3121
+ }
3122
+ ]
3115
3123
  },
3116
3124
  "minItems": 1
3117
3125
  },
@@ -12863,7 +12863,7 @@ export interface Modules {
12863
12863
  };
12864
12864
  render?: 'native' | 'default';
12865
12865
  renderRuntimeType?: 'webworker' | 'iframe';
12866
- layout?: 'inline' | 'block' | 'bodied' | 'inline-bodied';
12866
+ layout?: 'inline' | 'block' | 'bodied';
12867
12867
  emitsReadyEvent?: boolean;
12868
12868
  hidden?: boolean;
12869
12869
  key: ModuleKeySchema;
@@ -13210,7 +13210,7 @@ export interface Modules {
13210
13210
  };
13211
13211
  render?: 'native' | 'default';
13212
13212
  renderRuntimeType?: 'webworker' | 'iframe';
13213
- layout?: 'inline' | 'block' | 'bodied' | 'inline-bodied';
13213
+ layout?: 'inline' | 'block' | 'bodied';
13214
13214
  emitsReadyEvent?: boolean;
13215
13215
  hidden?: boolean;
13216
13216
  key: ModuleKeySchema;
@@ -13303,56 +13303,30 @@ export interface Modules {
13303
13303
  }[]
13304
13304
  ];
13305
13305
  'dashboards:filter'?: [
13306
- {
13307
- title: string;
13308
- icon: string;
13309
- resource: string;
13310
- render?: 'default' | 'native';
13311
- edit: {
13312
- resource: string;
13313
- render?: 'default' | 'native';
13314
- [k: string]: unknown;
13315
- };
13316
- 'edit.sidePanel': {
13317
- resource: string;
13318
- render?: 'default' | 'native';
13319
- [k: string]: unknown;
13320
- };
13321
- resolver?:
13322
- | {
13323
- function: string;
13324
- }
13325
- | {
13326
- endpoint: string;
13327
- };
13328
- key: ModuleKeySchema;
13329
- [k: string]: unknown;
13330
- },
13331
- ...{
13332
- title: string;
13333
- icon: string;
13334
- resource: string;
13335
- render?: 'default' | 'native';
13336
- edit: {
13337
- resource: string;
13338
- render?: 'default' | 'native';
13339
- [k: string]: unknown;
13340
- };
13341
- 'edit.sidePanel': {
13342
- resource: string;
13343
- render?: 'default' | 'native';
13344
- [k: string]: unknown;
13345
- };
13346
- resolver?:
13347
- | {
13348
- function: string;
13349
- }
13350
- | {
13351
- endpoint: string;
13352
- };
13353
- key: ModuleKeySchema;
13354
- [k: string]: unknown;
13355
- }[]
13306
+ (
13307
+ | {
13308
+ function: string;
13309
+ key: ModuleKeySchema;
13310
+ [k: string]: unknown;
13311
+ }
13312
+ | {
13313
+ resource: string;
13314
+ key: ModuleKeySchema;
13315
+ [k: string]: unknown;
13316
+ }
13317
+ ),
13318
+ ...(
13319
+ | {
13320
+ function: string;
13321
+ key: ModuleKeySchema;
13322
+ [k: string]: unknown;
13323
+ }
13324
+ | {
13325
+ resource: string;
13326
+ key: ModuleKeySchema;
13327
+ [k: string]: unknown;
13328
+ }
13329
+ )[]
13356
13330
  ];
13357
13331
  'dashboards:backgroundScript'?: [
13358
13332
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "13.5.0-next.0",
3
+ "version": "13.5.0-next.2",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {