@forge/manifest 13.8.0-next.5 → 13.8.0-next.6

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
+ ## 13.8.0-next.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 1d3c386: Update manifest definitions
8
+
3
9
  ## 13.8.0-next.5
4
10
 
5
11
  ### Patch Changes
@@ -2980,6 +2980,59 @@
2980
2980
  "minLength": 1,
2981
2981
  "maxLength": 255
2982
2982
  },
2983
+ "migration": {
2984
+ "type": "object",
2985
+ "properties": {
2986
+ "from": {
2987
+ "type": "array",
2988
+ "minItems": 1,
2989
+ "items": {
2990
+ "type": "string",
2991
+ "minLength": 1,
2992
+ "maxLength": 255,
2993
+ "pattern": "^[a-zA-Z0-9-_]+$"
2994
+ }
2995
+ },
2996
+ "migrate": {
2997
+ "anyOf": [
2998
+ {
2999
+ "additionalProperties": false,
3000
+ "type": "object",
3001
+ "properties": {
3002
+ "function": {
3003
+ "type": "string",
3004
+ "minLength": 1,
3005
+ "maxLength": 255,
3006
+ "pattern": "^[a-zA-Z0-9-_]+$"
3007
+ }
3008
+ },
3009
+ "required": [
3010
+ "function"
3011
+ ]
3012
+ },
3013
+ {
3014
+ "additionalProperties": false,
3015
+ "type": "object",
3016
+ "properties": {
3017
+ "endpoint": {
3018
+ "type": "string",
3019
+ "minLength": 1,
3020
+ "maxLength": 255,
3021
+ "pattern": "^[a-zA-Z0-9-_]+$"
3022
+ }
3023
+ },
3024
+ "required": [
3025
+ "endpoint"
3026
+ ]
3027
+ }
3028
+ ]
3029
+ }
3030
+ },
3031
+ "required": [
3032
+ "from",
3033
+ "migrate"
3034
+ ]
3035
+ },
2983
3036
  "key": {
2984
3037
  "$ref": "#/definitions/ModuleKeySchema"
2985
3038
  }
@@ -3188,6 +3241,59 @@
3188
3241
  ],
3189
3242
  "type": "string"
3190
3243
  },
3244
+ "migration": {
3245
+ "type": "object",
3246
+ "properties": {
3247
+ "from": {
3248
+ "type": "array",
3249
+ "minItems": 1,
3250
+ "items": {
3251
+ "type": "string",
3252
+ "minLength": 1,
3253
+ "maxLength": 255,
3254
+ "pattern": "^[a-zA-Z0-9-_]+$"
3255
+ }
3256
+ },
3257
+ "migrate": {
3258
+ "anyOf": [
3259
+ {
3260
+ "additionalProperties": false,
3261
+ "type": "object",
3262
+ "properties": {
3263
+ "function": {
3264
+ "type": "string",
3265
+ "minLength": 1,
3266
+ "maxLength": 255,
3267
+ "pattern": "^[a-zA-Z0-9-_]+$"
3268
+ }
3269
+ },
3270
+ "required": [
3271
+ "function"
3272
+ ]
3273
+ },
3274
+ {
3275
+ "additionalProperties": false,
3276
+ "type": "object",
3277
+ "properties": {
3278
+ "endpoint": {
3279
+ "type": "string",
3280
+ "minLength": 1,
3281
+ "maxLength": 255,
3282
+ "pattern": "^[a-zA-Z0-9-_]+$"
3283
+ }
3284
+ },
3285
+ "required": [
3286
+ "endpoint"
3287
+ ]
3288
+ }
3289
+ ]
3290
+ }
3291
+ },
3292
+ "required": [
3293
+ "from",
3294
+ "migrate"
3295
+ ]
3296
+ },
3191
3297
  "key": {
3192
3298
  "$ref": "#/definitions/ModuleKeySchema"
3193
3299
  }
@@ -13274,6 +13274,17 @@ export interface Modules {
13274
13274
  endpoint: string;
13275
13275
  };
13276
13276
  thumbnail: string;
13277
+ migration?: {
13278
+ from: [string, ...string[]];
13279
+ migrate:
13280
+ | {
13281
+ function: string;
13282
+ }
13283
+ | {
13284
+ endpoint: string;
13285
+ };
13286
+ [k: string]: unknown;
13287
+ };
13277
13288
  key: ModuleKeySchema;
13278
13289
  [k: string]: unknown;
13279
13290
  },
@@ -13305,6 +13316,17 @@ export interface Modules {
13305
13316
  endpoint: string;
13306
13317
  };
13307
13318
  thumbnail: string;
13319
+ migration?: {
13320
+ from: [string, ...string[]];
13321
+ migrate:
13322
+ | {
13323
+ function: string;
13324
+ }
13325
+ | {
13326
+ endpoint: string;
13327
+ };
13328
+ [k: string]: unknown;
13329
+ };
13308
13330
  key: ModuleKeySchema;
13309
13331
  [k: string]: unknown;
13310
13332
  }[]
@@ -13346,6 +13368,17 @@ export interface Modules {
13346
13368
  endpoint: string;
13347
13369
  };
13348
13370
  render?: 'default' | 'native';
13371
+ migration?: {
13372
+ from: [string, ...string[]];
13373
+ migrate:
13374
+ | {
13375
+ function: string;
13376
+ }
13377
+ | {
13378
+ endpoint: string;
13379
+ };
13380
+ [k: string]: unknown;
13381
+ };
13349
13382
  key: ModuleKeySchema;
13350
13383
  [k: string]: unknown;
13351
13384
  },
@@ -13359,6 +13392,17 @@ export interface Modules {
13359
13392
  endpoint: string;
13360
13393
  };
13361
13394
  render?: 'default' | 'native';
13395
+ migration?: {
13396
+ from: [string, ...string[]];
13397
+ migrate:
13398
+ | {
13399
+ function: string;
13400
+ }
13401
+ | {
13402
+ endpoint: string;
13403
+ };
13404
+ [k: string]: unknown;
13405
+ };
13362
13406
  key: ModuleKeySchema;
13363
13407
  [k: string]: unknown;
13364
13408
  }[]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "13.8.0-next.5",
3
+ "version": "13.8.0-next.6",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",