nice-grpc-error-details
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -129,5 +129,5 @@ import * as _m0 from "protobufjs/minimal"; | ||
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; | ||
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { | ||
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { | ||
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>; | ||
} : Partial<T>; | ||
export {}; |
@@ -89,5 +89,5 @@ import * as _m0 from "protobufjs/minimal"; | ||
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; | ||
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { | ||
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { | ||
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>; | ||
} : Partial<T>; | ||
export {}; |
@@ -378,5 +378,5 @@ import * as _m0 from "protobufjs/minimal"; | ||
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; | ||
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { | ||
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { | ||
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>; | ||
} : Partial<T>; | ||
export {}; |
@@ -265,3 +265,3 @@ "use strict"; | ||
if (value !== undefined) { | ||
acc[key] = String(value); | ||
acc[key] = globalThis.String(value); | ||
} | ||
@@ -268,0 +268,0 @@ return acc; |
@@ -37,5 +37,5 @@ import * as _m0 from "protobufjs/minimal"; | ||
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; | ||
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { | ||
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { | ||
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>; | ||
} : Partial<T>; | ||
export {}; |
@@ -13,5 +13,5 @@ import * as _m0 from "protobufjs/minimal"; | ||
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; | ||
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { | ||
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { | ||
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>; | ||
} : Partial<T>; | ||
export {}; |
{ | ||
"name": "nice-grpc-error-details", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "gRPC rich error model implementation for nice-grpc", | ||
@@ -28,3 +28,3 @@ "repository": "deeplay-io/nice-grpc", | ||
"grpc-tools": "^1.10.0", | ||
"nice-grpc": "^2.1.7", | ||
"nice-grpc": "^2.1.8", | ||
"ts-proto": "^1.112.0" | ||
@@ -37,3 +37,3 @@ }, | ||
}, | ||
"gitHead": "fa26b226f2ab9f5cdaae1773b0064d7d4c84544a" | ||
"gitHead": "2d8eccc332adbf869b6450efe5de14125d7cb4e6" | ||
} |
@@ -189,4 +189,5 @@ /* eslint-disable */ | ||
export type DeepPartial<T> = T extends Builtin ? T | ||
: T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> | ||
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> | ||
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> | ||
: T extends {} ? { [K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]> } | ||
: Partial<T>; |
@@ -150,3 +150,4 @@ /* eslint-disable */ | ||
export type DeepPartial<T> = T extends Builtin ? T | ||
: T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> | ||
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> | ||
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> | ||
: T extends {} ? { [K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]> } | ||
@@ -153,0 +154,0 @@ : Partial<T>; |
@@ -581,3 +581,3 @@ /* eslint-disable */ | ||
if (value !== undefined) { | ||
acc[key] = String(value); | ||
acc[key] = globalThis.String(value); | ||
} | ||
@@ -1195,4 +1195,5 @@ return acc; | ||
export type DeepPartial<T> = T extends Builtin ? T | ||
: T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> | ||
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> | ||
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> | ||
: T extends {} ? { [K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]> } | ||
: Partial<T>; |
@@ -108,4 +108,5 @@ /* eslint-disable */ | ||
export type DeepPartial<T> = T extends Builtin ? T | ||
: T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> | ||
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> | ||
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> | ||
: T extends {} ? { [K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]> } | ||
: Partial<T>; |
@@ -17,4 +17,5 @@ /* eslint-disable */ | ||
export type DeepPartial<T> = T extends Builtin ? T | ||
: T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> | ||
: T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> | ||
: T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> | ||
: T extends {} ? { [K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]> } | ||
: Partial<T>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
177635
3514