@supacloud/compiler 0.39.0 → 0.40.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/dist/cli.js +11020 -677
- package/dist/delivery-bundle-worker.js +10608 -655
- package/dist/graphql-client.d.ts +1 -1
- package/dist/graphql-governance.d.ts +92 -0
- package/dist/graphql-runtime.d.ts +2 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +11166 -892
- package/dist/migration-elysia-version.d.ts +1 -1
- package/dist/types.d.ts +4 -0
- package/package.json +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MIGRATION_ELYSIA_VERSION = "0.
|
|
1
|
+
export declare const MIGRATION_ELYSIA_VERSION = "0.27.0";
|
package/dist/types.d.ts
CHANGED
|
@@ -433,6 +433,8 @@ export interface CompileOptions {
|
|
|
433
433
|
export interface GraphqlOptions {
|
|
434
434
|
/** Additionally emit standard TypedDocumentNode artifacts for GraphQL ecosystem clients. */
|
|
435
435
|
typedDocuments?: boolean;
|
|
436
|
+
/** Explicitly allow GraphQL mutations in generated documents. Defaults to false. */
|
|
437
|
+
mutations?: boolean;
|
|
436
438
|
/** Exported role-scoped database snapshot (.graphql/.gql/.json), never authored SDL or executable code.
|
|
437
439
|
* Relative to rootDir for the programmatic API. Offline compilation does not attest its origin. */
|
|
438
440
|
schema: string;
|
|
@@ -479,6 +481,8 @@ export interface GraphqlContractSummary {
|
|
|
479
481
|
schemaHash?: string;
|
|
480
482
|
/** SHA-256 with physical CRLF/CR normalized to LF; not an integrity or semantic digest. */
|
|
481
483
|
schemaNormalizedHash?: string;
|
|
484
|
+
/** Generated operation capability; omitted by older consumers and query-only by default. */
|
|
485
|
+
mode?: "query-only" | "query-mutation";
|
|
482
486
|
documents: string[];
|
|
483
487
|
operations: Array<{
|
|
484
488
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supacloud/compiler",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.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",
|
|
@@ -64,7 +64,8 @@
|
|
|
64
64
|
"graphql": "^16"
|
|
65
65
|
},
|
|
66
66
|
"overrides": {
|
|
67
|
-
"@graphql-tools/utils": "^12.0.3"
|
|
67
|
+
"@graphql-tools/utils": "^12.0.3",
|
|
68
|
+
"@whatwg-node/promise-helpers": "1.3.2"
|
|
68
69
|
},
|
|
69
70
|
"devDependencies": {
|
|
70
71
|
"@supabase/supabase-js": "2.115.0",
|