@forge/manifest 5.0.1 → 5.0.2-next.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,11 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 5.0.2-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - e06a091: Update manifest definitions
8
+
3
9
  ## 5.0.1
4
10
 
5
11
  ### Patch Changes
@@ -861,23 +861,31 @@
861
861
  ]
862
862
  },
863
863
  "config": {
864
- "type": "object",
865
- "properties": {
866
- "function": {
867
- "type": "string",
868
- "minLength": 1,
869
- "maxLength": 255,
870
- "pattern": "^[a-zA-Z0-9-_]+$"
864
+ "oneOf": [
865
+ {
866
+ "type": "boolean",
867
+ "description": "Enable config for UI Kit 2"
871
868
  },
872
- "render": {
873
- "enum": [
874
- "native",
875
- "default"
876
- ],
877
- "type": "string",
878
- "default": "default"
869
+ {
870
+ "type": "object",
871
+ "properties": {
872
+ "function": {
873
+ "type": "string",
874
+ "minLength": 1,
875
+ "maxLength": 255,
876
+ "pattern": "^[a-zA-Z0-9-_]+$"
877
+ },
878
+ "render": {
879
+ "enum": [
880
+ "native",
881
+ "default"
882
+ ],
883
+ "type": "string",
884
+ "default": "default"
885
+ }
886
+ }
879
887
  }
880
- }
888
+ ]
881
889
  },
882
890
  "data": {
883
891
  "type": "object",
@@ -644,11 +644,13 @@ export interface Modules {
644
644
  refDataSchema?: {
645
645
  inputType: string;
646
646
  };
647
- config?: {
648
- function?: string;
649
- render?: 'native' | 'default';
650
- [k: string]: unknown;
651
- };
647
+ config?:
648
+ | boolean
649
+ | {
650
+ function?: string;
651
+ render?: 'native' | 'default';
652
+ [k: string]: unknown;
653
+ };
652
654
  data?: {
653
655
  function?: string;
654
656
  schema?: string;
@@ -696,11 +698,13 @@ export interface Modules {
696
698
  refDataSchema?: {
697
699
  inputType: string;
698
700
  };
699
- config?: {
700
- function?: string;
701
- render?: 'native' | 'default';
702
- [k: string]: unknown;
703
- };
701
+ config?:
702
+ | boolean
703
+ | {
704
+ function?: string;
705
+ render?: 'native' | 'default';
706
+ [k: string]: unknown;
707
+ };
704
708
  data?: {
705
709
  function?: string;
706
710
  schema?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "5.0.1",
3
+ "version": "5.0.2-next.0",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {