@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.
@@ -266,14 +266,18 @@ declare const compilerRuntime: Readonly<{
266
266
  bindRoute: typeof bindRoute;
267
267
  }>;
268
268
  /**
269
- * Build artifact bootstrap: import the app and check that its definitions
270
- * still match the IR `brick build` compiled.
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
- * @throws When the app's definitions differ from `ir`.
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): Promise<BrickApp>;
278
+ }>, _ir?: BrickIR, options?: {
279
+ workflows?: string;
280
+ }): Promise<BrickApp>;
277
281
  interface CompiledRoute {
278
282
  readonly ir: RouteIR;
279
283
  readonly handler: CompiledHandler;