@forge/manifest 10.0.0-next.9 → 10.0.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,59 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 10.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 8f2a3c9: Update the package to build on Node 20
8
+
9
+ ### Minor Changes
10
+
11
+ - 73a88f6: Updated module types file so Confluence content property can be declared in manifest
12
+ - 33c5750: Add dashboards:widget module
13
+ - 0c92352: Added graph:smartLink module
14
+ - b44a5b3: Fix the linter to keep the original object for egress permissions and allow to upgrade egress permissions to object
15
+ - 9f050ff: Removed support for Sandbox Runtime and Sanpshots
16
+ - ba634d9: Remove further sandbox runtime related components
17
+ - 64befbb: Refactor runtime version manifest check into a linter
18
+
19
+ ### Patch Changes
20
+
21
+ - a7bd152: Adding support for new module type core:apiroute
22
+ - 1992aaf: enable workflow in module list
23
+ - e6cd96a: Update manifest definitions
24
+ - 97255de: Update manifest definitions
25
+ - 3d96d1c: Update manifest definitions
26
+ - 18eab48: Update manifest definitions
27
+ - be59801: Update manifest definitions
28
+ - 8a548ce: Update manifest definitions
29
+ - 37eba69: Update manifest definitions
30
+ - c2e09b9: Update manifest definitions
31
+
32
+ ## 10.0.0-next.13
33
+
34
+ ### Patch Changes
35
+
36
+ - 3d96d1c: Update manifest definitions
37
+
38
+ ## 10.0.0-next.12
39
+
40
+ ### Minor Changes
41
+
42
+ - ba634d9: Remove further sandbox runtime related components
43
+
44
+ ## 10.0.0-next.11
45
+
46
+ ### Patch Changes
47
+
48
+ - 1992aaf: enable workflow in module list
49
+ - c2e09b9: Update manifest definitions
50
+
51
+ ## 10.0.0-next.10
52
+
53
+ ### Patch Changes
54
+
55
+ - e6cd96a: Update manifest definitions
56
+
3
57
  ## 10.0.0-next.9
4
58
 
5
59
  ### Minor Changes
@@ -1 +1 @@
1
- {"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAQpD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,qBAAa,uBAAwB,SAAQ,2BAA2B,CAAC,cAAc,CAAC;gBAC1E,WAAW,EAAE,WAAW;CA0BrC"}
1
+ {"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAQpD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,qBAAa,uBAAwB,SAAQ,2BAA2B,CAAC,cAAc,CAAC;gBAC1E,WAAW,EAAE,WAAW;CAyBrC"}
@@ -29,7 +29,6 @@ class FullValidationProcessor extends abstract_validation_processor_1.AbstractVa
29
29
  new validators_1.DisplayConditionsValidator(DISPLAY_CONDITIONS_SCHEMA),
30
30
  new validators_1.ProvidersValidator(),
31
31
  new validators_1.EntityPropertyValidator(),
32
- new validators_1.SnapshotValidator(),
33
32
  new jql_function_validator_1.JqlFunctionValidator(),
34
33
  new validators_1.PackageValidator(),
35
34
  new app_features_validator_1.AppFeaturesValidator(),
@@ -988,6 +988,41 @@
988
988
  },
989
989
  "minItems": 1
990
990
  },
991
+ "workflow": {
992
+ "type": "array",
993
+ "items": {
994
+ "$schema": "http://json-schema.org/draft-07/schema#",
995
+ "description": "A Forge Workflow definition.",
996
+ "type": "object",
997
+ "additionalProperties": false,
998
+ "properties": {
999
+ "key": {
1000
+ "$ref": "#/definitions/ModuleKeySchema"
1001
+ },
1002
+ "startAt": {
1003
+ "type": "string"
1004
+ },
1005
+ "states": {
1006
+ "type": "array",
1007
+ "items": {
1008
+ "$ref": "#/definitions/FunctionState"
1009
+ },
1010
+ "minItems": 1
1011
+ }
1012
+ },
1013
+ "required": [
1014
+ "key",
1015
+ "startAt",
1016
+ "states"
1017
+ ],
1018
+ "not": {
1019
+ "required": [
1020
+ "unlicensedAccess"
1021
+ ]
1022
+ }
1023
+ },
1024
+ "minItems": 1
1025
+ },
991
1026
  "migration": {
992
1027
  "type": "array",
993
1028
  "items": {
@@ -2226,6 +2261,9 @@
2226
2261
  "type": "string",
2227
2262
  "default": "block"
2228
2263
  },
2264
+ "emitsReadyEvent": {
2265
+ "type": "boolean"
2266
+ },
2229
2267
  "key": {
2230
2268
  "$ref": "#/definitions/ModuleKeySchema"
2231
2269
  }
@@ -2291,6 +2329,116 @@
2291
2329
  },
2292
2330
  "minItems": 1
2293
2331
  },
2332
+ "dashboards:widget": {
2333
+ "type": "array",
2334
+ "items": {
2335
+ "type": "object",
2336
+ "properties": {
2337
+ "title": {
2338
+ "type": "string",
2339
+ "minLength": 1,
2340
+ "maxLength": 255
2341
+ },
2342
+ "description": {
2343
+ "type": "string",
2344
+ "minLength": 1,
2345
+ "maxLength": 1000
2346
+ },
2347
+ "resource": {
2348
+ "type": "string",
2349
+ "minLength": 1,
2350
+ "maxLength": 23,
2351
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
2352
+ },
2353
+ "render": {
2354
+ "default": "default",
2355
+ "enum": [
2356
+ "default",
2357
+ "native"
2358
+ ],
2359
+ "type": "string"
2360
+ },
2361
+ "edit": {
2362
+ "type": "object",
2363
+ "properties": {
2364
+ "resource": {
2365
+ "type": "string",
2366
+ "minLength": 1,
2367
+ "maxLength": 23,
2368
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
2369
+ },
2370
+ "render": {
2371
+ "default": "default",
2372
+ "enum": [
2373
+ "default",
2374
+ "native"
2375
+ ],
2376
+ "type": "string"
2377
+ }
2378
+ },
2379
+ "required": [
2380
+ "resource"
2381
+ ]
2382
+ },
2383
+ "resolver": {
2384
+ "anyOf": [
2385
+ {
2386
+ "additionalProperties": false,
2387
+ "type": "object",
2388
+ "properties": {
2389
+ "function": {
2390
+ "type": "string",
2391
+ "minLength": 1,
2392
+ "maxLength": 255,
2393
+ "pattern": "^[a-zA-Z0-9-_]+$"
2394
+ }
2395
+ },
2396
+ "required": [
2397
+ "function"
2398
+ ]
2399
+ },
2400
+ {
2401
+ "additionalProperties": false,
2402
+ "type": "object",
2403
+ "properties": {
2404
+ "endpoint": {
2405
+ "type": "string",
2406
+ "minLength": 1,
2407
+ "maxLength": 255,
2408
+ "pattern": "^[a-zA-Z0-9-_]+$"
2409
+ }
2410
+ },
2411
+ "required": [
2412
+ "endpoint"
2413
+ ]
2414
+ }
2415
+ ]
2416
+ },
2417
+ "thumbnail": {
2418
+ "type": "string",
2419
+ "minLength": 1,
2420
+ "maxLength": 255
2421
+ },
2422
+ "key": {
2423
+ "$ref": "#/definitions/ModuleKeySchema"
2424
+ }
2425
+ },
2426
+ "required": [
2427
+ "title",
2428
+ "thumbnail",
2429
+ "description",
2430
+ "resource",
2431
+ "edit",
2432
+ "key"
2433
+ ],
2434
+ "not": {
2435
+ "required": [
2436
+ "unlicensedAccess"
2437
+ ]
2438
+ }
2439
+ },
2440
+ "minItems": 1
2441
+ },
2294
2442
  "confluence:contextMenu": {
2295
2443
  "type": "array",
2296
2444
  "items": {
@@ -28258,6 +28406,41 @@
28258
28406
  "auth"
28259
28407
  ]
28260
28408
  },
28409
+ "FunctionState": {
28410
+ "type": "object",
28411
+ "additionalProperties": false,
28412
+ "properties": {
28413
+ "key": {
28414
+ "type": "string"
28415
+ },
28416
+ "next": {
28417
+ "type": "string"
28418
+ },
28419
+ "end": {
28420
+ "type": "boolean",
28421
+ "default": false
28422
+ },
28423
+ "resolver": {
28424
+ "type": "object",
28425
+ "properties": {
28426
+ "function": {
28427
+ "type": "string"
28428
+ },
28429
+ "method": {
28430
+ "type": "string"
28431
+ }
28432
+ },
28433
+ "required": [
28434
+ "function",
28435
+ "method"
28436
+ ]
28437
+ }
28438
+ },
28439
+ "required": [
28440
+ "key",
28441
+ "resolver"
28442
+ ]
28443
+ },
28261
28444
  "EndpointRoute": {
28262
28445
  "type": "object",
28263
28446
  "properties": {
@@ -1215,6 +1215,18 @@ export interface Modules {
1215
1215
  key: ModuleKeySchema;
1216
1216
  }[]
1217
1217
  ];
1218
+ workflow?: [
1219
+ {
1220
+ key: ModuleKeySchema;
1221
+ startAt: string;
1222
+ states: [FunctionState, ...FunctionState[]];
1223
+ },
1224
+ ...{
1225
+ key: ModuleKeySchema;
1226
+ startAt: string;
1227
+ states: [FunctionState, ...FunctionState[]];
1228
+ }[]
1229
+ ];
1218
1230
  migration?: [
1219
1231
  (
1220
1232
  | {
@@ -12136,6 +12148,7 @@ export interface Modules {
12136
12148
  };
12137
12149
  render?: 'native' | 'default';
12138
12150
  layout?: 'inline' | 'block' | 'bodied';
12151
+ emitsReadyEvent?: boolean;
12139
12152
  key: ModuleKeySchema;
12140
12153
  [k: string]: unknown;
12141
12154
  }
@@ -12246,6 +12259,7 @@ export interface Modules {
12246
12259
  };
12247
12260
  render?: 'native' | 'default';
12248
12261
  layout?: 'inline' | 'block' | 'bodied';
12262
+ emitsReadyEvent?: boolean;
12249
12263
  key: ModuleKeySchema;
12250
12264
  [k: string]: unknown;
12251
12265
  }
@@ -12271,6 +12285,50 @@ export interface Modules {
12271
12285
  key: ModuleKeySchema;
12272
12286
  }[]
12273
12287
  ];
12288
+ 'dashboards:widget'?: [
12289
+ {
12290
+ title: string;
12291
+ description: string;
12292
+ resource: string;
12293
+ render?: 'default' | 'native';
12294
+ edit: {
12295
+ resource: string;
12296
+ render?: 'default' | 'native';
12297
+ [k: string]: unknown;
12298
+ };
12299
+ resolver?:
12300
+ | {
12301
+ function: string;
12302
+ }
12303
+ | {
12304
+ endpoint: string;
12305
+ };
12306
+ thumbnail: string;
12307
+ key: ModuleKeySchema;
12308
+ [k: string]: unknown;
12309
+ },
12310
+ ...{
12311
+ title: string;
12312
+ description: string;
12313
+ resource: string;
12314
+ render?: 'default' | 'native';
12315
+ edit: {
12316
+ resource: string;
12317
+ render?: 'default' | 'native';
12318
+ [k: string]: unknown;
12319
+ };
12320
+ resolver?:
12321
+ | {
12322
+ function: string;
12323
+ }
12324
+ | {
12325
+ endpoint: string;
12326
+ };
12327
+ thumbnail: string;
12328
+ key: ModuleKeySchema;
12329
+ [k: string]: unknown;
12330
+ }[]
12331
+ ];
12274
12332
  'confluence:contextMenu'?: [
12275
12333
  (
12276
12334
  | {
@@ -22854,6 +22912,16 @@ export interface ExternalAuthFunctionProvider {
22854
22912
  export interface Runtime1 {
22855
22913
  memoryMB?: MemoryMB1;
22856
22914
  }
22915
+ export interface FunctionState {
22916
+ key: string;
22917
+ next?: string;
22918
+ end?: boolean;
22919
+ resolver: {
22920
+ function: string;
22921
+ method: string;
22922
+ [k: string]: unknown;
22923
+ };
22924
+ }
22857
22925
  export interface EndpointRoute {
22858
22926
  /**
22859
22927
  * Path of the remote endpoint to invoke
@@ -214,6 +214,8 @@
214
214
  "read:filter.column:jira",
215
215
  "read:filter.default-share-scope:jira",
216
216
  "read:folder:confluence",
217
+ "read:forge-app:confluence",
218
+ "read:forge-app:jira",
217
219
  "read:forge-proxy:support-api-gateway",
218
220
  "read:group:confluence",
219
221
  "read:group:jira",
@@ -434,6 +436,8 @@
434
436
  "write:filter.column:jira",
435
437
  "write:filter.default-share-scope:jira",
436
438
  "write:folder:confluence",
439
+ "write:forge-app:confluence",
440
+ "write:forge-app:jira",
437
441
  "write:group:confluence",
438
442
  "write:group:jira",
439
443
  "write:incident:jira-service-management",
@@ -178,7 +178,6 @@ export declare const errors: {
178
178
  reservedIndexName: (entity: string, index: string) => string;
179
179
  };
180
180
  };
181
- snapshotEnabledOnNewRuntime: () => string;
182
181
  package: {
183
182
  extraFiles: {
184
183
  missing: (glob: string) => string;
@@ -212,7 +211,6 @@ export declare enum References {
212
211
  Resources = "valid-resource-required",
213
212
  Providers = "valid-provider-required",
214
213
  Deprecated = "deprecated-property",
215
- App = "valid-app-config-required",
216
- SnapshotIgnored = "warn-snapshot-ignored"
214
+ App = "valid-app-config-required"
217
215
  }
218
216
  //# sourceMappingURL=errors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/text/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,eAAO,MAAM,MAAM;8BACS,MAAM,KAAG,MAAM;2BACpB,MAAM;yBAEN,MAAM,GAAG,SAAS,QAAQ,MAAM,EAAE,UAAU,MAAM,GAAG,SAAS,KAAG,MAAM;;uBAO3E,MAAM,EAAE,EAAE,GAAG,SAAS,KAAG,MAAM;4BAI1B,MAAM,EAAE,KAAG,MAAM;mCACV,MAAM,SAAS,MAAM,mBAAmB,MAAM,KAAG,MAAM;mDAIvC,MAAM,KAAG,MAAM;4BAEtC,MAAM,EAAE,GAAG,SAAS,KAAG,MAAM;+CAIV,MAAM;6CACR,MAAM,gBAAgB,MAAM;qCAEpC,MAAM;2CACA,MAAM;6CACJ,MAAM;;;qCAGd,MAAM,SAAS,MAAM,KAAG,MAAM;4CAEvB,MAAM,SAAS,MAAM,KAAG,MAAM;oDAEtB,MAAM,OAAO,MAAM,KAAG,MAAM;kDAE9B,MAAM,OAAO,MAAM,KAAG,MAAM;wCAEtC,MAAM,SAAS,MAAM,EAAE,KAAG,MAAM;0CAI9B,MAAM;2CAEL,MAAM,KAAG,MAAM;0CAEhB,MAAM,SAAS,MAAM,KAAG,MAAM;+CAEzB,MAAM,KAAG,MAAM;gCAE9B,MAAM,KAAG,MAAM;;;uCAIR,MAAM,KAAG,MAAM;0CACZ,MAAM,KAAG,MAAM;;;gCAGzB,MAAM,KAAG,MAAM;6BACpB,MAAM;+BACJ,MAAM;iCACF,MAAM,KAAG,MAAM;yCACP,MAAM,eAAe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8BAA8B;CAClC"}
@@ -190,7 +190,6 @@ exports.errors = {
190
190
  reservedIndexName: (entity, index) => `Entity '${entity}' cannot use reserved index name '${index}'.`
191
191
  }
192
192
  },
193
- snapshotEnabledOnNewRuntime: () => `Snapshots are no longer used in this new runtime. As such, you'll need to remove them from your manifest file. For more information, see https://developer.atlassian.com/platform/forge/runtime-reference/native-nodejs-runtime/#no-more-snapshots.`,
194
193
  package: {
195
194
  extraFiles: {
196
195
  missing: (glob) => `Extra files specification '${glob}' does not match any files.`
@@ -231,5 +230,4 @@ var References;
231
230
  References["Providers"] = "valid-provider-required";
232
231
  References["Deprecated"] = "deprecated-property";
233
232
  References["App"] = "valid-app-config-required";
234
- References["SnapshotIgnored"] = "warn-snapshot-ignored";
235
233
  })(References = exports.References || (exports.References = {}));
@@ -1,5 +1,6 @@
1
1
  export declare enum AllModuleTypes {
2
2
  CoreFunction = "core:function",
3
+ CoreWorkflow = "core:workflow",
3
4
  CoreTrigger = "core:trigger",
4
5
  CoreWebTrigger = "core:webtrigger",
5
6
  CoreAPIRoute = "core:apiRoute",
@@ -1 +1 @@
1
- {"version":3,"file":"module-types.d.ts","sourceRoot":"","sources":["../../src/types/module-types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,YAAY,kBAAkB;IAC9B,SAAS,eAAe;IACxB,YAAY,kBAAkB;IAC9B,oBAAoB,0BAA0B;IAC9C,YAAY,kBAAkB;IAC9B,aAAa,mBAAmB;IAChC,UAAU,gBAAgB;IAC1B,OAAO,aAAa;IACpB,QAAQ,cAAc;IACtB,sBAAsB,4BAA4B;IAClD,gBAAgB,sBAAsB;IAEtC,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,uBAAuB,6BAA6B;IACpD,wBAAwB,8BAA8B;IACtD,oBAAoB,0BAA0B;IAC9C,sBAAsB,4BAA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A6B,oCAAoC;IACjE,wCAAwC,+CAA+C;IACvF,kCAAkC,yCAAyC;IAC3E,iCAAiC,wCAAwC;IACzE,2CAA2C,kDAAkD;IAC7F,0CAA0C,iDAAiD;IAC3F,8CAA8C,qDAAqD;IACnG,yCAAyC,gDAAgD;IACzF,4BAA4B,mCAAmC;IAC/D,+BAA+B,sCAAsC;IACrE,sBAAsB,6BAA6B;IACnD,2BAA2B,kCAAkC;IAC7D,qCAAqC,4CAA4C;IACjF,sCAAsC,6CAA6C;IAEnF,8BAA8B,uBAAuB;IACrD,6BAA6B,sBAAsB;IACnD,6BAA6B,sBAAsB;IACnD,gCAAgC,yBAAyB;IACzD,wCAAwC,iCAAiC;IACzE,+BAA+B,wBAAwB;IACvD,2BAA2B,oBAAoB;IAC/C,wBAAwB,8BAA8B;IAEtD,SAAS,eAAe;IACxB,UAAU,gBAAgB;IAC1B,mBAAmB,yBAAyB;IAC5C,cAAc,oBAAoB;IAClC,UAAU,oBAAoB;CAC/B;AAED,eAAO,MAAM,iBAAiB,kBAAgC,CAAC;AAE/D,eAAO,MAAM,uBAAuB,UAAwE,CAAC"}
@@ -4,6 +4,7 @@ exports.SUPPORTED_PRODUCTS_ONLY = exports.SUPPORTED_MODULES = exports.AllModuleT
4
4
  var AllModuleTypes;
5
5
  (function (AllModuleTypes) {
6
6
  AllModuleTypes["CoreFunction"] = "core:function";
7
+ AllModuleTypes["CoreWorkflow"] = "core:workflow";
7
8
  AllModuleTypes["CoreTrigger"] = "core:trigger";
8
9
  AllModuleTypes["CoreWebTrigger"] = "core:webtrigger";
9
10
  AllModuleTypes["CoreAPIRoute"] = "core:apiRoute";
@@ -12,7 +12,6 @@ export * from './permissions-validator';
12
12
  export * from './connect-remote-validator';
13
13
  export * from './connect-authentication-validator';
14
14
  export * from './entity-property-validator';
15
- export * from './snapshot-validator';
16
15
  export * from './package-validator';
17
16
  export * from './translations-validator';
18
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validators/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validators/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC"}
@@ -15,6 +15,5 @@ tslib_1.__exportStar(require("./permissions-validator"), exports);
15
15
  tslib_1.__exportStar(require("./connect-remote-validator"), exports);
16
16
  tslib_1.__exportStar(require("./connect-authentication-validator"), exports);
17
17
  tslib_1.__exportStar(require("./entity-property-validator"), exports);
18
- tslib_1.__exportStar(require("./snapshot-validator"), exports);
19
18
  tslib_1.__exportStar(require("./package-validator"), exports);
20
19
  tslib_1.__exportStar(require("./translations-validator"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "10.0.0-next.9",
3
+ "version": "10.0.0",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {
@@ -1,7 +0,0 @@
1
- import { ValidatorInterface } from './validator-interface';
2
- import { ManifestObject, ManifestValidationResult } from '../types';
3
- import { ManifestSchema } from '../schema/manifest';
4
- export declare class SnapshotValidator implements ValidatorInterface<ManifestObject<ManifestSchema> | undefined, ManifestSchema> {
5
- validate(manifest: ManifestObject<ManifestSchema> | undefined): Promise<ManifestValidationResult<ManifestSchema>>;
6
- }
7
- //# sourceMappingURL=snapshot-validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"snapshot-validator.d.ts","sourceRoot":"","sources":["../../src/validators/snapshot-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBAAa,iBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEnF,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CAkBrD"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SnapshotValidator = void 0;
4
- class SnapshotValidator {
5
- async validate(manifest) {
6
- if (!manifest?.typedContent) {
7
- return {
8
- success: false,
9
- manifestObject: manifest
10
- };
11
- }
12
- const validationErrors = [];
13
- const warningLevel = validationErrors.filter((e) => e.level === 'warning');
14
- return {
15
- success: validationErrors.length === warningLevel.length,
16
- manifestObject: manifest,
17
- errors: validationErrors
18
- };
19
- }
20
- }
21
- exports.SnapshotValidator = SnapshotValidator;