@infineit-nestjs/services 1.0.43 → 1.0.44
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/cjs/generated/prisma/client.js +1 -0
- package/dist/es/generated/prisma/client.js +1 -0
- package/dist/types/generated/prisma/client.d.ts +4 -0
- package/dist/types/generated/prisma/enums.d.ts +2 -0
- package/dist/types/generated/prisma/internal/prismaNamespace.d.ts +159 -2
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Prisma=exports.PrismaClient=exports.$Enums=void 0;const e=require("tslib"),r=e.__importStar(require("./internal/class")),s=e.__importStar(require("./internal/prismaNamespace"));exports.Prisma=s,exports.$Enums=e.__importStar(require("./enums")),e.__exportStar(require("./enums"),exports),exports.PrismaClient=r.getPrismaClientClass();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.Prisma=exports.PrismaClient=exports.$Enums=void 0;const e=require("tslib"),r=e.__importStar(require("./internal/class")),s=e.__importStar(require("./internal/prismaNamespace"));exports.Prisma=s,exports.$Enums=e.__importStar(require("./enums")),e.__exportStar(require("./enums"),exports),exports.PrismaClient=r.getPrismaClientClass();
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as runtime from '@prisma/client/runtime/client';
|
|
2
2
|
import { PrismaClientConstructor, PrismaClient as PrismaClient$1 } from './internal/class.js';
|
|
3
3
|
import { LogLevel, PrismaClientOptions } from './internal/prismaNamespace.js';
|
|
4
|
+
import * as prismaNamespace from './internal/prismaNamespace.js';
|
|
5
|
+
export { prismaNamespace as Prisma };
|
|
6
|
+
import * as enums from './enums.js';
|
|
7
|
+
export { enums as $Enums };
|
|
4
8
|
|
|
5
9
|
declare const PrismaClient: PrismaClientConstructor;
|
|
6
10
|
type PrismaClient<LogOpts extends LogLevel = never, OmitOpts extends PrismaClientOptions['omit'] = PrismaClientOptions['omit'], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = PrismaClient$1<LogOpts, OmitOpts, ExtArgs>;
|
|
@@ -1,11 +1,161 @@
|
|
|
1
1
|
import * as runtime from '@prisma/client/runtime/client';
|
|
2
|
+
import { PrismaClient } from './class.js';
|
|
2
3
|
|
|
4
|
+
type DMMF = typeof runtime.DMMF;
|
|
3
5
|
type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>;
|
|
6
|
+
declare const PrismaClientKnownRequestError: typeof runtime.PrismaClientKnownRequestError;
|
|
7
|
+
type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
|
|
8
|
+
declare const PrismaClientUnknownRequestError: typeof runtime.PrismaClientUnknownRequestError;
|
|
9
|
+
type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
|
|
10
|
+
declare const PrismaClientRustPanicError: typeof runtime.PrismaClientRustPanicError;
|
|
11
|
+
type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
|
|
12
|
+
declare const PrismaClientInitializationError: typeof runtime.PrismaClientInitializationError;
|
|
13
|
+
type PrismaClientInitializationError = runtime.PrismaClientInitializationError;
|
|
14
|
+
declare const PrismaClientValidationError: typeof runtime.PrismaClientValidationError;
|
|
15
|
+
type PrismaClientValidationError = runtime.PrismaClientValidationError;
|
|
16
|
+
declare const sql: typeof runtime.sqltag;
|
|
17
|
+
declare const empty: runtime.Sql;
|
|
18
|
+
declare const join: typeof runtime.join;
|
|
19
|
+
declare const raw: typeof runtime.raw;
|
|
4
20
|
declare const Sql: typeof runtime.Sql;
|
|
5
21
|
type Sql = runtime.Sql;
|
|
22
|
+
declare const Decimal: typeof runtime.Decimal;
|
|
23
|
+
type Decimal = runtime.Decimal;
|
|
24
|
+
type DecimalJsLike = runtime.DecimalJsLike;
|
|
25
|
+
type Extension = runtime.Types.Extensions.UserArgs;
|
|
26
|
+
declare const getExtensionContext: typeof runtime.Extensions.getExtensionContext;
|
|
27
|
+
type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<T, F>;
|
|
28
|
+
type Payload<T, F extends runtime.Operation = never> = runtime.Types.Public.Payload<T, F>;
|
|
29
|
+
type Result<T, A, F extends runtime.Operation> = runtime.Types.Public.Result<T, A, F>;
|
|
30
|
+
type Exact<A, W> = runtime.Types.Public.Exact<A, W>;
|
|
31
|
+
type PrismaVersion = {
|
|
32
|
+
client: string;
|
|
33
|
+
engine: string;
|
|
34
|
+
};
|
|
35
|
+
declare const prismaVersion: PrismaVersion;
|
|
36
|
+
type Bytes = runtime.Bytes;
|
|
37
|
+
type JsonObject = runtime.JsonObject;
|
|
38
|
+
type JsonArray = runtime.JsonArray;
|
|
39
|
+
type JsonValue = runtime.JsonValue;
|
|
40
|
+
type InputJsonObject = runtime.InputJsonObject;
|
|
41
|
+
type InputJsonArray = runtime.InputJsonArray;
|
|
42
|
+
type InputJsonValue = runtime.InputJsonValue;
|
|
43
|
+
declare const NullTypes: {
|
|
44
|
+
DbNull: new (secret: never) => typeof runtime.DbNull;
|
|
45
|
+
JsonNull: new (secret: never) => typeof runtime.JsonNull;
|
|
46
|
+
AnyNull: new (secret: never) => typeof runtime.AnyNull;
|
|
47
|
+
};
|
|
48
|
+
declare const DbNull: runtime.DbNullClass;
|
|
49
|
+
declare const JsonNull: runtime.JsonNullClass;
|
|
50
|
+
declare const AnyNull: runtime.AnyNullClass;
|
|
51
|
+
type SelectAndInclude = {
|
|
52
|
+
select: any;
|
|
53
|
+
include: any;
|
|
54
|
+
};
|
|
55
|
+
type SelectAndOmit = {
|
|
56
|
+
select: any;
|
|
57
|
+
omit: any;
|
|
58
|
+
};
|
|
59
|
+
type Prisma__Pick<T, K extends keyof T> = {
|
|
60
|
+
[P in K]: T[P];
|
|
61
|
+
};
|
|
62
|
+
type Enumerable<T> = T | Array<T>;
|
|
6
63
|
type Subset<T, U> = {
|
|
7
64
|
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
8
65
|
};
|
|
66
|
+
type SelectSubset<T, U> = {
|
|
67
|
+
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
68
|
+
} & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : T extends SelectAndOmit ? 'Please either choose `select` or `omit`.' : {});
|
|
69
|
+
type SubsetIntersection<T, U, K> = {
|
|
70
|
+
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
71
|
+
} & K;
|
|
72
|
+
type Without<T, U> = {
|
|
73
|
+
[P in Exclude<keyof T, keyof U>]?: never;
|
|
74
|
+
};
|
|
75
|
+
type XOR<T, U> = T extends object ? U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : U : T;
|
|
76
|
+
type IsObject<T extends any> = T extends Array<any> ? False : T extends Date ? False : T extends Uint8Array ? False : T extends BigInt ? False : T extends object ? True : False;
|
|
77
|
+
type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T;
|
|
78
|
+
type __Either<O extends object, K extends Key> = Omit<O, K> & {
|
|
79
|
+
[P in K]: Prisma__Pick<O, P & keyof O>;
|
|
80
|
+
}[K];
|
|
81
|
+
type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>;
|
|
82
|
+
type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>;
|
|
83
|
+
type _Either<O extends object, K extends Key, strict extends Boolean> = {
|
|
84
|
+
1: EitherStrict<O, K>;
|
|
85
|
+
0: EitherLoose<O, K>;
|
|
86
|
+
}[strict];
|
|
87
|
+
type Either<O extends object, K extends Key, strict extends Boolean = 1> = O extends unknown ? _Either<O, K, strict> : never;
|
|
88
|
+
type Union = any;
|
|
89
|
+
type PatchUndefined<O extends object, O1 extends object> = {
|
|
90
|
+
[K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K];
|
|
91
|
+
} & {};
|
|
92
|
+
type IntersectOf<U extends Union> = (U extends unknown ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
93
|
+
type Overwrite<O extends object, O1 extends object> = {
|
|
94
|
+
[K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
|
|
95
|
+
} & {};
|
|
96
|
+
type _Merge<U extends object> = IntersectOf<Overwrite<U, {
|
|
97
|
+
[K in keyof U]-?: At<U, K>;
|
|
98
|
+
}>>;
|
|
99
|
+
type Key = string | number | symbol;
|
|
100
|
+
type AtStrict<O extends object, K extends Key> = O[K & keyof O];
|
|
101
|
+
type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
|
|
102
|
+
type At<O extends object, K extends Key, strict extends Boolean = 1> = {
|
|
103
|
+
1: AtStrict<O, K>;
|
|
104
|
+
0: AtLoose<O, K>;
|
|
105
|
+
}[strict];
|
|
106
|
+
type ComputeRaw<A extends any> = A extends Function ? A : {
|
|
107
|
+
[K in keyof A]: A[K];
|
|
108
|
+
} & {};
|
|
109
|
+
type OptionalFlat<O> = {
|
|
110
|
+
[K in keyof O]?: O[K];
|
|
111
|
+
} & {};
|
|
112
|
+
type _Record<K extends keyof any, T> = {
|
|
113
|
+
[P in K]: T;
|
|
114
|
+
};
|
|
115
|
+
type NoExpand<T> = T extends unknown ? T : never;
|
|
116
|
+
type AtLeast<O extends object, K extends string> = NoExpand<O extends unknown ? (K extends keyof O ? {
|
|
117
|
+
[P in K]: O[P];
|
|
118
|
+
} & O : O) | ({
|
|
119
|
+
[P in keyof O as P extends K ? P : never]-?: O[P];
|
|
120
|
+
} & O) : never>;
|
|
121
|
+
type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
|
|
122
|
+
type Strict<U extends object> = ComputeRaw<_Strict<U>>;
|
|
123
|
+
type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
|
|
124
|
+
type Boolean = True | False;
|
|
125
|
+
type True = 1;
|
|
126
|
+
type False = 0;
|
|
127
|
+
type Not<B extends Boolean> = {
|
|
128
|
+
0: 1;
|
|
129
|
+
1: 0;
|
|
130
|
+
}[B];
|
|
131
|
+
type Extends<A1 extends any, A2 extends any> = [A1] extends [never] ? 0 : A1 extends A2 ? 1 : 0;
|
|
132
|
+
type Has<U extends Union, U1 extends Union> = Not<Extends<Exclude<U1, U>, U1>>;
|
|
133
|
+
type Or<B1 extends Boolean, B2 extends Boolean> = {
|
|
134
|
+
0: {
|
|
135
|
+
0: 0;
|
|
136
|
+
1: 1;
|
|
137
|
+
};
|
|
138
|
+
1: {
|
|
139
|
+
0: 1;
|
|
140
|
+
1: 1;
|
|
141
|
+
};
|
|
142
|
+
}[B1][B2];
|
|
143
|
+
type Keys<U extends Union> = U extends unknown ? keyof U : never;
|
|
144
|
+
type GetScalarType<T, O> = O extends object ? {
|
|
145
|
+
[P in keyof T]: P extends keyof O ? O[P] : never;
|
|
146
|
+
} : never;
|
|
147
|
+
type FieldPaths<T, U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>> = IsObject<T> extends True ? U : T;
|
|
148
|
+
type GetHavingFields<T> = {
|
|
149
|
+
[K in keyof T]: Or<Or<Extends<'OR', K>, Extends<'AND', K>>, Extends<'NOT', K>> extends True ? T[K] extends infer TK ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never> : never : {} extends FieldPaths<T[K]> ? never : K;
|
|
150
|
+
}[keyof T];
|
|
151
|
+
type _TupleToUnion<T> = T extends (infer E)[] ? E : never;
|
|
152
|
+
type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>;
|
|
153
|
+
type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T;
|
|
154
|
+
type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>;
|
|
155
|
+
type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T;
|
|
156
|
+
type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>;
|
|
157
|
+
declare const ModelName: {};
|
|
158
|
+
type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
9
159
|
interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{
|
|
10
160
|
extArgs: runtime.Types.Extensions.InternalArgs;
|
|
11
161
|
}, runtime.Types.Utils.Record<string, any>> {
|
|
@@ -50,6 +200,11 @@ declare const TransactionIsolationLevel: {
|
|
|
50
200
|
readonly Serializable: "Serializable";
|
|
51
201
|
};
|
|
52
202
|
type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
|
|
203
|
+
type BatchPayload = {
|
|
204
|
+
count: number;
|
|
205
|
+
};
|
|
206
|
+
declare const defineExtension: runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs>;
|
|
207
|
+
type DefaultPrismaClient = PrismaClient;
|
|
53
208
|
type ErrorFormat = 'pretty' | 'colorless' | 'minimal';
|
|
54
209
|
type PrismaClientOptions = ({
|
|
55
210
|
adapter: runtime.SqlDriverAdapterFactory;
|
|
@@ -89,6 +244,8 @@ type LogEvent = {
|
|
|
89
244
|
message: string;
|
|
90
245
|
target: string;
|
|
91
246
|
};
|
|
247
|
+
type PrismaAction = 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'executeRaw' | 'queryRaw' | 'aggregate' | 'count' | 'runCommandRaw' | 'findRaw' | 'groupBy';
|
|
248
|
+
type TransactionClient = Omit<DefaultPrismaClient, runtime.ITXClientDenyList>;
|
|
92
249
|
|
|
93
|
-
export { Sql, TransactionIsolationLevel };
|
|
94
|
-
export type { CheckIsLogLevel, ErrorFormat, GetEvents, GetLogType, GlobalOmitConfig, LogDefinition, LogEvent, LogLevel, PrismaClientOptions, PrismaPromise, QueryEvent, Subset, TypeMap, TypeMapCb };
|
|
250
|
+
export { AnyNull, DbNull, Decimal, JsonNull, ModelName, NullTypes, PrismaClientInitializationError, PrismaClientKnownRequestError, PrismaClientRustPanicError, PrismaClientUnknownRequestError, PrismaClientValidationError, Sql, TransactionIsolationLevel, defineExtension, empty, getExtensionContext, join, prismaVersion, raw, sql };
|
|
251
|
+
export type { Args, At, AtLeast, BatchPayload, Boolean, Bytes, CheckIsLogLevel, ComputeRaw, DMMF, DecimalJsLike, DefaultPrismaClient, Either, Enumerable, ErrorFormat, Exact, ExcludeUnderscoreKeys, Extends, Extension, False, FieldRef, GetEvents, GetHavingFields, GetLogType, GetScalarType, GlobalOmitConfig, Has, InputJsonArray, InputJsonObject, InputJsonValue, IntersectOf, JsonArray, JsonObject, JsonValue, Keys, LogDefinition, LogEvent, LogLevel, MaybeTupleToUnion, Merge, Not, OptionalFlat, Or, Overwrite, PatchUndefined, Payload, PickEnumerable, PrismaAction, PrismaClientOptions, PrismaPromise, PrismaVersion, QueryEvent, Result, SelectSubset, Strict, Subset, SubsetIntersection, TransactionClient, True, TypeMap, TypeMapCb, UnEnumerate, Union, XOR };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infineit-nestjs/services",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.44",
|
|
4
4
|
"main": "./dist/cjs/index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"node": ">=18.0.0",
|
|
115
115
|
"npm": ">=9.0.0"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "73991942aa0c6333fbd160d4e798ee47c9491639"
|
|
118
118
|
}
|