@brickkit/core 0.13.1 → 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 +8 -4
- package/dist/chunks/server.js +1048 -1023
- 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
|
@@ -266,14 +266,18 @@ declare const compilerRuntime: Readonly<{
|
|
|
266
266
|
bindRoute: typeof bindRoute;
|
|
267
267
|
}>;
|
|
268
268
|
/**
|
|
269
|
-
* Build artifact bootstrap: import the app
|
|
270
|
-
*
|
|
269
|
+
* Build artifact bootstrap: import the bundled app. It is not re-analyzed
|
|
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
|
-
}>,
|
|
278
|
+
}>, _ir?: BrickIR, options?: {
|
|
279
|
+
workflows?: string;
|
|
280
|
+
}): Promise<BrickApp>;
|
|
277
281
|
interface CompiledRoute {
|
|
278
282
|
readonly ir: RouteIR;
|
|
279
283
|
readonly handler: CompiledHandler;
|