@prisma/orm-family-sql 8.0.0-rc.18-dev.33 → 8.0.0-rc.18-dev.35
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/{control-Dktzcn7Z.d.mts → control-B1Nyqky-.d.mts} +5 -9
- package/dist/{control-Dktzcn7Z.d.mts.map → control-B1Nyqky-.d.mts.map} +1 -1
- package/dist/{control-vpTGr7Ea.mjs → control-jtTYvP_4.mjs} +3 -12
- package/dist/control-jtTYvP_4.mjs.map +1 -0
- package/dist/{diff-DG69mLcv.d.mts → diff-DDjcnhgw.d.mts} +2 -2
- package/dist/{diff-DG69mLcv.d.mts.map → diff-DDjcnhgw.d.mts.map} +1 -1
- package/dist/{exports-DVsHk8HP-M-qeQrkz.mjs → exports-fEqieYlP-BuvGzB4B.mjs} +9 -3
- package/dist/{exports-DVsHk8HP-M-qeQrkz.mjs.map → exports-fEqieYlP-BuvGzB4B.mjs.map} +1 -1
- package/dist/family.d.mts +4 -4
- package/dist/family.mjs +1 -1
- package/dist/family__control.d.mts +2 -2
- package/dist/family__control.mjs +1 -1
- package/dist/family__diff.d.mts +1 -1
- package/dist/family__migration.d.mts +1 -1
- package/dist/{index-enjgL4Lb.d.mts → index-D_qFOZVN.d.mts} +7 -3
- package/dist/{index-enjgL4Lb.d.mts.map → index-D_qFOZVN.d.mts.map} +1 -1
- package/dist/{migration-Bo60GuJb.d.mts → migration-BZJFz90J.d.mts} +2 -2
- package/dist/{migration-Bo60GuJb.d.mts.map → migration-BZJFz90J.d.mts.map} +1 -1
- package/dist/orm-client.d.mts +9 -5
- package/dist/orm-client.d.mts.map +1 -1
- package/dist/orm-client.mjs +1 -1
- package/dist/runtime.d.mts +2 -2
- package/dist/runtime.mjs +2 -2
- package/dist/{types-DlFdMaDJ-Btto5v5t.d.mts → types-DKSRuPhK-DuxW_ceI.d.mts} +3 -4
- package/dist/{types-DlFdMaDJ-Btto5v5t.d.mts.map → types-DKSRuPhK-DuxW_ceI.d.mts.map} +1 -1
- package/package.json +18 -18
- package/dist/control-vpTGr7Ea.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff-
|
|
1
|
+
{"version":3,"file":"diff-DDjcnhgw.d.mts","names":[],"sources":["../../../../2-sql/9-family/dist/diff.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;;iBAkBiB,+BAA+B,OAAO,iBAAiB,gBAAgB,qBAAqB,yBAAyB;;;;;;;;;;;;;iBAarH,qBAAqB,OAAO,iBAAiB,gBAAgB,qBAAqB,yBAAyB;UAClH;;WAEC,iBAAiB;;WAEjB,uBAAuB,OAAO,oBAAoB;WAClD;WACA,sBAAsB;;WAEtB,gBAAgB,qBAAqB;;UAEtC;WACC,mBAAmB;WACnB,mBAAmB;;;;;;;;;iBASb,sBAAsB,OAAO,sBAAsB;UAC1D;WACC,UAAU,SAAS;;;;;;;WAOnB,gBAAgB;aACd,QAAQ;;WAEV,YAAY,oBAAoB;;;;;;;;;UASjC;WACC,mBAAmB;WACnB,mBAAmB;;iBAEb,0BAA0B,OAAO,0BAA0B;UAClE;WACC,UAAU,SAAS;WACnB,QAAQ;WACR;WACA,qBAAqB,cAAc;;WAEnC,YAAY;;WAEZ,gBAAgB,qBAAqB;;;;;;;;;iBAS/B,sBAAsB,OAAO,6BAA6B;;;;;;;;;;;;;;iBAc1D,YAAY,sBAAsB"}
|
|
@@ -18,7 +18,7 @@ import { AsyncIterableResult, RuntimeCore, applyMutationDefaults, assertMutation
|
|
|
18
18
|
import { invariant } from "@prisma/orm-framework/utils/assertions";
|
|
19
19
|
import { createExecutionStack } from "@prisma/orm-framework/components/execution";
|
|
20
20
|
import { hashContent } from "@prisma/orm-framework/utils/hash-content";
|
|
21
|
-
//#region ../../../2-sql/5-runtime/dist/exports-
|
|
21
|
+
//#region ../../../2-sql/5-runtime/dist/exports-fEqieYlP.mjs
|
|
22
22
|
/** The symbol-keyed member through which a runtime, connection, transaction, `withTransaction` context or activity handle starts activities; user-facing types do not show it. */
|
|
23
23
|
const activitySource = Symbol("activitySource");
|
|
24
24
|
function hasActivitySourceMember(target) {
|
|
@@ -2248,6 +2248,12 @@ var RowsBeneath = class {
|
|
|
2248
2248
|
function transactionClosedError() {
|
|
2249
2249
|
return runtimeError$1("RUNTIME.TRANSACTION_CLOSED", "Cannot use a transaction operation after the transaction has ended. Consume query results and await execute calls inside the transaction callback.", {});
|
|
2250
2250
|
}
|
|
2251
|
+
/**
|
|
2252
|
+
* Adds a client's members to the context `withTransaction` passes. The context is the prototype, not spread, so live accessors such as `invalidated` keep reading the transaction's state; spreading would copy their value once.
|
|
2253
|
+
*/
|
|
2254
|
+
function withTransactionMembers(txCtx, members) {
|
|
2255
|
+
return Object.assign(castAs(Object.create(txCtx)), members);
|
|
2256
|
+
}
|
|
2251
2257
|
async function withTransaction(runtime, fn) {
|
|
2252
2258
|
const connection = await runtime.connection();
|
|
2253
2259
|
let transaction;
|
|
@@ -2366,6 +2372,6 @@ async function withTransaction(runtime, fn) {
|
|
|
2366
2372
|
}
|
|
2367
2373
|
}
|
|
2368
2374
|
//#endregion
|
|
2369
|
-
export { startActivityOn as _, budgets as a, withTransaction as b, createSqlExecutionStack as c, encodeParamsWithMetadata as d, extractCodecIds as f, planContentHashOn as g, lowerSqlPlan as h, activitySource as i, delegatingActivitySource as l, lints as m, PreparedStatementImpl as n, createAstCodecRegistry as o, findActivitySource as p, SqlRuntimeBase as r, createExecutionContext as s, PreparedExecutionImpl as t, deriveParamMetadata as u, validateCodecRegistryCompleteness as v, validateContractCodecMappings as y };
|
|
2375
|
+
export { startActivityOn as _, budgets as a, withTransaction as b, createSqlExecutionStack as c, encodeParamsWithMetadata as d, extractCodecIds as f, planContentHashOn as g, lowerSqlPlan as h, activitySource as i, delegatingActivitySource as l, lints as m, PreparedStatementImpl as n, createAstCodecRegistry as o, findActivitySource as p, SqlRuntimeBase as r, createExecutionContext as s, PreparedExecutionImpl as t, deriveParamMetadata as u, validateCodecRegistryCompleteness as v, withTransactionMembers as x, validateContractCodecMappings as y };
|
|
2370
2376
|
|
|
2371
|
-
//# sourceMappingURL=exports-
|
|
2377
|
+
//# sourceMappingURL=exports-fEqieYlP-BuvGzB4B.mjs.map
|