@sequenceholdings/orm 2.10.0 → 2.11.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.
- package/README.md +74 -4
- package/dist/authoring.cjs +796 -7
- package/dist/authoring.cjs.map +1 -1
- package/dist/authoring.d.cts +10 -1
- package/dist/authoring.d.ts +10 -1
- package/dist/authoring.js +796 -7
- package/dist/authoring.js.map +1 -1
- package/dist/canonical.cjs +777 -6
- package/dist/canonical.cjs.map +1 -1
- package/dist/canonical.js +777 -6
- package/dist/canonical.js.map +1 -1
- package/dist/cli.cjs +7697 -7686
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +7698 -7687
- package/dist/cli.js.map +1 -1
- package/dist/client.cjs +5 -10
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -13
- package/dist/client.d.ts +2 -13
- package/dist/client.js +6 -10
- package/dist/client.js.map +1 -1
- package/dist/compiler.cjs +815 -100
- package/dist/compiler.cjs.map +1 -1
- package/dist/compiler.d.cts +5 -16
- package/dist/compiler.d.ts +5 -16
- package/dist/compiler.js +817 -99
- package/dist/compiler.js.map +1 -1
- package/dist/index.cjs +3611 -3287
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +577 -7
- package/dist/index.d.ts +577 -7
- package/dist/index.js +3600 -3285
- package/dist/index.js.map +1 -1
- package/dist/ir.cjs +784 -18
- package/dist/ir.cjs.map +1 -1
- package/dist/ir.d.cts +3 -6
- package/dist/ir.d.ts +3 -6
- package/dist/ir.js +784 -18
- package/dist/ir.js.map +1 -1
- package/dist/predicate-v2.cjs +796 -31
- package/dist/predicate-v2.cjs.map +1 -1
- package/dist/predicate-v2.js +796 -31
- package/dist/predicate-v2.js.map +1 -1
- package/dist/sdl.cjs +790 -28
- package/dist/sdl.cjs.map +1 -1
- package/dist/sdl.d.cts +1 -5
- package/dist/sdl.d.ts +1 -5
- package/dist/sdl.js +790 -28
- package/dist/sdl.js.map +1 -1
- package/package.json +1 -1
- package/src/codegen-gql/server-fns.cjs +1 -1
package/dist/compiler.d.cts
CHANGED
|
@@ -238,16 +238,13 @@ declare function parseDocuments({ schema, documents, }: {
|
|
|
238
238
|
|
|
239
239
|
/** Content hash of the canonical definition — the schema identity ops compile against. */
|
|
240
240
|
declare function computeSchemaHash(canonical: CanonicalDefinition): string;
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
/** What codegen/the client transport needs: name → hash mapping + set identity. */
|
|
241
|
+
/** Registration tripwire: exact compiled contracts, never selector digests.
|
|
242
|
+
* Public generated client manifests project only kind and capability gates. */
|
|
243
|
+
type ClientManifestOperation = CompiledOperation;
|
|
244
|
+
/** What codegen/the client transport needs: namespace-scoped name, kind and capability contract. */
|
|
247
245
|
interface ClientManifest {
|
|
248
246
|
namespace: string;
|
|
249
247
|
schemaHash: string;
|
|
250
|
-
opsHash: string;
|
|
251
248
|
operations: Record<string, ClientManifestOperation>;
|
|
252
249
|
}
|
|
253
250
|
interface CompileNamespaceInput {
|
|
@@ -287,16 +284,8 @@ declare function flattenOperation({ operation, fragments, }: {
|
|
|
287
284
|
fragments: ReadonlyMap<string, FragmentDefinitionNode>;
|
|
288
285
|
}): OperationDefinitionNode;
|
|
289
286
|
|
|
290
|
-
/** Bump on any change to lowering semantics — invalidates every op hash. */
|
|
291
|
-
declare const COMPILER_MAJOR = 1;
|
|
292
287
|
/** Canonical print of one flattened operation (fragments already inlined). */
|
|
293
288
|
declare function canonicalOperationText(definition: OperationDefinitionNode): string;
|
|
294
|
-
declare function computeOpHash({ definition, schemaHash, }: {
|
|
295
|
-
definition: OperationDefinitionNode;
|
|
296
|
-
schemaHash: string;
|
|
297
|
-
}): string;
|
|
298
|
-
/** Order-independent set hash over the sorted op hashes. */
|
|
299
|
-
declare function computeOpsHash(opHashes: readonly string[]): string;
|
|
300
289
|
|
|
301
290
|
/**
|
|
302
291
|
* Restrict pass — the grammar gate that keeps operations inside the v2.0
|
|
@@ -721,4 +710,4 @@ declare function projectOperationMetadata({ artifact, operation }: {
|
|
|
721
710
|
operation: CompiledOperation;
|
|
722
711
|
}): CompiledArtifact;
|
|
723
712
|
|
|
724
|
-
export { type BuildContextResult,
|
|
713
|
+
export { type BuildContextResult, 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, OBJECT_METADATA_FORMAT, OPERATION_METADATA_FORMAT, type ObjectMetadataProjection, type ObjectSqlBundle, OperationLowerer, PLATFORM_USER_TABLE, type ParseDocumentsResult, type ParsedDocument, type PinnedColumn, type QueryRootInfo, type RestrictedOperation, type SourceDocument, type SqlQueryInput, andPred, bindNamedParameters, buildCompileContext, canonicalOperationText, classifyInputType, collectPinnedColumns, compileBuiltinSqlArtifact, compileDatasetPreviews, compileDefaultOperations, compileNamespace, compileNamespaceOrThrow, compileObjectMetadata, compileOperationDocuments, compileRuntimeSql, composeObjectSqlArtifact, computePinnedColumnsByTable, computeSchemaHash, flattenOperation, generateDefaultOperations, injectPolicies, inputTypeName, isSqlOperationDocument, lowerOperation, mutationRootNames, objectSqlBundleSchema, parseDocuments, parseSdl, platformUserMeta, predContains, predContainsExists, projectOperationMetadata, queryRootNames, referencedSqlObjects, restrictOperation, sqlQueryInputSchema, typeNameForTable, validateManagedViewQueries, walkPred };
|
package/dist/compiler.d.ts
CHANGED
|
@@ -238,16 +238,13 @@ declare function parseDocuments({ schema, documents, }: {
|
|
|
238
238
|
|
|
239
239
|
/** Content hash of the canonical definition — the schema identity ops compile against. */
|
|
240
240
|
declare function computeSchemaHash(canonical: CanonicalDefinition): string;
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
/** What codegen/the client transport needs: name → hash mapping + set identity. */
|
|
241
|
+
/** Registration tripwire: exact compiled contracts, never selector digests.
|
|
242
|
+
* Public generated client manifests project only kind and capability gates. */
|
|
243
|
+
type ClientManifestOperation = CompiledOperation;
|
|
244
|
+
/** What codegen/the client transport needs: namespace-scoped name, kind and capability contract. */
|
|
247
245
|
interface ClientManifest {
|
|
248
246
|
namespace: string;
|
|
249
247
|
schemaHash: string;
|
|
250
|
-
opsHash: string;
|
|
251
248
|
operations: Record<string, ClientManifestOperation>;
|
|
252
249
|
}
|
|
253
250
|
interface CompileNamespaceInput {
|
|
@@ -287,16 +284,8 @@ declare function flattenOperation({ operation, fragments, }: {
|
|
|
287
284
|
fragments: ReadonlyMap<string, FragmentDefinitionNode>;
|
|
288
285
|
}): OperationDefinitionNode;
|
|
289
286
|
|
|
290
|
-
/** Bump on any change to lowering semantics — invalidates every op hash. */
|
|
291
|
-
declare const COMPILER_MAJOR = 1;
|
|
292
287
|
/** Canonical print of one flattened operation (fragments already inlined). */
|
|
293
288
|
declare function canonicalOperationText(definition: OperationDefinitionNode): string;
|
|
294
|
-
declare function computeOpHash({ definition, schemaHash, }: {
|
|
295
|
-
definition: OperationDefinitionNode;
|
|
296
|
-
schemaHash: string;
|
|
297
|
-
}): string;
|
|
298
|
-
/** Order-independent set hash over the sorted op hashes. */
|
|
299
|
-
declare function computeOpsHash(opHashes: readonly string[]): string;
|
|
300
289
|
|
|
301
290
|
/**
|
|
302
291
|
* Restrict pass — the grammar gate that keeps operations inside the v2.0
|
|
@@ -721,4 +710,4 @@ declare function projectOperationMetadata({ artifact, operation }: {
|
|
|
721
710
|
operation: CompiledOperation;
|
|
722
711
|
}): CompiledArtifact;
|
|
723
712
|
|
|
724
|
-
export { type BuildContextResult,
|
|
713
|
+
export { type BuildContextResult, 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, OBJECT_METADATA_FORMAT, OPERATION_METADATA_FORMAT, type ObjectMetadataProjection, type ObjectSqlBundle, OperationLowerer, PLATFORM_USER_TABLE, type ParseDocumentsResult, type ParsedDocument, type PinnedColumn, type QueryRootInfo, type RestrictedOperation, type SourceDocument, type SqlQueryInput, andPred, bindNamedParameters, buildCompileContext, canonicalOperationText, classifyInputType, collectPinnedColumns, compileBuiltinSqlArtifact, compileDatasetPreviews, compileDefaultOperations, compileNamespace, compileNamespaceOrThrow, compileObjectMetadata, compileOperationDocuments, compileRuntimeSql, composeObjectSqlArtifact, computePinnedColumnsByTable, computeSchemaHash, flattenOperation, generateDefaultOperations, injectPolicies, inputTypeName, isSqlOperationDocument, lowerOperation, mutationRootNames, objectSqlBundleSchema, parseDocuments, parseSdl, platformUserMeta, predContains, predContainsExists, projectOperationMetadata, queryRootNames, referencedSqlObjects, restrictOperation, sqlQueryInputSchema, typeNameForTable, validateManagedViewQueries, walkPred };
|