@takeshape/util
Advanced tools
Comparing version 10.7.6 to 10.8.0
@@ -26,2 +26,3 @@ export * from './types'; | ||
export * from './sort-object'; | ||
export * from './path-to-string'; | ||
//# sourceMappingURL=common.d.ts.map |
@@ -280,2 +280,13 @@ "use strict"; | ||
}); | ||
}); | ||
var _pathToString = require("./path-to-string"); | ||
Object.keys(_pathToString).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _pathToString[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function () { | ||
return _pathToString[key]; | ||
} | ||
}); | ||
}); |
@@ -0,4 +1,5 @@ | ||
import { type JsonValue } from 'type-fest'; | ||
export type ResolverArgs = Record<string, any>; | ||
export type TraceRequest = { | ||
body: unknown; | ||
body?: unknown; | ||
headers?: Record<string, string | string[] | undefined>; | ||
@@ -16,5 +17,13 @@ method?: string; | ||
}; | ||
export type OpExecutionDetails = { | ||
input?: JsonValue; | ||
output: JsonValue | undefined; | ||
context: unknown; | ||
}; | ||
export type OpsTrace = { | ||
_opExecutionDetails: OpExecutionDetails; | ||
} & Record<string, unknown>; | ||
export type Execution = Record<string, unknown>; | ||
export type TraceDetails = { | ||
id?: string; | ||
args?: ResolverArgs; | ||
fieldName: string; | ||
@@ -26,9 +35,12 @@ name: string; | ||
result?: unknown; | ||
returnType: string; | ||
returnType?: string; | ||
service?: string; | ||
skipped?: boolean; | ||
step: string; | ||
staticContext: unknown; | ||
execution: Execution; | ||
isComposeStep: boolean; | ||
isDelegated: boolean; | ||
}; | ||
export type TraceReport = { | ||
args?: ResolverArgs; | ||
children: TraceReport[]; | ||
@@ -49,6 +61,8 @@ duration?: number; | ||
step?: string; | ||
steps?: TraceStepReport[]; | ||
steps?: TraceReport[]; | ||
delegatees?: TraceReport[]; | ||
traceClockStart?: number; | ||
staticContext: unknown; | ||
execution: Execution; | ||
}; | ||
export type TraceStepReport = Pick<TraceReport, 'id' | 'name' | 'args' | 'step' | 'result' | 'duration' | 'service' | 'skipped' | 'request' | 'response' | 'fieldName'>; | ||
//# sourceMappingURL=tracing.d.ts.map |
@@ -25,2 +25,3 @@ export * from './types'; | ||
export * from './validation'; | ||
export * from './sort-object'; | ||
export * from './sort-object'; | ||
export * from './path-to-string'; |
{ | ||
"name": "@takeshape/util", | ||
"version": "10.7.6", | ||
"version": "10.8.0", | ||
"description": "Shared utilities", | ||
@@ -36,3 +36,3 @@ "homepage": "https://www.takeshape.io", | ||
"url-parse": "^1.5.3", | ||
"@takeshape/routing": "10.7.6" | ||
"@takeshape/routing": "10.8.0" | ||
}, | ||
@@ -50,3 +50,3 @@ "devDependencies": { | ||
"stripe": "13.8.0", | ||
"@takeshape/typescript-jest-junit-reporter": "10.7.6" | ||
"@takeshape/typescript-jest-junit-reporter": "10.8.0" | ||
}, | ||
@@ -53,0 +53,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
202043
138
4533
+ Added@takeshape/routing@10.8.0(transitive)
- Removed@takeshape/routing@10.7.6(transitive)
Updated@takeshape/routing@10.8.0