@forge/manifest 13.4.0 → 13.5.0-next.1

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,18 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 13.5.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 07cdf11: Fix manifest validation
8
+ - 150a3c5: Update manifest definitions
9
+
10
+ ## 13.5.0-next.0
11
+
12
+ ### Minor Changes
13
+
14
+ - de915cc: Add `inline-bodied` as a supported layout for Confluence macro modules.
15
+
3
16
  ## 13.4.0
4
17
 
5
18
  ### Minor Changes
@@ -2764,7 +2764,8 @@
2764
2764
  "enum": [
2765
2765
  "inline",
2766
2766
  "block",
2767
- "bodied"
2767
+ "bodied",
2768
+ "inline-bodied"
2768
2769
  ],
2769
2770
  "type": "string",
2770
2771
  "default": "block"
@@ -3002,12 +3003,6 @@
3002
3003
  "minLength": 1,
3003
3004
  "maxLength": 255
3004
3005
  },
3005
- "resource": {
3006
- "type": "string",
3007
- "minLength": 1,
3008
- "maxLength": 23,
3009
- "pattern": "^[a-zA-Z0-9_\\-]+$"
3010
- },
3011
3006
  "render": {
3012
3007
  "default": "default",
3013
3008
  "enum": [
@@ -3038,28 +3033,6 @@
3038
3033
  "resource"
3039
3034
  ]
3040
3035
  },
3041
- "edit.sidePanel": {
3042
- "type": "object",
3043
- "properties": {
3044
- "resource": {
3045
- "type": "string",
3046
- "minLength": 1,
3047
- "maxLength": 23,
3048
- "pattern": "^[a-zA-Z0-9_\\-]+$"
3049
- },
3050
- "render": {
3051
- "default": "default",
3052
- "enum": [
3053
- "default",
3054
- "native"
3055
- ],
3056
- "type": "string"
3057
- }
3058
- },
3059
- "required": [
3060
- "resource"
3061
- ]
3062
- },
3063
3036
  "resolver": {
3064
3037
  "anyOf": [
3065
3038
  {
@@ -3093,24 +3066,61 @@
3093
3066
  ]
3094
3067
  }
3095
3068
  ]
3096
- },
3097
- "key": {
3098
- "$ref": "#/definitions/ModuleKeySchema"
3099
3069
  }
3100
3070
  },
3101
3071
  "required": [
3102
3072
  "title",
3103
3073
  "icon",
3104
- "resource",
3105
- "edit",
3106
- "edit.sidePanel",
3107
- "key"
3074
+ "edit"
3108
3075
  ],
3109
- "not": {
3110
- "required": [
3111
- "unlicensedAccess"
3112
- ]
3113
- }
3076
+ "oneOf": [
3077
+ {
3078
+ "type": "object",
3079
+ "properties": {
3080
+ "function": {
3081
+ "type": "string",
3082
+ "minLength": 1,
3083
+ "maxLength": 255,
3084
+ "pattern": "^[a-zA-Z0-9-_]+$"
3085
+ },
3086
+ "key": {
3087
+ "$ref": "#/definitions/ModuleKeySchema"
3088
+ }
3089
+ },
3090
+ "required": [
3091
+ "function",
3092
+ "key"
3093
+ ],
3094
+ "not": {
3095
+ "required": [
3096
+ "unlicensedAccess"
3097
+ ]
3098
+ }
3099
+ },
3100
+ {
3101
+ "type": "object",
3102
+ "properties": {
3103
+ "resource": {
3104
+ "type": "string",
3105
+ "minLength": 1,
3106
+ "maxLength": 23,
3107
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
3108
+ },
3109
+ "key": {
3110
+ "$ref": "#/definitions/ModuleKeySchema"
3111
+ }
3112
+ },
3113
+ "required": [
3114
+ "resource",
3115
+ "key"
3116
+ ],
3117
+ "not": {
3118
+ "required": [
3119
+ "unlicensedAccess"
3120
+ ]
3121
+ }
3122
+ }
3123
+ ]
3114
3124
  },
3115
3125
  "minItems": 1
3116
3126
  },
@@ -12863,7 +12863,7 @@ export interface Modules {
12863
12863
  };
12864
12864
  render?: 'native' | 'default';
12865
12865
  renderRuntimeType?: 'webworker' | 'iframe';
12866
- layout?: 'inline' | 'block' | 'bodied';
12866
+ layout?: 'inline' | 'block' | 'bodied' | 'inline-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';
13213
+ layout?: 'inline' | 'block' | 'bodied' | 'inline-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.4.0",
3
+ "version": "13.5.0-next.1",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {