@forge/manifest 3.3.0-next.4 → 3.3.0-next.7
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 +22 -0
- package/out/schema/manifest-schema.json +311 -147
- package/out/schema/manifest.d.ts +260 -160
- package/out/types/egress-types.d.ts +1 -1
- package/out/types/egress-types.d.ts.map +1 -1
- package/out/types/egress-types.js +3 -1
- package/out/validators/permissions-validator.d.ts +6 -0
- package/out/validators/permissions-validator.d.ts.map +1 -1
- package/out/validators/permissions-validator.js +76 -73
- package/package.json +1 -1
package/out/schema/manifest.d.ts
CHANGED
|
@@ -764,6 +764,20 @@ export interface Modules {
|
|
|
764
764
|
name: string;
|
|
765
765
|
description: string;
|
|
766
766
|
function?: string;
|
|
767
|
+
expression?: string;
|
|
768
|
+
errorMessage?: string;
|
|
769
|
+
view?: {
|
|
770
|
+
resource: string;
|
|
771
|
+
[k: string]: unknown;
|
|
772
|
+
};
|
|
773
|
+
edit?: {
|
|
774
|
+
resource: string;
|
|
775
|
+
[k: string]: unknown;
|
|
776
|
+
};
|
|
777
|
+
create?: {
|
|
778
|
+
resource: string;
|
|
779
|
+
[k: string]: unknown;
|
|
780
|
+
};
|
|
767
781
|
key: ModuleKeySchema;
|
|
768
782
|
[k: string]: unknown;
|
|
769
783
|
},
|
|
@@ -771,6 +785,20 @@ export interface Modules {
|
|
|
771
785
|
name: string;
|
|
772
786
|
description: string;
|
|
773
787
|
function?: string;
|
|
788
|
+
expression?: string;
|
|
789
|
+
errorMessage?: string;
|
|
790
|
+
view?: {
|
|
791
|
+
resource: string;
|
|
792
|
+
[k: string]: unknown;
|
|
793
|
+
};
|
|
794
|
+
edit?: {
|
|
795
|
+
resource: string;
|
|
796
|
+
[k: string]: unknown;
|
|
797
|
+
};
|
|
798
|
+
create?: {
|
|
799
|
+
resource: string;
|
|
800
|
+
[k: string]: unknown;
|
|
801
|
+
};
|
|
774
802
|
key: ModuleKeySchema;
|
|
775
803
|
[k: string]: unknown;
|
|
776
804
|
}[]
|
|
@@ -808,6 +836,15 @@ export interface Modules {
|
|
|
808
836
|
function: string;
|
|
809
837
|
[k: string]: unknown;
|
|
810
838
|
};
|
|
839
|
+
searchSuggestions?:
|
|
840
|
+
| {
|
|
841
|
+
function: string;
|
|
842
|
+
[k: string]: unknown;
|
|
843
|
+
}
|
|
844
|
+
| {
|
|
845
|
+
expression: string;
|
|
846
|
+
[k: string]: unknown;
|
|
847
|
+
};
|
|
811
848
|
displayConditions?: {
|
|
812
849
|
[k: string]: unknown;
|
|
813
850
|
};
|
|
@@ -848,6 +885,15 @@ export interface Modules {
|
|
|
848
885
|
function: string;
|
|
849
886
|
[k: string]: unknown;
|
|
850
887
|
};
|
|
888
|
+
searchSuggestions?:
|
|
889
|
+
| {
|
|
890
|
+
function: string;
|
|
891
|
+
[k: string]: unknown;
|
|
892
|
+
}
|
|
893
|
+
| {
|
|
894
|
+
expression: string;
|
|
895
|
+
[k: string]: unknown;
|
|
896
|
+
};
|
|
851
897
|
displayConditions?: {
|
|
852
898
|
[k: string]: unknown;
|
|
853
899
|
};
|
|
@@ -887,6 +933,15 @@ export interface Modules {
|
|
|
887
933
|
function: string;
|
|
888
934
|
[k: string]: unknown;
|
|
889
935
|
};
|
|
936
|
+
searchSuggestions?:
|
|
937
|
+
| {
|
|
938
|
+
function: string;
|
|
939
|
+
[k: string]: unknown;
|
|
940
|
+
}
|
|
941
|
+
| {
|
|
942
|
+
expression: string;
|
|
943
|
+
[k: string]: unknown;
|
|
944
|
+
};
|
|
890
945
|
displayConditions?: {
|
|
891
946
|
[k: string]: unknown;
|
|
892
947
|
};
|
|
@@ -927,6 +982,15 @@ export interface Modules {
|
|
|
927
982
|
function: string;
|
|
928
983
|
[k: string]: unknown;
|
|
929
984
|
};
|
|
985
|
+
searchSuggestions?:
|
|
986
|
+
| {
|
|
987
|
+
function: string;
|
|
988
|
+
[k: string]: unknown;
|
|
989
|
+
}
|
|
990
|
+
| {
|
|
991
|
+
expression: string;
|
|
992
|
+
[k: string]: unknown;
|
|
993
|
+
};
|
|
930
994
|
displayConditions?: {
|
|
931
995
|
[k: string]: unknown;
|
|
932
996
|
};
|
|
@@ -965,6 +1029,15 @@ export interface Modules {
|
|
|
965
1029
|
function: string;
|
|
966
1030
|
[k: string]: unknown;
|
|
967
1031
|
};
|
|
1032
|
+
searchSuggestions?:
|
|
1033
|
+
| {
|
|
1034
|
+
function: string;
|
|
1035
|
+
[k: string]: unknown;
|
|
1036
|
+
}
|
|
1037
|
+
| {
|
|
1038
|
+
expression: string;
|
|
1039
|
+
[k: string]: unknown;
|
|
1040
|
+
};
|
|
968
1041
|
icon?: string;
|
|
969
1042
|
resolver?: {
|
|
970
1043
|
function: string;
|
|
@@ -1017,6 +1090,15 @@ export interface Modules {
|
|
|
1017
1090
|
function: string;
|
|
1018
1091
|
[k: string]: unknown;
|
|
1019
1092
|
};
|
|
1093
|
+
searchSuggestions?:
|
|
1094
|
+
| {
|
|
1095
|
+
function: string;
|
|
1096
|
+
[k: string]: unknown;
|
|
1097
|
+
}
|
|
1098
|
+
| {
|
|
1099
|
+
expression: string;
|
|
1100
|
+
[k: string]: unknown;
|
|
1101
|
+
};
|
|
1020
1102
|
icon?: string;
|
|
1021
1103
|
resolver?: {
|
|
1022
1104
|
function: string;
|
|
@@ -1068,6 +1150,15 @@ export interface Modules {
|
|
|
1068
1150
|
function: string;
|
|
1069
1151
|
[k: string]: unknown;
|
|
1070
1152
|
};
|
|
1153
|
+
searchSuggestions?:
|
|
1154
|
+
| {
|
|
1155
|
+
function: string;
|
|
1156
|
+
[k: string]: unknown;
|
|
1157
|
+
}
|
|
1158
|
+
| {
|
|
1159
|
+
expression: string;
|
|
1160
|
+
[k: string]: unknown;
|
|
1161
|
+
};
|
|
1071
1162
|
icon?: string;
|
|
1072
1163
|
resolver?: {
|
|
1073
1164
|
function: string;
|
|
@@ -1120,6 +1211,15 @@ export interface Modules {
|
|
|
1120
1211
|
function: string;
|
|
1121
1212
|
[k: string]: unknown;
|
|
1122
1213
|
};
|
|
1214
|
+
searchSuggestions?:
|
|
1215
|
+
| {
|
|
1216
|
+
function: string;
|
|
1217
|
+
[k: string]: unknown;
|
|
1218
|
+
}
|
|
1219
|
+
| {
|
|
1220
|
+
expression: string;
|
|
1221
|
+
[k: string]: unknown;
|
|
1222
|
+
};
|
|
1123
1223
|
icon?: string;
|
|
1124
1224
|
resolver?: {
|
|
1125
1225
|
function: string;
|
|
@@ -4227,7 +4327,7 @@ export interface I18NProperty1 {
|
|
|
4227
4327
|
*
|
|
4228
4328
|
*/
|
|
4229
4329
|
export interface CompositeCondition {
|
|
4230
|
-
conditions?: (
|
|
4330
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
4231
4331
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
4232
4332
|
[k: string]: unknown;
|
|
4233
4333
|
}
|
|
@@ -7619,7 +7719,7 @@ export interface SingleCondition5 {
|
|
|
7619
7719
|
*
|
|
7620
7720
|
*/
|
|
7621
7721
|
export interface CompositeCondition7 {
|
|
7622
|
-
conditions?: (
|
|
7722
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
7623
7723
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
7624
7724
|
[k: string]: unknown;
|
|
7625
7725
|
}
|
|
@@ -9042,7 +9142,7 @@ export interface I18NProperty74 {
|
|
|
9042
9142
|
*
|
|
9043
9143
|
*/
|
|
9044
9144
|
export interface MacroPropertyPanel {
|
|
9045
|
-
controls?: (
|
|
9145
|
+
controls?: (ToggleGroup | ControlGroup | TextControl | ButtonControl1)[];
|
|
9046
9146
|
cacheable?: boolean;
|
|
9047
9147
|
url: string;
|
|
9048
9148
|
[k: string]: unknown;
|
|
@@ -9050,7 +9150,7 @@ export interface MacroPropertyPanel {
|
|
|
9050
9150
|
/**
|
|
9051
9151
|
*
|
|
9052
9152
|
*
|
|
9053
|
-
* Defines a
|
|
9153
|
+
* Defines a ToggleGroup which may appear in control extension points such as the property panel
|
|
9054
9154
|
*
|
|
9055
9155
|
* <p><b>Example</b></p>
|
|
9056
9156
|
*
|
|
@@ -9058,27 +9158,44 @@ export interface MacroPropertyPanel {
|
|
|
9058
9158
|
*
|
|
9059
9159
|
*
|
|
9060
9160
|
*
|
|
9061
|
-
*
|
|
9062
|
-
*
|
|
9063
|
-
*
|
|
9064
|
-
* "
|
|
9065
|
-
*
|
|
9066
|
-
*
|
|
9067
|
-
*
|
|
9161
|
+
* [
|
|
9162
|
+
* {
|
|
9163
|
+
* "type": "togglegroup",
|
|
9164
|
+
* "macroParameter": "toggleGroupMacroParameter",
|
|
9165
|
+
* "controls": [
|
|
9166
|
+
* {
|
|
9167
|
+
* "type": "togglebutton",
|
|
9168
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
9169
|
+
* "label": {
|
|
9170
|
+
* "value": "My Custom Control 0"
|
|
9171
|
+
* },
|
|
9172
|
+
* "key": "my-custom-toggle-button-0"
|
|
9173
|
+
* },
|
|
9174
|
+
* {
|
|
9175
|
+
* "type": "togglebutton",
|
|
9176
|
+
* "macroParameterValue": "macroParameterValue 1",
|
|
9177
|
+
* "label": {
|
|
9178
|
+
* "value": "My Custom Control 1"
|
|
9179
|
+
* },
|
|
9180
|
+
* "key": "my-custom-toggle-button-1"
|
|
9181
|
+
* }
|
|
9182
|
+
* ]
|
|
9183
|
+
* }
|
|
9184
|
+
* ]
|
|
9068
9185
|
*
|
|
9069
9186
|
*
|
|
9070
9187
|
*
|
|
9071
9188
|
*/
|
|
9072
|
-
export interface
|
|
9189
|
+
export interface ToggleGroup {
|
|
9190
|
+
controls: ToggleButtonControl[];
|
|
9073
9191
|
macroParameter: string;
|
|
9074
|
-
type: '
|
|
9075
|
-
key: string;
|
|
9192
|
+
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
9076
9193
|
[k: string]: unknown;
|
|
9077
9194
|
}
|
|
9078
9195
|
/**
|
|
9079
9196
|
*
|
|
9080
9197
|
*
|
|
9081
|
-
* Defines a button which
|
|
9198
|
+
* Defines a toggle button which appears inside a ToggleGroup
|
|
9082
9199
|
*
|
|
9083
9200
|
* <p><b>Example</b></p>
|
|
9084
9201
|
*
|
|
@@ -9087,19 +9204,21 @@ export interface TextControl {
|
|
|
9087
9204
|
*
|
|
9088
9205
|
*
|
|
9089
9206
|
* {
|
|
9090
|
-
* "type": "
|
|
9207
|
+
* "type": "togglebutton",
|
|
9208
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
9091
9209
|
* "label": {
|
|
9092
9210
|
* "value": "My Custom Control 0"
|
|
9093
9211
|
* },
|
|
9094
|
-
* "key": "my-custom-
|
|
9212
|
+
* "key": "my-custom-toggle-button-0"
|
|
9095
9213
|
* }
|
|
9096
9214
|
*
|
|
9097
9215
|
*
|
|
9098
9216
|
*
|
|
9099
9217
|
*/
|
|
9100
|
-
export interface
|
|
9218
|
+
export interface ToggleButtonControl {
|
|
9219
|
+
macroParameterValue: string;
|
|
9101
9220
|
label: I18NProperty75;
|
|
9102
|
-
type: '
|
|
9221
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
9103
9222
|
key: string;
|
|
9104
9223
|
[k: string]: unknown;
|
|
9105
9224
|
}
|
|
@@ -9130,7 +9249,7 @@ export interface I18NProperty75 {
|
|
|
9130
9249
|
/**
|
|
9131
9250
|
*
|
|
9132
9251
|
*
|
|
9133
|
-
* Defines a
|
|
9252
|
+
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
9134
9253
|
*
|
|
9135
9254
|
* <p><b>Example</b></p>
|
|
9136
9255
|
*
|
|
@@ -9140,24 +9259,21 @@ export interface I18NProperty75 {
|
|
|
9140
9259
|
*
|
|
9141
9260
|
* [
|
|
9142
9261
|
* {
|
|
9143
|
-
* "type": "
|
|
9144
|
-
* "macroParameter": "toggleGroupMacroParameter",
|
|
9262
|
+
* "type": "group",
|
|
9145
9263
|
* "controls": [
|
|
9146
9264
|
* {
|
|
9147
|
-
* "type": "
|
|
9148
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
9265
|
+
* "type": "button",
|
|
9149
9266
|
* "label": {
|
|
9150
9267
|
* "value": "My Custom Control 0"
|
|
9151
9268
|
* },
|
|
9152
|
-
* "key": "my-custom-
|
|
9269
|
+
* "key": "my-custom-control-0"
|
|
9153
9270
|
* },
|
|
9154
9271
|
* {
|
|
9155
|
-
* "type": "
|
|
9156
|
-
* "macroParameterValue": "macroParameterValue 1",
|
|
9272
|
+
* "type": "button",
|
|
9157
9273
|
* "label": {
|
|
9158
9274
|
* "value": "My Custom Control 1"
|
|
9159
9275
|
* },
|
|
9160
|
-
* "key": "my-custom-
|
|
9276
|
+
* "key": "my-custom-control-1"
|
|
9161
9277
|
* }
|
|
9162
9278
|
* ]
|
|
9163
9279
|
* }
|
|
@@ -9166,16 +9282,15 @@ export interface I18NProperty75 {
|
|
|
9166
9282
|
*
|
|
9167
9283
|
*
|
|
9168
9284
|
*/
|
|
9169
|
-
export interface
|
|
9170
|
-
controls:
|
|
9171
|
-
|
|
9172
|
-
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
9285
|
+
export interface ControlGroup {
|
|
9286
|
+
controls: ButtonControl[];
|
|
9287
|
+
type: 'group' | 'GROUP';
|
|
9173
9288
|
[k: string]: unknown;
|
|
9174
9289
|
}
|
|
9175
9290
|
/**
|
|
9176
9291
|
*
|
|
9177
9292
|
*
|
|
9178
|
-
* Defines a
|
|
9293
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
9179
9294
|
*
|
|
9180
9295
|
* <p><b>Example</b></p>
|
|
9181
9296
|
*
|
|
@@ -9184,21 +9299,19 @@ export interface ToggleGroup {
|
|
|
9184
9299
|
*
|
|
9185
9300
|
*
|
|
9186
9301
|
* {
|
|
9187
|
-
* "type": "
|
|
9188
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
9302
|
+
* "type": "button",
|
|
9189
9303
|
* "label": {
|
|
9190
9304
|
* "value": "My Custom Control 0"
|
|
9191
9305
|
* },
|
|
9192
|
-
* "key": "my-custom-
|
|
9306
|
+
* "key": "my-custom-control-0"
|
|
9193
9307
|
* }
|
|
9194
9308
|
*
|
|
9195
9309
|
*
|
|
9196
9310
|
*
|
|
9197
9311
|
*/
|
|
9198
|
-
export interface
|
|
9199
|
-
macroParameterValue: string;
|
|
9312
|
+
export interface ButtonControl {
|
|
9200
9313
|
label: I18NProperty76;
|
|
9201
|
-
type: '
|
|
9314
|
+
type: 'button' | 'BUTTON';
|
|
9202
9315
|
key: string;
|
|
9203
9316
|
[k: string]: unknown;
|
|
9204
9317
|
}
|
|
@@ -9229,7 +9342,7 @@ export interface I18NProperty76 {
|
|
|
9229
9342
|
/**
|
|
9230
9343
|
*
|
|
9231
9344
|
*
|
|
9232
|
-
* Defines a
|
|
9345
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
9233
9346
|
*
|
|
9234
9347
|
* <p><b>Example</b></p>
|
|
9235
9348
|
*
|
|
@@ -9237,34 +9350,21 @@ export interface I18NProperty76 {
|
|
|
9237
9350
|
*
|
|
9238
9351
|
*
|
|
9239
9352
|
*
|
|
9240
|
-
*
|
|
9241
|
-
*
|
|
9242
|
-
*
|
|
9243
|
-
* "
|
|
9244
|
-
*
|
|
9245
|
-
*
|
|
9246
|
-
*
|
|
9247
|
-
* "value": "My Custom Control 0"
|
|
9248
|
-
* },
|
|
9249
|
-
* "key": "my-custom-control-0"
|
|
9250
|
-
* },
|
|
9251
|
-
* {
|
|
9252
|
-
* "type": "button",
|
|
9253
|
-
* "label": {
|
|
9254
|
-
* "value": "My Custom Control 1"
|
|
9255
|
-
* },
|
|
9256
|
-
* "key": "my-custom-control-1"
|
|
9257
|
-
* }
|
|
9258
|
-
* ]
|
|
9259
|
-
* }
|
|
9260
|
-
* ]
|
|
9353
|
+
* {
|
|
9354
|
+
* "type": "button",
|
|
9355
|
+
* "label": {
|
|
9356
|
+
* "value": "My Custom Control 0"
|
|
9357
|
+
* },
|
|
9358
|
+
* "key": "my-custom-control-0"
|
|
9359
|
+
* }
|
|
9261
9360
|
*
|
|
9262
9361
|
*
|
|
9263
9362
|
*
|
|
9264
9363
|
*/
|
|
9265
|
-
export interface
|
|
9266
|
-
|
|
9267
|
-
type: '
|
|
9364
|
+
export interface TextControl {
|
|
9365
|
+
macroParameter: string;
|
|
9366
|
+
type: 'text' | 'TEXT';
|
|
9367
|
+
key: string;
|
|
9268
9368
|
[k: string]: unknown;
|
|
9269
9369
|
}
|
|
9270
9370
|
/**
|
|
@@ -30287,11 +30387,63 @@ export interface I18NProperty83 {
|
|
|
30287
30387
|
*
|
|
30288
30388
|
*/
|
|
30289
30389
|
export interface MacroPropertyPanel1 {
|
|
30290
|
-
controls?: (
|
|
30390
|
+
controls?: (ButtonControl2 | ControlGroup1 | ToggleGroup1 | TextControl1)[];
|
|
30291
30391
|
cacheable?: boolean;
|
|
30292
30392
|
url: string;
|
|
30293
30393
|
[k: string]: unknown;
|
|
30294
30394
|
}
|
|
30395
|
+
/**
|
|
30396
|
+
*
|
|
30397
|
+
*
|
|
30398
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
30399
|
+
*
|
|
30400
|
+
* <p><b>Example</b></p>
|
|
30401
|
+
*
|
|
30402
|
+
*
|
|
30403
|
+
*
|
|
30404
|
+
*
|
|
30405
|
+
*
|
|
30406
|
+
* {
|
|
30407
|
+
* "type": "button",
|
|
30408
|
+
* "label": {
|
|
30409
|
+
* "value": "My Custom Control 0"
|
|
30410
|
+
* },
|
|
30411
|
+
* "key": "my-custom-control-0"
|
|
30412
|
+
* }
|
|
30413
|
+
*
|
|
30414
|
+
*
|
|
30415
|
+
*
|
|
30416
|
+
*/
|
|
30417
|
+
export interface ButtonControl2 {
|
|
30418
|
+
label: I18NProperty84;
|
|
30419
|
+
type: 'button' | 'BUTTON';
|
|
30420
|
+
key: string;
|
|
30421
|
+
[k: string]: unknown;
|
|
30422
|
+
}
|
|
30423
|
+
/**
|
|
30424
|
+
*
|
|
30425
|
+
*
|
|
30426
|
+
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
30427
|
+
* and value in multiple places if you like, but identical keys must have identical values.
|
|
30428
|
+
*
|
|
30429
|
+
* <h3>Example</h3>
|
|
30430
|
+
*
|
|
30431
|
+
*
|
|
30432
|
+
*
|
|
30433
|
+
*
|
|
30434
|
+
*
|
|
30435
|
+
* {
|
|
30436
|
+
* "value": "My text"
|
|
30437
|
+
* }
|
|
30438
|
+
*
|
|
30439
|
+
*
|
|
30440
|
+
*
|
|
30441
|
+
*/
|
|
30442
|
+
export interface I18NProperty84 {
|
|
30443
|
+
value: string;
|
|
30444
|
+
i18n?: string;
|
|
30445
|
+
[k: string]: unknown;
|
|
30446
|
+
}
|
|
30295
30447
|
/**
|
|
30296
30448
|
*
|
|
30297
30449
|
*
|
|
@@ -30329,7 +30481,7 @@ export interface MacroPropertyPanel1 {
|
|
|
30329
30481
|
*
|
|
30330
30482
|
*/
|
|
30331
30483
|
export interface ControlGroup1 {
|
|
30332
|
-
controls:
|
|
30484
|
+
controls: ButtonControl3[];
|
|
30333
30485
|
type: 'group' | 'GROUP';
|
|
30334
30486
|
[k: string]: unknown;
|
|
30335
30487
|
}
|
|
@@ -30355,8 +30507,8 @@ export interface ControlGroup1 {
|
|
|
30355
30507
|
*
|
|
30356
30508
|
*
|
|
30357
30509
|
*/
|
|
30358
|
-
export interface
|
|
30359
|
-
label:
|
|
30510
|
+
export interface ButtonControl3 {
|
|
30511
|
+
label: I18NProperty85;
|
|
30360
30512
|
type: 'button' | 'BUTTON';
|
|
30361
30513
|
key: string;
|
|
30362
30514
|
[k: string]: unknown;
|
|
@@ -30380,7 +30532,7 @@ export interface ButtonControl2 {
|
|
|
30380
30532
|
*
|
|
30381
30533
|
*
|
|
30382
30534
|
*/
|
|
30383
|
-
export interface
|
|
30535
|
+
export interface I18NProperty85 {
|
|
30384
30536
|
value: string;
|
|
30385
30537
|
i18n?: string;
|
|
30386
30538
|
[k: string]: unknown;
|
|
@@ -30455,60 +30607,8 @@ export interface ToggleGroup1 {
|
|
|
30455
30607
|
*/
|
|
30456
30608
|
export interface ToggleButtonControl1 {
|
|
30457
30609
|
macroParameterValue: string;
|
|
30458
|
-
label: I18NProperty85;
|
|
30459
|
-
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
30460
|
-
key: string;
|
|
30461
|
-
[k: string]: unknown;
|
|
30462
|
-
}
|
|
30463
|
-
/**
|
|
30464
|
-
*
|
|
30465
|
-
*
|
|
30466
|
-
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
30467
|
-
* and value in multiple places if you like, but identical keys must have identical values.
|
|
30468
|
-
*
|
|
30469
|
-
* <h3>Example</h3>
|
|
30470
|
-
*
|
|
30471
|
-
*
|
|
30472
|
-
*
|
|
30473
|
-
*
|
|
30474
|
-
*
|
|
30475
|
-
* {
|
|
30476
|
-
* "value": "My text"
|
|
30477
|
-
* }
|
|
30478
|
-
*
|
|
30479
|
-
*
|
|
30480
|
-
*
|
|
30481
|
-
*/
|
|
30482
|
-
export interface I18NProperty85 {
|
|
30483
|
-
value: string;
|
|
30484
|
-
i18n?: string;
|
|
30485
|
-
[k: string]: unknown;
|
|
30486
|
-
}
|
|
30487
|
-
/**
|
|
30488
|
-
*
|
|
30489
|
-
*
|
|
30490
|
-
* Defines a button which may appear in control extension points such as the property panel
|
|
30491
|
-
*
|
|
30492
|
-
* <p><b>Example</b></p>
|
|
30493
|
-
*
|
|
30494
|
-
*
|
|
30495
|
-
*
|
|
30496
|
-
*
|
|
30497
|
-
*
|
|
30498
|
-
* {
|
|
30499
|
-
* "type": "button",
|
|
30500
|
-
* "label": {
|
|
30501
|
-
* "value": "My Custom Control 0"
|
|
30502
|
-
* },
|
|
30503
|
-
* "key": "my-custom-control-0"
|
|
30504
|
-
* }
|
|
30505
|
-
*
|
|
30506
|
-
*
|
|
30507
|
-
*
|
|
30508
|
-
*/
|
|
30509
|
-
export interface ButtonControl3 {
|
|
30510
30610
|
label: I18NProperty86;
|
|
30511
|
-
type: '
|
|
30611
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
30512
30612
|
key: string;
|
|
30513
30613
|
[k: string]: unknown;
|
|
30514
30614
|
}
|
|
@@ -51413,10 +51513,47 @@ export interface I18NProperty91 {
|
|
|
51413
51513
|
*
|
|
51414
51514
|
*/
|
|
51415
51515
|
export interface WebItemTarget2 {
|
|
51416
|
-
options?:
|
|
51516
|
+
options?: InlineDialogOptions2 | DialogOptions4 | DialogModuleOptions2;
|
|
51417
51517
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
51418
51518
|
[k: string]: unknown;
|
|
51419
51519
|
}
|
|
51520
|
+
/**
|
|
51521
|
+
*
|
|
51522
|
+
*
|
|
51523
|
+
* Options for an inline dialog target
|
|
51524
|
+
*
|
|
51525
|
+
* <h3>Example</h3>
|
|
51526
|
+
*
|
|
51527
|
+
*
|
|
51528
|
+
*
|
|
51529
|
+
*
|
|
51530
|
+
*
|
|
51531
|
+
* {
|
|
51532
|
+
* "target": {
|
|
51533
|
+
* "type": "inlinedialog",
|
|
51534
|
+
* "options": {
|
|
51535
|
+
* "onHover": true,
|
|
51536
|
+
* "offsetX": "30px",
|
|
51537
|
+
* "offsetY": "20px"
|
|
51538
|
+
* }
|
|
51539
|
+
* }
|
|
51540
|
+
* }
|
|
51541
|
+
*
|
|
51542
|
+
*
|
|
51543
|
+
*
|
|
51544
|
+
*/
|
|
51545
|
+
export interface InlineDialogOptions2 {
|
|
51546
|
+
offsetX?: string;
|
|
51547
|
+
offsetY?: string;
|
|
51548
|
+
width?: string;
|
|
51549
|
+
onTop?: boolean;
|
|
51550
|
+
showDelay?: number;
|
|
51551
|
+
closeOthers?: boolean;
|
|
51552
|
+
persistent?: boolean;
|
|
51553
|
+
onHover?: boolean;
|
|
51554
|
+
isRelativeToMouse?: boolean;
|
|
51555
|
+
[k: string]: unknown;
|
|
51556
|
+
}
|
|
51420
51557
|
/**
|
|
51421
51558
|
*
|
|
51422
51559
|
*
|
|
@@ -51542,43 +51679,6 @@ export interface DialogModuleOptions2 {
|
|
|
51542
51679
|
key: string;
|
|
51543
51680
|
[k: string]: unknown;
|
|
51544
51681
|
}
|
|
51545
|
-
/**
|
|
51546
|
-
*
|
|
51547
|
-
*
|
|
51548
|
-
* Options for an inline dialog target
|
|
51549
|
-
*
|
|
51550
|
-
* <h3>Example</h3>
|
|
51551
|
-
*
|
|
51552
|
-
*
|
|
51553
|
-
*
|
|
51554
|
-
*
|
|
51555
|
-
*
|
|
51556
|
-
* {
|
|
51557
|
-
* "target": {
|
|
51558
|
-
* "type": "inlinedialog",
|
|
51559
|
-
* "options": {
|
|
51560
|
-
* "onHover": true,
|
|
51561
|
-
* "offsetX": "30px",
|
|
51562
|
-
* "offsetY": "20px"
|
|
51563
|
-
* }
|
|
51564
|
-
* }
|
|
51565
|
-
* }
|
|
51566
|
-
*
|
|
51567
|
-
*
|
|
51568
|
-
*
|
|
51569
|
-
*/
|
|
51570
|
-
export interface InlineDialogOptions2 {
|
|
51571
|
-
offsetX?: string;
|
|
51572
|
-
offsetY?: string;
|
|
51573
|
-
width?: string;
|
|
51574
|
-
onTop?: boolean;
|
|
51575
|
-
showDelay?: number;
|
|
51576
|
-
closeOthers?: boolean;
|
|
51577
|
-
persistent?: boolean;
|
|
51578
|
-
onHover?: boolean;
|
|
51579
|
-
isRelativeToMouse?: boolean;
|
|
51580
|
-
[k: string]: unknown;
|
|
51581
|
-
}
|
|
51582
51682
|
/**
|
|
51583
51683
|
*
|
|
51584
51684
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"egress-types.d.ts","sourceRoot":"","sources":["../../src/types/egress-types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"egress-types.d.ts","sourceRoot":"","sources":["../../src/types/egress-types.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;CAExB,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EGRESS_TYPES = void 0;
|
|
4
|
+
const ALLOWED_CSP_UNSAFE_SOURCES = ['unsafe-eval', 'unsafe-hashes', 'unsafe-inline'];
|
|
5
|
+
const ALLOWED_CSP_SCHEMA_SOURCES = ['blob:'];
|
|
4
6
|
exports.EGRESS_TYPES = {
|
|
5
|
-
|
|
7
|
+
ALLOWED_CSP_TYPES: [...ALLOWED_CSP_UNSAFE_SOURCES, ...ALLOWED_CSP_SCHEMA_SOURCES]
|
|
6
8
|
};
|
|
@@ -2,6 +2,12 @@ import { ManifestObject, ManifestValidationResult } from '../types';
|
|
|
2
2
|
import { ManifestSchema } from '../schema/manifest';
|
|
3
3
|
import { ValidatorInterface } from './validator-interface';
|
|
4
4
|
export declare class PermissionsValidator implements ValidatorInterface<ManifestObject<ManifestSchema> | undefined, ManifestSchema> {
|
|
5
|
+
private validationErrors;
|
|
6
|
+
constructor();
|
|
7
|
+
private isValidURL;
|
|
8
|
+
private isValidHash;
|
|
9
|
+
private addValidationErrors;
|
|
10
|
+
private validateExternalPermissionURLs;
|
|
5
11
|
validate(manifest: ManifestObject<ManifestSchema> | undefined): ManifestValidationResult<ManifestSchema>;
|
|
6
12
|
}
|
|
7
13
|
//# sourceMappingURL=permissions-validator.d.ts.map
|