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

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