@forge/manifest 10.0.0-next.12 → 10.0.0-next.13
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 +6 -0
- package/out/schema/manifest-schema.json +73 -0
- package/out/schema/manifest.d.ts +24 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -988,6 +988,41 @@
|
|
|
988
988
|
},
|
|
989
989
|
"minItems": 1
|
|
990
990
|
},
|
|
991
|
+
"workflow": {
|
|
992
|
+
"type": "array",
|
|
993
|
+
"items": {
|
|
994
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
995
|
+
"description": "A Forge Workflow definition.",
|
|
996
|
+
"type": "object",
|
|
997
|
+
"additionalProperties": false,
|
|
998
|
+
"properties": {
|
|
999
|
+
"key": {
|
|
1000
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
1001
|
+
},
|
|
1002
|
+
"startAt": {
|
|
1003
|
+
"type": "string"
|
|
1004
|
+
},
|
|
1005
|
+
"states": {
|
|
1006
|
+
"type": "array",
|
|
1007
|
+
"items": {
|
|
1008
|
+
"$ref": "#/definitions/FunctionState"
|
|
1009
|
+
},
|
|
1010
|
+
"minItems": 1
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
"required": [
|
|
1014
|
+
"key",
|
|
1015
|
+
"startAt",
|
|
1016
|
+
"states"
|
|
1017
|
+
],
|
|
1018
|
+
"not": {
|
|
1019
|
+
"required": [
|
|
1020
|
+
"unlicensedAccess"
|
|
1021
|
+
]
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
"minItems": 1
|
|
1025
|
+
},
|
|
991
1026
|
"migration": {
|
|
992
1027
|
"type": "array",
|
|
993
1028
|
"items": {
|
|
@@ -2226,6 +2261,9 @@
|
|
|
2226
2261
|
"type": "string",
|
|
2227
2262
|
"default": "block"
|
|
2228
2263
|
},
|
|
2264
|
+
"emitsReadyEvent": {
|
|
2265
|
+
"type": "boolean"
|
|
2266
|
+
},
|
|
2229
2267
|
"key": {
|
|
2230
2268
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
2231
2269
|
}
|
|
@@ -28368,6 +28406,41 @@
|
|
|
28368
28406
|
"auth"
|
|
28369
28407
|
]
|
|
28370
28408
|
},
|
|
28409
|
+
"FunctionState": {
|
|
28410
|
+
"type": "object",
|
|
28411
|
+
"additionalProperties": false,
|
|
28412
|
+
"properties": {
|
|
28413
|
+
"key": {
|
|
28414
|
+
"type": "string"
|
|
28415
|
+
},
|
|
28416
|
+
"next": {
|
|
28417
|
+
"type": "string"
|
|
28418
|
+
},
|
|
28419
|
+
"end": {
|
|
28420
|
+
"type": "boolean",
|
|
28421
|
+
"default": false
|
|
28422
|
+
},
|
|
28423
|
+
"resolver": {
|
|
28424
|
+
"type": "object",
|
|
28425
|
+
"properties": {
|
|
28426
|
+
"function": {
|
|
28427
|
+
"type": "string"
|
|
28428
|
+
},
|
|
28429
|
+
"method": {
|
|
28430
|
+
"type": "string"
|
|
28431
|
+
}
|
|
28432
|
+
},
|
|
28433
|
+
"required": [
|
|
28434
|
+
"function",
|
|
28435
|
+
"method"
|
|
28436
|
+
]
|
|
28437
|
+
}
|
|
28438
|
+
},
|
|
28439
|
+
"required": [
|
|
28440
|
+
"key",
|
|
28441
|
+
"resolver"
|
|
28442
|
+
]
|
|
28443
|
+
},
|
|
28371
28444
|
"EndpointRoute": {
|
|
28372
28445
|
"type": "object",
|
|
28373
28446
|
"properties": {
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -1215,6 +1215,18 @@ export interface Modules {
|
|
|
1215
1215
|
key: ModuleKeySchema;
|
|
1216
1216
|
}[]
|
|
1217
1217
|
];
|
|
1218
|
+
workflow?: [
|
|
1219
|
+
{
|
|
1220
|
+
key: ModuleKeySchema;
|
|
1221
|
+
startAt: string;
|
|
1222
|
+
states: [FunctionState, ...FunctionState[]];
|
|
1223
|
+
},
|
|
1224
|
+
...{
|
|
1225
|
+
key: ModuleKeySchema;
|
|
1226
|
+
startAt: string;
|
|
1227
|
+
states: [FunctionState, ...FunctionState[]];
|
|
1228
|
+
}[]
|
|
1229
|
+
];
|
|
1218
1230
|
migration?: [
|
|
1219
1231
|
(
|
|
1220
1232
|
| {
|
|
@@ -12136,6 +12148,7 @@ export interface Modules {
|
|
|
12136
12148
|
};
|
|
12137
12149
|
render?: 'native' | 'default';
|
|
12138
12150
|
layout?: 'inline' | 'block' | 'bodied';
|
|
12151
|
+
emitsReadyEvent?: boolean;
|
|
12139
12152
|
key: ModuleKeySchema;
|
|
12140
12153
|
[k: string]: unknown;
|
|
12141
12154
|
}
|
|
@@ -12246,6 +12259,7 @@ export interface Modules {
|
|
|
12246
12259
|
};
|
|
12247
12260
|
render?: 'native' | 'default';
|
|
12248
12261
|
layout?: 'inline' | 'block' | 'bodied';
|
|
12262
|
+
emitsReadyEvent?: boolean;
|
|
12249
12263
|
key: ModuleKeySchema;
|
|
12250
12264
|
[k: string]: unknown;
|
|
12251
12265
|
}
|
|
@@ -22898,6 +22912,16 @@ export interface ExternalAuthFunctionProvider {
|
|
|
22898
22912
|
export interface Runtime1 {
|
|
22899
22913
|
memoryMB?: MemoryMB1;
|
|
22900
22914
|
}
|
|
22915
|
+
export interface FunctionState {
|
|
22916
|
+
key: string;
|
|
22917
|
+
next?: string;
|
|
22918
|
+
end?: boolean;
|
|
22919
|
+
resolver: {
|
|
22920
|
+
function: string;
|
|
22921
|
+
method: string;
|
|
22922
|
+
[k: string]: unknown;
|
|
22923
|
+
};
|
|
22924
|
+
}
|
|
22901
22925
|
export interface EndpointRoute {
|
|
22902
22926
|
/**
|
|
22903
22927
|
* Path of the remote endpoint to invoke
|