@prisma-next/sql-relational-core 0.16.0-dev.3 → 0.16.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 +1 -0
- package/dist/errors-BwyJxXME.mjs +35 -0
- package/dist/errors-BwyJxXME.mjs.map +1 -0
- package/dist/errors-Dr9m_JE9.d.mts +7 -0
- package/dist/errors-Dr9m_JE9.d.mts.map +1 -0
- package/dist/exports/errors.d.mts +2 -0
- package/dist/exports/errors.mjs +2 -0
- package/dist/exports/types.d.mts +3 -2
- package/dist/index.d.mts +5 -3
- package/dist/index.mjs +2 -1
- package/dist/{types-BR266jxM.d.mts → types-Dgli8kDI.d.mts} +10 -21
- package/dist/types-Dgli8kDI.d.mts.map +1 -0
- package/dist/types-DqzaJGJN.d.mts +23 -0
- package/dist/types-DqzaJGJN.d.mts.map +1 -0
- package/package.json +12 -11
- package/src/errors.ts +47 -0
- package/src/exports/errors.ts +1 -0
- package/src/index.ts +1 -0
- package/src/types.ts +9 -0
- package/dist/types-BR266jxM.d.mts.map +0 -1
package/README.md
CHANGED
|
@@ -190,6 +190,7 @@ This package follows the standard `exports/` directory pattern:
|
|
|
190
190
|
- `src/exports/operations-registry.ts` - Re-exports operations registry
|
|
191
191
|
- `src/exports/plan.ts` - Re-exports plan types and helpers
|
|
192
192
|
- `src/exports/ast.ts` - Re-exports SQL AST types
|
|
193
|
+
- `src/exports/errors.ts` - Re-exports error helpers (`planInvalid`, `planUnsupported`)
|
|
193
194
|
- `src/index.ts` - Main entry point that re-exports from `exports/`
|
|
194
195
|
|
|
195
196
|
This enables subpath imports like `@prisma-next/sql-relational-core/schema`, `@prisma-next/sql-relational-core/param`, `@prisma-next/sql-relational-core/plan`, etc.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//#region src/errors.ts
|
|
2
|
+
function planInvalid(message, details, hints, docs) {
|
|
3
|
+
const error = new Error(message);
|
|
4
|
+
Object.defineProperty(error, "name", {
|
|
5
|
+
value: "RuntimeError",
|
|
6
|
+
configurable: true
|
|
7
|
+
});
|
|
8
|
+
return Object.assign(error, {
|
|
9
|
+
code: "PLAN.INVALID",
|
|
10
|
+
category: "PLAN",
|
|
11
|
+
severity: "error",
|
|
12
|
+
details,
|
|
13
|
+
hints,
|
|
14
|
+
docs
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function planUnsupported(message, details, hints, docs) {
|
|
18
|
+
const error = new Error(message);
|
|
19
|
+
Object.defineProperty(error, "name", {
|
|
20
|
+
value: "RuntimeError",
|
|
21
|
+
configurable: true
|
|
22
|
+
});
|
|
23
|
+
return Object.assign(error, {
|
|
24
|
+
code: "PLAN.UNSUPPORTED",
|
|
25
|
+
category: "PLAN",
|
|
26
|
+
severity: "error",
|
|
27
|
+
details,
|
|
28
|
+
hints,
|
|
29
|
+
docs
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { planUnsupported as n, planInvalid as t };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=errors-BwyJxXME.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors-BwyJxXME.mjs","names":[],"sources":["../src/errors.ts"],"sourcesContent":["import type { RuntimeError } from './types';\n\nexport function planInvalid(\n message: string,\n details?: Record<string, unknown>,\n hints?: readonly string[],\n docs?: readonly string[],\n): RuntimeError {\n const error = new Error(message) as RuntimeError;\n\n Object.defineProperty(error, 'name', {\n value: 'RuntimeError',\n configurable: true,\n });\n\n return Object.assign(error, {\n code: 'PLAN.INVALID',\n category: 'PLAN' as const,\n severity: 'error' as const,\n details,\n hints,\n docs,\n });\n}\n\nexport function planUnsupported(\n message: string,\n details?: Record<string, unknown>,\n hints?: readonly string[],\n docs?: readonly string[],\n): RuntimeError {\n const error = new Error(message) as RuntimeError;\n\n Object.defineProperty(error, 'name', {\n value: 'RuntimeError',\n configurable: true,\n });\n\n return Object.assign(error, {\n code: 'PLAN.UNSUPPORTED',\n category: 'PLAN' as const,\n severity: 'error' as const,\n details,\n hints,\n docs,\n });\n}\n"],"mappings":";AAEA,SAAgB,YACd,SACA,SACA,OACA,MACc;CACd,MAAM,QAAQ,IAAI,MAAM,OAAO;CAE/B,OAAO,eAAe,OAAO,QAAQ;EACnC,OAAO;EACP,cAAc;CAChB,CAAC;CAED,OAAO,OAAO,OAAO,OAAO;EAC1B,MAAM;EACN,UAAU;EACV,UAAU;EACV;EACA;EACA;CACF,CAAC;AACH;AAEA,SAAgB,gBACd,SACA,SACA,OACA,MACc;CACd,MAAM,QAAQ,IAAI,MAAM,OAAO;CAE/B,OAAO,eAAe,OAAO,QAAQ;EACnC,OAAO;EACP,cAAc;CAChB,CAAC;CAED,OAAO,OAAO,OAAO,OAAO;EAC1B,MAAM;EACN,UAAU;EACV,UAAU;EACV;EACA;EACA;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { y as RuntimeError } from "./types-Dgli8kDI.mjs";
|
|
2
|
+
//#region src/errors.d.ts
|
|
3
|
+
declare function planInvalid(message: string, details?: Record<string, unknown>, hints?: readonly string[], docs?: readonly string[]): RuntimeError;
|
|
4
|
+
declare function planUnsupported(message: string, details?: Record<string, unknown>, hints?: readonly string[], docs?: readonly string[]): RuntimeError;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { planUnsupported as n, planInvalid as t };
|
|
7
|
+
//# sourceMappingURL=errors-Dr9m_JE9.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors-Dr9m_JE9.d.mts","names":[],"sources":["../src/errors.ts"],"mappings":";;iBAEgB,YACd,iBACA,UAAU,yBACV,2BACA,2BACC;iBAkBa,gBACd,iBACA,UAAU,yBACV,2BACA,2BACC"}
|
package/dist/exports/types.d.mts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
|
|
1
|
+
import { C as TableKey, S as TableDef, T as TablesOf, _ as RawTemplateFactory, a as ColumnsOf, b as SqlBuilderOptions, c as META, d as ModelMetadata, f as OperationTypeSignature, g as RawFunctionOptions, h as RawFactory, i as ColumnResolutionContract, l as Meta, m as OperationsForTypeId, n as BuildParamsMap, o as ComputeColumnJsType, p as OperationTypes, r as CodecTypes, s as Expr, t as BuildOptions, u as ModelDef, v as RawTemplateOptions, w as TableMetadata, x as SqlPlan, y as RuntimeError } from "../types-Dgli8kDI.mjs";
|
|
2
|
+
import { n as SqlOrmPlan, t as RuntimeScope } from "../types-DqzaJGJN.mjs";
|
|
3
|
+
export { BuildOptions, BuildParamsMap, CodecTypes, ColumnResolutionContract, ColumnsOf, ComputeColumnJsType, Expr, META, Meta, ModelDef, ModelMetadata, OperationTypeSignature, OperationTypes, OperationsForTypeId, RawFactory, RawFunctionOptions, RawTemplateFactory, RawTemplateOptions, RuntimeError, type RuntimeScope, SqlBuilderOptions, type SqlOrmPlan, SqlPlan, TableDef, TableKey, TableMetadata, TablesOf };
|
package/dist/index.d.mts
CHANGED
|
@@ -3,11 +3,13 @@ import { $ as RawExpr, A as IdentifierRef, B as ListExpression, C as EqColJoinOn
|
|
|
3
3
|
import { a as DdlColumnDefaultVisitor, c as DdlTableConstraint, d as LiteralColumnDefault, f as PrimaryKeyConstraint, i as DdlColumnDefault, l as ForeignKeyConstraint, m as isDdlNode, n as CheckExpressionConstraint, o as DdlColumnRenderContext, p as UniqueConstraint, r as DdlColumn, s as DdlNode, t as AnyDdlColumnDefault, u as FunctionColumnDefault } from "./ddl-types-DzaZCtFT.mjs";
|
|
4
4
|
import { Adapter, AdapterProfile, AdapterTarget, Lowerer, LowererContext, MarkerReadResult, PreparedExecuteRequest, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, SqlCharCodec, SqlCharDescriptor, SqlConnection, SqlDriver, SqlDriverState, SqlExecuteRequest, SqlExplainResult, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, SqlQueryResult, SqlQueryable, SqlTextCodec, SqlTextDescriptor, SqlTimestampCodec, SqlTimestampDescriptor, SqlTransaction, SqlVarcharCodec, SqlVarcharDescriptor, collectOrderedParamRefs, compact, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDescriptor, sqlFloatEncode, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType } from "./exports/ast.mjs";
|
|
5
5
|
import { a as MutationDefaultsOptions, i as MutationDefaultsOp, n as CodecDescriptorRegistry, o as TypeHelperRegistry, r as ExecutionContext, t as AppliedMutationDefault } from "./query-lane-context-BNbbusGn.mjs";
|
|
6
|
-
import { BuildOperationSpec, CodecExpression, CodecTypesBase, CodecValue, Expression, RawCodecInferer, RawSqlBuilder, RawSqlTag, ScalarListExpression, ScopeField, TraitExpression, buildOperation, codecOf, createRawSql, param, toExpr } from "./exports/expression.mjs";
|
|
7
6
|
import { t as SqlExecutionPlan } from "./sql-execution-plan-CPw3uKrJ.mjs";
|
|
7
|
+
import { C as TableKey, S as TableDef, T as TablesOf, _ as RawTemplateFactory, a as ColumnsOf, b as SqlBuilderOptions, c as META, d as ModelMetadata, f as OperationTypeSignature, g as RawFunctionOptions, h as RawFactory, i as ColumnResolutionContract, l as Meta, m as OperationsForTypeId, n as BuildParamsMap, o as ComputeColumnJsType, p as OperationTypes, r as CodecTypes, s as Expr, t as BuildOptions, u as ModelDef, v as RawTemplateOptions, w as TableMetadata, x as SqlPlan, y as RuntimeError } from "./types-Dgli8kDI.mjs";
|
|
8
|
+
import { n as planUnsupported, t as planInvalid } from "./errors-Dr9m_JE9.mjs";
|
|
9
|
+
import { BuildOperationSpec, CodecExpression, CodecTypesBase, CodecValue, Expression, RawCodecInferer, RawSqlBuilder, RawSqlTag, ScalarListExpression, ScopeField, TraitExpression, buildOperation, codecOf, createRawSql, param, toExpr } from "./exports/expression.mjs";
|
|
8
10
|
import { a as SqlParamRefMutatorInternal, i as SqlParamRefMutator, n as ParamRefEntryUnion, o as createSqlParamRefMutator, r as ParamRefHandle, t as ParamRefEntry } from "./middleware-CFDg6XOc.mjs";
|
|
9
11
|
import { n as planFromAst, t as SqlQueryPlan } from "./plan-CBT55zev.mjs";
|
|
10
12
|
import "./exports/plan.mjs";
|
|
11
13
|
import "./exports/query-lane-context.mjs";
|
|
12
|
-
import {
|
|
13
|
-
export { Adapter, AdapterProfile, AdapterTarget, AggregateCountFn, AggregateExpr, AggregateFn, AggregateOpFn, AndExpr, AnyCodecDescriptor, AnyDdlColumnDefault, AnyExpression, AnyFromSource, AnyInsertOnConflictAction, AnyInsertValue, AnyOperationArg, AnyParamRef, AnyQueryAst, AppliedMutationDefault, AstRewriter, BinaryExpr, BinaryOp, BuildOperationSpec, BuildOptions, BuildParamsMap, CheckExpressionConstraint, Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorRegistry, CodecExpression, CodecMeta, type CodecRef, type CodecTrait, CodecTypes, CodecTypesBase, CodecValue, ColumnRef, ColumnResolutionContract, ColumnsOf, ComputeColumnJsType, ContractCodecRegistry, DdlColumn, DdlColumnDefault, DdlColumnDefaultVisitor, DdlColumnRenderContext, DdlNode, DdlTableConstraint, DefaultValueExpr, DeleteAst, DerivedTableSource, DescriptorCodecId, DescriptorCodecInput, DescriptorCodecTraits, Direction, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExecutionContext, ExistsExpr, Expr, ExprVisitor, Expression, ExpressionFolder, ExpressionRewriter, ExpressionSource, ExtractCodecTypes, ForeignKeyConstraint, FunctionColumnDefault, FunctionSource, IdentifierRef, InsertAst, InsertOnConflict, InsertValue, JoinAst, JoinOnExpr, JsonArrayAggExpr, JsonObjectEntry, JsonObjectExpr, LimitOffsetValue, ListExpression, LiteralColumnDefault, LiteralExpr, LoweredParam, LoweredStatement, Lowerer, LowererContext, META, MarkerReadResult, Meta, ModelDef, ModelMetadata, MutationDefaultsOp, MutationDefaultsOptions, NotExpr, NullCheckExpr, OperationExpr, OperationTypeSignature, OperationTypes, OperationsForTypeId, OrExpr, OrderByItem, ParamRef, type ParamRefEntry, type ParamRefEntryUnion, type ParamRefHandle, PreparedExecuteRequest, PreparedParamRef, PrimaryKeyConstraint, ProjectionExpr, ProjectionItem, RawCodecInferer, RawExpr, RawFactory, RawFunctionOptions, RawSqlBuilder, RawSqlExpr, RawSqlLiteral, RawSqlTag, RawTemplateFactory, RawTemplateOptions, type RuntimeScope, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, ScalarListExpression, ScopeField, SelectAst, SelectAstOptions, SqlBuilderOptions, SqlCharCodec, SqlCharDescriptor, SqlCodecCallContext, SqlCodecInstanceContext, SqlColumnRef, SqlConnection, SqlDriver, SqlDriverState, SqlExecuteRequest, type SqlExecutionPlan, SqlExplainResult, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, type SqlOrmPlan, type SqlParamRefMutator, type SqlParamRefMutatorInternal, SqlPlan, SqlQueryPlan, SqlQueryResult, SqlQueryable, SqlTextCodec, SqlTextDescriptor, SqlTimestampCodec, SqlTimestampDescriptor, SqlTransaction, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableDef, TableKey, TableMetadata, TableRef, TableSource, TablesOf, ToWhereExpr, TraitExpression, TypeHelperRegistry, UniqueConstraint, UpdateAst, WhereArg, WindowFn, WindowFuncExpr, buildOperation, codecOf, collectOrderedParamRefs, compact, createRawSql, createSqlParamRefMutator, isDdlNode, isQueryAst, isWhereExpr, param, planFromAst, queryAstKinds, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDescriptor, sqlFloatEncode, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, toExpr, whereExprKinds };
|
|
14
|
+
import { n as SqlOrmPlan, t as RuntimeScope } from "./types-DqzaJGJN.mjs";
|
|
15
|
+
export { Adapter, AdapterProfile, AdapterTarget, AggregateCountFn, AggregateExpr, AggregateFn, AggregateOpFn, AndExpr, AnyCodecDescriptor, AnyDdlColumnDefault, AnyExpression, AnyFromSource, AnyInsertOnConflictAction, AnyInsertValue, AnyOperationArg, AnyParamRef, AnyQueryAst, AppliedMutationDefault, AstRewriter, BinaryExpr, BinaryOp, BuildOperationSpec, BuildOptions, BuildParamsMap, CheckExpressionConstraint, Codec, type CodecCallContext, type CodecDescriptor, CodecDescriptorRegistry, CodecExpression, CodecMeta, type CodecRef, type CodecTrait, CodecTypes, CodecTypesBase, CodecValue, ColumnRef, ColumnResolutionContract, ColumnsOf, ComputeColumnJsType, ContractCodecRegistry, DdlColumn, DdlColumnDefault, DdlColumnDefaultVisitor, DdlColumnRenderContext, DdlNode, DdlTableConstraint, DefaultValueExpr, DeleteAst, DerivedTableSource, DescriptorCodecId, DescriptorCodecInput, DescriptorCodecTraits, Direction, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExecutionContext, ExistsExpr, Expr, ExprVisitor, Expression, ExpressionFolder, ExpressionRewriter, ExpressionSource, ExtractCodecTypes, ForeignKeyConstraint, FunctionColumnDefault, FunctionSource, IdentifierRef, InsertAst, InsertOnConflict, InsertValue, JoinAst, JoinOnExpr, JsonArrayAggExpr, JsonObjectEntry, JsonObjectExpr, LimitOffsetValue, ListExpression, LiteralColumnDefault, LiteralExpr, LoweredParam, LoweredStatement, Lowerer, LowererContext, META, MarkerReadResult, Meta, ModelDef, ModelMetadata, MutationDefaultsOp, MutationDefaultsOptions, NotExpr, NullCheckExpr, OperationExpr, OperationTypeSignature, OperationTypes, OperationsForTypeId, OrExpr, OrderByItem, ParamRef, type ParamRefEntry, type ParamRefEntryUnion, type ParamRefHandle, PreparedExecuteRequest, PreparedParamRef, PrimaryKeyConstraint, ProjectionExpr, ProjectionItem, RawCodecInferer, RawExpr, RawFactory, RawFunctionOptions, RawSqlBuilder, RawSqlExpr, RawSqlLiteral, RawSqlTag, RawTemplateFactory, RawTemplateOptions, RuntimeError, type RuntimeScope, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, ScalarListExpression, ScopeField, SelectAst, SelectAstOptions, SqlBuilderOptions, SqlCharCodec, SqlCharDescriptor, SqlCodecCallContext, SqlCodecInstanceContext, SqlColumnRef, SqlConnection, SqlDriver, SqlDriverState, SqlExecuteRequest, type SqlExecutionPlan, SqlExplainResult, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, type SqlOrmPlan, type SqlParamRefMutator, type SqlParamRefMutatorInternal, SqlPlan, SqlQueryPlan, SqlQueryResult, SqlQueryable, SqlTextCodec, SqlTextDescriptor, SqlTimestampCodec, SqlTimestampDescriptor, SqlTransaction, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableDef, TableKey, TableMetadata, TableRef, TableSource, TablesOf, ToWhereExpr, TraitExpression, TypeHelperRegistry, UniqueConstraint, UpdateAst, WhereArg, WindowFn, WindowFuncExpr, buildOperation, codecOf, collectOrderedParamRefs, compact, createRawSql, createSqlParamRefMutator, isDdlNode, isQueryAst, isWhereExpr, param, planFromAst, planInvalid, planUnsupported, queryAstKinds, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDescriptor, sqlFloatEncode, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, toExpr, whereExprKinds };
|
package/dist/index.mjs
CHANGED
|
@@ -2,9 +2,10 @@ import { a as ForeignKeyConstraint, c as PrimaryKeyConstraint, i as DdlNode, l a
|
|
|
2
2
|
import { A as RawSqlExpr, C as OperationExpr, D as PreparedParamRef, E as ParamRef, F as WindowFuncExpr, I as isQueryAst, L as isWhereExpr, M as SubqueryExpr, N as TableSource, O as ProjectionItem, P as UpdateAst, R as queryAstKinds, S as NullCheckExpr, T as OrderByItem, _ as JsonArrayAggExpr, a as DefaultValueExpr, b as LiteralExpr, c as DoNothingConflictAction, d as ExistsExpr, f as FunctionSource, g as JoinAst, h as InsertOnConflict, i as ColumnRef, j as SelectAst, k as RawExpr, l as DoUpdateSetConflictAction, m as InsertAst, n as AndExpr, o as DeleteAst, p as IdentifierRef, r as BinaryExpr, s as DerivedTableSource, t as AggregateExpr, u as EqColJoinOn, v as JsonObjectExpr, w as OrExpr, x as NotExpr, y as ListExpression, z as whereExprKinds } from "./types-DtzFztRV.mjs";
|
|
3
3
|
import { n as compact, t as collectOrderedParamRefs } from "./util-DQQgv2j1.mjs";
|
|
4
4
|
import { SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, SqlCharCodec, SqlCharDescriptor, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, SqlTextCodec, SqlTextDescriptor, SqlTimestampCodec, SqlTimestampDescriptor, SqlVarcharCodec, SqlVarcharDescriptor, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDescriptor, sqlFloatEncode, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType } from "./exports/ast.mjs";
|
|
5
|
+
import { n as planUnsupported, t as planInvalid } from "./errors-BwyJxXME.mjs";
|
|
5
6
|
import { buildOperation, codecOf, createRawSql, param, toExpr } from "./exports/expression.mjs";
|
|
6
7
|
import { t as createSqlParamRefMutator } from "./middleware-CMr4CHNz.mjs";
|
|
7
8
|
import { planFromAst } from "./exports/plan.mjs";
|
|
8
9
|
import "./exports/query-lane-context.mjs";
|
|
9
10
|
import "./exports/types.mjs";
|
|
10
|
-
export { AggregateExpr, AndExpr, BinaryExpr, CheckExpressionConstraint, ColumnRef, DdlColumn, DdlColumnDefault, DdlNode, DefaultValueExpr, DeleteAst, DerivedTableSource, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExistsExpr, ForeignKeyConstraint, FunctionColumnDefault, FunctionSource, IdentifierRef, InsertAst, InsertOnConflict, JoinAst, JsonArrayAggExpr, JsonObjectExpr, ListExpression, LiteralColumnDefault, LiteralExpr, NotExpr, NullCheckExpr, OperationExpr, OrExpr, OrderByItem, ParamRef, PreparedParamRef, PrimaryKeyConstraint, ProjectionItem, RawExpr, RawSqlExpr, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, SelectAst, SqlCharCodec, SqlCharDescriptor, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, SqlTextCodec, SqlTextDescriptor, SqlTimestampCodec, SqlTimestampDescriptor, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableSource, UniqueConstraint, UpdateAst, WindowFuncExpr, buildOperation, codecOf, collectOrderedParamRefs, compact, createRawSql, createSqlParamRefMutator, isDdlNode, isQueryAst, isWhereExpr, param, planFromAst, queryAstKinds, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDescriptor, sqlFloatEncode, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, toExpr, whereExprKinds };
|
|
11
|
+
export { AggregateExpr, AndExpr, BinaryExpr, CheckExpressionConstraint, ColumnRef, DdlColumn, DdlColumnDefault, DdlNode, DefaultValueExpr, DeleteAst, DerivedTableSource, DoNothingConflictAction, DoUpdateSetConflictAction, EqColJoinOn, ExistsExpr, ForeignKeyConstraint, FunctionColumnDefault, FunctionSource, IdentifierRef, InsertAst, InsertOnConflict, JoinAst, JsonArrayAggExpr, JsonObjectExpr, ListExpression, LiteralColumnDefault, LiteralExpr, NotExpr, NullCheckExpr, OperationExpr, OrExpr, OrderByItem, ParamRef, PreparedParamRef, PrimaryKeyConstraint, ProjectionItem, RawExpr, RawSqlExpr, SQL_CHAR_CODEC_ID, SQL_FLOAT_CODEC_ID, SQL_INT_CODEC_ID, SQL_TEXT_CODEC_ID, SQL_TIMESTAMP_CODEC_ID, SQL_VARCHAR_CODEC_ID, SelectAst, SqlCharCodec, SqlCharDescriptor, SqlFloatCodec, SqlFloatDescriptor, SqlIntCodec, SqlIntDescriptor, SqlTextCodec, SqlTextDescriptor, SqlTimestampCodec, SqlTimestampDescriptor, SqlVarcharCodec, SqlVarcharDescriptor, SubqueryExpr, TableSource, UniqueConstraint, UpdateAst, WindowFuncExpr, buildOperation, codecOf, collectOrderedParamRefs, compact, createRawSql, createSqlParamRefMutator, isDdlNode, isQueryAst, isWhereExpr, param, planFromAst, planInvalid, planUnsupported, queryAstKinds, sqlCharColumn, sqlCharDecode, sqlCharDescriptor, sqlCharEncode, sqlCharRenderOutputType, sqlFloatColumn, sqlFloatDecode, sqlFloatDescriptor, sqlFloatEncode, sqlIntColumn, sqlIntDecode, sqlIntDescriptor, sqlIntEncode, sqlTextColumn, sqlTextDecode, sqlTextDescriptor, sqlTextEncode, sqlTimestampColumn, sqlTimestampDecode, sqlTimestampDecodeJson, sqlTimestampDescriptor, sqlTimestampEncode, sqlTimestampEncodeJson, sqlTimestampRenderOutputType, sqlVarcharColumn, sqlVarcharDecode, sqlVarcharDescriptor, sqlVarcharEncode, sqlVarcharRenderOutputType, toExpr, whereExprKinds };
|
|
@@ -1,29 +1,10 @@
|
|
|
1
1
|
import { Y as ParamRef, g as ColumnRef } from "./types-Dr3jep6j.mjs";
|
|
2
2
|
import { r as ExecutionContext } from "./query-lane-context-BNbbusGn.mjs";
|
|
3
3
|
import { t as SqlExecutionPlan } from "./sql-execution-plan-CPw3uKrJ.mjs";
|
|
4
|
-
import { t as SqlQueryPlan } from "./plan-CBT55zev.mjs";
|
|
5
4
|
import { Contract } from "@prisma-next/contract/types";
|
|
6
|
-
import { RuntimeExecutor } from "@prisma-next/framework-components/runtime";
|
|
7
5
|
import { ExtractFieldOutputTypes, SqlStorage, StorageColumn } from "@prisma-next/sql-contract/types";
|
|
8
6
|
import { ParamSpec } from "@prisma-next/operations";
|
|
9
7
|
import { SqlLoweringSpec } from "@prisma-next/sql-operations";
|
|
10
|
-
//#region src/runtime-scope.d.ts
|
|
11
|
-
/**
|
|
12
|
-
* The plan shape accepted by the SQL ORM client and SQL runtime: either a
|
|
13
|
-
* pre-lowering `SqlQueryPlan` (AST + meta) or a post-lowering
|
|
14
|
-
* `SqlExecutionPlan` (sql + params + meta).
|
|
15
|
-
*/
|
|
16
|
-
type SqlOrmPlan = SqlExecutionPlan | SqlQueryPlan;
|
|
17
|
-
/**
|
|
18
|
-
* The minimal SQL-runtime surface that the ORM client and SQL runtime both
|
|
19
|
-
* depend on: the `execute` method of `RuntimeExecutor<SqlOrmPlan>`.
|
|
20
|
-
*
|
|
21
|
-
* Owned by `sql-relational-core` (lanes layer) so both
|
|
22
|
-
* `@prisma-next/sql-runtime` and `@prisma-next/sql-orm-client` consume the
|
|
23
|
-
* same source of truth without a layering inversion.
|
|
24
|
-
*/
|
|
25
|
-
type RuntimeScope = Pick<RuntimeExecutor<SqlOrmPlan>, 'execute'>;
|
|
26
|
-
//#endregion
|
|
27
8
|
//#region src/types.d.ts
|
|
28
9
|
type Expr = ColumnRef | ParamRef;
|
|
29
10
|
/**
|
|
@@ -229,6 +210,14 @@ interface RawFactory extends RawTemplateFactory {
|
|
|
229
210
|
(text: string, options: RawFunctionOptions): SqlExecutionPlan;
|
|
230
211
|
with(options: RawTemplateOptions): RawTemplateFactory;
|
|
231
212
|
}
|
|
213
|
+
interface RuntimeError extends Error {
|
|
214
|
+
readonly code: string;
|
|
215
|
+
readonly category: 'PLAN';
|
|
216
|
+
readonly severity: 'error';
|
|
217
|
+
readonly details?: Record<string, unknown>;
|
|
218
|
+
readonly hints?: readonly string[];
|
|
219
|
+
readonly docs?: readonly string[];
|
|
220
|
+
}
|
|
232
221
|
interface BuildParamsMap {
|
|
233
222
|
readonly [name: string]: unknown;
|
|
234
223
|
}
|
|
@@ -239,5 +228,5 @@ interface SqlBuilderOptions<TContract extends Contract<SqlStorage> = Contract<Sq
|
|
|
239
228
|
readonly context: ExecutionContext<TContract>;
|
|
240
229
|
}
|
|
241
230
|
//#endregion
|
|
242
|
-
export {
|
|
243
|
-
//# sourceMappingURL=types-
|
|
231
|
+
export { TableKey as C, TableDef as S, TablesOf as T, RawTemplateFactory as _, ColumnsOf as a, SqlBuilderOptions as b, META as c, ModelMetadata as d, OperationTypeSignature as f, RawFunctionOptions as g, RawFactory as h, ColumnResolutionContract as i, Meta as l, OperationsForTypeId as m, BuildParamsMap as n, ComputeColumnJsType as o, OperationTypes as p, CodecTypes as r, Expr as s, BuildOptions as t, ModelDef as u, RawTemplateOptions as v, TableMetadata as w, SqlPlan as x, RuntimeError as y };
|
|
232
|
+
//# sourceMappingURL=types-Dgli8kDI.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-Dgli8kDI.d.mts","names":[],"sources":["../src/types.ts"],"mappings":";;;;;;;;KAYY,OAAO,YAAY;;;;;;;;;;KAWnB;WACD;aACE,YAAY,SACnB;eAA0B,QAAQ,SAAS;;;WAGtC;aACE,YAAY,SACnB;eAEa,SAAS,SAAS,eAAe,SAAS;;;;KAMxD,gBACH,kBAAkB,0BAClB,uBACE,kCAAkC;WAC3B,cAAc,eAAe;IAEpC;KAGC,oBACH,kBAAkB,0BAClB,qBACA,4BAEA,gBAAgB,WAAW,qBAAoB,eAAe,8BAEvD,WAAW,kBAAkB,OAAO;WAC1B;aAAoB,OAAO;;IAElC,mBAEE;KAGT,qBACH,kBAAkB,0BAClB,qBACA,0BACA,6BAEA,oBAAoB,WAAW,MAAM,0B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W,MAAM,WAAW,2BAA0B,cACxE,6BACC,oBAAoB,WAAW,MAAM,WAAW,YAAY,cAC5D,2BACE,qBAAqB,WAAW,MAAM,WAAW,0BAAyB,QACvE,uBACC,oBAAoB,WAAW,MAAM,WAAW,YAAY,cAC5D;;;;;;KAYR,QAAQ,iBAAiB,iBAAiB;;;;KAK1C,SAAS,aAAa;EAChC;IAAW,cAAc;;IAEvB;KAGQ,SAAS,aAAa,cAAc,SAAS;;;;cAQpC;;;;KAKT,KAAK;GAAa;KAAoB,SAAS;;;;UAK1C,cAAc;EAC7B,MAAM;;;;;UAMS,cAAc;EAC7B,MAAM;;;;;;UAOS,SAAS;YACd,OAAO,cAAc;;;;;;UAOhB,SAAS;YACd,OAAO,cAAc;;KAGrB,UACV,WACA,UAAU,SAAS,cACjB,gBAAgB,SAAS,aACzB,SAAS,WAAW;EAAa,eAAe;IAC9C;UAIW;WACN,cAAc;;UAGR,2BAA2B;WACjC,QAAQ;;KAGP,sBACV,SAAS,yBACN,+BACA;UAEY,mBAAmB;GACjC,cAAc,SAAS,qBAAqB;EAC7C,KAAK,SAAS,qBAAqB;;UAGpB,qBAAqB;WAC3B;WACA;WACA;WACA,UAAU;WACV;WACA;;UAGM;YACL;;UAGK;WACN,SAAS;;UAGH,kBAAkB,kBAAkB,SAAS,cAAc,SAAS;WAC1E,SAAS,iBAAiB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as SqlExecutionPlan } from "./sql-execution-plan-CPw3uKrJ.mjs";
|
|
2
|
+
import "./types-Dgli8kDI.mjs";
|
|
3
|
+
import { t as SqlQueryPlan } from "./plan-CBT55zev.mjs";
|
|
4
|
+
import { RuntimeExecutor } from "@prisma-next/framework-components/runtime";
|
|
5
|
+
//#region src/runtime-scope.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* The plan shape accepted by the SQL ORM client and SQL runtime: either a
|
|
8
|
+
* pre-lowering `SqlQueryPlan` (AST + meta) or a post-lowering
|
|
9
|
+
* `SqlExecutionPlan` (sql + params + meta).
|
|
10
|
+
*/
|
|
11
|
+
type SqlOrmPlan = SqlExecutionPlan | SqlQueryPlan;
|
|
12
|
+
/**
|
|
13
|
+
* The minimal SQL-runtime surface that the ORM client and SQL runtime both
|
|
14
|
+
* depend on: the `execute` method of `RuntimeExecutor<SqlOrmPlan>`.
|
|
15
|
+
*
|
|
16
|
+
* Owned by `sql-relational-core` (lanes layer) so both
|
|
17
|
+
* `@prisma-next/sql-runtime` and `@prisma-next/sql-orm-client` consume the
|
|
18
|
+
* same source of truth without a layering inversion.
|
|
19
|
+
*/
|
|
20
|
+
type RuntimeScope = Pick<RuntimeExecutor<SqlOrmPlan>, 'execute'>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { SqlOrmPlan as n, RuntimeScope as t };
|
|
23
|
+
//# sourceMappingURL=types-DqzaJGJN.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-DqzaJGJN.d.mts","names":[],"sources":["../src/runtime-scope.ts"],"mappings":";;;;;;;;;;KASY,aAAa,mBAAmB;;;;;;;;;KAUhC,eAAe,KAAK,gBAAgB"}
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/sql-relational-core",
|
|
3
|
-
"version": "0.16.0
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"description": "AST types, query lane context, and type utilities for Prisma Next SQL lanes",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@prisma-next/contract": "0.16.0
|
|
10
|
-
"@prisma-next/framework-components": "0.16.0
|
|
11
|
-
"@prisma-next/operations": "0.16.0
|
|
12
|
-
"@prisma-next/sql-contract": "0.16.0
|
|
13
|
-
"@prisma-next/sql-operations": "0.16.0
|
|
14
|
-
"@prisma-next/utils": "0.16.0
|
|
9
|
+
"@prisma-next/contract": "0.16.0",
|
|
10
|
+
"@prisma-next/framework-components": "0.16.0",
|
|
11
|
+
"@prisma-next/operations": "0.16.0",
|
|
12
|
+
"@prisma-next/sql-contract": "0.16.0",
|
|
13
|
+
"@prisma-next/sql-operations": "0.16.0",
|
|
14
|
+
"@prisma-next/utils": "0.16.0",
|
|
15
15
|
"@standard-schema/spec": "^1.1.0",
|
|
16
16
|
"arktype": "^2.2.2",
|
|
17
17
|
"ts-toolbelt": "^9.6.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@prisma-next/sql-contract-ts": "0.16.0
|
|
21
|
-
"@prisma-next/test-utils": "0.16.0
|
|
22
|
-
"@prisma-next/tsconfig": "0.16.0
|
|
23
|
-
"@prisma-next/tsdown": "0.16.0
|
|
20
|
+
"@prisma-next/sql-contract-ts": "0.16.0",
|
|
21
|
+
"@prisma-next/test-utils": "0.16.0",
|
|
22
|
+
"@prisma-next/tsconfig": "0.16.0",
|
|
23
|
+
"@prisma-next/tsdown": "0.16.0",
|
|
24
24
|
"tsdown": "0.22.8",
|
|
25
25
|
"typescript": "5.9.3",
|
|
26
26
|
"vitest": "4.1.10"
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"./ast": "./dist/exports/ast.mjs",
|
|
44
44
|
"./codec-descriptor-registry": "./dist/exports/codec-descriptor-registry.mjs",
|
|
45
45
|
"./contract-free": "./dist/exports/contract-free.mjs",
|
|
46
|
+
"./errors": "./dist/exports/errors.mjs",
|
|
46
47
|
"./expression": "./dist/exports/expression.mjs",
|
|
47
48
|
"./middleware": "./dist/exports/middleware.mjs",
|
|
48
49
|
"./plan": "./dist/exports/plan.mjs",
|
package/src/errors.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { RuntimeError } from './types';
|
|
2
|
+
|
|
3
|
+
export function planInvalid(
|
|
4
|
+
message: string,
|
|
5
|
+
details?: Record<string, unknown>,
|
|
6
|
+
hints?: readonly string[],
|
|
7
|
+
docs?: readonly string[],
|
|
8
|
+
): RuntimeError {
|
|
9
|
+
const error = new Error(message) as RuntimeError;
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(error, 'name', {
|
|
12
|
+
value: 'RuntimeError',
|
|
13
|
+
configurable: true,
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
return Object.assign(error, {
|
|
17
|
+
code: 'PLAN.INVALID',
|
|
18
|
+
category: 'PLAN' as const,
|
|
19
|
+
severity: 'error' as const,
|
|
20
|
+
details,
|
|
21
|
+
hints,
|
|
22
|
+
docs,
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function planUnsupported(
|
|
27
|
+
message: string,
|
|
28
|
+
details?: Record<string, unknown>,
|
|
29
|
+
hints?: readonly string[],
|
|
30
|
+
docs?: readonly string[],
|
|
31
|
+
): RuntimeError {
|
|
32
|
+
const error = new Error(message) as RuntimeError;
|
|
33
|
+
|
|
34
|
+
Object.defineProperty(error, 'name', {
|
|
35
|
+
value: 'RuntimeError',
|
|
36
|
+
configurable: true,
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
return Object.assign(error, {
|
|
40
|
+
code: 'PLAN.UNSUPPORTED',
|
|
41
|
+
category: 'PLAN' as const,
|
|
42
|
+
severity: 'error' as const,
|
|
43
|
+
details,
|
|
44
|
+
hints,
|
|
45
|
+
docs,
|
|
46
|
+
});
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { planInvalid, planUnsupported } from '../errors';
|
package/src/index.ts
CHANGED
package/src/types.ts
CHANGED
|
@@ -351,6 +351,15 @@ export interface RawFactory extends RawTemplateFactory {
|
|
|
351
351
|
with(options: RawTemplateOptions): RawTemplateFactory;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
+
export interface RuntimeError extends Error {
|
|
355
|
+
readonly code: string;
|
|
356
|
+
readonly category: 'PLAN';
|
|
357
|
+
readonly severity: 'error';
|
|
358
|
+
readonly details?: Record<string, unknown>;
|
|
359
|
+
readonly hints?: readonly string[];
|
|
360
|
+
readonly docs?: readonly string[];
|
|
361
|
+
}
|
|
362
|
+
|
|
354
363
|
export interface BuildParamsMap {
|
|
355
364
|
readonly [name: string]: unknown;
|
|
356
365
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types-BR266jxM.d.mts","names":[],"sources":["../src/runtime-scope.ts","../src/types.ts"],"mappings":";;;;;;;;;;;;;;;KASY,aAAa,mBAAmB;;;;;;;;;KAUhC,eAAe,KAAK,gBAAgB;;;KCPpC,OAAO,YAAY;;;;;;;;;;KAWnB;WACD;aACE,YAAY,SACnB;eAA0B,QAAQ,SAAS;;;WAGtC;aACE,YAAY,SACnB;eAEa,SAAS,SAAS,eAAe,SAAS;;;;KAMxD,gBACH,kBAAkB,0BAClB,uBACE,kCAAkC;WAC3B,cAAc,eAAe;IAEpC;KAGC,oBACH,kBAAkB,0BAClB,qBACA,4BAEA,gBAAgB,WAAW,qBAAoB,eAAe,8BAEvD,WAAW,kBAAkB,OAAO;WAC1B;aAAoB,OAAO;;IAElC,mBAEE;KAGT,qBACH,kBAAkB,0BAClB,qBACA,0BACA,6BAEA,oBAAoB,WAAW,MAAM,0BAAyB,4BAC1D,gBAAgB,WAAW,qBAAoB,eAAe,2BAC5D,kBAAkB,sBAAqB,uBACrC,OAAO;WACI;aAAoB,cAAc,eAAe;;OAGvD,WAAW,kBAAkB,OAAO;WAAsB,QAAQ;IAC/D,mBAEE;;KAOf,uBACH,kBAAkB,0BAClB,qBACA,0BACA,6BACE,mCAAmC;WAC5B;aAAoB,aAAa,eAAe;;IAEvD,wBAAwB,SACtB,OAAO;WACI,eAAe,gBAAgB;IAExC,yBAAyB,UACvB,QAAQ,oBAAoB,gBAC1B,QAAQ;KAOf,oBACH,mBAAmB,eACnB,mBAAmB;WAA0B;MAC3C;EAAqB,eAAe;IACpC,sBAAsB,aACpB,WAAW;WAA4B,cAAc;IACnD;EAAqB;IACnB,WACA;;;;;;;;KAY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