@sequenceholdings/orm 2.1.0 → 2.2.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/README.md +40 -1
- package/dist/authoring.cjs +1619 -121
- package/dist/authoring.cjs.map +1 -1
- package/dist/authoring.d.cts +252 -8
- package/dist/authoring.d.ts +252 -8
- package/dist/authoring.js +1607 -123
- package/dist/authoring.js.map +1 -1
- package/dist/canonical.cjs +713 -41
- package/dist/canonical.cjs.map +1 -1
- package/dist/canonical.d.cts +1520 -51
- package/dist/canonical.d.ts +1520 -51
- package/dist/canonical.js +693 -42
- package/dist/canonical.js.map +1 -1
- package/dist/cli.cjs +7103 -3901
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +7104 -3902
- package/dist/cli.js.map +1 -1
- package/dist/client.cjs +122 -40
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +85 -25
- package/dist/client.d.ts +85 -25
- package/dist/client.js +119 -41
- package/dist/client.js.map +1 -1
- package/dist/compiler.cjs +2464 -450
- package/dist/compiler.cjs.map +1 -1
- package/dist/compiler.d.cts +79 -4
- package/dist/compiler.d.ts +79 -4
- package/dist/compiler.js +2457 -451
- package/dist/compiler.js.map +1 -1
- package/dist/constants-C6EG6Wq7.d.cts +99 -0
- package/dist/constants-C6EG6Wq7.d.ts +99 -0
- package/dist/definition-DjfC7Lll.d.cts +91 -0
- package/dist/definition-DjfC7Lll.d.ts +91 -0
- package/dist/dynamic-input.cjs +2 -1
- package/dist/dynamic-input.cjs.map +1 -1
- package/dist/dynamic-input.d.cts +9 -1
- package/dist/dynamic-input.d.ts +9 -1
- package/dist/dynamic-input.js +2 -1
- package/dist/dynamic-input.js.map +1 -1
- package/dist/index.cjs +2656 -418
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +693 -116
- package/dist/index.d.ts +693 -116
- package/dist/index.js +2622 -420
- package/dist/index.js.map +1 -1
- package/dist/ir.cjs +811 -48
- package/dist/ir.cjs.map +1 -1
- package/dist/ir.d.cts +670 -27
- package/dist/ir.d.ts +670 -27
- package/dist/ir.js +802 -49
- package/dist/ir.js.map +1 -1
- package/dist/{naming-DCn94LJ4.d.ts → naming-CPfx7EfF.d.ts} +14 -1
- package/dist/{naming-DPglwzkB.d.cts → naming-CU9ThP_E.d.cts} +14 -1
- package/dist/policy-1iZbGnZZ.d.cts +24 -0
- package/dist/policy-1iZbGnZZ.d.ts +24 -0
- package/dist/predicate-v2.cjs +804 -51
- package/dist/predicate-v2.cjs.map +1 -1
- package/dist/predicate-v2.d.cts +2 -1
- package/dist/predicate-v2.d.ts +2 -1
- package/dist/predicate-v2.js +804 -51
- package/dist/predicate-v2.js.map +1 -1
- package/dist/sdl.cjs +1014 -75
- package/dist/sdl.cjs.map +1 -1
- package/dist/sdl.d.cts +14 -3
- package/dist/sdl.d.ts +14 -3
- package/dist/sdl.js +1012 -76
- package/dist/sdl.js.map +1 -1
- package/package.json +13 -7
- package/src/codegen-gql/server-fns.cjs +2 -2
- package/templates/orm-namespace/AGENTS.md +10 -0
- package/templates/orm-namespace/CLAUDE.md +1 -82
- package/templates/orm-namespace/codegen.preset.d.cts +7 -0
- package/templates/orm-namespace/codegen.ts +2 -1
- package/templates/orm-namespace/graphql/example/queries.ts +4 -3
- package/templates/orm-namespace/package.json +2 -1
- package/templates/orm-namespace/schema/tables.ts +3 -2
- package/templates/orm-namespace/sequence.config.ts +7 -11
package/dist/compiler.d.cts
CHANGED
|
@@ -3,8 +3,11 @@ import { ClaimKey, PredIr, RootIr, InputRefKind, TableMetaIr, CompiledOperation,
|
|
|
3
3
|
import { DocumentNode, OperationDefinitionNode, FragmentDefinitionNode, GraphQLSchema, ValueNode, SelectionSetNode } from 'graphql';
|
|
4
4
|
export { DynamicInputIssue, DynamicInputResult, NormalizedBoolExp, NormalizedOnConflict, NormalizedOrderBy, NormalizedRow, ORDER_BY_DIRECTIONS, ScalarKind, allowedBoolExpOperators, allowedOps, validateAppendInput, validateBoolExpInput, validateInsertInput, validateOnConflictInput, validateOrderByInput, validateSelectColumns, validateSetInput } from './dynamic-input.cjs';
|
|
5
5
|
export { CompilePolicyInput, CompilePredicateInput, POLICY_COMPARE_OPS, POLICY_MAX_LINK_DEPTH, ParsedPolicy, PolicyColumnInfo, PolicyCompareOp, PolicyCompileError, PolicyCompileErrorCode, PolicyLinkInfo, PolicyNode, PolicyOperand, PolicyParseError, PolicyResolver, PolicyTableInfo, assertClaimsOnlyWhen, compilePolicy, compilePredicateV2, parsePolicy, walkPolicy } from './predicate-v2.cjs';
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
import { z } from 'zod';
|
|
7
|
+
export { P as PLATFORM_USER_TYPENAME, c as camelCase, g as enumTypeName, p as pascalCase } from './naming-CU9ThP_E.cjs';
|
|
8
|
+
export { S as SqlOperationDefinition, d as defineOperation, s as sqlOperationDefinitionSchema } from './definition-DjfC7Lll.cjs';
|
|
9
|
+
import './constants-C6EG6Wq7.cjs';
|
|
10
|
+
import './policy-1iZbGnZZ.cjs';
|
|
8
11
|
|
|
9
12
|
type DiagnosticSeverity = 'error' | 'warning';
|
|
10
13
|
interface CompilerDiagnostic {
|
|
@@ -157,9 +160,16 @@ interface CowMutationRootInfo {
|
|
|
157
160
|
/** Override: properties copied INSERT…SELECT from synced (pk included). */
|
|
158
161
|
copyColumns: readonly string[];
|
|
159
162
|
}
|
|
160
|
-
|
|
163
|
+
/** A resolved-table write root (the table is the resolved view). */
|
|
164
|
+
interface ResolvedMutationRootInfo {
|
|
165
|
+
op: 'resolvedWrite';
|
|
166
|
+
action: 'insert' | 'update' | 'delete' | 'revert';
|
|
167
|
+
table: string;
|
|
168
|
+
}
|
|
169
|
+
type MutationRootInfo = CrudMutationRootInfo | CowMutationRootInfo | ResolvedMutationRootInfo;
|
|
161
170
|
interface CompileContext {
|
|
162
171
|
namespace: string;
|
|
172
|
+
composed: boolean;
|
|
163
173
|
tables: Record<string, TableMetaIr>;
|
|
164
174
|
/** GraphQL object type name → table name. */
|
|
165
175
|
tableByTypename: Map<string, string>;
|
|
@@ -329,6 +339,7 @@ declare class OperationLowerer {
|
|
|
329
339
|
private readonly variables;
|
|
330
340
|
constructor(ctx: CompileContext, restricted: RestrictedOperation);
|
|
331
341
|
private meta;
|
|
342
|
+
/** A data column — cell-metadata columns are reachable only through `cells { … }`. */
|
|
332
343
|
private column;
|
|
333
344
|
private link;
|
|
334
345
|
private fieldCandidates;
|
|
@@ -347,6 +358,12 @@ declare class OperationLowerer {
|
|
|
347
358
|
private lowerLimit;
|
|
348
359
|
private lowerOffset;
|
|
349
360
|
lowerSelection(selectionSet: SelectionSetNode, table: string): SelectionIr;
|
|
361
|
+
/**
|
|
362
|
+
* `cells { <column> { at by … } }` — typed per-cell metadata. Plain tables
|
|
363
|
+
* offer `at`/`by`; resolved tables add the winning `source` and newer
|
|
364
|
+
* `conflicts { source at value }`.
|
|
365
|
+
*/
|
|
366
|
+
private lowerCells;
|
|
350
367
|
/** The `{ aggregate { count sum {…} avg {…} } nodes {…} }` block shared by roots and relations. */
|
|
351
368
|
private lowerAggregateSelection;
|
|
352
369
|
/**
|
|
@@ -394,6 +411,12 @@ declare class OperationLowerer {
|
|
|
394
411
|
* the structured fields, never from authored statements.
|
|
395
412
|
*/
|
|
396
413
|
private lowerCowRoot;
|
|
414
|
+
/**
|
|
415
|
+
* Resolved-table roots: insertOne(object), updateByPk(pkColumns, _set),
|
|
416
|
+
* deleteByPk(pk…), revertByPk(pkColumns, columns). The executor writes only
|
|
417
|
+
* the touched cells into the manual source; `returning` reads the view.
|
|
418
|
+
*/
|
|
419
|
+
private lowerResolvedRoot;
|
|
397
420
|
private lowerMutationResponse;
|
|
398
421
|
private lowerInsertObjects;
|
|
399
422
|
private lowerInsertRow;
|
|
@@ -418,4 +441,56 @@ declare function predContainsExists(pred: PredIr): boolean;
|
|
|
418
441
|
/** Structural containment: does `haystack` carry `needle` as a subtree? */
|
|
419
442
|
declare function predContains(haystack: PredIr, needle: PredIr): boolean;
|
|
420
443
|
|
|
421
|
-
|
|
444
|
+
declare function isSqlOperationDocument(path: string, contents?: string): boolean;
|
|
445
|
+
/** Additive language dispatch. GraphQL still uses its original compiler/hash. */
|
|
446
|
+
declare function compileOperationDocuments(input: CompileNamespaceInput): Promise<CompileNamespaceResult>;
|
|
447
|
+
|
|
448
|
+
/** This is deliberately not an arbitrary JSON variable: types and size are bounded. */
|
|
449
|
+
declare const sqlQueryInputSchema: z.ZodObject<{
|
|
450
|
+
sql: z.ZodString;
|
|
451
|
+
parameters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
452
|
+
type: z.ZodLiteral<"text">;
|
|
453
|
+
value: z.ZodNullable<z.ZodString>;
|
|
454
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
455
|
+
type: z.ZodLiteral<"uuid">;
|
|
456
|
+
value: z.ZodNullable<z.ZodGUID>;
|
|
457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
458
|
+
type: z.ZodLiteral<"date">;
|
|
459
|
+
value: z.ZodNullable<z.ZodString>;
|
|
460
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
461
|
+
type: z.ZodLiteral<"timestamptz">;
|
|
462
|
+
value: z.ZodNullable<z.ZodString>;
|
|
463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
464
|
+
type: z.ZodLiteral<"numeric">;
|
|
465
|
+
value: z.ZodNullable<z.ZodString>;
|
|
466
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
467
|
+
type: z.ZodLiteral<"bigint">;
|
|
468
|
+
value: z.ZodNullable<z.ZodString>;
|
|
469
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
470
|
+
type: z.ZodLiteral<"integer">;
|
|
471
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
472
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
473
|
+
type: z.ZodLiteral<"double">;
|
|
474
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
475
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
476
|
+
type: z.ZodLiteral<"boolean">;
|
|
477
|
+
value: z.ZodNullable<z.ZodBoolean>;
|
|
478
|
+
}, z.core.$strict>], "type">>>;
|
|
479
|
+
}, z.core.$strict>;
|
|
480
|
+
type SqlQueryInput = z.infer<typeof sqlQueryInputSchema>;
|
|
481
|
+
/** The returned plan contains no bound parameter values or caller identity. */
|
|
482
|
+
declare function compileRuntimeSql({ operation, input }: {
|
|
483
|
+
operation: CompiledOperation;
|
|
484
|
+
input: SqlQueryInput;
|
|
485
|
+
}): Promise<CompiledOperation>;
|
|
486
|
+
|
|
487
|
+
declare const DATASET_PREVIEW_LIMIT = 100;
|
|
488
|
+
/**
|
|
489
|
+
* Fixed runtime-owned reads, separate from the published operation manifest.
|
|
490
|
+
* Use logical column identities directly (no GraphQL naming conversion) and
|
|
491
|
+
* the normal compiler context/policy pass. Like generated GraphQL, internal
|
|
492
|
+
* source tables, raw synced backings, and cell metadata are not exposed.
|
|
493
|
+
*/
|
|
494
|
+
declare function compileDatasetPreviews(input: CanonicalDefinition): Record<string, CompiledOperation>;
|
|
495
|
+
|
|
496
|
+
export { type BuildContextResult, COMPILER_MAJOR, CONST_TRUE, type ClientManifest, type ClientManifestOperation, type CompileContext, type CompileNamespaceInput, type CompileNamespaceResult, type CompilerDiagnostic, DATASET_PREVIEW_LIMIT, DEFAULT_LIMIT, type DiagnosticSeverity, DocumentCompileError, MAX_LIMIT, type MutationOp, type MutationRootInfo, NamespaceCompileError, OperationLowerer, PLATFORM_USER_TABLE, type ParseDocumentsResult, type ParsedDocument, type PinnedColumn, type QueryRootInfo, type RestrictedOperation, type SourceDocument, type SqlQueryInput, andPred, buildCompileContext, canonicalOperationText, classifyInputType, collectPinnedColumns, compileDatasetPreviews, compileNamespace, compileNamespaceOrThrow, compileOperationDocuments, compileRuntimeSql, computeOpHash, computeOpsHash, computePinnedColumnsByTable, computeSchemaHash, flattenOperation, injectPolicies, inputTypeName, isSqlOperationDocument, lowerOperation, mutationRootNames, parseDocuments, parseSdl, platformUserMeta, predContains, predContainsExists, queryRootNames, restrictOperation, sqlQueryInputSchema, typeNameForTable, walkPred };
|
package/dist/compiler.d.ts
CHANGED
|
@@ -3,8 +3,11 @@ import { ClaimKey, PredIr, RootIr, InputRefKind, TableMetaIr, CompiledOperation,
|
|
|
3
3
|
import { DocumentNode, OperationDefinitionNode, FragmentDefinitionNode, GraphQLSchema, ValueNode, SelectionSetNode } from 'graphql';
|
|
4
4
|
export { DynamicInputIssue, DynamicInputResult, NormalizedBoolExp, NormalizedOnConflict, NormalizedOrderBy, NormalizedRow, ORDER_BY_DIRECTIONS, ScalarKind, allowedBoolExpOperators, allowedOps, validateAppendInput, validateBoolExpInput, validateInsertInput, validateOnConflictInput, validateOrderByInput, validateSelectColumns, validateSetInput } from './dynamic-input.js';
|
|
5
5
|
export { CompilePolicyInput, CompilePredicateInput, POLICY_COMPARE_OPS, POLICY_MAX_LINK_DEPTH, ParsedPolicy, PolicyColumnInfo, PolicyCompareOp, PolicyCompileError, PolicyCompileErrorCode, PolicyLinkInfo, PolicyNode, PolicyOperand, PolicyParseError, PolicyResolver, PolicyTableInfo, assertClaimsOnlyWhen, compilePolicy, compilePredicateV2, parsePolicy, walkPolicy } from './predicate-v2.js';
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
import { z } from 'zod';
|
|
7
|
+
export { P as PLATFORM_USER_TYPENAME, c as camelCase, g as enumTypeName, p as pascalCase } from './naming-CPfx7EfF.js';
|
|
8
|
+
export { S as SqlOperationDefinition, d as defineOperation, s as sqlOperationDefinitionSchema } from './definition-DjfC7Lll.js';
|
|
9
|
+
import './constants-C6EG6Wq7.js';
|
|
10
|
+
import './policy-1iZbGnZZ.js';
|
|
8
11
|
|
|
9
12
|
type DiagnosticSeverity = 'error' | 'warning';
|
|
10
13
|
interface CompilerDiagnostic {
|
|
@@ -157,9 +160,16 @@ interface CowMutationRootInfo {
|
|
|
157
160
|
/** Override: properties copied INSERT…SELECT from synced (pk included). */
|
|
158
161
|
copyColumns: readonly string[];
|
|
159
162
|
}
|
|
160
|
-
|
|
163
|
+
/** A resolved-table write root (the table is the resolved view). */
|
|
164
|
+
interface ResolvedMutationRootInfo {
|
|
165
|
+
op: 'resolvedWrite';
|
|
166
|
+
action: 'insert' | 'update' | 'delete' | 'revert';
|
|
167
|
+
table: string;
|
|
168
|
+
}
|
|
169
|
+
type MutationRootInfo = CrudMutationRootInfo | CowMutationRootInfo | ResolvedMutationRootInfo;
|
|
161
170
|
interface CompileContext {
|
|
162
171
|
namespace: string;
|
|
172
|
+
composed: boolean;
|
|
163
173
|
tables: Record<string, TableMetaIr>;
|
|
164
174
|
/** GraphQL object type name → table name. */
|
|
165
175
|
tableByTypename: Map<string, string>;
|
|
@@ -329,6 +339,7 @@ declare class OperationLowerer {
|
|
|
329
339
|
private readonly variables;
|
|
330
340
|
constructor(ctx: CompileContext, restricted: RestrictedOperation);
|
|
331
341
|
private meta;
|
|
342
|
+
/** A data column — cell-metadata columns are reachable only through `cells { … }`. */
|
|
332
343
|
private column;
|
|
333
344
|
private link;
|
|
334
345
|
private fieldCandidates;
|
|
@@ -347,6 +358,12 @@ declare class OperationLowerer {
|
|
|
347
358
|
private lowerLimit;
|
|
348
359
|
private lowerOffset;
|
|
349
360
|
lowerSelection(selectionSet: SelectionSetNode, table: string): SelectionIr;
|
|
361
|
+
/**
|
|
362
|
+
* `cells { <column> { at by … } }` — typed per-cell metadata. Plain tables
|
|
363
|
+
* offer `at`/`by`; resolved tables add the winning `source` and newer
|
|
364
|
+
* `conflicts { source at value }`.
|
|
365
|
+
*/
|
|
366
|
+
private lowerCells;
|
|
350
367
|
/** The `{ aggregate { count sum {…} avg {…} } nodes {…} }` block shared by roots and relations. */
|
|
351
368
|
private lowerAggregateSelection;
|
|
352
369
|
/**
|
|
@@ -394,6 +411,12 @@ declare class OperationLowerer {
|
|
|
394
411
|
* the structured fields, never from authored statements.
|
|
395
412
|
*/
|
|
396
413
|
private lowerCowRoot;
|
|
414
|
+
/**
|
|
415
|
+
* Resolved-table roots: insertOne(object), updateByPk(pkColumns, _set),
|
|
416
|
+
* deleteByPk(pk…), revertByPk(pkColumns, columns). The executor writes only
|
|
417
|
+
* the touched cells into the manual source; `returning` reads the view.
|
|
418
|
+
*/
|
|
419
|
+
private lowerResolvedRoot;
|
|
397
420
|
private lowerMutationResponse;
|
|
398
421
|
private lowerInsertObjects;
|
|
399
422
|
private lowerInsertRow;
|
|
@@ -418,4 +441,56 @@ declare function predContainsExists(pred: PredIr): boolean;
|
|
|
418
441
|
/** Structural containment: does `haystack` carry `needle` as a subtree? */
|
|
419
442
|
declare function predContains(haystack: PredIr, needle: PredIr): boolean;
|
|
420
443
|
|
|
421
|
-
|
|
444
|
+
declare function isSqlOperationDocument(path: string, contents?: string): boolean;
|
|
445
|
+
/** Additive language dispatch. GraphQL still uses its original compiler/hash. */
|
|
446
|
+
declare function compileOperationDocuments(input: CompileNamespaceInput): Promise<CompileNamespaceResult>;
|
|
447
|
+
|
|
448
|
+
/** This is deliberately not an arbitrary JSON variable: types and size are bounded. */
|
|
449
|
+
declare const sqlQueryInputSchema: z.ZodObject<{
|
|
450
|
+
sql: z.ZodString;
|
|
451
|
+
parameters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
452
|
+
type: z.ZodLiteral<"text">;
|
|
453
|
+
value: z.ZodNullable<z.ZodString>;
|
|
454
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
455
|
+
type: z.ZodLiteral<"uuid">;
|
|
456
|
+
value: z.ZodNullable<z.ZodGUID>;
|
|
457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
458
|
+
type: z.ZodLiteral<"date">;
|
|
459
|
+
value: z.ZodNullable<z.ZodString>;
|
|
460
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
461
|
+
type: z.ZodLiteral<"timestamptz">;
|
|
462
|
+
value: z.ZodNullable<z.ZodString>;
|
|
463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
464
|
+
type: z.ZodLiteral<"numeric">;
|
|
465
|
+
value: z.ZodNullable<z.ZodString>;
|
|
466
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
467
|
+
type: z.ZodLiteral<"bigint">;
|
|
468
|
+
value: z.ZodNullable<z.ZodString>;
|
|
469
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
470
|
+
type: z.ZodLiteral<"integer">;
|
|
471
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
472
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
473
|
+
type: z.ZodLiteral<"double">;
|
|
474
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
475
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
476
|
+
type: z.ZodLiteral<"boolean">;
|
|
477
|
+
value: z.ZodNullable<z.ZodBoolean>;
|
|
478
|
+
}, z.core.$strict>], "type">>>;
|
|
479
|
+
}, z.core.$strict>;
|
|
480
|
+
type SqlQueryInput = z.infer<typeof sqlQueryInputSchema>;
|
|
481
|
+
/** The returned plan contains no bound parameter values or caller identity. */
|
|
482
|
+
declare function compileRuntimeSql({ operation, input }: {
|
|
483
|
+
operation: CompiledOperation;
|
|
484
|
+
input: SqlQueryInput;
|
|
485
|
+
}): Promise<CompiledOperation>;
|
|
486
|
+
|
|
487
|
+
declare const DATASET_PREVIEW_LIMIT = 100;
|
|
488
|
+
/**
|
|
489
|
+
* Fixed runtime-owned reads, separate from the published operation manifest.
|
|
490
|
+
* Use logical column identities directly (no GraphQL naming conversion) and
|
|
491
|
+
* the normal compiler context/policy pass. Like generated GraphQL, internal
|
|
492
|
+
* source tables, raw synced backings, and cell metadata are not exposed.
|
|
493
|
+
*/
|
|
494
|
+
declare function compileDatasetPreviews(input: CanonicalDefinition): Record<string, CompiledOperation>;
|
|
495
|
+
|
|
496
|
+
export { type BuildContextResult, COMPILER_MAJOR, CONST_TRUE, type ClientManifest, type ClientManifestOperation, type CompileContext, type CompileNamespaceInput, type CompileNamespaceResult, type CompilerDiagnostic, DATASET_PREVIEW_LIMIT, DEFAULT_LIMIT, type DiagnosticSeverity, DocumentCompileError, MAX_LIMIT, type MutationOp, type MutationRootInfo, NamespaceCompileError, OperationLowerer, PLATFORM_USER_TABLE, type ParseDocumentsResult, type ParsedDocument, type PinnedColumn, type QueryRootInfo, type RestrictedOperation, type SourceDocument, type SqlQueryInput, andPred, buildCompileContext, canonicalOperationText, classifyInputType, collectPinnedColumns, compileDatasetPreviews, compileNamespace, compileNamespaceOrThrow, compileOperationDocuments, compileRuntimeSql, computeOpHash, computeOpsHash, computePinnedColumnsByTable, computeSchemaHash, flattenOperation, injectPolicies, inputTypeName, isSqlOperationDocument, lowerOperation, mutationRootNames, parseDocuments, parseSdl, platformUserMeta, predContains, predContainsExists, queryRootNames, restrictOperation, sqlQueryInputSchema, typeNameForTable, walkPred };
|