@supacloud/compiler 0.15.0 → 0.17.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.
- package/DELIVERY.md +223 -0
- package/README.md +20 -0
- package/dist/benchmark.d.ts +10 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +7543 -450
- package/dist/config.d.ts +4 -1
- package/dist/delivery-build-schema.d.ts +184 -0
- package/dist/delivery-build.d.ts +4 -0
- package/dist/delivery-bundle.d.ts +7 -0
- package/dist/delivery-files.d.ts +17 -0
- package/dist/delivery-plan.d.ts +7 -0
- package/dist/delivery-render.d.ts +5 -0
- package/dist/delivery-schema.d.ts +186 -0
- package/dist/fixtures/bad-project.d.ts +7 -0
- package/dist/fixtures/good-project.d.ts +12 -0
- package/dist/fixtures/helpers.d.ts +5 -0
- package/dist/fixtures/runtime-source.d.ts +7 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +8832 -1814
- package/dist/types.d.ts +3 -0
- package/package.json +4 -2
package/dist/types.d.ts
CHANGED
|
@@ -414,11 +414,14 @@ export interface ValidateOptions {
|
|
|
414
414
|
}
|
|
415
415
|
/** Runtime capabilities declared by the Command executor. */
|
|
416
416
|
export interface CommandExecutionCapabilities {
|
|
417
|
+
/** Require named persistent adapters and explicit audit/idempotency declarations. */
|
|
418
|
+
requirePersistentAdapters?: boolean;
|
|
417
419
|
/** Explicit named adapters; declarations must also be tested against the database. */
|
|
418
420
|
rpc?: Record<string, {
|
|
419
421
|
audit?: boolean;
|
|
420
422
|
idempotency?: boolean;
|
|
421
423
|
transaction?: boolean;
|
|
424
|
+
boundary?: "database" | "external";
|
|
422
425
|
}>;
|
|
423
426
|
/** Whether runtime permission checks are supported. */
|
|
424
427
|
permission?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supacloud/compiler",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.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",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"dist",
|
|
21
|
-
"README.md"
|
|
21
|
+
"README.md",
|
|
22
|
+
"DELIVERY.md"
|
|
22
23
|
],
|
|
23
24
|
"scripts": {
|
|
24
25
|
"build": "bun run clean && bun run build:js && bun run build:types",
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
"directory": "packages/compiler"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
50
|
+
"@sinclair/typebox": "^0.34.52",
|
|
49
51
|
"@graphql-codegen/core": "^6.2.0",
|
|
50
52
|
"@graphql-codegen/typed-document-node": "^7.1.0",
|
|
51
53
|
"@graphql-codegen/typescript-operations": "^6.1.6",
|