@forge/manifest 4.10.0-next.2 → 4.10.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,6 +1,10 @@
1
1
  # @forge/manifest
2
2
 
3
- ## 4.10.0-next.2
3
+ ## 4.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6e015d7: Update validation logic to handle CSUIK manifests
4
8
 
5
9
  ### Patch Changes
6
10
 
@@ -8,6 +12,23 @@
8
12
 
9
13
  - lodash
10
14
 
15
+ - 6cb6ad2: Update manifest definitions
16
+ - 59c693ee: Update manifest definitions
17
+
18
+ ## 4.10.0-next.3
19
+
20
+ ### Patch Changes
21
+
22
+ - 6cb6ad2: Update manifest definitions
23
+
24
+ ## 4.10.0-next.2
25
+
26
+ ### Patch Changes
27
+
28
+ - 9c3f9e47: Bumping dependencies via Renovate:
29
+
30
+ - lodash
31
+
11
32
  ## 4.10.0-next.1
12
33
 
13
34
  ### Minor Changes
@@ -721,18 +721,35 @@
721
721
  "maxLength": 255
722
722
  },
723
723
  "resolver": {
724
- "additionalProperties": false,
724
+ "additionalProperties": true,
725
725
  "type": "object",
726
- "properties": {
727
- "function": {
728
- "type": "string",
729
- "minLength": 1,
730
- "maxLength": 255,
731
- "pattern": "^[a-zA-Z0-9-_]+$"
726
+ "oneOf": [
727
+ {
728
+ "required": [
729
+ "function"
730
+ ],
731
+ "properties": {
732
+ "function": {
733
+ "type": "string",
734
+ "minLength": 1,
735
+ "maxLength": 255,
736
+ "pattern": "^[a-zA-Z0-9-_]+$"
737
+ }
738
+ }
739
+ },
740
+ {
741
+ "required": [
742
+ "endpoint"
743
+ ],
744
+ "properties": {
745
+ "endpoint": {
746
+ "type": "string",
747
+ "minLength": 1,
748
+ "maxLength": 255,
749
+ "pattern": "^[a-zA-Z0-9-_]+$"
750
+ }
751
+ }
732
752
  }
733
- },
734
- "required": [
735
- "function"
736
753
  ]
737
754
  },
738
755
  "resource": {
@@ -551,9 +551,15 @@ export interface Modules {
551
551
  }
552
552
  | {
553
553
  title: string;
554
- resolver?: {
555
- function: string;
556
- };
554
+ resolver?:
555
+ | {
556
+ function: string;
557
+ [k: string]: unknown;
558
+ }
559
+ | {
560
+ endpoint: string;
561
+ [k: string]: unknown;
562
+ };
557
563
  resource: string;
558
564
  resourceUploadId?: string;
559
565
  viewportSize?: 'small' | 'medium' | 'large';
@@ -591,9 +597,15 @@ export interface Modules {
591
597
  }
592
598
  | {
593
599
  title: string;
594
- resolver?: {
595
- function: string;
596
- };
600
+ resolver?:
601
+ | {
602
+ function: string;
603
+ [k: string]: unknown;
604
+ }
605
+ | {
606
+ endpoint: string;
607
+ [k: string]: unknown;
608
+ };
597
609
  resource: string;
598
610
  resourceUploadId?: string;
599
611
  viewportSize?: 'small' | 'medium' | 'large';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "4.10.0-next.2",
3
+ "version": "4.10.0",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {