@brickkit/core 0.13.2 → 0.13.3
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/dist/chunks/server.d.ts +5 -1
- package/dist/chunks/server.js +1028 -1013
- package/dist/chunks/server.js.map +1 -1
- package/dist/chunks/types.d.ts +5 -2
- package/dist/index.js +1 -1
- package/dist/testing.js +1 -1
- package/package.json +1 -1
package/dist/chunks/server.d.ts
CHANGED
|
@@ -270,10 +270,14 @@ declare const compilerRuntime: Readonly<{
|
|
|
270
270
|
* against the IR: the bundle and its IR come from one build (#107).
|
|
271
271
|
*
|
|
272
272
|
* @param _ir Ignored; kept so existing callers still type-check.
|
|
273
|
+
* @param options `workflows`: the workflow bundle `brick build` shipped beside
|
|
274
|
+
* the server, read instead of `<root>/.well-known/workflow/v1`.
|
|
273
275
|
*/
|
|
274
276
|
declare function loadCompiledBrickApp(load: () => Promise<{
|
|
275
277
|
default: unknown;
|
|
276
|
-
}>, _ir?: BrickIR
|
|
278
|
+
}>, _ir?: BrickIR, options?: {
|
|
279
|
+
workflows?: string;
|
|
280
|
+
}): Promise<BrickApp>;
|
|
277
281
|
interface CompiledRoute {
|
|
278
282
|
readonly ir: RouteIR;
|
|
279
283
|
readonly handler: CompiledHandler;
|