@forge/manifest 10.8.0-next.3 → 10.8.0-next.4

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
+ ## 10.8.0-next.4
4
+
5
+ ### Patch Changes
6
+
7
+ - dcd46a4: Update manifest definitions
8
+
3
9
  ## 10.8.0-next.3
4
10
 
5
11
  ### Patch Changes
@@ -4818,69 +4818,152 @@
4818
4818
  "confluence:fullPage": {
4819
4819
  "type": "array",
4820
4820
  "items": {
4821
- "type": "object",
4822
- "additionalProperties": false,
4823
- "properties": {
4824
- "resolver": {
4825
- "anyOf": [
4826
- {
4827
- "additionalProperties": false,
4828
- "type": "object",
4829
- "properties": {
4830
- "function": {
4821
+ "oneOf": [
4822
+ {
4823
+ "type": "object",
4824
+ "additionalProperties": false,
4825
+ "properties": {
4826
+ "title": {
4827
+ "oneOf": [
4828
+ {
4829
+ "type": "object",
4830
+ "additionalProperties": false,
4831
+ "properties": {
4832
+ "i18n": {
4833
+ "type": "string",
4834
+ "minLength": 1,
4835
+ "maxLength": 300,
4836
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
4837
+ }
4838
+ },
4839
+ "required": [
4840
+ "i18n"
4841
+ ]
4842
+ },
4843
+ {
4831
4844
  "type": "string",
4832
4845
  "minLength": 1,
4833
- "maxLength": 255,
4834
- "pattern": "^[a-zA-Z0-9-_]+$"
4846
+ "maxLength": 255
4835
4847
  }
4836
- },
4837
- "required": [
4838
- "function"
4839
4848
  ]
4840
4849
  },
4841
- {
4842
- "additionalProperties": false,
4843
- "type": "object",
4844
- "properties": {
4845
- "endpoint": {
4850
+ "title__i18n": {
4851
+ "type": "string",
4852
+ "minLength": 1,
4853
+ "maxLength": 300,
4854
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
4855
+ },
4856
+ "function": {
4857
+ "type": "string",
4858
+ "minLength": 1,
4859
+ "maxLength": 255,
4860
+ "pattern": "^[a-zA-Z0-9-_]+$"
4861
+ },
4862
+ "key": {
4863
+ "$ref": "#/definitions/ModuleKeySchema"
4864
+ }
4865
+ },
4866
+ "required": [
4867
+ "function",
4868
+ "key"
4869
+ ]
4870
+ },
4871
+ {
4872
+ "type": "object",
4873
+ "additionalProperties": false,
4874
+ "properties": {
4875
+ "title": {
4876
+ "oneOf": [
4877
+ {
4878
+ "type": "object",
4879
+ "additionalProperties": false,
4880
+ "properties": {
4881
+ "i18n": {
4882
+ "type": "string",
4883
+ "minLength": 1,
4884
+ "maxLength": 300,
4885
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
4886
+ }
4887
+ },
4888
+ "required": [
4889
+ "i18n"
4890
+ ]
4891
+ },
4892
+ {
4846
4893
  "type": "string",
4847
4894
  "minLength": 1,
4848
- "maxLength": 255,
4849
- "pattern": "^[a-zA-Z0-9-_]+$"
4895
+ "maxLength": 255
4896
+ }
4897
+ ]
4898
+ },
4899
+ "title__i18n": {
4900
+ "type": "string",
4901
+ "minLength": 1,
4902
+ "maxLength": 300,
4903
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
4904
+ },
4905
+ "resolver": {
4906
+ "anyOf": [
4907
+ {
4908
+ "additionalProperties": false,
4909
+ "type": "object",
4910
+ "properties": {
4911
+ "function": {
4912
+ "type": "string",
4913
+ "minLength": 1,
4914
+ "maxLength": 255,
4915
+ "pattern": "^[a-zA-Z0-9-_]+$"
4916
+ }
4917
+ },
4918
+ "required": [
4919
+ "function"
4920
+ ]
4921
+ },
4922
+ {
4923
+ "additionalProperties": false,
4924
+ "type": "object",
4925
+ "properties": {
4926
+ "endpoint": {
4927
+ "type": "string",
4928
+ "minLength": 1,
4929
+ "maxLength": 255,
4930
+ "pattern": "^[a-zA-Z0-9-_]+$"
4931
+ }
4932
+ },
4933
+ "required": [
4934
+ "endpoint"
4935
+ ]
4850
4936
  }
4851
- },
4852
- "required": [
4853
- "endpoint"
4854
4937
  ]
4938
+ },
4939
+ "resource": {
4940
+ "type": "string",
4941
+ "minLength": 1,
4942
+ "maxLength": 23,
4943
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4944
+ },
4945
+ "resourceUploadId": {
4946
+ "type": "string",
4947
+ "minLength": 1,
4948
+ "maxLength": 255
4949
+ },
4950
+ "render": {
4951
+ "enum": [
4952
+ "native",
4953
+ "default"
4954
+ ],
4955
+ "type": "string",
4956
+ "default": "default"
4957
+ },
4958
+ "key": {
4959
+ "$ref": "#/definitions/ModuleKeySchema"
4855
4960
  }
4961
+ },
4962
+ "required": [
4963
+ "resource",
4964
+ "key"
4856
4965
  ]
4857
- },
4858
- "resource": {
4859
- "type": "string",
4860
- "minLength": 1,
4861
- "maxLength": 23,
4862
- "pattern": "^[a-zA-Z0-9_\\-]+$"
4863
- },
4864
- "resourceUploadId": {
4865
- "type": "string",
4866
- "minLength": 1,
4867
- "maxLength": 255
4868
- },
4869
- "render": {
4870
- "enum": [
4871
- "native",
4872
- "default"
4873
- ],
4874
- "type": "string",
4875
- "default": "default"
4876
- },
4877
- "key": {
4878
- "$ref": "#/definitions/ModuleKeySchema"
4879
4966
  }
4880
- },
4881
- "required": [
4882
- "resource",
4883
- "key"
4884
4967
  ]
4885
4968
  },
4886
4969
  "minItems": 1
@@ -13543,32 +13543,68 @@ export interface Modules {
13543
13543
  )[]
13544
13544
  ];
13545
13545
  'confluence:fullPage'?: [
13546
- {
13547
- resolver?:
13548
- | {
13549
- function: string;
13550
- }
13551
- | {
13552
- endpoint: string;
13553
- };
13554
- resource: string;
13555
- resourceUploadId?: string;
13556
- render?: 'native' | 'default';
13557
- key: ModuleKeySchema;
13558
- },
13559
- ...{
13560
- resolver?:
13561
- | {
13562
- function: string;
13563
- }
13564
- | {
13565
- endpoint: string;
13566
- };
13567
- resource: string;
13568
- resourceUploadId?: string;
13569
- render?: 'native' | 'default';
13570
- key: ModuleKeySchema;
13571
- }[]
13546
+ (
13547
+ | {
13548
+ title?:
13549
+ | {
13550
+ i18n: string;
13551
+ }
13552
+ | string;
13553
+ title__i18n?: string;
13554
+ function: string;
13555
+ key: ModuleKeySchema;
13556
+ }
13557
+ | {
13558
+ title?:
13559
+ | {
13560
+ i18n: string;
13561
+ }
13562
+ | string;
13563
+ title__i18n?: string;
13564
+ resolver?:
13565
+ | {
13566
+ function: string;
13567
+ }
13568
+ | {
13569
+ endpoint: string;
13570
+ };
13571
+ resource: string;
13572
+ resourceUploadId?: string;
13573
+ render?: 'native' | 'default';
13574
+ key: ModuleKeySchema;
13575
+ }
13576
+ ),
13577
+ ...(
13578
+ | {
13579
+ title?:
13580
+ | {
13581
+ i18n: string;
13582
+ }
13583
+ | string;
13584
+ title__i18n?: string;
13585
+ function: string;
13586
+ key: ModuleKeySchema;
13587
+ }
13588
+ | {
13589
+ title?:
13590
+ | {
13591
+ i18n: string;
13592
+ }
13593
+ | string;
13594
+ title__i18n?: string;
13595
+ resolver?:
13596
+ | {
13597
+ function: string;
13598
+ }
13599
+ | {
13600
+ endpoint: string;
13601
+ };
13602
+ resource: string;
13603
+ resourceUploadId?: string;
13604
+ render?: 'native' | 'default';
13605
+ key: ModuleKeySchema;
13606
+ }
13607
+ )[]
13572
13608
  ];
13573
13609
  'confluence:customContent'?: [
13574
13610
  (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "10.8.0-next.3",
3
+ "version": "10.8.0-next.4",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {