@supacloud/compiler 0.57.1 → 0.59.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 +1 @@
1
- export declare const MIGRATION_APP_VERSION = "0.38.0";
1
+ export declare const MIGRATION_APP_VERSION = "0.39.1";
@@ -1 +1 @@
1
- export declare const MIGRATION_ELYSIA_VERSION = "0.40.0";
1
+ export declare const MIGRATION_ELYSIA_VERSION = "0.42.0";
package/dist/types.d.ts CHANGED
@@ -253,6 +253,8 @@ export interface RouteNode {
253
253
  responses?: Record<string, string>;
254
254
  /** Static Effect execution contract for this route. */
255
255
  effect?: EffectRouteNode;
256
+ /** Simple route profile: handler may return a Promise/value without Effect governance. */
257
+ effectMode?: "simple";
256
258
  /** @Command-decorated class explicitly bound by the route. */
257
259
  command?: string;
258
260
  /** Route guards executed before handler (Angular CanActivateFn style). */
@@ -322,6 +324,7 @@ export interface ControllerNode {
322
324
  export interface CommandNode {
323
325
  rpc?: string;
324
326
  branches?: CommandBranchNode[];
327
+ branchesFallback?: "reject" | "command";
325
328
  className: string;
326
329
  name: string;
327
330
  permission?: string;
@@ -404,6 +407,7 @@ export interface ExecutionPlanRoute {
404
407
  invoker: "direct" | "pipeline";
405
408
  commandBoundary?: "route" | "handler";
406
409
  effect?: EffectRouteNode;
410
+ effectMode?: "simple";
407
411
  stages: string[];
408
412
  command?: string;
409
413
  guards: string[];
@@ -429,6 +433,7 @@ export interface ExecutionPlanCommand {
429
433
  transaction: CommandNode["transaction"];
430
434
  idempotency: CommandNode["idempotency"];
431
435
  branches: CommandBranchNode[];
436
+ branchesFallback: "reject" | "command";
432
437
  tenantScope?: CommandNode["tenantScope"];
433
438
  requiredCapabilities: {
434
439
  permission: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supacloud/compiler",
3
- "version": "0.57.1",
3
+ "version": "0.59.0",
4
4
  "description": "Static compiler for @supacloud/app metadata: builds the application graph from AST, validates it, and generates reflection-free factory code",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -57,8 +57,8 @@
57
57
  "directory": "packages/compiler"
58
58
  },
59
59
  "dependencies": {
60
- "@supacloud/db": "0.21.0",
61
- "@supacloud/delivery": "0.25.0",
60
+ "@supacloud/db": "0.23.1",
61
+ "@supacloud/delivery": "0.26.0",
62
62
  "typebox": "1.4.3",
63
63
  "@graphql-codegen/core": "^6.2.2",
64
64
  "@graphql-codegen/typed-document-node": "^7.2.0",