@brickkit/core 0.13.2 → 0.14.0

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.
@@ -1,4 +1,4 @@
1
- import { Q as BrickSocketConnectOptions, X as BrickSocketClient, Y as BrickClientSocket, bt as StandardErrorCode, c as ActionExecutionError, dr as HttpMethod, s as ActionErrorDefinition, t as Action } from "./types.js";
1
+ import { Q as BrickSocketConnectOptions, St as StandardErrorCode, X as BrickSocketClient, Y as BrickClientSocket, c as ActionExecutionError, s as ActionErrorDefinition, t as Action, wr as HttpMethod } from "./types.js";
2
2
  import { Static, TSchema } from "@sinclair/typebox";
3
3
  /**
4
4
  * The URL segment for a declared name: `orderBilling` becomes `order-billing`,
@@ -1,4 +1,4 @@
1
- import { Dn as SecretSource, E as Logger, J as ValidationErrorItem, Kn as EventsOptions, R as Service, cn as ServicePort, dr as HttpMethod, ht as EventsHub, mt as EventsDefinition, ot as SocketBroker, qt as InstalledPlugin, rt as BrickSocketSchema, t as Action, wt as DatabaseHandle, yn as PluginInstance } from "./types.js";
1
+ import { $n as EventsOptions, E as Logger, En as PluginInstance, Et as DatabaseHandle, J as ValidationErrorItem, Pn as SecretSource, R as Service, Yt as InstalledPlugin, ht as EventsHub, mt as EventsDefinition, ot as SocketBroker, rt as BrickSocketSchema, t as Action, un as ServicePort, wr as HttpMethod } from "./types.js";
2
2
  import { Elysia } from "elysia";
3
3
  type RouteMethod = HttpMethod;
4
4
  interface RouteIR {
@@ -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): 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;