@koalarx/nest 1.18.0 → 1.18.2
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/{core → apps/koala-nest/src/core}/database/prisma-client-with-custom-transaction.interface.d.ts +1 -1
- package/{core → apps/koala-nest/src/core}/database/prisma-transactional-client.d.ts +2 -1
- package/{core → apps/koala-nest/src/core}/database/prisma.service.d.ts +3 -2
- package/{core → apps/koala-nest/src/core}/database/prisma.service.js +2 -10
- package/{filters → apps/koala-nest/src/filters}/prisma-validation-exception.filter.d.ts +1 -1
- package/{filters → apps/koala-nest/src/filters}/prisma-validation-exception.filter.js +1 -1
- package/{test → apps/koala-nest/src/test}/utils/create-e2e-database.js +1 -1
- package/{test → apps/koala-nest/src/test}/utils/drop-e2e-database.js +2 -2
- package/package.json +1 -1
- package/prisma/generated/client.d.ts +11 -0
- package/prisma/generated/client.js +23 -0
- package/prisma/generated/commonInputTypes.d.ts +143 -0
- package/prisma/generated/commonInputTypes.js +2 -0
- package/prisma/generated/enums.d.ts +1 -0
- package/prisma/generated/enums.js +2 -0
- package/prisma/generated/internal/class.d.ts +41 -0
- package/prisma/generated/internal/class.js +32 -0
- package/prisma/generated/internal/prismaNamespace.d.ts +516 -0
- package/prisma/generated/internal/prismaNamespace.js +63 -0
- package/prisma/generated/models/Person.d.ts +641 -0
- package/prisma/generated/models/Person.js +2 -0
- package/prisma/generated/models/PersonAddress.d.ts +436 -0
- package/prisma/generated/models/PersonAddress.js +2 -0
- package/prisma/generated/models/PersonPhone.d.ts +502 -0
- package/prisma/generated/models/PersonPhone.js +2 -0
- package/prisma/generated/models.d.ts +4 -0
- package/prisma/generated/models.js +2 -0
- package/tsconfig.lib.tsbuildinfo +1 -1
- /package/{core → apps/koala-nest/src/core}/backgroud-services/cron-service/cron-job.handler.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/cron-service/cron-job.handler.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-class.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-class.js +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-handler.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-handler.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-is-trigger.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-is-trigger.js +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-job.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-job.js +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-queue.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/backgroud-services/event-service/event-queue.js +0 -0
- /package/{core → apps/koala-nest/src/core}/constants/query-params.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/constants/query-params.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/base.controller.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/base.controller.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/controller.decorator.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/controller.decorator.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/created-registre-response.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/created-registre-response.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/list-response.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/list-response.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/pagination.request.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/pagination.request.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/router-config.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/router-config.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/boolean.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/boolean.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/document-number.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/document-number.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/email.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/email.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/list-query.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/list-query.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/native-enum.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/native-enum.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/set-mask-document-number.schema.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/controllers/schemas/set-mask-document-number.schema.js +0 -0
- /package/{core → apps/koala-nest/src/core}/database/entity.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/database/entity.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/database/entity.decorator.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/database/entity.decorator.js +0 -0
- /package/{core → apps/koala-nest/src/core}/database/prisma-client-with-custom-transaction.interface.js +0 -0
- /package/{core → apps/koala-nest/src/core}/database/prisma-transactional-client.js +0 -0
- /package/{core → apps/koala-nest/src/core}/database/repository.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/database/repository.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/dtos/pagination.dto.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/dtos/pagination.dto.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/bad-request.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/bad-request.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/conflict.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/conflict.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/error.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/error.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/no-content.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/no-content.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/not-allowed.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/not-allowed.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/resource-not-found.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/resource-not-found.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/use-case-error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/use-case-error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/user-already-exist.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/user-already-exist.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/wrong-credentials.error.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/errors/wrong-credentials.error.js +0 -0
- /package/{core → apps/koala-nest/src/core}/health-check/health-check.controller.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/health-check/health-check.controller.js +0 -0
- /package/{core → apps/koala-nest/src/core}/health-check/health-check.module.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/health-check/health-check.module.js +0 -0
- /package/{core → apps/koala-nest/src/core}/index.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/index.js +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-app.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-app.js +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-global-vars.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-global-vars.js +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest-database.module.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest-database.module.js +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest-http.module.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest-http.module.js +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest.module.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/koala-nest.module.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-class-context.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-class-context.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-context.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-context.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-list.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-list.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-profile.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping-profile.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.decorator.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.decorator.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.module.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.module.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.service.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/auto-mapping.service.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/create-map.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/create-map.js +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/for-member.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/mapping/for-member.js +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-handler.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-handler.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-result.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-result.js +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-validator.base.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/request-overflow/request-validator.base.js +0 -0
- /package/{core → apps/koala-nest/src/core}/security/strategies/api-key.strategy.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/security/strategies/api-key.strategy.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/assing-object.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/assing-object.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/env.config.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/env.config.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/filter-request-params.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/filter-request-params.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/find-on-list.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/find-on-list.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/instanciate-class-with-dependencies-injection.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/instanciate-class-with-dependencies-injection.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/interfaces/icomparable.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/interfaces/icomparable.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/list.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/list.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/promise-all.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/promise-all.js +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/set-mask-document-number.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/utils/set-mask-document-number.js +0 -0
- /package/{core → apps/koala-nest/src/core}/validators/file-validator.d.ts +0 -0
- /package/{core → apps/koala-nest/src/core}/validators/file-validator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-exclude-endpoint-diff-develop.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-exclude-endpoint-diff-develop.decorator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-property-enum.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-property-enum.decorator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-property-only-develop.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/api-property-only-develop.decorator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/cookies.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/cookies.decorator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/is-public.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/is-public.decorator.js +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/upload.decorator.d.ts +0 -0
- /package/{decorators → apps/koala-nest/src/decorators}/upload.decorator.js +0 -0
- /package/{env → apps/koala-nest/src/env}/env.d.ts +0 -0
- /package/{env → apps/koala-nest/src/env}/env.js +0 -0
- /package/{env → apps/koala-nest/src/env}/env.module.d.ts +0 -0
- /package/{env → apps/koala-nest/src/env}/env.module.js +0 -0
- /package/{env → apps/koala-nest/src/env}/env.service.d.ts +0 -0
- /package/{env → apps/koala-nest/src/env}/env.service.js +0 -0
- /package/{filters → apps/koala-nest/src/filters}/domain-errors.filter.d.ts +0 -0
- /package/{filters → apps/koala-nest/src/filters}/domain-errors.filter.js +0 -0
- /package/{filters → apps/koala-nest/src/filters}/global-exception.filter.d.ts +0 -0
- /package/{filters → apps/koala-nest/src/filters}/global-exception.filter.js +0 -0
- /package/{filters → apps/koala-nest/src/filters}/zod-errors.filter.d.ts +0 -0
- /package/{filters → apps/koala-nest/src/filters}/zod-errors.filter.js +0 -0
- /package/{services → apps/koala-nest/src/services}/logging/ilogging.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/logging/ilogging.service.js +0 -0
- /package/{services → apps/koala-nest/src/services}/logging/logging.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/logging/logging.service.js +0 -0
- /package/{services → apps/koala-nest/src/services}/redis/iredis.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/redis/iredis.service.js +0 -0
- /package/{services → apps/koala-nest/src/services}/redis/redis.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/redis/redis.service.js +0 -0
- /package/{services → apps/koala-nest/src/services}/redlock/ired-lock.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/redlock/ired-lock.service.js +0 -0
- /package/{services → apps/koala-nest/src/services}/redlock/red-lock.service.d.ts +0 -0
- /package/{services → apps/koala-nest/src/services}/redlock/red-lock.service.js +0 -0
- /package/{test → apps/koala-nest/src/test}/koala-app-test-dependencies.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/koala-app-test-dependencies.js +0 -0
- /package/{test → apps/koala-nest/src/test}/koala-app-test.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/koala-app-test.js +0 -0
- /package/{test → apps/koala-nest/src/test}/repositories/in-memory-base.repository.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/repositories/in-memory-base.repository.js +0 -0
- /package/{test → apps/koala-nest/src/test}/services/fake-logging.service.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/services/fake-logging.service.js +0 -0
- /package/{test → apps/koala-nest/src/test}/services/fake-red-lock.service.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/services/fake-red-lock.service.js +0 -0
- /package/{test → apps/koala-nest/src/test}/utils/create-e2e-database.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/utils/drop-e2e-database.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/utils/wait-for.d.ts +0 -0
- /package/{test → apps/koala-nest/src/test}/utils/wait-for.js +0 -0
|
@@ -0,0 +1,516 @@
|
|
|
1
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../models";
|
|
3
|
+
import { type PrismaClient } from "./class";
|
|
4
|
+
export type * from '../models';
|
|
5
|
+
export type DMMF = typeof runtime.DMMF;
|
|
6
|
+
export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>;
|
|
7
|
+
export declare const PrismaClientKnownRequestError: typeof runtime.PrismaClientKnownRequestError;
|
|
8
|
+
export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
|
|
9
|
+
export declare const PrismaClientUnknownRequestError: typeof runtime.PrismaClientUnknownRequestError;
|
|
10
|
+
export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
|
|
11
|
+
export declare const PrismaClientRustPanicError: typeof runtime.PrismaClientRustPanicError;
|
|
12
|
+
export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
|
|
13
|
+
export declare const PrismaClientInitializationError: typeof runtime.PrismaClientInitializationError;
|
|
14
|
+
export type PrismaClientInitializationError = runtime.PrismaClientInitializationError;
|
|
15
|
+
export declare const PrismaClientValidationError: typeof runtime.PrismaClientValidationError;
|
|
16
|
+
export type PrismaClientValidationError = runtime.PrismaClientValidationError;
|
|
17
|
+
export declare const sql: typeof runtime.sqltag;
|
|
18
|
+
export declare const empty: runtime.Sql;
|
|
19
|
+
export declare const join: typeof runtime.join;
|
|
20
|
+
export declare const raw: typeof runtime.raw;
|
|
21
|
+
export declare const Sql: typeof runtime.Sql;
|
|
22
|
+
export type Sql = runtime.Sql;
|
|
23
|
+
export declare const Decimal: typeof runtime.Decimal;
|
|
24
|
+
export type Decimal = runtime.Decimal;
|
|
25
|
+
export type DecimalJsLike = runtime.DecimalJsLike;
|
|
26
|
+
export type Extension = runtime.Types.Extensions.UserArgs;
|
|
27
|
+
export declare const getExtensionContext: typeof runtime.Extensions.getExtensionContext;
|
|
28
|
+
export type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<T, F>;
|
|
29
|
+
export type Payload<T, F extends runtime.Operation = never> = runtime.Types.Public.Payload<T, F>;
|
|
30
|
+
export type Result<T, A, F extends runtime.Operation> = runtime.Types.Public.Result<T, A, F>;
|
|
31
|
+
export type Exact<A, W> = runtime.Types.Public.Exact<A, W>;
|
|
32
|
+
export type PrismaVersion = {
|
|
33
|
+
client: string;
|
|
34
|
+
engine: string;
|
|
35
|
+
};
|
|
36
|
+
export declare const prismaVersion: PrismaVersion;
|
|
37
|
+
export type Bytes = runtime.Bytes;
|
|
38
|
+
export type JsonObject = runtime.JsonObject;
|
|
39
|
+
export type JsonArray = runtime.JsonArray;
|
|
40
|
+
export type JsonValue = runtime.JsonValue;
|
|
41
|
+
export type InputJsonObject = runtime.InputJsonObject;
|
|
42
|
+
export type InputJsonArray = runtime.InputJsonArray;
|
|
43
|
+
export type InputJsonValue = runtime.InputJsonValue;
|
|
44
|
+
export declare const NullTypes: {
|
|
45
|
+
DbNull: (new (secret: never) => typeof runtime.DbNull);
|
|
46
|
+
JsonNull: (new (secret: never) => typeof runtime.JsonNull);
|
|
47
|
+
AnyNull: (new (secret: never) => typeof runtime.AnyNull);
|
|
48
|
+
};
|
|
49
|
+
export declare const DbNull: runtime.DbNullClass;
|
|
50
|
+
export declare const JsonNull: runtime.JsonNullClass;
|
|
51
|
+
export declare const AnyNull: runtime.AnyNullClass;
|
|
52
|
+
type SelectAndInclude = {
|
|
53
|
+
select: any;
|
|
54
|
+
include: any;
|
|
55
|
+
};
|
|
56
|
+
type SelectAndOmit = {
|
|
57
|
+
select: any;
|
|
58
|
+
omit: any;
|
|
59
|
+
};
|
|
60
|
+
type Prisma__Pick<T, K extends keyof T> = {
|
|
61
|
+
[P in K]: T[P];
|
|
62
|
+
};
|
|
63
|
+
export type Enumerable<T> = T | Array<T>;
|
|
64
|
+
export type Subset<T, U> = {
|
|
65
|
+
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
66
|
+
};
|
|
67
|
+
export type SelectSubset<T, U> = {
|
|
68
|
+
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
69
|
+
} & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : T extends SelectAndOmit ? 'Please either choose `select` or `omit`.' : {});
|
|
70
|
+
export type SubsetIntersection<T, U, K> = {
|
|
71
|
+
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
72
|
+
} & K;
|
|
73
|
+
type Without<T, U> = {
|
|
74
|
+
[P in Exclude<keyof T, keyof U>]?: never;
|
|
75
|
+
};
|
|
76
|
+
export type XOR<T, U> = T extends object ? U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : U : T;
|
|
77
|
+
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;
|
|
78
|
+
export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T;
|
|
79
|
+
type __Either<O extends object, K extends Key> = Omit<O, K> & {
|
|
80
|
+
[P in K]: Prisma__Pick<O, P & keyof O>;
|
|
81
|
+
}[K];
|
|
82
|
+
type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>;
|
|
83
|
+
type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>;
|
|
84
|
+
type _Either<O extends object, K extends Key, strict extends Boolean> = {
|
|
85
|
+
1: EitherStrict<O, K>;
|
|
86
|
+
0: EitherLoose<O, K>;
|
|
87
|
+
}[strict];
|
|
88
|
+
export type Either<O extends object, K extends Key, strict extends Boolean = 1> = O extends unknown ? _Either<O, K, strict> : never;
|
|
89
|
+
export type Union = any;
|
|
90
|
+
export type PatchUndefined<O extends object, O1 extends object> = {
|
|
91
|
+
[K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K];
|
|
92
|
+
} & {};
|
|
93
|
+
export type IntersectOf<U extends Union> = (U extends unknown ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
94
|
+
export type Overwrite<O extends object, O1 extends object> = {
|
|
95
|
+
[K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
|
|
96
|
+
} & {};
|
|
97
|
+
type _Merge<U extends object> = IntersectOf<Overwrite<U, {
|
|
98
|
+
[K in keyof U]-?: At<U, K>;
|
|
99
|
+
}>>;
|
|
100
|
+
type Key = string | number | symbol;
|
|
101
|
+
type AtStrict<O extends object, K extends Key> = O[K & keyof O];
|
|
102
|
+
type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
|
|
103
|
+
export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
|
|
104
|
+
1: AtStrict<O, K>;
|
|
105
|
+
0: AtLoose<O, K>;
|
|
106
|
+
}[strict];
|
|
107
|
+
export type ComputeRaw<A extends any> = A extends Function ? A : {
|
|
108
|
+
[K in keyof A]: A[K];
|
|
109
|
+
} & {};
|
|
110
|
+
export type OptionalFlat<O> = {
|
|
111
|
+
[K in keyof O]?: O[K];
|
|
112
|
+
} & {};
|
|
113
|
+
type _Record<K extends keyof any, T> = {
|
|
114
|
+
[P in K]: T;
|
|
115
|
+
};
|
|
116
|
+
type NoExpand<T> = T extends unknown ? T : never;
|
|
117
|
+
export type AtLeast<O extends object, K extends string> = NoExpand<O extends unknown ? (K extends keyof O ? {
|
|
118
|
+
[P in K]: O[P];
|
|
119
|
+
} & O : O) | {
|
|
120
|
+
[P in keyof O as P extends K ? P : never]-?: O[P];
|
|
121
|
+
} & O : never>;
|
|
122
|
+
type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
|
|
123
|
+
export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
|
|
124
|
+
export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
|
|
125
|
+
export type Boolean = True | False;
|
|
126
|
+
export type True = 1;
|
|
127
|
+
export type False = 0;
|
|
128
|
+
export type Not<B extends Boolean> = {
|
|
129
|
+
0: 1;
|
|
130
|
+
1: 0;
|
|
131
|
+
}[B];
|
|
132
|
+
export type Extends<A1 extends any, A2 extends any> = [A1] extends [never] ? 0 : A1 extends A2 ? 1 : 0;
|
|
133
|
+
export type Has<U extends Union, U1 extends Union> = Not<Extends<Exclude<U1, U>, U1>>;
|
|
134
|
+
export type Or<B1 extends Boolean, B2 extends Boolean> = {
|
|
135
|
+
0: {
|
|
136
|
+
0: 0;
|
|
137
|
+
1: 1;
|
|
138
|
+
};
|
|
139
|
+
1: {
|
|
140
|
+
0: 1;
|
|
141
|
+
1: 1;
|
|
142
|
+
};
|
|
143
|
+
}[B1][B2];
|
|
144
|
+
export type Keys<U extends Union> = U extends unknown ? keyof U : never;
|
|
145
|
+
export type GetScalarType<T, O> = O extends object ? {
|
|
146
|
+
[P in keyof T]: P extends keyof O ? O[P] : never;
|
|
147
|
+
} : never;
|
|
148
|
+
type FieldPaths<T, U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>> = IsObject<T> extends True ? U : T;
|
|
149
|
+
export type GetHavingFields<T> = {
|
|
150
|
+
[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;
|
|
151
|
+
}[keyof T];
|
|
152
|
+
type _TupleToUnion<T> = T extends (infer E)[] ? E : never;
|
|
153
|
+
type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>;
|
|
154
|
+
export type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T;
|
|
155
|
+
export type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>;
|
|
156
|
+
export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T;
|
|
157
|
+
export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>;
|
|
158
|
+
type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>;
|
|
159
|
+
export declare const ModelName: {
|
|
160
|
+
readonly Person: "Person";
|
|
161
|
+
readonly PersonPhone: "PersonPhone";
|
|
162
|
+
readonly PersonAddress: "PersonAddress";
|
|
163
|
+
};
|
|
164
|
+
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
165
|
+
export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{
|
|
166
|
+
extArgs: runtime.Types.Extensions.InternalArgs;
|
|
167
|
+
}, runtime.Types.Utils.Record<string, any>> {
|
|
168
|
+
returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions>;
|
|
169
|
+
}
|
|
170
|
+
export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
|
|
171
|
+
globalOmitOptions: {
|
|
172
|
+
omit: GlobalOmitOptions;
|
|
173
|
+
};
|
|
174
|
+
meta: {
|
|
175
|
+
modelProps: "person" | "personPhone" | "personAddress";
|
|
176
|
+
txIsolationLevel: TransactionIsolationLevel;
|
|
177
|
+
};
|
|
178
|
+
model: {
|
|
179
|
+
Person: {
|
|
180
|
+
payload: Prisma.$PersonPayload<ExtArgs>;
|
|
181
|
+
fields: Prisma.PersonFieldRefs;
|
|
182
|
+
operations: {
|
|
183
|
+
findUnique: {
|
|
184
|
+
args: Prisma.PersonFindUniqueArgs<ExtArgs>;
|
|
185
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPayload> | null;
|
|
186
|
+
};
|
|
187
|
+
findUniqueOrThrow: {
|
|
188
|
+
args: Prisma.PersonFindUniqueOrThrowArgs<ExtArgs>;
|
|
189
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPayload>;
|
|
190
|
+
};
|
|
191
|
+
findFirst: {
|
|
192
|
+
args: Prisma.PersonFindFirstArgs<ExtArgs>;
|
|
193
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPayload> | null;
|
|
194
|
+
};
|
|
195
|
+
findFirstOrThrow: {
|
|
196
|
+
args: Prisma.PersonFindFirstOrThrowArgs<ExtArgs>;
|
|
197
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPayload>;
|
|
198
|
+
};
|
|
199
|
+
findMany: {
|
|
200
|
+
args: Prisma.PersonFindManyArgs<ExtArgs>;
|
|
201
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPayload>[];
|
|
202
|
+
};
|
|
203
|
+
create: {
|
|
204
|
+
args: Prisma.PersonCreateArgs<ExtArgs>;
|
|
205
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPayload>;
|
|
206
|
+
};
|
|
207
|
+
createMany: {
|
|
208
|
+
args: Prisma.PersonCreateManyArgs<ExtArgs>;
|
|
209
|
+
result: BatchPayload;
|
|
210
|
+
};
|
|
211
|
+
createManyAndReturn: {
|
|
212
|
+
args: Prisma.PersonCreateManyAndReturnArgs<ExtArgs>;
|
|
213
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPayload>[];
|
|
214
|
+
};
|
|
215
|
+
delete: {
|
|
216
|
+
args: Prisma.PersonDeleteArgs<ExtArgs>;
|
|
217
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPayload>;
|
|
218
|
+
};
|
|
219
|
+
update: {
|
|
220
|
+
args: Prisma.PersonUpdateArgs<ExtArgs>;
|
|
221
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPayload>;
|
|
222
|
+
};
|
|
223
|
+
deleteMany: {
|
|
224
|
+
args: Prisma.PersonDeleteManyArgs<ExtArgs>;
|
|
225
|
+
result: BatchPayload;
|
|
226
|
+
};
|
|
227
|
+
updateMany: {
|
|
228
|
+
args: Prisma.PersonUpdateManyArgs<ExtArgs>;
|
|
229
|
+
result: BatchPayload;
|
|
230
|
+
};
|
|
231
|
+
updateManyAndReturn: {
|
|
232
|
+
args: Prisma.PersonUpdateManyAndReturnArgs<ExtArgs>;
|
|
233
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPayload>[];
|
|
234
|
+
};
|
|
235
|
+
upsert: {
|
|
236
|
+
args: Prisma.PersonUpsertArgs<ExtArgs>;
|
|
237
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPayload>;
|
|
238
|
+
};
|
|
239
|
+
aggregate: {
|
|
240
|
+
args: Prisma.PersonAggregateArgs<ExtArgs>;
|
|
241
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregatePerson>;
|
|
242
|
+
};
|
|
243
|
+
groupBy: {
|
|
244
|
+
args: Prisma.PersonGroupByArgs<ExtArgs>;
|
|
245
|
+
result: runtime.Types.Utils.Optional<Prisma.PersonGroupByOutputType>[];
|
|
246
|
+
};
|
|
247
|
+
count: {
|
|
248
|
+
args: Prisma.PersonCountArgs<ExtArgs>;
|
|
249
|
+
result: runtime.Types.Utils.Optional<Prisma.PersonCountAggregateOutputType> | number;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
PersonPhone: {
|
|
254
|
+
payload: Prisma.$PersonPhonePayload<ExtArgs>;
|
|
255
|
+
fields: Prisma.PersonPhoneFieldRefs;
|
|
256
|
+
operations: {
|
|
257
|
+
findUnique: {
|
|
258
|
+
args: Prisma.PersonPhoneFindUniqueArgs<ExtArgs>;
|
|
259
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPhonePayload> | null;
|
|
260
|
+
};
|
|
261
|
+
findUniqueOrThrow: {
|
|
262
|
+
args: Prisma.PersonPhoneFindUniqueOrThrowArgs<ExtArgs>;
|
|
263
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPhonePayload>;
|
|
264
|
+
};
|
|
265
|
+
findFirst: {
|
|
266
|
+
args: Prisma.PersonPhoneFindFirstArgs<ExtArgs>;
|
|
267
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPhonePayload> | null;
|
|
268
|
+
};
|
|
269
|
+
findFirstOrThrow: {
|
|
270
|
+
args: Prisma.PersonPhoneFindFirstOrThrowArgs<ExtArgs>;
|
|
271
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPhonePayload>;
|
|
272
|
+
};
|
|
273
|
+
findMany: {
|
|
274
|
+
args: Prisma.PersonPhoneFindManyArgs<ExtArgs>;
|
|
275
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPhonePayload>[];
|
|
276
|
+
};
|
|
277
|
+
create: {
|
|
278
|
+
args: Prisma.PersonPhoneCreateArgs<ExtArgs>;
|
|
279
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPhonePayload>;
|
|
280
|
+
};
|
|
281
|
+
createMany: {
|
|
282
|
+
args: Prisma.PersonPhoneCreateManyArgs<ExtArgs>;
|
|
283
|
+
result: BatchPayload;
|
|
284
|
+
};
|
|
285
|
+
createManyAndReturn: {
|
|
286
|
+
args: Prisma.PersonPhoneCreateManyAndReturnArgs<ExtArgs>;
|
|
287
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPhonePayload>[];
|
|
288
|
+
};
|
|
289
|
+
delete: {
|
|
290
|
+
args: Prisma.PersonPhoneDeleteArgs<ExtArgs>;
|
|
291
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPhonePayload>;
|
|
292
|
+
};
|
|
293
|
+
update: {
|
|
294
|
+
args: Prisma.PersonPhoneUpdateArgs<ExtArgs>;
|
|
295
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPhonePayload>;
|
|
296
|
+
};
|
|
297
|
+
deleteMany: {
|
|
298
|
+
args: Prisma.PersonPhoneDeleteManyArgs<ExtArgs>;
|
|
299
|
+
result: BatchPayload;
|
|
300
|
+
};
|
|
301
|
+
updateMany: {
|
|
302
|
+
args: Prisma.PersonPhoneUpdateManyArgs<ExtArgs>;
|
|
303
|
+
result: BatchPayload;
|
|
304
|
+
};
|
|
305
|
+
updateManyAndReturn: {
|
|
306
|
+
args: Prisma.PersonPhoneUpdateManyAndReturnArgs<ExtArgs>;
|
|
307
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPhonePayload>[];
|
|
308
|
+
};
|
|
309
|
+
upsert: {
|
|
310
|
+
args: Prisma.PersonPhoneUpsertArgs<ExtArgs>;
|
|
311
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonPhonePayload>;
|
|
312
|
+
};
|
|
313
|
+
aggregate: {
|
|
314
|
+
args: Prisma.PersonPhoneAggregateArgs<ExtArgs>;
|
|
315
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregatePersonPhone>;
|
|
316
|
+
};
|
|
317
|
+
groupBy: {
|
|
318
|
+
args: Prisma.PersonPhoneGroupByArgs<ExtArgs>;
|
|
319
|
+
result: runtime.Types.Utils.Optional<Prisma.PersonPhoneGroupByOutputType>[];
|
|
320
|
+
};
|
|
321
|
+
count: {
|
|
322
|
+
args: Prisma.PersonPhoneCountArgs<ExtArgs>;
|
|
323
|
+
result: runtime.Types.Utils.Optional<Prisma.PersonPhoneCountAggregateOutputType> | number;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
PersonAddress: {
|
|
328
|
+
payload: Prisma.$PersonAddressPayload<ExtArgs>;
|
|
329
|
+
fields: Prisma.PersonAddressFieldRefs;
|
|
330
|
+
operations: {
|
|
331
|
+
findUnique: {
|
|
332
|
+
args: Prisma.PersonAddressFindUniqueArgs<ExtArgs>;
|
|
333
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonAddressPayload> | null;
|
|
334
|
+
};
|
|
335
|
+
findUniqueOrThrow: {
|
|
336
|
+
args: Prisma.PersonAddressFindUniqueOrThrowArgs<ExtArgs>;
|
|
337
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonAddressPayload>;
|
|
338
|
+
};
|
|
339
|
+
findFirst: {
|
|
340
|
+
args: Prisma.PersonAddressFindFirstArgs<ExtArgs>;
|
|
341
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonAddressPayload> | null;
|
|
342
|
+
};
|
|
343
|
+
findFirstOrThrow: {
|
|
344
|
+
args: Prisma.PersonAddressFindFirstOrThrowArgs<ExtArgs>;
|
|
345
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonAddressPayload>;
|
|
346
|
+
};
|
|
347
|
+
findMany: {
|
|
348
|
+
args: Prisma.PersonAddressFindManyArgs<ExtArgs>;
|
|
349
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonAddressPayload>[];
|
|
350
|
+
};
|
|
351
|
+
create: {
|
|
352
|
+
args: Prisma.PersonAddressCreateArgs<ExtArgs>;
|
|
353
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonAddressPayload>;
|
|
354
|
+
};
|
|
355
|
+
createMany: {
|
|
356
|
+
args: Prisma.PersonAddressCreateManyArgs<ExtArgs>;
|
|
357
|
+
result: BatchPayload;
|
|
358
|
+
};
|
|
359
|
+
createManyAndReturn: {
|
|
360
|
+
args: Prisma.PersonAddressCreateManyAndReturnArgs<ExtArgs>;
|
|
361
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonAddressPayload>[];
|
|
362
|
+
};
|
|
363
|
+
delete: {
|
|
364
|
+
args: Prisma.PersonAddressDeleteArgs<ExtArgs>;
|
|
365
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonAddressPayload>;
|
|
366
|
+
};
|
|
367
|
+
update: {
|
|
368
|
+
args: Prisma.PersonAddressUpdateArgs<ExtArgs>;
|
|
369
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonAddressPayload>;
|
|
370
|
+
};
|
|
371
|
+
deleteMany: {
|
|
372
|
+
args: Prisma.PersonAddressDeleteManyArgs<ExtArgs>;
|
|
373
|
+
result: BatchPayload;
|
|
374
|
+
};
|
|
375
|
+
updateMany: {
|
|
376
|
+
args: Prisma.PersonAddressUpdateManyArgs<ExtArgs>;
|
|
377
|
+
result: BatchPayload;
|
|
378
|
+
};
|
|
379
|
+
updateManyAndReturn: {
|
|
380
|
+
args: Prisma.PersonAddressUpdateManyAndReturnArgs<ExtArgs>;
|
|
381
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonAddressPayload>[];
|
|
382
|
+
};
|
|
383
|
+
upsert: {
|
|
384
|
+
args: Prisma.PersonAddressUpsertArgs<ExtArgs>;
|
|
385
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$PersonAddressPayload>;
|
|
386
|
+
};
|
|
387
|
+
aggregate: {
|
|
388
|
+
args: Prisma.PersonAddressAggregateArgs<ExtArgs>;
|
|
389
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregatePersonAddress>;
|
|
390
|
+
};
|
|
391
|
+
groupBy: {
|
|
392
|
+
args: Prisma.PersonAddressGroupByArgs<ExtArgs>;
|
|
393
|
+
result: runtime.Types.Utils.Optional<Prisma.PersonAddressGroupByOutputType>[];
|
|
394
|
+
};
|
|
395
|
+
count: {
|
|
396
|
+
args: Prisma.PersonAddressCountArgs<ExtArgs>;
|
|
397
|
+
result: runtime.Types.Utils.Optional<Prisma.PersonAddressCountAggregateOutputType> | number;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
} & {
|
|
403
|
+
other: {
|
|
404
|
+
payload: any;
|
|
405
|
+
operations: {
|
|
406
|
+
$executeRaw: {
|
|
407
|
+
args: [query: TemplateStringsArray | Sql, ...values: any[]];
|
|
408
|
+
result: any;
|
|
409
|
+
};
|
|
410
|
+
$executeRawUnsafe: {
|
|
411
|
+
args: [query: string, ...values: any[]];
|
|
412
|
+
result: any;
|
|
413
|
+
};
|
|
414
|
+
$queryRaw: {
|
|
415
|
+
args: [query: TemplateStringsArray | Sql, ...values: any[]];
|
|
416
|
+
result: any;
|
|
417
|
+
};
|
|
418
|
+
$queryRawUnsafe: {
|
|
419
|
+
args: [query: string, ...values: any[]];
|
|
420
|
+
result: any;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
export declare const TransactionIsolationLevel: {
|
|
426
|
+
readonly ReadUncommitted: "ReadUncommitted";
|
|
427
|
+
readonly ReadCommitted: "ReadCommitted";
|
|
428
|
+
readonly RepeatableRead: "RepeatableRead";
|
|
429
|
+
readonly Serializable: "Serializable";
|
|
430
|
+
};
|
|
431
|
+
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
|
|
432
|
+
export declare const PersonScalarFieldEnum: {
|
|
433
|
+
readonly id: "id";
|
|
434
|
+
readonly name: "name";
|
|
435
|
+
readonly active: "active";
|
|
436
|
+
readonly personAddressId: "personAddressId";
|
|
437
|
+
};
|
|
438
|
+
export type PersonScalarFieldEnum = (typeof PersonScalarFieldEnum)[keyof typeof PersonScalarFieldEnum];
|
|
439
|
+
export declare const PersonPhoneScalarFieldEnum: {
|
|
440
|
+
readonly id: "id";
|
|
441
|
+
readonly phone: "phone";
|
|
442
|
+
readonly personId: "personId";
|
|
443
|
+
};
|
|
444
|
+
export type PersonPhoneScalarFieldEnum = (typeof PersonPhoneScalarFieldEnum)[keyof typeof PersonPhoneScalarFieldEnum];
|
|
445
|
+
export declare const PersonAddressScalarFieldEnum: {
|
|
446
|
+
readonly id: "id";
|
|
447
|
+
readonly address: "address";
|
|
448
|
+
};
|
|
449
|
+
export type PersonAddressScalarFieldEnum = (typeof PersonAddressScalarFieldEnum)[keyof typeof PersonAddressScalarFieldEnum];
|
|
450
|
+
export declare const SortOrder: {
|
|
451
|
+
readonly asc: "asc";
|
|
452
|
+
readonly desc: "desc";
|
|
453
|
+
};
|
|
454
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
455
|
+
export declare const QueryMode: {
|
|
456
|
+
readonly default: "default";
|
|
457
|
+
readonly insensitive: "insensitive";
|
|
458
|
+
};
|
|
459
|
+
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode];
|
|
460
|
+
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>;
|
|
461
|
+
export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>;
|
|
462
|
+
export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>;
|
|
463
|
+
export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'>;
|
|
464
|
+
export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'>;
|
|
465
|
+
export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>;
|
|
466
|
+
export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>;
|
|
467
|
+
export type BatchPayload = {
|
|
468
|
+
count: number;
|
|
469
|
+
};
|
|
470
|
+
export declare const defineExtension: runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs>;
|
|
471
|
+
export type DefaultPrismaClient = PrismaClient;
|
|
472
|
+
export type ErrorFormat = 'pretty' | 'colorless' | 'minimal';
|
|
473
|
+
export type PrismaClientOptions = ({
|
|
474
|
+
adapter: runtime.SqlDriverAdapterFactory;
|
|
475
|
+
accelerateUrl?: never;
|
|
476
|
+
} | {
|
|
477
|
+
accelerateUrl: string;
|
|
478
|
+
adapter?: never;
|
|
479
|
+
}) & {
|
|
480
|
+
errorFormat?: ErrorFormat;
|
|
481
|
+
log?: (LogLevel | LogDefinition)[];
|
|
482
|
+
transactionOptions?: {
|
|
483
|
+
maxWait?: number;
|
|
484
|
+
timeout?: number;
|
|
485
|
+
isolationLevel?: TransactionIsolationLevel;
|
|
486
|
+
};
|
|
487
|
+
omit?: GlobalOmitConfig;
|
|
488
|
+
comments?: runtime.SqlCommenterPlugin[];
|
|
489
|
+
};
|
|
490
|
+
export type GlobalOmitConfig = {
|
|
491
|
+
person?: Prisma.PersonOmit;
|
|
492
|
+
personPhone?: Prisma.PersonPhoneOmit;
|
|
493
|
+
personAddress?: Prisma.PersonAddressOmit;
|
|
494
|
+
};
|
|
495
|
+
export type LogLevel = 'info' | 'query' | 'warn' | 'error';
|
|
496
|
+
export type LogDefinition = {
|
|
497
|
+
level: LogLevel;
|
|
498
|
+
emit: 'stdout' | 'event';
|
|
499
|
+
};
|
|
500
|
+
export type CheckIsLogLevel<T> = T extends LogLevel ? T : never;
|
|
501
|
+
export type GetLogType<T> = CheckIsLogLevel<T extends LogDefinition ? T['level'] : T>;
|
|
502
|
+
export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition> ? GetLogType<T[number]> : never;
|
|
503
|
+
export type QueryEvent = {
|
|
504
|
+
timestamp: Date;
|
|
505
|
+
query: string;
|
|
506
|
+
params: string;
|
|
507
|
+
duration: number;
|
|
508
|
+
target: string;
|
|
509
|
+
};
|
|
510
|
+
export type LogEvent = {
|
|
511
|
+
timestamp: Date;
|
|
512
|
+
message: string;
|
|
513
|
+
target: string;
|
|
514
|
+
};
|
|
515
|
+
export type PrismaAction = 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'executeRaw' | 'queryRaw' | 'aggregate' | 'count' | 'runCommandRaw' | 'findRaw' | 'groupBy';
|
|
516
|
+
export type TransactionClient = Omit<DefaultPrismaClient, runtime.ITXClientDenyList>;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineExtension = exports.QueryMode = exports.SortOrder = exports.PersonAddressScalarFieldEnum = exports.PersonPhoneScalarFieldEnum = exports.PersonScalarFieldEnum = exports.TransactionIsolationLevel = exports.ModelName = exports.AnyNull = exports.JsonNull = exports.DbNull = exports.NullTypes = exports.prismaVersion = exports.getExtensionContext = exports.Decimal = exports.Sql = exports.raw = exports.join = exports.empty = exports.sql = exports.PrismaClientValidationError = exports.PrismaClientInitializationError = exports.PrismaClientRustPanicError = exports.PrismaClientUnknownRequestError = exports.PrismaClientKnownRequestError = void 0;
|
|
4
|
+
const runtime = require("@prisma/client/runtime/client");
|
|
5
|
+
exports.PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
|
|
6
|
+
exports.PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
|
|
7
|
+
exports.PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
|
|
8
|
+
exports.PrismaClientInitializationError = runtime.PrismaClientInitializationError;
|
|
9
|
+
exports.PrismaClientValidationError = runtime.PrismaClientValidationError;
|
|
10
|
+
exports.sql = runtime.sqltag;
|
|
11
|
+
exports.empty = runtime.empty;
|
|
12
|
+
exports.join = runtime.join;
|
|
13
|
+
exports.raw = runtime.raw;
|
|
14
|
+
exports.Sql = runtime.Sql;
|
|
15
|
+
exports.Decimal = runtime.Decimal;
|
|
16
|
+
exports.getExtensionContext = runtime.Extensions.getExtensionContext;
|
|
17
|
+
exports.prismaVersion = {
|
|
18
|
+
client: "7.2.0",
|
|
19
|
+
engine: "0c8ef2ce45c83248ab3df073180d5eda9e8be7a3"
|
|
20
|
+
};
|
|
21
|
+
exports.NullTypes = {
|
|
22
|
+
DbNull: runtime.NullTypes.DbNull,
|
|
23
|
+
JsonNull: runtime.NullTypes.JsonNull,
|
|
24
|
+
AnyNull: runtime.NullTypes.AnyNull,
|
|
25
|
+
};
|
|
26
|
+
exports.DbNull = runtime.DbNull;
|
|
27
|
+
exports.JsonNull = runtime.JsonNull;
|
|
28
|
+
exports.AnyNull = runtime.AnyNull;
|
|
29
|
+
exports.ModelName = {
|
|
30
|
+
Person: 'Person',
|
|
31
|
+
PersonPhone: 'PersonPhone',
|
|
32
|
+
PersonAddress: 'PersonAddress'
|
|
33
|
+
};
|
|
34
|
+
exports.TransactionIsolationLevel = runtime.makeStrictEnum({
|
|
35
|
+
ReadUncommitted: 'ReadUncommitted',
|
|
36
|
+
ReadCommitted: 'ReadCommitted',
|
|
37
|
+
RepeatableRead: 'RepeatableRead',
|
|
38
|
+
Serializable: 'Serializable'
|
|
39
|
+
});
|
|
40
|
+
exports.PersonScalarFieldEnum = {
|
|
41
|
+
id: 'id',
|
|
42
|
+
name: 'name',
|
|
43
|
+
active: 'active',
|
|
44
|
+
personAddressId: 'personAddressId'
|
|
45
|
+
};
|
|
46
|
+
exports.PersonPhoneScalarFieldEnum = {
|
|
47
|
+
id: 'id',
|
|
48
|
+
phone: 'phone',
|
|
49
|
+
personId: 'personId'
|
|
50
|
+
};
|
|
51
|
+
exports.PersonAddressScalarFieldEnum = {
|
|
52
|
+
id: 'id',
|
|
53
|
+
address: 'address'
|
|
54
|
+
};
|
|
55
|
+
exports.SortOrder = {
|
|
56
|
+
asc: 'asc',
|
|
57
|
+
desc: 'desc'
|
|
58
|
+
};
|
|
59
|
+
exports.QueryMode = {
|
|
60
|
+
default: 'default',
|
|
61
|
+
insensitive: 'insensitive'
|
|
62
|
+
};
|
|
63
|
+
exports.defineExtension = runtime.Extensions.defineExtension;
|