prisma-sql 1.61.0 → 1.63.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/generator.cjs +2 -3
- package/dist/generator.cjs.map +1 -1
- package/dist/generator.js +2 -3
- package/dist/generator.js.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -96,6 +96,8 @@ declare function createTransactionExecutor(deps: {
|
|
|
96
96
|
|
|
97
97
|
declare function transformQueryResults(method: PrismaMethod, results: unknown[]): unknown;
|
|
98
98
|
|
|
99
|
+
declare function normalizeValue(value: unknown, seen?: WeakSet<object>, depth?: number): unknown;
|
|
100
|
+
|
|
99
101
|
declare function buildSQL(model: Model, models: Model[], method: PrismaMethod, args: Record<string, unknown>, dialect: SqlDialect): SqlResult;
|
|
100
102
|
declare function createToSQL(modelsOrDmmf: Model[] | DMMF.Document, dialect: SqlDialect): (model: string, method: PrismaMethod, args?: Record<string, unknown>) => SqlResult;
|
|
101
103
|
declare function createPrismaSQL<TClient>(config: PrismaSQLConfig<TClient>): PrismaSQLResult<TClient>;
|
|
@@ -103,4 +105,4 @@ declare function generateSQL(directive: DirectiveProps): SQLDirective;
|
|
|
103
105
|
declare function generateAllSQL(directives: DirectiveProps[]): SQLDirective[];
|
|
104
106
|
declare function generateSQLByModel(directives: DirectiveProps[]): Map<string, SQLDirective[]>;
|
|
105
107
|
|
|
106
|
-
export { type BatchCountQuery, type BatchQuery, type Model, type PrismaMethod, type PrismaSQLConfig, type PrismaSQLResult, type SqlResult, type TransactionOptions, type TransactionQuery, buildBatchCountSql, buildBatchSql, buildSQL, createPrismaSQL, createToSQL, createTransactionExecutor, generateAllSQL, generateSQL, generateSQLByModel, parseBatchCountResults, parseBatchResults, transformQueryResults };
|
|
108
|
+
export { type BatchCountQuery, type BatchQuery, type Model, type PrismaMethod, type PrismaSQLConfig, type PrismaSQLResult, type SqlResult, type TransactionOptions, type TransactionQuery, buildBatchCountSql, buildBatchSql, buildSQL, createPrismaSQL, createToSQL, createTransactionExecutor, generateAllSQL, generateSQL, generateSQLByModel, normalizeValue, parseBatchCountResults, parseBatchResults, transformQueryResults };
|
package/dist/index.d.ts
CHANGED
|
@@ -96,6 +96,8 @@ declare function createTransactionExecutor(deps: {
|
|
|
96
96
|
|
|
97
97
|
declare function transformQueryResults(method: PrismaMethod, results: unknown[]): unknown;
|
|
98
98
|
|
|
99
|
+
declare function normalizeValue(value: unknown, seen?: WeakSet<object>, depth?: number): unknown;
|
|
100
|
+
|
|
99
101
|
declare function buildSQL(model: Model, models: Model[], method: PrismaMethod, args: Record<string, unknown>, dialect: SqlDialect): SqlResult;
|
|
100
102
|
declare function createToSQL(modelsOrDmmf: Model[] | DMMF.Document, dialect: SqlDialect): (model: string, method: PrismaMethod, args?: Record<string, unknown>) => SqlResult;
|
|
101
103
|
declare function createPrismaSQL<TClient>(config: PrismaSQLConfig<TClient>): PrismaSQLResult<TClient>;
|
|
@@ -103,4 +105,4 @@ declare function generateSQL(directive: DirectiveProps): SQLDirective;
|
|
|
103
105
|
declare function generateAllSQL(directives: DirectiveProps[]): SQLDirective[];
|
|
104
106
|
declare function generateSQLByModel(directives: DirectiveProps[]): Map<string, SQLDirective[]>;
|
|
105
107
|
|
|
106
|
-
export { type BatchCountQuery, type BatchQuery, type Model, type PrismaMethod, type PrismaSQLConfig, type PrismaSQLResult, type SqlResult, type TransactionOptions, type TransactionQuery, buildBatchCountSql, buildBatchSql, buildSQL, createPrismaSQL, createToSQL, createTransactionExecutor, generateAllSQL, generateSQL, generateSQLByModel, parseBatchCountResults, parseBatchResults, transformQueryResults };
|
|
108
|
+
export { type BatchCountQuery, type BatchQuery, type Model, type PrismaMethod, type PrismaSQLConfig, type PrismaSQLResult, type SqlResult, type TransactionOptions, type TransactionQuery, buildBatchCountSql, buildBatchSql, buildSQL, createPrismaSQL, createToSQL, createTransactionExecutor, generateAllSQL, generateSQL, generateSQLByModel, normalizeValue, parseBatchCountResults, parseBatchResults, transformQueryResults };
|
package/dist/index.js
CHANGED
|
@@ -6609,6 +6609,6 @@ function generateSQLByModel(directives) {
|
|
|
6609
6609
|
return byModel;
|
|
6610
6610
|
}
|
|
6611
6611
|
|
|
6612
|
-
export { buildBatchCountSql, buildBatchSql, buildSQL, createPrismaSQL, createToSQL, createTransactionExecutor, generateAllSQL, generateSQL2 as generateSQL, generateSQLByModel, parseBatchCountResults, parseBatchResults, transformQueryResults };
|
|
6612
|
+
export { buildBatchCountSql, buildBatchSql, buildSQL, createPrismaSQL, createToSQL, createTransactionExecutor, generateAllSQL, generateSQL2 as generateSQL, generateSQLByModel, normalizeValue, parseBatchCountResults, parseBatchResults, transformQueryResults };
|
|
6613
6613
|
//# sourceMappingURL=index.js.map
|
|
6614
6614
|
//# sourceMappingURL=index.js.map
|