@supacloud/compiler 0.50.1 → 0.51.1

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.31.1";
1
+ export declare const MIGRATION_APP_VERSION = "0.33.0";
@@ -1 +1 @@
1
- export declare const MIGRATION_ELYSIA_VERSION = "0.35.2";
1
+ export declare const MIGRATION_ELYSIA_VERSION = "0.36.1";
package/dist/types.d.ts CHANGED
@@ -201,6 +201,7 @@ export interface EffectRouteNode {
201
201
  timeoutMs?: number;
202
202
  }
203
203
  export interface RouteNode {
204
+ permission?: string;
204
205
  /** Transport-level idempotency contract, independent of route command binding. */
205
206
  idempotency?: "required" | "none";
206
207
  /** Explicit query cache tags exposed to generated clients. */
@@ -344,6 +345,7 @@ export interface JobNode {
344
345
  export interface QueryNode {
345
346
  className: string;
346
347
  name: string;
348
+ permission?: string;
347
349
  tenantScope?: "required" | "none";
348
350
  }
349
351
  export interface FeatureTransitionNode {
@@ -382,6 +384,9 @@ export interface FeatureSpecNode {
382
384
  states: string[];
383
385
  database?: FeatureDatabaseSourceNode;
384
386
  tenantField?: string;
387
+ readPermission?: string;
388
+ requiredAdapters?: string[];
389
+ requiredAdapterScopes?: Record<string, Scope>;
385
390
  transitions: FeatureTransitionNode[];
386
391
  file?: string;
387
392
  line?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supacloud/compiler",
3
- "version": "0.50.1",
3
+ "version": "0.51.1",
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,9 +57,9 @@
57
57
  "directory": "packages/compiler"
58
58
  },
59
59
  "dependencies": {
60
- "@supacloud/db": "0.20.0",
61
- "@supacloud/delivery": "0.21.0",
62
- "typebox": "1.3.37",
60
+ "@supacloud/db": "0.20.1",
61
+ "@supacloud/delivery": "0.21.1",
62
+ "typebox": "1.4.2",
63
63
  "@graphql-codegen/core": "^6.2.2",
64
64
  "@graphql-codegen/typed-document-node": "^7.2.0",
65
65
  "@graphql-codegen/typescript-operations": "^6.1.10",
@@ -68,7 +68,7 @@
68
68
  "graphql": "^16"
69
69
  },
70
70
  "overrides": {
71
- "@supacloud/contracts": "0.13.0",
71
+ "@supacloud/contracts": "0.15.1",
72
72
  "@graphql-tools/utils": "^12.0.4",
73
73
  "@whatwg-node/promise-helpers": "2.0.0"
74
74
  },