@sequenceholdings/orm 2.8.3 → 2.8.4
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/authoring.cjs +31 -8
- package/dist/authoring.cjs.map +1 -1
- package/dist/authoring.d.cts +8 -2
- package/dist/authoring.d.ts +8 -2
- package/dist/authoring.js +31 -8
- package/dist/authoring.js.map +1 -1
- package/dist/canonical.cjs +1 -1
- package/dist/canonical.cjs.map +1 -1
- package/dist/canonical.d.cts +1 -1
- package/dist/canonical.d.ts +1 -1
- package/dist/canonical.js +1 -1
- package/dist/canonical.js.map +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/compiler.cjs +1 -1
- package/dist/compiler.cjs.map +1 -1
- package/dist/compiler.d.cts +4 -4
- package/dist/compiler.d.ts +4 -4
- package/dist/compiler.js +1 -1
- package/dist/compiler.js.map +1 -1
- package/dist/index.cjs +31 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -9
- package/dist/index.d.ts +7 -9
- package/dist/index.js +31 -8
- package/dist/index.js.map +1 -1
- package/dist/ir.cjs +1 -1
- package/dist/ir.cjs.map +1 -1
- package/dist/ir.d.cts +2 -2
- package/dist/ir.d.ts +2 -2
- package/dist/ir.js +1 -1
- package/dist/ir.js.map +1 -1
- package/dist/{naming-CU9ThP_E.d.cts → naming-BMZKFO0W.d.cts} +1 -2
- package/dist/{naming-CPfx7EfF.d.ts → naming-DUk7AcXs.d.ts} +1 -2
- package/dist/predicate-v2.cjs +1 -1
- package/dist/predicate-v2.cjs.map +1 -1
- package/dist/predicate-v2.d.cts +3 -3
- package/dist/predicate-v2.d.ts +3 -3
- package/dist/predicate-v2.js +1 -1
- package/dist/predicate-v2.js.map +1 -1
- package/dist/sdl.cjs +1 -1
- package/dist/sdl.cjs.map +1 -1
- package/dist/sdl.d.cts +2 -2
- package/dist/sdl.d.ts +2 -2
- package/dist/sdl.js +1 -1
- package/dist/sdl.js.map +1 -1
- package/package.json +1 -1
- package/src/codegen-gql/apollo-hooks.cjs +1 -1
- package/src/codegen-gql/server-fns.cjs +1 -1
- package/templates/orm-namespace/graphql/example/queries.ts +1 -1
package/dist/compiler.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import { DocumentNode, OperationDefinitionNode, FragmentDefinitionNode, GraphQLS
|
|
|
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, PolicyAccess, PolicyColumnInfo, PolicyCompareOp, PolicyCompileError, PolicyCompileErrorCode, PolicyLinkInfo, PolicyNode, PolicyOperand, PolicyParseError, PolicyResolver, PolicyTableInfo, assertClaimsOnlyWhen, compilePolicy, compilePredicateV2, parsePolicy, walkPolicy } from './predicate-v2.cjs';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
export { P as PLATFORM_USER_TYPENAME, c as camelCase, g as enumTypeName, p as pascalCase } from './naming-
|
|
7
|
+
export { P as PLATFORM_USER_TYPENAME, c as camelCase, g as enumTypeName, p as pascalCase } from './naming-BMZKFO0W.cjs';
|
|
8
8
|
export { S as SqlOperationDefinition, d as defineOperation, s as sqlOperationDefinitionSchema } from './definition-DjfC7Lll.cjs';
|
|
9
9
|
import './constants-Dou1RkTo.cjs';
|
|
10
10
|
import './policy-1iZbGnZZ.cjs';
|
|
@@ -223,7 +223,7 @@ interface ParsedDocument {
|
|
|
223
223
|
path: string;
|
|
224
224
|
document: DocumentNode;
|
|
225
225
|
operations: OperationDefinitionNode[];
|
|
226
|
-
/** Fragments are document-scoped —
|
|
226
|
+
/** Fragments are document-scoped — consumers colocate them via TS interpolation. */
|
|
227
227
|
fragments: Map<string, FragmentDefinitionNode>;
|
|
228
228
|
}
|
|
229
229
|
declare function parseSdl(sdl: string): GraphQLSchema;
|
|
@@ -277,8 +277,8 @@ declare function computePinnedColumnsByTable(canonical: CanonicalDefinition): Re
|
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* Flatten pass — inline every fragment spread (and inline fragment) so the
|
|
280
|
-
* lowering pass sees one plain selection tree.
|
|
281
|
-
* TS-interpolated fragments
|
|
280
|
+
* lowering pass sees one plain selection tree. Consumers typically use flat,
|
|
281
|
+
* TS-interpolated fragments; nested spreads still work here, but cycles
|
|
282
282
|
* and directives-on-spreads are rejected.
|
|
283
283
|
*/
|
|
284
284
|
|
package/dist/compiler.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { DocumentNode, OperationDefinitionNode, FragmentDefinitionNode, GraphQLS
|
|
|
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, PolicyAccess, PolicyColumnInfo, PolicyCompareOp, PolicyCompileError, PolicyCompileErrorCode, PolicyLinkInfo, PolicyNode, PolicyOperand, PolicyParseError, PolicyResolver, PolicyTableInfo, assertClaimsOnlyWhen, compilePolicy, compilePredicateV2, parsePolicy, walkPolicy } from './predicate-v2.js';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
export { P as PLATFORM_USER_TYPENAME, c as camelCase, g as enumTypeName, p as pascalCase } from './naming-
|
|
7
|
+
export { P as PLATFORM_USER_TYPENAME, c as camelCase, g as enumTypeName, p as pascalCase } from './naming-DUk7AcXs.js';
|
|
8
8
|
export { S as SqlOperationDefinition, d as defineOperation, s as sqlOperationDefinitionSchema } from './definition-DjfC7Lll.js';
|
|
9
9
|
import './constants-Dou1RkTo.js';
|
|
10
10
|
import './policy-1iZbGnZZ.js';
|
|
@@ -223,7 +223,7 @@ interface ParsedDocument {
|
|
|
223
223
|
path: string;
|
|
224
224
|
document: DocumentNode;
|
|
225
225
|
operations: OperationDefinitionNode[];
|
|
226
|
-
/** Fragments are document-scoped —
|
|
226
|
+
/** Fragments are document-scoped — consumers colocate them via TS interpolation. */
|
|
227
227
|
fragments: Map<string, FragmentDefinitionNode>;
|
|
228
228
|
}
|
|
229
229
|
declare function parseSdl(sdl: string): GraphQLSchema;
|
|
@@ -277,8 +277,8 @@ declare function computePinnedColumnsByTable(canonical: CanonicalDefinition): Re
|
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* Flatten pass — inline every fragment spread (and inline fragment) so the
|
|
280
|
-
* lowering pass sees one plain selection tree.
|
|
281
|
-
* TS-interpolated fragments
|
|
280
|
+
* lowering pass sees one plain selection tree. Consumers typically use flat,
|
|
281
|
+
* TS-interpolated fragments; nested spreads still work here, but cycles
|
|
282
282
|
* and directives-on-spreads are rejected.
|
|
283
283
|
*/
|
|
284
284
|
|
package/dist/compiler.js
CHANGED
|
@@ -836,7 +836,7 @@ var canonicalTableSchema = z.object({
|
|
|
836
836
|
table: identifier2,
|
|
837
837
|
displayName: z.string().trim().min(1).max(120).optional(),
|
|
838
838
|
description: z.string().max(2e3).optional(),
|
|
839
|
-
/** Table-level rename hint
|
|
839
|
+
/** Table-level rename hint. */
|
|
840
840
|
renamedFrom: identifier2.optional(),
|
|
841
841
|
/** Synced/reflected read-only tables (`source: schema.table`) — v1 semantics. */
|
|
842
842
|
source: z.string().regex(QUALIFIED_TABLE_PATTERN).optional(),
|