@prisma/migrate 6.1.0-integration-expose-deserialize-raw-result.1 → 6.1.0-integration-engines-6-1-0-18-fixup-wasm-response-json-serialization-span-8988abfac9afb8e5e01a2f1862852f4e8ce393e0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Migrate.js +5 -5
- package/dist/SchemaEngine.js +5 -5
- package/dist/bin.js +33 -33
- package/dist/{chunk-ILQWQHQO.js → chunk-3EBHV6P7.js} +6 -6
- package/dist/{chunk-GUBDW6S7.js → chunk-4NDZU7KV.js} +6 -6
- package/dist/{chunk-PCJYN6LT.js → chunk-7MUF3HLX.js} +6 -6
- package/dist/{chunk-NKL64AIB.js → chunk-AOCCG7RR.js} +6 -6
- package/dist/{chunk-X6GGREJW.js → chunk-BQXAMKF7.js} +6 -6
- package/dist/{chunk-LVFPGUOH.js → chunk-E3UZYEGF.js} +92 -87
- package/dist/{chunk-KEPR65SW.js → chunk-ET2H4E2O.js} +6 -6
- package/dist/{chunk-W732A6L3.js → chunk-IBUNA332.js} +41 -41
- package/dist/{chunk-SKMU5A2R.js → chunk-KWQ77ZEW.js} +815 -43
- package/dist/{chunk-PFEH6ILG.js → chunk-KX5GI2BM.js} +6 -6
- package/dist/{chunk-3H4RLVCQ.js → chunk-MBLWML5Q.js} +9 -9
- package/dist/{chunk-LJOMIPJW.js → chunk-NCDRH4BH.js} +7 -7
- package/dist/{chunk-HODZFC64.js → chunk-RCPXHNHW.js} +7 -7
- package/dist/{chunk-PNBMPQYH.js → chunk-UI76O6B2.js} +6 -6
- package/dist/{chunk-Z4OLB2H4.js → chunk-XQJTDY7A.js} +6 -6
- package/dist/commands/DbExecute.js +6 -6
- package/dist/commands/DbPull.js +5 -5
- package/dist/commands/DbPush.js +6 -6
- package/dist/commands/MigrateDeploy.js +6 -6
- package/dist/commands/MigrateDev.js +6 -6
- package/dist/commands/MigrateDiff.js +6 -6
- package/dist/commands/MigrateReset.js +6 -6
- package/dist/commands/MigrateResolve.js +6 -6
- package/dist/commands/MigrateStatus.js +6 -6
- package/dist/index.js +39 -39
- package/dist/internals/src/tracing/types.d.ts +26 -16
- package/dist/utils/getDatabaseVersionSafe.js +5 -5
- package/dist/utils/introspectSql.js +4 -4
- package/dist/utils/setupMongo.js +25279 -23672
- package/dist/views/handleViewsIO.js +3 -3
- package/package.json +9 -9
@@ -10,30 +10,40 @@ export type ExtendedSpanOptions = SpanOptions & {
|
|
10
10
|
/** The context to append the span to */
|
11
11
|
context?: Context;
|
12
12
|
};
|
13
|
-
export type
|
14
|
-
|
15
|
-
spans: EngineSpan[];
|
16
|
-
};
|
13
|
+
export type EngineSpanId = string;
|
14
|
+
export type HrTime = [number, number];
|
17
15
|
export type EngineSpanKind = 'client' | 'internal';
|
18
16
|
export type EngineSpan = {
|
19
|
-
|
17
|
+
id: EngineSpanId;
|
18
|
+
parentId: string | null;
|
20
19
|
name: string;
|
21
|
-
|
22
|
-
|
23
|
-
parent_span_id: string;
|
24
|
-
start_time: [number, number];
|
25
|
-
end_time: [number, number];
|
26
|
-
attributes?: Record<string, string>;
|
27
|
-
links?: {
|
28
|
-
trace_id: string;
|
29
|
-
span_id: string;
|
30
|
-
}[];
|
20
|
+
startTime: HrTime;
|
21
|
+
endTime: HrTime;
|
31
22
|
kind: EngineSpanKind;
|
23
|
+
attributes?: Record<string, unknown>;
|
24
|
+
links?: EngineSpanId[];
|
25
|
+
};
|
26
|
+
export type LogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'query';
|
27
|
+
export type EngineTraceEvent = {
|
28
|
+
spanId: EngineSpanId;
|
29
|
+
target: string;
|
30
|
+
level: LogLevel;
|
31
|
+
timestamp: HrTime;
|
32
|
+
attributes: Record<string, unknown> & {
|
33
|
+
message?: string;
|
34
|
+
query?: string;
|
35
|
+
duration_ms?: number;
|
36
|
+
params?: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
export type EngineTrace = {
|
40
|
+
spans: EngineSpan[];
|
41
|
+
events: EngineTraceEvent[];
|
32
42
|
};
|
33
43
|
export interface TracingHelper {
|
34
44
|
isEnabled(): boolean;
|
35
45
|
getTraceParent(context?: Context): string;
|
36
|
-
|
46
|
+
dispatchEngineSpans(spans: EngineSpan[]): void;
|
37
47
|
getActiveContext(): Context | undefined;
|
38
48
|
runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;
|
39
49
|
}
|
@@ -18,13 +18,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
19
|
var getDatabaseVersionSafe_exports = {};
|
20
20
|
__export(getDatabaseVersionSafe_exports, {
|
21
|
-
getDatabaseVersionSafe: () =>
|
21
|
+
getDatabaseVersionSafe: () => import_chunk_AOCCG7RR.getDatabaseVersionSafe
|
22
22
|
});
|
23
23
|
module.exports = __toCommonJS(getDatabaseVersionSafe_exports);
|
24
|
-
var
|
25
|
-
var
|
26
|
-
var
|
24
|
+
var import_chunk_AOCCG7RR = require("../chunk-AOCCG7RR.js");
|
25
|
+
var import_chunk_7MUF3HLX = require("../chunk-7MUF3HLX.js");
|
26
|
+
var import_chunk_E3UZYEGF = require("../chunk-E3UZYEGF.js");
|
27
27
|
var import_chunk_AAATUOV6 = require("../chunk-AAATUOV6.js");
|
28
28
|
var import_chunk_6TE2RIPN = require("../chunk-6TE2RIPN.js");
|
29
29
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
30
|
-
(0,
|
30
|
+
(0, import_chunk_AOCCG7RR.init_getDatabaseVersionSafe)();
|
@@ -18,12 +18,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
19
|
var introspectSql_exports = {};
|
20
20
|
__export(introspectSql_exports, {
|
21
|
-
introspectSql: () =>
|
21
|
+
introspectSql: () => import_chunk_XQJTDY7A.introspectSql
|
22
22
|
});
|
23
23
|
module.exports = __toCommonJS(introspectSql_exports);
|
24
|
-
var
|
25
|
-
var
|
26
|
-
var
|
24
|
+
var import_chunk_XQJTDY7A = require("../chunk-XQJTDY7A.js");
|
25
|
+
var import_chunk_7MUF3HLX = require("../chunk-7MUF3HLX.js");
|
26
|
+
var import_chunk_E3UZYEGF = require("../chunk-E3UZYEGF.js");
|
27
27
|
var import_chunk_AAATUOV6 = require("../chunk-AAATUOV6.js");
|
28
28
|
var import_chunk_6TE2RIPN = require("../chunk-6TE2RIPN.js");
|
29
29
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|