@forge/manifest 12.8.1-next.0 → 12.8.1-next.2

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,18 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 12.8.1-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - b7b1f36: Update manifest definitions
8
+
9
+ ## 12.8.1-next.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 5beb8ad: Add multi-entry resource bundling support for worker runtime
14
+ - f1f11f0: Update manifest definitions
15
+
3
16
  ## 12.8.1-next.0
4
17
 
5
18
  ### Patch Changes
@@ -2456,6 +2456,12 @@
2456
2456
  "maxLength": 47,
2457
2457
  "pattern": "^[a-zA-Z0-9_\\-]{1,23}(/[a-zA-Z0-9_\\-]{1,23})?$"
2458
2458
  },
2459
+ "resolvedResourceEntry": {
2460
+ "type": "string",
2461
+ "minLength": 1,
2462
+ "maxLength": 64,
2463
+ "pattern": "^[a-zA-Z0-9._-]+$"
2464
+ },
2459
2465
  "render": {
2460
2466
  "enum": [
2461
2467
  "native",
@@ -20849,6 +20855,212 @@
20849
20855
  },
20850
20856
  "minItems": 1
20851
20857
  },
20858
+ "customerServiceManagement:crmImport": {
20859
+ "type": "array",
20860
+ "items": {
20861
+ "oneOf": [
20862
+ {
20863
+ "type": "object",
20864
+ "required": [
20865
+ "title",
20866
+ "function",
20867
+ "key"
20868
+ ],
20869
+ "properties": {
20870
+ "title": {
20871
+ "oneOf": [
20872
+ {
20873
+ "type": "object",
20874
+ "additionalProperties": false,
20875
+ "properties": {
20876
+ "i18n": {
20877
+ "type": "string",
20878
+ "minLength": 1,
20879
+ "maxLength": 300,
20880
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
20881
+ }
20882
+ },
20883
+ "required": [
20884
+ "i18n"
20885
+ ]
20886
+ },
20887
+ {
20888
+ "type": "string",
20889
+ "minLength": 1,
20890
+ "maxLength": 255
20891
+ }
20892
+ ]
20893
+ },
20894
+ "title__i18n": {
20895
+ "type": "string",
20896
+ "minLength": 1,
20897
+ "maxLength": 300,
20898
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
20899
+ },
20900
+ "icon": {
20901
+ "type": "string",
20902
+ "minLength": 1,
20903
+ "maxLength": 255
20904
+ },
20905
+ "layout": {
20906
+ "type": "string",
20907
+ "minLength": 1,
20908
+ "maxLength": 255,
20909
+ "enum": [
20910
+ "native",
20911
+ "basic"
20912
+ ]
20913
+ },
20914
+ "function": {
20915
+ "type": "string",
20916
+ "minLength": 1,
20917
+ "maxLength": 255,
20918
+ "pattern": "^[a-zA-Z0-9-_]+$"
20919
+ },
20920
+ "key": {
20921
+ "$ref": "#/definitions/ModuleKeySchema"
20922
+ }
20923
+ },
20924
+ "not": {
20925
+ "required": [
20926
+ "unlicensedAccess"
20927
+ ]
20928
+ }
20929
+ },
20930
+ {
20931
+ "type": "object",
20932
+ "required": [
20933
+ "title",
20934
+ "resource",
20935
+ "key"
20936
+ ],
20937
+ "properties": {
20938
+ "title": {
20939
+ "oneOf": [
20940
+ {
20941
+ "type": "object",
20942
+ "additionalProperties": false,
20943
+ "properties": {
20944
+ "i18n": {
20945
+ "type": "string",
20946
+ "minLength": 1,
20947
+ "maxLength": 300,
20948
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
20949
+ }
20950
+ },
20951
+ "required": [
20952
+ "i18n"
20953
+ ]
20954
+ },
20955
+ {
20956
+ "type": "string",
20957
+ "minLength": 1,
20958
+ "maxLength": 255
20959
+ }
20960
+ ]
20961
+ },
20962
+ "title__i18n": {
20963
+ "type": "string",
20964
+ "minLength": 1,
20965
+ "maxLength": 300,
20966
+ "pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
20967
+ },
20968
+ "icon": {
20969
+ "type": "string",
20970
+ "minLength": 1,
20971
+ "maxLength": 255
20972
+ },
20973
+ "layout": {
20974
+ "type": "string",
20975
+ "minLength": 1,
20976
+ "maxLength": 255,
20977
+ "enum": [
20978
+ "native",
20979
+ "basic",
20980
+ "blank"
20981
+ ]
20982
+ },
20983
+ "resolver": {
20984
+ "anyOf": [
20985
+ {
20986
+ "additionalProperties": false,
20987
+ "type": "object",
20988
+ "properties": {
20989
+ "function": {
20990
+ "type": "string",
20991
+ "minLength": 1,
20992
+ "maxLength": 255,
20993
+ "pattern": "^[a-zA-Z0-9-_]+$"
20994
+ }
20995
+ },
20996
+ "required": [
20997
+ "function"
20998
+ ]
20999
+ },
21000
+ {
21001
+ "additionalProperties": false,
21002
+ "type": "object",
21003
+ "properties": {
21004
+ "endpoint": {
21005
+ "type": "string",
21006
+ "minLength": 1,
21007
+ "maxLength": 255,
21008
+ "pattern": "^[a-zA-Z0-9-_]+$"
21009
+ }
21010
+ },
21011
+ "required": [
21012
+ "endpoint"
21013
+ ]
21014
+ }
21015
+ ]
21016
+ },
21017
+ "resource": {
21018
+ "type": "string",
21019
+ "minLength": 1,
21020
+ "maxLength": 47,
21021
+ "pattern": "^[a-zA-Z0-9_\\-]{1,23}(/[a-zA-Z0-9_\\-]{1,23})?$"
21022
+ },
21023
+ "resolvedResourceEntry": {
21024
+ "type": "string",
21025
+ "minLength": 1,
21026
+ "maxLength": 64,
21027
+ "pattern": "^[a-zA-Z0-9._-]+$"
21028
+ },
21029
+ "resourceUploadId": {
21030
+ "type": "string",
21031
+ "minLength": 1,
21032
+ "maxLength": 255
21033
+ },
21034
+ "render": {
21035
+ "enum": [
21036
+ "native",
21037
+ "default"
21038
+ ],
21039
+ "type": "string",
21040
+ "default": "default"
21041
+ },
21042
+ "renderRuntimeType": {
21043
+ "enum": [
21044
+ "webworker",
21045
+ "iframe"
21046
+ ],
21047
+ "type": "string",
21048
+ "default": "iframe"
21049
+ },
21050
+ "key": {
21051
+ "$ref": "#/definitions/ModuleKeySchema"
21052
+ }
21053
+ },
21054
+ "not": {
21055
+ "required": [
21056
+ "unlicensedAccess"
21057
+ ]
21058
+ }
21059
+ }
21060
+ ]
21061
+ },
21062
+ "minItems": 1
21063
+ },
20852
21064
  "customerServiceManagement:requestDetail": {
20853
21065
  "type": "array",
20854
21066
  "items": {
@@ -12598,6 +12598,7 @@ export interface Modules {
12598
12598
  | string;
12599
12599
  title__i18n?: string;
12600
12600
  resource: string;
12601
+ resolvedResourceEntry?: string;
12601
12602
  render?: 'native' | 'default';
12602
12603
  renderRuntimeType?: 'webworker' | 'iframe';
12603
12604
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge' | 'max' | 'fullscreen';
@@ -12731,6 +12732,7 @@ export interface Modules {
12731
12732
  | string;
12732
12733
  title__i18n?: string;
12733
12734
  resource: string;
12735
+ resolvedResourceEntry?: string;
12734
12736
  render?: 'native' | 'default';
12735
12737
  renderRuntimeType?: 'webworker' | 'iframe';
12736
12738
  viewportSize?: 'small' | 'medium' | 'large' | 'xlarge' | 'max' | 'fullscreen';
@@ -20886,6 +20888,86 @@ export interface Modules {
20886
20888
  }
20887
20889
  )[]
20888
20890
  ];
20891
+ 'customerServiceManagement:crmImport'?: [
20892
+ (
20893
+ | {
20894
+ title:
20895
+ | {
20896
+ i18n: string;
20897
+ }
20898
+ | string;
20899
+ title__i18n?: string;
20900
+ icon?: string;
20901
+ layout?: 'native' | 'basic';
20902
+ function: string;
20903
+ key: ModuleKeySchema;
20904
+ [k: string]: unknown;
20905
+ }
20906
+ | {
20907
+ title:
20908
+ | {
20909
+ i18n: string;
20910
+ }
20911
+ | string;
20912
+ title__i18n?: string;
20913
+ icon?: string;
20914
+ layout?: 'native' | 'basic' | 'blank';
20915
+ resolver?:
20916
+ | {
20917
+ function: string;
20918
+ }
20919
+ | {
20920
+ endpoint: string;
20921
+ };
20922
+ resource: string;
20923
+ resolvedResourceEntry?: string;
20924
+ resourceUploadId?: string;
20925
+ render?: 'native' | 'default';
20926
+ renderRuntimeType?: 'webworker' | 'iframe';
20927
+ key: ModuleKeySchema;
20928
+ [k: string]: unknown;
20929
+ }
20930
+ ),
20931
+ ...(
20932
+ | {
20933
+ title:
20934
+ | {
20935
+ i18n: string;
20936
+ }
20937
+ | string;
20938
+ title__i18n?: string;
20939
+ icon?: string;
20940
+ layout?: 'native' | 'basic';
20941
+ function: string;
20942
+ key: ModuleKeySchema;
20943
+ [k: string]: unknown;
20944
+ }
20945
+ | {
20946
+ title:
20947
+ | {
20948
+ i18n: string;
20949
+ }
20950
+ | string;
20951
+ title__i18n?: string;
20952
+ icon?: string;
20953
+ layout?: 'native' | 'basic' | 'blank';
20954
+ resolver?:
20955
+ | {
20956
+ function: string;
20957
+ }
20958
+ | {
20959
+ endpoint: string;
20960
+ };
20961
+ resource: string;
20962
+ resolvedResourceEntry?: string;
20963
+ resourceUploadId?: string;
20964
+ render?: 'native' | 'default';
20965
+ renderRuntimeType?: 'webworker' | 'iframe';
20966
+ key: ModuleKeySchema;
20967
+ [k: string]: unknown;
20968
+ }
20969
+ )[]
20970
+ ];
20889
20971
  'customerServiceManagement:requestDetail'?: [
20890
20972
  (
20891
20973
  | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "12.8.1-next.0",
3
+ "version": "12.8.1-next.2",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {