@pothos/plugin-prisma 3.35.0 → 3.35.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/esm/field-builder.d.ts +2 -0
  3. package/esm/field-builder.d.ts.map +1 -0
  4. package/esm/generator.d.ts +2 -0
  5. package/esm/generator.d.ts.map +1 -0
  6. package/esm/global-types.d.ts +94 -0
  7. package/esm/global-types.d.ts.map +1 -0
  8. package/esm/index.d.ts +18 -6
  9. package/esm/index.d.ts.map +1 -0
  10. package/esm/model-loader.d.ts +29 -0
  11. package/esm/model-loader.d.ts.map +1 -0
  12. package/esm/node-ref.d.ts +5 -0
  13. package/esm/node-ref.d.ts.map +1 -0
  14. package/esm/object-ref.d.ts +12 -0
  15. package/esm/object-ref.d.ts.map +1 -0
  16. package/esm/prisma-field-builder.d.ts +71 -0
  17. package/esm/prisma-field-builder.d.ts.map +1 -0
  18. package/esm/schema-builder.d.ts +2 -0
  19. package/esm/schema-builder.d.ts.map +1 -0
  20. package/esm/types.d.ts +212 -0
  21. package/esm/types.d.ts.map +1 -0
  22. package/esm/util/cursors.d.ts +66 -0
  23. package/esm/util/cursors.d.ts.map +1 -0
  24. package/esm/util/datamodel.d.ts +24 -0
  25. package/esm/util/datamodel.d.ts.map +1 -0
  26. package/esm/util/deep-equal.d.ts +2 -0
  27. package/esm/util/deep-equal.d.ts.map +1 -0
  28. package/esm/util/description.d.ts +4 -0
  29. package/esm/util/description.d.ts.map +1 -0
  30. package/esm/util/get-client.d.ts +33 -0
  31. package/esm/util/get-client.d.ts.map +1 -0
  32. package/esm/util/loader-map.d.ts +6 -0
  33. package/esm/util/loader-map.d.ts.map +1 -0
  34. package/esm/util/map-query.d.ts +17 -0
  35. package/esm/util/map-query.d.ts.map +1 -0
  36. package/esm/util/relation-map.d.ts +11 -0
  37. package/esm/util/relation-map.d.ts.map +1 -0
  38. package/esm/util/selections.d.ts +20 -0
  39. package/esm/util/selections.d.ts.map +1 -0
  40. package/package.json +9 -9
  41. package/jest.config.js +0 -6
  42. package/tsconfig.json +0 -14
  43. package/tsconfig.type.json +0 -10
  44. package/tsconfig.type.tsbuildinfo +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.35.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 218fc68b: Fix script for copying ems d.ts definitions
8
+
9
+ ## 3.35.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 67531f1e: Create separate typescript definitions for esm files
14
+
3
15
  ## 3.35.0
4
16
 
5
17
  ### Minor Changes
@@ -0,0 +1,2 @@
1
+ export * from './prisma-field-builder';
2
+ //# sourceMappingURL=field-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-builder.d.ts","sourceRoot":"","sources":["../src/field-builder.ts"],"names":[],"mappings":"AAgBA,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=generator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../src/generator.ts"],"names":[],"mappings":""}
@@ -0,0 +1,94 @@
1
+ import { FieldKind, FieldNullability, FieldRef, InputFieldMap, InputFieldRef, InterfaceParam, NormalizeArgs, OutputType, PluginName, SchemaTypes, ShapeFromTypeParam, TypeParam } from '@pothos/core';
2
+ import PrismaNodeRef from './node-ref';
3
+ import { prismaModelKey, PrismaObjectRef } from './object-ref';
4
+ import { PrismaObjectFieldBuilder as InternalPrismaObjectFieldBuilder } from './prisma-field-builder';
5
+ import { PrismaClient, PrismaConnectionFieldOptions, PrismaFieldOptions, PrismaFieldWithInputOptions, PrismaModelTypes, PrismaNodeOptions, PrismaObjectFieldOptions, PrismaObjectTypeOptions, ShapeFromConnection, ShapeFromSelection } from './types';
6
+ import type { PrismaPlugin } from '.';
7
+ declare global {
8
+ export namespace PothosSchemaTypes {
9
+ interface Plugins<Types extends SchemaTypes> {
10
+ prisma: PrismaPlugin<Types>;
11
+ }
12
+ interface SchemaBuilderOptions<Types extends SchemaTypes> {
13
+ prisma: {
14
+ filterConnectionTotalCount?: boolean;
15
+ client: PrismaClient;
16
+ exposeDescriptions?: boolean | {
17
+ models?: boolean;
18
+ fields?: boolean;
19
+ };
20
+ } | {
21
+ filterConnectionTotalCount?: boolean;
22
+ client: (ctx: Types['Context']) => PrismaClient;
23
+ dmmf: {
24
+ datamodel: unknown;
25
+ };
26
+ exposeDescriptions?: boolean | {
27
+ models?: boolean;
28
+ fields?: boolean;
29
+ };
30
+ };
31
+ }
32
+ interface UserSchemaTypes {
33
+ PrismaTypes: {};
34
+ }
35
+ interface ExtendDefaultTypes<PartialTypes extends Partial<UserSchemaTypes>> {
36
+ PrismaTypes: PartialTypes['PrismaTypes'] & {};
37
+ }
38
+ interface PothosKindToGraphQLType {
39
+ PrismaObject: 'Object';
40
+ }
41
+ interface FieldOptionsByKind<Types extends SchemaTypes, ParentShape, Type extends TypeParam<Types>, Nullable extends FieldNullability<Type>, Args extends InputFieldMap, ResolveShape, ResolveReturnShape> {
42
+ PrismaObject: PrismaObjectFieldOptions<Types, ParentShape, Type, Nullable, Args, ResolveShape, ResolveReturnShape>;
43
+ }
44
+ interface SchemaBuilder<Types extends SchemaTypes> {
45
+ prismaObject: <Name extends keyof Types['PrismaTypes'], Interfaces extends InterfaceParam<Types>[], FindUnique, Model extends PrismaModelTypes & Types['PrismaTypes'][Name], Include = unknown, Select = unknown>(name: Name, options: PrismaObjectTypeOptions<Types, Model, Interfaces, FindUnique, Include, Select, ShapeFromSelection<Model, {
46
+ select: Select;
47
+ include: Include;
48
+ }>>) => PrismaObjectRef<Model, ShapeFromSelection<Model, {
49
+ select: Select;
50
+ include: Include;
51
+ }>>;
52
+ prismaNode: 'relay' extends PluginName ? <Name extends keyof Types['PrismaTypes'], Interfaces extends InterfaceParam<Types>[] = [], Include = unknown, Select = unknown, UniqueField = unknown>(name: Name, options: PrismaNodeOptions<Types, Types['PrismaTypes'][Name] & PrismaModelTypes, Interfaces, Include, Select, ShapeFromSelection<PrismaModelTypes & Types['PrismaTypes'][Name], {
53
+ select: Select;
54
+ include: Include;
55
+ }>, UniqueField>) => PrismaNodeRef<Types['PrismaTypes'][Name] & PrismaModelTypes, ShapeFromSelection<PrismaModelTypes & Types['PrismaTypes'][Name], {
56
+ select: Select;
57
+ include: Include;
58
+ }>> : '@pothos/plugin-relay is required to use this method';
59
+ }
60
+ interface RootFieldBuilder<Types extends SchemaTypes, ParentShape, Kind extends FieldKind = FieldKind> {
61
+ prismaField: <Args extends InputFieldMap, TypeParam extends PrismaObjectRef<PrismaModelTypes> | keyof Types['PrismaTypes'] | [keyof Types['PrismaTypes']] | [PrismaObjectRef<PrismaModelTypes>], Nullable extends FieldNullability<Type>, ResolveShape, ResolveReturnShape, Type extends TypeParam extends [unknown] ? [ObjectRef<Model['Shape']>] : ObjectRef<Model['Shape']>, Model extends PrismaModelTypes = PrismaModelTypes & (TypeParam extends [keyof Types['PrismaTypes']] ? Types['PrismaTypes'][TypeParam[0]] : TypeParam extends [PrismaObjectRef<PrismaModelTypes>] ? TypeParam[0][typeof prismaModelKey] : TypeParam extends PrismaObjectRef<PrismaModelTypes> ? TypeParam[typeof prismaModelKey] : TypeParam extends keyof Types['PrismaTypes'] ? Types['PrismaTypes'][TypeParam] : never)>(options: PrismaFieldOptions<Types, ParentShape, TypeParam, Model, Type, Args, Nullable, ResolveShape, ResolveReturnShape, Kind>) => FieldRef<ShapeFromTypeParam<Types, Type, Nullable>>;
62
+ prismaConnection: 'relay' extends PluginName ? <Type extends PrismaObjectRef<PrismaModelTypes> | keyof Types['PrismaTypes'], Nullable extends boolean, ResolveReturnShape, Args extends InputFieldMap = {}, Model extends PrismaModelTypes = Type extends PrismaObjectRef<infer T> ? T : PrismaModelTypes & Types['PrismaTypes'][Type & keyof Types['PrismaTypes']]>(options: PrismaConnectionFieldOptions<Types, ParentShape, Type, Model, ObjectRef<Model['Shape']>, Nullable, Args, ResolveReturnShape, Kind>, ...args: NormalizeArgs<[
63
+ connectionOptions: ConnectionObjectOptions<Types, ObjectRef<Model['Shape']>, false, false, ResolveReturnShape>,
64
+ edgeOptions: ConnectionEdgeObjectOptions<Types, ObjectRef<Model['Shape']>, false, ResolveReturnShape>
65
+ ], 0>) => FieldRef<ShapeFromConnection<ConnectionShapeHelper<Types, Model['Shape'], Nullable>>> : '@pothos/plugin-relay is required to use this method';
66
+ prismaFieldWithInput: 'prisma' extends PluginName ? <Fields extends Record<string, InputFieldRef<unknown, 'InputObject'>>, TypeParam extends PrismaObjectRef<PrismaModelTypes> | keyof Types['PrismaTypes'] | [keyof Types['PrismaTypes']] | [PrismaObjectRef<PrismaModelTypes>], Type extends TypeParam extends [unknown] ? [ObjectRef<Model['Shape']>] : ObjectRef<Model['Shape']>, ResolveShape, ResolveReturnShape, ArgRequired extends boolean, Args extends Record<string, InputFieldRef<unknown, 'Arg'>> = {}, Nullable extends FieldNullability<Type> = Types['DefaultFieldNullability'], InputName extends string = 'input', Model extends PrismaModelTypes = PrismaModelTypes & (TypeParam extends [keyof Types['PrismaTypes']] ? Types['PrismaTypes'][TypeParam[0]] : TypeParam extends [PrismaObjectRef<PrismaModelTypes>] ? TypeParam[0][typeof prismaModelKey] : TypeParam extends PrismaObjectRef<PrismaModelTypes> ? TypeParam[typeof prismaModelKey] : TypeParam extends keyof Types['PrismaTypes'] ? Types['PrismaTypes'][TypeParam] : never)>(options: PrismaFieldWithInputOptions<Types, ParentShape, Kind, Args, Fields, TypeParam, Model, Type, Nullable, InputName, ResolveShape, ResolveReturnShape, boolean extends ArgRequired ? (Types & {
67
+ WithInputArgRequired: boolean;
68
+ })['WithInputArgRequired'] : ArgRequired>) => FieldRef<ShapeFromTypeParam<Types, Type, Nullable>> : '@pothos/plugin-prisma is required to use this method';
69
+ }
70
+ interface ConnectionFieldOptions<Types extends SchemaTypes, ParentShape, Type extends OutputType<Types>, Nullable extends boolean, EdgeNullability extends FieldNullability<[unknown]>, NodeNullability extends boolean, Args extends InputFieldMap, ResolveReturnShape> {
71
+ }
72
+ interface ConnectionObjectOptions<Types extends SchemaTypes, Type extends OutputType<Types>, EdgeNullability extends FieldNullability<[unknown]>, NodeNullability extends boolean, Resolved> {
73
+ }
74
+ interface ConnectionEdgeObjectOptions<Types extends SchemaTypes, Type extends OutputType<Types>, NodeNullability extends boolean, Resolved> {
75
+ }
76
+ interface DefaultConnectionArguments {
77
+ first?: number | null | undefined;
78
+ last?: number | null | undefined;
79
+ before?: string | null | undefined;
80
+ after?: string | null | undefined;
81
+ }
82
+ interface ConnectionShapeHelper<Types extends SchemaTypes, T, Nullable> {
83
+ }
84
+ interface ScopeAuthFieldAuthScopes<Types extends SchemaTypes, Parent, Args extends {} = {}> {
85
+ }
86
+ interface ScopeAuthContextForAuth<Types extends SchemaTypes, Scopes extends {}> {
87
+ }
88
+ interface PrismaObjectFieldBuilder<Types extends SchemaTypes, Model extends PrismaModelTypes, NeedsResolve extends boolean, Shape extends object = Model['Shape']> extends InternalPrismaObjectFieldBuilder<Types, Model, NeedsResolve, Shape>, RootFieldBuilder<Types, Shape, 'PrismaObject'> {
89
+ }
90
+ interface FieldWithInputBaseOptions<Types extends SchemaTypes, Args extends Record<string, InputFieldRef<unknown, 'Arg'>>, Fields extends Record<string, InputFieldRef<unknown, 'InputObject'>>, InputName extends string, ArgRequired extends boolean> {
91
+ }
92
+ }
93
+ }
94
+ //# sourceMappingURL=global-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-types.d.ts","sourceRoot":"","sources":["../src/global-types.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,aAAa,EACb,aAAa,EACb,cAAc,EACd,aAAa,EACb,UAAU,EACV,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,aAAa,MAAM,YAAY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O,EAAE,aAAa,CAAC,CAAC,EACpE,SAAS,SAAS,MAAM,EACxB,WAAW,SAAS,OAAO;SACzB;KACL;CACF"}
package/esm/index.d.ts CHANGED
@@ -1,6 +1,18 @@
1
- import {default as Default } from '../dts/index.js'
2
-
3
- export * from '../dts/index.js'
4
-
5
- export default Default
6
-
1
+ import './global-types';
2
+ import './schema-builder';
3
+ import { GraphQLFieldResolver } from 'graphql';
4
+ import SchemaBuilder, { BasePlugin, BuildCache, PothosOutputFieldConfig, SchemaTypes } from '@pothos/core';
5
+ import { PrismaModelTypes } from './types';
6
+ import { queryFromInfo } from './util/map-query';
7
+ export * from './types';
8
+ declare const pluginName: "prisma";
9
+ export default pluginName;
10
+ export { queryFromInfo };
11
+ export declare type PrismaObjectFieldBuilder<Types extends SchemaTypes, ParentShape> = PothosSchemaTypes.ObjectFieldBuilder<Types, ParentShape>;
12
+ export declare const ObjectFieldBuilder: new <Types extends SchemaTypes, Model extends PrismaModelTypes, NeedsResolve extends boolean, Shape extends object = Model["Shape"]>(name: string, builder: PothosSchemaTypes.SchemaBuilder<Types>) => PothosSchemaTypes.PrismaObjectFieldBuilder<Types, Model, NeedsResolve, Shape>;
13
+ export declare class PrismaPlugin<Types extends SchemaTypes> extends BasePlugin<Types> {
14
+ constructor(cache: BuildCache<Types>);
15
+ onOutputFieldConfig(fieldConfig: PothosOutputFieldConfig<Types>): PothosOutputFieldConfig<Types> | null;
16
+ wrapResolve(resolver: GraphQLFieldResolver<unknown, Types['Context'], object, unknown>, fieldConfig: PothosOutputFieldConfig<Types>): GraphQLFieldResolver<unknown, Types['Context'], object>;
17
+ }
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AACxB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,aAAa,EAAE,EACpB,UAAU,EACV,UAAU,EACV,uBAAuB,EACvB,WAAW,EACZ,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,OAAO,EAAE,aAAa,EAA0B,MAAM,kBAAkB,CAAC;AAEzE,cAAc,SAAS,CAAC;AAExB,QAAA,MAAM,UAAU,UAAoB,CAAC;AAErC,eAAe,UAAU,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB,oBAAY,wBAAwB,CAClC,KAAK,SAAS,WAAW,EACzB,WAAW,IACT,iBAAiB,CAAC,kBAAkB,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;AAE7D,eAAO,MAAM,kBAAkB,6IAMvB,MAAM,mIAEoE,CAAC;AAEnF,qBAAa,YAAY,CAAC,KAAK,SAAS,WAAW,CAAE,SAAQ,UAAU,CAAC,KAAK,CAAC;gBAChE,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;IAI3B,mBAAmB,CAC1B,WAAW,EAAE,uBAAuB,CAAC,KAAK,CAAC,GAC1C,uBAAuB,CAAC,KAAK,CAAC,GAAG,IAAI;IA4B/B,WAAW,CAClB,QAAQ,EAAE,oBAAoB,CAAC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAC1E,WAAW,EAAE,uBAAuB,CAAC,KAAK,CAAC,GAC1C,oBAAoB,CAAC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CA6C3D"}
@@ -0,0 +1,29 @@
1
+ import { ObjectRef, SchemaTypes } from '@pothos/core';
2
+ import { SelectionState } from './util/selections';
3
+ export declare class ModelLoader {
4
+ model: object;
5
+ builder: PothosSchemaTypes.SchemaBuilder<never>;
6
+ findUnique: (model: Record<string, unknown>, ctx: {}) => unknown;
7
+ modelName: string;
8
+ staged: Set<{
9
+ promise: Promise<Record<string, unknown>>;
10
+ state: SelectionState;
11
+ }>;
12
+ constructor(model: object, builder: PothosSchemaTypes.SchemaBuilder<never>, modelName: string, findUnique: (model: Record<string, unknown>, ctx: {}) => unknown);
13
+ static forRef<Types extends SchemaTypes>(ref: ObjectRef<unknown>, modelName: string, findUnique: ((model: Record<string, unknown>, ctx: {}) => unknown) | undefined, builder: PothosSchemaTypes.SchemaBuilder<Types>): import("@pothos/core").ContextCache<ModelLoader, object, []>;
14
+ static getFindUnique(findBy: {
15
+ name: string | null;
16
+ fields: string[];
17
+ } | string): (model: Record<string, unknown>) => {};
18
+ static getDefaultFindBy<Types extends SchemaTypes>(ref: ObjectRef<unknown>, modelName: string, builder: PothosSchemaTypes.SchemaBuilder<Types>): string | {
19
+ name: string | null;
20
+ fields: string[];
21
+ };
22
+ static getDefaultFindUnique<Types extends SchemaTypes>(ref: ObjectRef<unknown>, modelName: string, builder: PothosSchemaTypes.SchemaBuilder<Types>): (model: Record<string, unknown>) => {};
23
+ static getDefaultIDSelection<Types extends SchemaTypes>(ref: ObjectRef<unknown>, modelName: string, builder: PothosSchemaTypes.SchemaBuilder<Types>): Record<string, boolean>;
24
+ static getCursorSelection<Types extends SchemaTypes>(ref: ObjectRef<unknown>, modelName: string, cursor: string, builder: PothosSchemaTypes.SchemaBuilder<Types>): Record<string, boolean>;
25
+ static getFindUniqueForField<Types extends SchemaTypes>(ref: ObjectRef<unknown>, modelName: string, fieldName: string, builder: PothosSchemaTypes.SchemaBuilder<Types>): (model: Record<string, unknown>) => {};
26
+ loadSelection(selection: SelectionState, context: object): Promise<Record<string, unknown>>;
27
+ initLoad(state: SelectionState, context: {}): Promise<Record<string, unknown>>;
28
+ }
29
+ //# sourceMappingURL=model-loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-loader.d.ts","sourceRoot":"","sources":["../src/model-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,SAAS,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAG1E,OAAO,EAGL,cAAc,EAEf,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object-ref';
2
+ import type { PrismaModelTypes } from './types';
3
+ export default class PrismaNodeRef<Model extends PrismaModelTypes, T> extends PrismaObjectRef<Model, T> {
4
+ }
5
+ //# sourceMappingURL=node-ref.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-ref.d.ts","sourceRoot":"","sources":["../src/node-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,MAAM,CAAC,OAAO,OAAO,aAAa,CAAC,KAAK,SAAS,gBAAgB,EAAE,CAAC,CAAE,SAAQ,eAAe,CAC3F,KAAK,EACL,CAAC,CACF;CAAG"}
@@ -0,0 +1,12 @@
1
+ import { abstractReturnShapeKey, ObjectRef } from '@pothos/core';
2
+ import type { PrismaModelTypes, WithBrand } from './types';
3
+ export declare const prismaModelKey: unique symbol;
4
+ export declare class PrismaObjectRef<Model extends PrismaModelTypes, T = {}> extends ObjectRef<T> {
5
+ [prismaModelKey]: Model;
6
+ [abstractReturnShapeKey]: WithBrand<T>;
7
+ addBrand<V extends T | T[]>(value: V): V extends T[] ? {
8
+ [K in keyof V]: WithBrand<V[K]>;
9
+ } : WithBrand<V>;
10
+ hasBrand(value: unknown): boolean;
11
+ }
12
+ //# sourceMappingURL=object-ref.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object-ref.d.ts","sourceRoot":"","sources":["../src/object-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAiB,SAAS,EAAgB,MAAM,cAAc,CAAC;AAC9F,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE3D,eAAO,MAAM,cAAc,eAAsC,CAAC;AAElE,qBAAa,eAAe,CAAC,KAAK,SAAS,gBAAgB,EAAE,CAAC,GAAG,EAAE,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAC;IACvF,CAAC,cAAc,CAAC,EAAG,KAAK,CAAC;IACzB,CAAC,sBAAsB,CAAC,EAAG,SAAS,CAAC,CAAC,CAAC,CAAC;IAExC,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EACxB,KAAK,EAAE,CAAC,GACP,CAAC,SAAS,CAAC,EAAE,GAAG;SAAG,CAAC,IAAI,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAAE,GAAG,SAAS,CAAC,CAAC,CAAC;IAYrE,QAAQ,CAAC,KAAK,EAAE,OAAO;CAQxB"}
@@ -0,0 +1,71 @@
1
+ import { CompatibleTypes, FieldKind, FieldRef, InputFieldMap, NormalizeArgs, ObjectRef, PluginName, SchemaTypes, ShapeFromTypeParam, TypeParam } from '@pothos/core';
2
+ import { PrismaObjectRef } from './object-ref';
3
+ import { PrismaModelTypes, RelatedConnectionOptions, RelatedFieldOptions, RelationCountOptions, ShapeFromConnection, VariantFieldOptions } from './types';
4
+ import { FieldMap } from './util/relation-map';
5
+ declare const RootBuilder: {
6
+ new <Types extends SchemaTypes, Shape, Kind extends FieldKind>(name: string, builder: PothosSchemaTypes.SchemaBuilder<Types>, kind: FieldKind, graphqlKind: PothosSchemaTypes.PothosKindToGraphQLType[FieldKind]): PothosSchemaTypes.RootFieldBuilder<Types, Shape, Kind>;
7
+ };
8
+ declare type ContextForAuth<Types extends SchemaTypes, Scopes extends {} = {}> = PothosSchemaTypes.ScopeAuthContextForAuth<Types, Scopes> extends {
9
+ Context: infer T;
10
+ } ? T extends object ? T : object : object;
11
+ declare type FieldAuthScopes<Types extends SchemaTypes, Parent, Args extends {} = {}> = PothosSchemaTypes.ScopeAuthFieldAuthScopes<Types, Parent, Args> extends {
12
+ Scopes: infer T;
13
+ } ? T : never;
14
+ export declare class PrismaObjectFieldBuilder<Types extends SchemaTypes, Model extends PrismaModelTypes, NeedsResolve extends boolean, Shape extends object = Model['Shape']> extends RootBuilder<Types, Shape, 'PrismaObject'> {
15
+ model: string;
16
+ prismaFieldMap: FieldMap;
17
+ exposeBoolean: <Nullable extends boolean, ResolveReturnShape, Name extends CompatibleTypes<Types, Model["Shape"], "Boolean", Nullable>>(name?: Name | undefined, options?: (Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, "Boolean", Nullable, {}, ResolveReturnShape>, "type" | "description" | "resolve" | "select"> & {
18
+ description?: string | false | undefined;
19
+ }) | undefined) => FieldRef<import("@pothos/core").FieldNullability<"Boolean"> extends Nullable ? Types["DefaultFieldNullability"] extends true ? ("Boolean" extends infer T ? T extends "Boolean" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never) | null | undefined : "Boolean" extends infer T ? T extends "Boolean" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never : Nullable extends true ? ("Boolean" extends infer T ? T extends "Boolean" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never) | null | undefined : "Boolean" extends infer T ? T extends "Boolean" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never, "PrismaObject">;
20
+ exposeFloat: <Nullable extends boolean, ResolveReturnShape, Name extends CompatibleTypes<Types, Model["Shape"], "Float", Nullable>>(name?: Name | undefined, options?: (Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, "Float", Nullable, {}, ResolveReturnShape>, "type" | "description" | "resolve" | "select"> & {
21
+ description?: string | false | undefined;
22
+ }) | undefined) => FieldRef<import("@pothos/core").FieldNullability<"Float"> extends Nullable ? Types["DefaultFieldNullability"] extends true ? ("Float" extends infer T ? T extends "Float" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never) | null | undefined : "Float" extends infer T ? T extends "Float" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never : Nullable extends true ? ("Float" extends infer T ? T extends "Float" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never) | null | undefined : "Float" extends infer T ? T extends "Float" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never, "PrismaObject">;
23
+ exposeInt: <Nullable extends boolean, ResolveReturnShape, Name extends CompatibleTypes<Types, Model["Shape"], "Int", Nullable>>(name?: Name | undefined, options?: (Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, "Int", Nullable, {}, ResolveReturnShape>, "type" | "description" | "resolve" | "select"> & {
24
+ description?: string | false | undefined;
25
+ }) | undefined) => FieldRef<import("@pothos/core").FieldNullability<"Int"> extends Nullable ? Types["DefaultFieldNullability"] extends true ? ("Int" extends infer T ? T extends "Int" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never) | null | undefined : "Int" extends infer T ? T extends "Int" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never : Nullable extends true ? ("Int" extends infer T ? T extends "Int" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never) | null | undefined : "Int" extends infer T ? T extends "Int" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never, "PrismaObject">;
26
+ exposeID: <Nullable extends boolean, ResolveReturnShape, Name extends CompatibleTypes<Types, Model["Shape"], "ID", Nullable>>(name?: Name | undefined, options?: (Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, "ID", Nullable, {}, ResolveReturnShape>, "type" | "description" | "resolve" | "select"> & {
27
+ description?: string | false | undefined;
28
+ }) | undefined) => FieldRef<import("@pothos/core").FieldNullability<"ID"> extends Nullable ? Types["DefaultFieldNullability"] extends true ? ("ID" extends infer T ? T extends "ID" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never) | null | undefined : "ID" extends infer T ? T extends "ID" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never : Nullable extends true ? ("ID" extends infer T ? T extends "ID" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never) | null | undefined : "ID" extends infer T ? T extends "ID" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never, "PrismaObject">;
29
+ exposeString: <Nullable extends boolean, ResolveReturnShape, Name extends CompatibleTypes<Types, Model["Shape"], "String", Nullable>>(name?: Name | undefined, options?: (Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, "String", Nullable, {}, ResolveReturnShape>, "type" | "description" | "resolve" | "select"> & {
30
+ description?: string | false | undefined;
31
+ }) | undefined) => FieldRef<import("@pothos/core").FieldNullability<"String"> extends Nullable ? Types["DefaultFieldNullability"] extends true ? ("String" extends infer T ? T extends "String" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never) | null | undefined : "String" extends infer T ? T extends "String" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never : Nullable extends true ? ("String" extends infer T ? T extends "String" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never) | null | undefined : "String" extends infer T ? T extends "String" ? T extends keyof Types["outputShapes"] ? Types["outputShapes"][T] : T extends import("@pothos/core").BaseEnum ? import("@pothos/core").ValuesFromEnum<T> : never : never : never, "PrismaObject">;
32
+ exposeBooleanList: <Nullable extends boolean, ResolveReturnShape, Name extends CompatibleTypes<Types, Model["Shape"], ["Boolean"], Nullable>>(name?: Name | undefined, options?: (Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, ["Boolean"], Nullable, {}, ResolveReturnShape>, "type" | "description" | "resolve" | "select"> & {
33
+ description?: string | false | undefined;
34
+ }) | undefined) => FieldRef<ShapeFromTypeParam<Types, ["Boolean"], Nullable>, "PrismaObject">;
35
+ exposeFloatList: <Nullable extends boolean, ResolveReturnShape, Name extends CompatibleTypes<Types, Model["Shape"], ["Float"], Nullable>>(name?: Name | undefined, options?: (Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, ["Float"], Nullable, {}, ResolveReturnShape>, "type" | "description" | "resolve" | "select"> & {
36
+ description?: string | false | undefined;
37
+ }) | undefined) => FieldRef<ShapeFromTypeParam<Types, ["Float"], Nullable>, "PrismaObject">;
38
+ exposeIntList: <Nullable extends boolean, ResolveReturnShape, Name extends CompatibleTypes<Types, Model["Shape"], ["Int"], Nullable>>(name?: Name | undefined, options?: (Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, ["Int"], Nullable, {}, ResolveReturnShape>, "type" | "description" | "resolve" | "select"> & {
39
+ description?: string | false | undefined;
40
+ }) | undefined) => FieldRef<ShapeFromTypeParam<Types, ["Int"], Nullable>, "PrismaObject">;
41
+ exposeIDList: <Nullable extends boolean, ResolveReturnShape, Name extends CompatibleTypes<Types, Model["Shape"], ["ID"], Nullable>>(name?: Name | undefined, options?: (Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, ["ID"], Nullable, {}, ResolveReturnShape>, "type" | "description" | "resolve" | "select"> & {
42
+ description?: string | false | undefined;
43
+ }) | undefined) => FieldRef<ShapeFromTypeParam<Types, ["ID"], Nullable>, "PrismaObject">;
44
+ exposeStringList: <Nullable extends boolean, ResolveReturnShape, Name extends CompatibleTypes<Types, Model["Shape"], ["String"], Nullable>>(name?: Name | undefined, options?: (Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, ["String"], Nullable, {}, ResolveReturnShape>, "type" | "description" | "resolve" | "select"> & {
45
+ description?: string | false | undefined;
46
+ }) | undefined) => FieldRef<ShapeFromTypeParam<Types, ["String"], Nullable>, "PrismaObject">;
47
+ withAuth: 'scopeAuth' extends PluginName ? <Scopes extends FieldAuthScopes<Types, Shape, Record<string, unknown>>>(scopes: Scopes) => PothosSchemaTypes.PrismaObjectFieldBuilder<Omit<Types, 'Context'> & {
48
+ Context: ContextForAuth<Types, Scopes>;
49
+ }, Model, NeedsResolve, Shape> : '@pothos/plugin-scope-auth is required to use this method';
50
+ relatedConnection: 'relay' extends PluginName ? <Field extends Model['ListRelations'], Nullable extends boolean, Args extends InputFieldMap, ResolveReturnShape>(field: Field, options: RelatedConnectionOptions<Types, Model, Field, Nullable, Args, NeedsResolve>, ...args: NormalizeArgs<[
51
+ connectionOptions: PothosSchemaTypes.ConnectionObjectOptions<Types, ObjectRef<Shape>, false, false, ResolveReturnShape>,
52
+ edgeOptions: PothosSchemaTypes.ConnectionEdgeObjectOptions<Types, ObjectRef<Shape>, false, ResolveReturnShape>
53
+ ], 0>) => FieldRef<ShapeFromConnection<PothosSchemaTypes.ConnectionShapeHelper<Types, Shape, Nullable>>> : '@pothos/plugin-relay is required to use this method';
54
+ constructor(name: string, builder: PothosSchemaTypes.SchemaBuilder<Types>, model: string, fieldMap: FieldMap);
55
+ relation<Field extends Model['RelationName'], Nullable extends boolean, Args extends InputFieldMap, ResolveReturnShape>(name: Field, ...allArgs: NormalizeArgs<[
56
+ options: RelatedFieldOptions<Types, Model, Field, Nullable, Args, ResolveReturnShape, NeedsResolve, Shape>
57
+ ]>): FieldRef<Model['Relations'][Field]['Shape'], 'Object'>;
58
+ relationCount<Field extends Model['RelationName']>(name: Field, ...allArgs: NormalizeArgs<[
59
+ options: RelationCountOptions<Types, Shape, NeedsResolve, Model['Relations'][Field]['Types']['Where']>
60
+ ]>): FieldRef<number, 'Object'>;
61
+ variant<Variant extends Model['Name'] | PrismaObjectRef<Model>, Args extends InputFieldMap, Nullable>(variant: Variant, ...allArgs: NormalizeArgs<[
62
+ options: VariantFieldOptions<Types, Model, Variant extends PrismaObjectRef<Model> ? Variant : PrismaObjectRef<Model>, Args, Nullable, Shape>
63
+ ]>): FieldRef<Model['Shape'], 'Object'>;
64
+ expose<Type extends TypeParam<Types>, Nullable extends boolean, ResolveReturnShape, Name extends CompatibleTypes<Types, Model['Shape'], Type, Nullable>>(...args: NormalizeArgs<[
65
+ name: Name,
66
+ options: Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, Type, Nullable, {}, ResolveReturnShape>, 'resolve' | 'select'>
67
+ ]>): FieldRef<ShapeFromTypeParam<Types, Type, Nullable>, "PrismaObject">;
68
+ private createExpose;
69
+ }
70
+ export {};
71
+ //# sourceMappingURL=prisma-field-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prisma-field-builder.d.ts","sourceRoot":"","sources":["../src/prisma-field-builder.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EACf,SAAS,EACT,QAAQ,EACR,aAAa,EAGb,aAAa,EACb,SAAS,EACT,UAAU,EAEV,WAAW,EACX,kBAAkB,EAClB,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,eAAe,EA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C1B,KAAK,EACL,KAAK,EACL,OAAO,SAAS,eAAe,CAAC,KAAK,CAAC,GAAG,OAAO,GAAG,eAAe,CAAC,KAAK,CAAC,EACzE,IAAI,EACJ,QAAQ,EACR,KAAK,CACN;KACF,CACF,GACA,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC;IA+BrC,MAAM,CACJ,IAAI,SAAS,SAAS,CAAC,KAAK,CAAC,EAC7B,QAAQ,SAAS,OAAO,EACxB,kBAAkB,EAClB,IAAI,SAAS,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,EAEnE,GAAG,IAAI,EAAE,aAAa,CACpB;QACE,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,IAAI,CACX,iBAAiB,CAAC,kBAAkB,CAClC,KAAK,EACL,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,EAAE,EACF,kBAAkB,CACnB,EACD,SAAS,GAAG,QAAQ,CACrB;KACF,CACF;IAmBH,OAAO,CAAC,YAAY;CAqCrB"}
@@ -0,0 +1,2 @@
1
+ import './global-types';
2
+ //# sourceMappingURL=schema-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-builder.d.ts","sourceRoot":"","sources":["../src/schema-builder.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC"}
package/esm/types.d.ts ADDED
@@ -0,0 +1,212 @@
1
+ import { FieldNode, GraphQLResolveInfo } from 'graphql';
2
+ import { FieldKind, FieldMap, FieldNullability, FieldOptionsFromKind, InputFieldMap, InputFieldRef, InputFieldsFromShape, InputShapeFromFields, InterfaceParam, ListResolveValue, MaybePromise, Normalize, ObjectRef, OutputShape, OutputType, SchemaTypes, ShapeFromTypeParam, ShapeWithNullability, typeBrandKey, TypeParam } from '@pothos/core';
3
+ import type { PrismaObjectFieldBuilder } from './field-builder';
4
+ import { PrismaObjectRef } from './object-ref';
5
+ export interface PrismaDelegate {
6
+ findUniqueOrThrow?: (...args: any[]) => Promise<unknown>;
7
+ findUnique: (...args: any[]) => Promise<unknown>;
8
+ }
9
+ export declare const prismaModelName: unique symbol;
10
+ export interface PrismaClient {
11
+ $connect: () => Promise<void>;
12
+ }
13
+ export interface PrismaModelTypes {
14
+ Name: string;
15
+ Shape: {};
16
+ Include: unknown;
17
+ Select: unknown;
18
+ OrderBy: unknown;
19
+ Where: {};
20
+ WhereUnique: {};
21
+ ListRelations: string;
22
+ RelationName: string;
23
+ Relations: Record<string, {
24
+ Shape: unknown;
25
+ Types: PrismaModelTypes;
26
+ }>;
27
+ }
28
+ declare type ExtractModel<Types extends SchemaTypes, ParentShape> = ParentShape extends {
29
+ [prismaModelName]?: infer Name;
30
+ } ? Types['PrismaTypes'][Name & keyof Types['PrismaTypes']] extends infer Model ? Model extends PrismaModelTypes ? Model : never : never : never;
31
+ export declare type PrismaObjectFieldOptions<Types extends SchemaTypes, ParentShape, Type extends TypeParam<Types>, Nullable extends FieldNullability<Type>, Args extends InputFieldMap, Select, ResolveReturnShape> = PothosSchemaTypes.ObjectFieldOptions<Types, unknown extends Select ? ParentShape : ParentShape & ShapeFromSelection<ExtractModel<Types, ParentShape>, {
32
+ select: Select extends (...args: any[]) => infer S ? S : Select;
33
+ }>, Type, Nullable, Args, ResolveReturnShape> & {
34
+ select?: Select & (ExtractModel<Types, ParentShape>['Select'] | ((args: InputShapeFromFields<Args>, ctx: Types['Context'], nestedSelection: <Selection extends boolean | {}>(selection?: Selection, path?: string[]) => Selection) => ExtractModel<Types, ParentShape>['Select']));
35
+ };
36
+ declare type PrismaObjectFieldsShape<Types extends SchemaTypes, Model extends PrismaModelTypes, NeedsResolve extends boolean, Shape extends object, Select> = Model['Select'] extends Select ? (t: PrismaObjectFieldBuilder<Types, Model, NeedsResolve, Shape>) => FieldMap : (t: PrismaSelectionFieldBuilder<Types, Model, Shape>) => FieldMap;
37
+ declare type PrismaSelectionFieldBuilder<Types extends SchemaTypes, Model extends PrismaModelTypes, Shape extends object> = PrismaObjectFieldBuilder<Types, Model, false, Shape>;
38
+ interface BaseSelection {
39
+ include?: unknown;
40
+ select?: unknown;
41
+ }
42
+ export declare type SelectedKeys<T> = {
43
+ [K in keyof T]: T[K] extends false ? never : K;
44
+ }[keyof T];
45
+ export declare type ShapeFromSelection<Model extends PrismaModelTypes, Selection> = Normalize<Selection extends BaseSelection ? unknown extends Selection['select'] ? Model['Shape'] & RelationShapeFromInclude<Model, Selection['include']> : Pick<Model['Shape'], SelectedKeys<Selection['select']>> & RelationShapeFromInclude<Model, Selection['select']> & ('_count' extends keyof Selection['select'] ? ShapeFromCount<Selection['select']['_count']> : {}) : Model['Shape']>;
46
+ export declare type ShapeFromCount<Selection> = Selection extends true ? {
47
+ _count: number;
48
+ } : Selection extends {
49
+ select: infer Counts;
50
+ } ? {
51
+ _count: {
52
+ [K in keyof Counts]: number;
53
+ };
54
+ } : never;
55
+ declare type RelationShapeFromInclude<Model extends PrismaModelTypes, Include> = Normalize<{
56
+ [K in SelectedKeys<Include> as K extends Model['RelationName'] ? K : never]: K extends keyof Model['Relations'] ? Model['Relations'][K]['Shape'] extends unknown[] ? ShapeFromSelection<Model['Relations'][K]['Types'], Include[K]>[] : ShapeFromSelection<Model['Relations'][K]['Types'], Include[K]> : unknown;
57
+ }>;
58
+ export declare type PrismaObjectTypeOptions<Types extends SchemaTypes, Model extends PrismaModelTypes, Interfaces extends InterfaceParam<Types>[], FindUnique, Include, Select, Shape extends object> = NameOrVariant & Omit<PothosSchemaTypes.ObjectTypeOptions<Types, Shape> | PothosSchemaTypes.ObjectTypeWithInterfaceOptions<Types, Shape, Interfaces>, 'fields' | 'description'> & {
59
+ description?: string | false;
60
+ fields?: PrismaObjectFieldsShape<Types, Model, FindUnique extends null ? true : false, Shape & (FindUnique extends null ? {} : {
61
+ [prismaModelName]?: Model['Name'];
62
+ }), Select>;
63
+ } & ({
64
+ include?: Include & Model['Include'];
65
+ select?: never;
66
+ findUnique?: FindUnique & (((parent: Shape, context: Types['Context']) => Model['WhereUnique']) | null);
67
+ } | {
68
+ select: Model['Select'] & Select;
69
+ include?: never;
70
+ findUnique?: (parent: Shape, context: Types['Context']) => Model['WhereUnique'];
71
+ });
72
+ declare type NameOrVariant = {
73
+ name?: never;
74
+ variant?: string;
75
+ } | {
76
+ name?: string;
77
+ variant?: never;
78
+ };
79
+ export declare type PrismaNodeOptions<Types extends SchemaTypes, Model extends PrismaModelTypes, Interfaces extends InterfaceParam<Types>[], Include, Select, Shape extends object, UniqueField> = NameOrVariant & Omit<PothosSchemaTypes.ObjectTypeOptions<Types, Shape> | PothosSchemaTypes.ObjectTypeWithInterfaceOptions<Types, Shape, Interfaces>, 'fields' | 'isTypeOf'> & {
80
+ id: Omit<FieldOptionsFromKind<Types, Shape, 'ID', false, {}, 'Object', OutputShape<Types, 'ID'>, MaybePromise<OutputShape<Types, 'ID'>>>, 'args' | 'nullable' | 'resolve' | 'type'> & ({
81
+ field?: never;
82
+ resolve: (parent: Shape, context: Types['Context']) => MaybePromise<OutputShape<Types, 'ID'>>;
83
+ } | {
84
+ resolve?: never;
85
+ field: UniqueField extends keyof Model['WhereUnique'] ? UniqueField : keyof Model['WhereUnique'];
86
+ });
87
+ fields?: PrismaObjectFieldsShape<Types, Model, false, Shape & {
88
+ [prismaModelName]?: Model['Name'];
89
+ }, Select>;
90
+ } & (UniqueField extends string ? {
91
+ findUnique?: (id: string, context: Types['Context']) => Model['WhereUnique'];
92
+ } : {
93
+ findUnique: (id: string, context: Types['Context']) => Model['WhereUnique'];
94
+ }) & ({
95
+ include?: Include & Model['Include'];
96
+ select?: never;
97
+ } | {
98
+ select: Model['Select'] & Select;
99
+ include?: never;
100
+ });
101
+ declare type QueryForField<Types extends SchemaTypes, Args extends InputFieldMap, Include> = Include extends {
102
+ where?: unknown;
103
+ } ? Omit<Include, 'include' | 'select'> | ((args: InputShapeFromFields<Args>, ctx: Types['Context']) => Omit<Include, 'include' | 'select'>) : never;
104
+ declare type QueryFromRelation<Model extends PrismaModelTypes, Field extends keyof Model['Include']> = Model['Include'][Field] extends infer Include ? Include extends {
105
+ include?: infer I;
106
+ select?: infer S;
107
+ } ? {
108
+ include?: NonNullable<I>;
109
+ select?: NonNullable<S>;
110
+ } : never : never;
111
+ declare type CursorFromRelation<Model extends PrismaModelTypes, Field extends Model['ListRelations']> = Field extends keyof Model['Include'] ? Model['Include'][Field] extends infer Include ? Include extends {
112
+ cursor?: infer T;
113
+ } ? keyof T : never : never : never;
114
+ declare type RefForRelation<Model extends PrismaModelTypes, Field extends keyof Model['Relations']> = Model['Relations'][Field] extends unknown[] ? [ObjectRef<Model['Relations'][Field]>] : ObjectRef<Model['Relations'][Field]>;
115
+ export declare type RelatedFieldOptions<Types extends SchemaTypes, Model extends PrismaModelTypes, Field extends keyof Model['Relations'], Nullable extends boolean, Args extends InputFieldMap, ResolveReturnShape, NeedsResolve extends boolean, Shape> = Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, RefForRelation<Model, Field>, Nullable, Args, ResolveReturnShape>, 'resolve' | 'type' | 'description'> & (NeedsResolve extends false ? {
116
+ resolve?: (query: QueryFromRelation<Model, Field & keyof Model['Include']>, parent: Shape, args: InputShapeFromFields<Args>, context: Types['Context'], info: GraphQLResolveInfo) => MaybePromise<ShapeWithNullability<Types, Model['Relations'][Field]['Shape'], Nullable>>;
117
+ } : {
118
+ resolve: (query: QueryFromRelation<Model, Field & keyof Model['Include']>, parent: Shape, args: InputShapeFromFields<Args>, context: Types['Context'], info: GraphQLResolveInfo) => MaybePromise<ShapeWithNullability<Types, Model['Relations'][Field]['Shape'], Nullable>>;
119
+ }) & {
120
+ description?: string | false;
121
+ type?: PrismaObjectRef<Model['Relations'][Field]['Types']>;
122
+ query?: QueryForField<Types, Args, Model['Include'][Field & keyof Model['Include']]>;
123
+ };
124
+ export declare type VariantFieldOptions<Types extends SchemaTypes, Model extends PrismaModelTypes, Variant extends PrismaObjectRef<Model>, Args extends InputFieldMap, isNull, Shape> = Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, Variant, unknown extends isNull ? false : true, Args, Model['Shape']>, 'resolve' | 'type'> & {
125
+ isNull?: isNull & ((parent: Shape, args: InputShapeFromFields<Args>, context: Types['Context'], info: GraphQLResolveInfo) => MaybePromise<boolean>);
126
+ };
127
+ export declare type RelationCountOptions<Types extends SchemaTypes, Shape, NeedsResolve extends boolean, Where> = Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Shape, 'Int', false, {}, number>, 'resolve' | 'type'> & (NeedsResolve extends false ? {
128
+ where?: Where | ((args: {}, context: Types['Context']) => Where);
129
+ resolve?: (parent: Shape, args: {}, context: Types['Context'], info: GraphQLResolveInfo) => MaybePromise<number>;
130
+ } : {
131
+ where?: Where | ((args: {}, context: Types['Context']) => Where);
132
+ resolve: (parent: Shape, args: {}, context: Types['Context'], info: GraphQLResolveInfo) => MaybePromise<number>;
133
+ });
134
+ export declare type PrismaFieldOptions<Types extends SchemaTypes, ParentShape, Type extends PrismaObjectRef<PrismaModelTypes> | keyof Types['PrismaTypes'] | [keyof Types['PrismaTypes']] | [PrismaObjectRef<PrismaModelTypes>], Model extends PrismaModelTypes, Param extends TypeParam<Types>, Args extends InputFieldMap, Nullable extends FieldNullability<Param>, ResolveShape, ResolveReturnShape, Kind extends FieldKind = FieldKind> = FieldOptionsFromKind<Types, ParentShape, Param, Nullable, Args, Kind, ResolveShape, ResolveReturnShape> extends infer FieldOptions ? Omit<FieldOptions, 'resolve' | 'type'> & {
135
+ type: Type;
136
+ resolve: FieldOptions extends {
137
+ resolve?: (parent: infer Parent, ...args: any[]) => unknown;
138
+ } ? PrismaFieldResolver<Types, Model, Parent, Param, Args, Nullable, ResolveReturnShape> : PrismaFieldResolver<Types, Model, ParentShape, Param, Args, Nullable, ResolveReturnShape>;
139
+ } : never;
140
+ export declare type PrismaFieldWithInputOptions<Types extends SchemaTypes, ParentShape, Kind extends FieldKind, Args extends Record<string, InputFieldRef<unknown, 'Arg'>>, Fields extends Record<string, InputFieldRef<unknown, 'InputObject'>>, Type extends PrismaObjectRef<PrismaModelTypes> | keyof Types['PrismaTypes'] | [keyof Types['PrismaTypes']] | [PrismaObjectRef<PrismaModelTypes>], Model extends PrismaModelTypes, Param extends TypeParam<Types>, Nullable extends FieldNullability<Param>, InputName extends string, ResolveShape, ResolveReturnShape, ArgRequired extends boolean> = Omit<PrismaFieldOptions<Types, ParentShape, Type, Model, Param, {
141
+ [K in InputName]: InputFieldRef<InputShapeFromFields<Fields> | (true extends ArgRequired ? never : null | undefined)>;
142
+ } & Args, Nullable, ResolveShape, ResolveReturnShape, Kind>, 'args'> & PothosSchemaTypes.FieldWithInputBaseOptions<Types, {
143
+ [K in InputName]: InputFieldRef<InputShapeFromFields<Fields> | (true extends ArgRequired ? never : null | undefined)>;
144
+ } & Args, Fields, InputName, ArgRequired>;
145
+ export declare type PrismaFieldResolver<Types extends SchemaTypes, Model extends PrismaModelTypes, Parent, Param extends TypeParam<Types>, Args extends InputFieldMap, Nullable extends FieldNullability<Param>, ResolveReturnShape> = (query: {
146
+ include?: Model['Include'];
147
+ select?: Model['Select'];
148
+ }, parent: Parent, args: InputShapeFromFields<Args>, context: Types['Context'], info: GraphQLResolveInfo) => ShapeFromTypeParam<Types, Param, Nullable> extends infer Shape ? [Shape] extends [[readonly (infer Item)[] | null | undefined]] ? ListResolveValue<Shape, Item, ResolveReturnShape> : MaybePromise<Shape> : never;
149
+ export declare type PrismaConnectionFieldOptions<Types extends SchemaTypes, ParentShape, Type extends PrismaObjectRef<PrismaModelTypes> | keyof Types['PrismaTypes'], Model extends PrismaModelTypes, Param extends OutputType<Types>, Nullable extends boolean, Args extends InputFieldMap, ResolveReturnShape, Kind extends FieldKind> = Omit<PothosSchemaTypes.ConnectionFieldOptions<Types, ParentShape, Param, Nullable, false, false, Args, ResolveReturnShape>, 'resolve' | 'type'> & Omit<FieldOptionsFromKind<Types, ParentShape, Param, Nullable, (InputFieldMap extends Args ? {} : Args) & InputFieldsFromShape<PothosSchemaTypes.DefaultConnectionArguments>, Kind, ParentShape, ResolveReturnShape>, 'args' | 'resolve' | 'type'> & (InputShapeFromFields<Args> & PothosSchemaTypes.DefaultConnectionArguments extends infer ConnectionArgs ? {
150
+ type: Type;
151
+ cursor: string & keyof Model['WhereUnique'];
152
+ defaultSize?: number | ((args: ConnectionArgs, ctx: Types['Context']) => number);
153
+ maxSize?: number | ((args: ConnectionArgs, ctx: Types['Context']) => number);
154
+ resolve: (query: {
155
+ include?: Model['Include'];
156
+ cursor?: Model['WhereUnique'];
157
+ take: number;
158
+ skip: number;
159
+ }, parent: ParentShape, args: ConnectionArgs, context: Types['Context'], info: GraphQLResolveInfo) => MaybePromise<Model['Shape'][]>;
160
+ totalCount?: (parent: ParentShape, args: ConnectionArgs, context: Types['Context'], info: GraphQLResolveInfo) => MaybePromise<number>;
161
+ } : never);
162
+ export declare type RelatedConnectionOptions<Types extends SchemaTypes, Model extends PrismaModelTypes, Field extends Model['ListRelations'], Nullable extends boolean, Args extends InputFieldMap, NeedsResolve extends boolean> = Omit<PothosSchemaTypes.ObjectFieldOptions<Types, Model['Shape'], ObjectRef<unknown>, Nullable, (InputFieldMap extends Args ? {} : Args) & InputFieldsFromShape<PothosSchemaTypes.DefaultConnectionArguments>, unknown>, 'resolve' | 'type' | 'args' | 'description'> & Omit<PothosSchemaTypes.ConnectionFieldOptions<Types, Model['Shape'], ObjectRef<unknown>, false, false, Nullable, Args, unknown>, 'resolve' | 'type'> & (InputShapeFromFields<Args> & PothosSchemaTypes.DefaultConnectionArguments extends infer ConnectionArgs ? {
163
+ description?: string | false;
164
+ query?: QueryForField<Types, Args, Model['Include'][Field & keyof Model['Include']]>;
165
+ type?: PrismaObjectRef<Model['Relations'][Field]['Types']>;
166
+ cursor: CursorFromRelation<Model, Field>;
167
+ defaultSize?: number | ((args: ConnectionArgs, ctx: Types['Context']) => number);
168
+ maxSize?: number | ((args: ConnectionArgs, ctx: Types['Context']) => number);
169
+ totalCount?: NeedsResolve extends false ? boolean : false;
170
+ } & (NeedsResolve extends false ? {
171
+ resolve?: (query: {
172
+ include?: Model['Include'];
173
+ cursor?: Model['WhereUnique'];
174
+ take: number;
175
+ skip: number;
176
+ }, parent: Model['Shape'], args: ConnectionArgs, context: Types['Context'], info: GraphQLResolveInfo) => MaybePromise<Model['Relations'][Field & keyof Model['Relations']]['Shape']>;
177
+ } : {
178
+ resolve: (query: {
179
+ include?: Model['Include'];
180
+ cursor?: Model['WhereUnique'];
181
+ take: number;
182
+ skip: number;
183
+ }, parent: Model['Shape'], args: ConnectionArgs, context: Types['Context'], info: GraphQLResolveInfo) => MaybePromise<Model['Relations'][Field & keyof Model['Relations']]['Shape']>;
184
+ }) : never);
185
+ export declare type WithBrand<T> = T & {
186
+ [typeBrandKey]: string;
187
+ };
188
+ export declare type IncludeMap = Record<string, SelectionMap | boolean>;
189
+ export interface SelectionMap {
190
+ select?: Record<string, SelectionMap | boolean>;
191
+ include?: Record<string, SelectionMap | boolean>;
192
+ where?: {};
193
+ }
194
+ export declare type FieldSelection = Record<string, SelectionMap | boolean> | ((args: object, context: object, mergeNestedSelection: (selection: SelectionMap | boolean | ((args: object, context: object) => SelectionMap), path?: string[] | IndirectInclude) => SelectionMap | boolean, resolveSelection: (path: string[]) => FieldNode | null) => SelectionMap);
195
+ export declare type LoaderMappings = Record<string, {
196
+ field: string;
197
+ type: string;
198
+ mappings: LoaderMappings;
199
+ indirectPath: string[];
200
+ }>;
201
+ export interface IndirectInclude {
202
+ getType: () => string;
203
+ path: {
204
+ type?: string;
205
+ name: string;
206
+ }[];
207
+ }
208
+ export declare type ShapeFromConnection<T> = T extends {
209
+ shape: unknown;
210
+ } ? T['shape'] : never;
211
+ export {};
212
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;A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C,GAAG,KAAK,CAAC"}
@@ -0,0 +1,66 @@
1
+ import { MaybePromise, SchemaTypes } from '@pothos/core';
2
+ export declare function formatCursorChunk(value: unknown): string;
3
+ export declare function formatCursor(fields: string | string[]): (value: Record<string, unknown>) => string;
4
+ export declare function parseRawCursor(cursor: unknown): unknown;
5
+ export declare function parseID(id: string, dataType: string): unknown;
6
+ export declare function getDefaultIDSerializer<Types extends SchemaTypes>(modelName: string, fieldName: string, builder: PothosSchemaTypes.SchemaBuilder<Types>): (parent: Record<string, unknown>) => unknown;
7
+ export declare function getDefaultIDParser<Types extends SchemaTypes>(modelName: string, fieldName: string, builder: PothosSchemaTypes.SchemaBuilder<Types>): (id: string) => unknown;
8
+ export declare function serializeID(id: unknown, dataType: string): string;
9
+ export declare function parseCompositeCursor(fields: string[]): (cursor: unknown) => Record<string, unknown>;
10
+ export interface PrismaCursorConnectionQueryOptions {
11
+ args: PothosSchemaTypes.DefaultConnectionArguments;
12
+ ctx: {};
13
+ defaultSize?: number | ((args: {}, ctx: {}) => number);
14
+ maxSize?: number | ((args: {}, ctx: {}) => number);
15
+ parseCursor: (cursor: string) => Record<string, unknown>;
16
+ }
17
+ interface ResolvePrismaCursorConnectionOptions extends PrismaCursorConnectionQueryOptions {
18
+ query: {};
19
+ totalCount?: number | (() => MaybePromise<number>);
20
+ }
21
+ export declare function prismaCursorConnectionQuery({ args, ctx, maxSize, defaultSize, parseCursor, }: PrismaCursorConnectionQueryOptions): {
22
+ take: number;
23
+ skip: number;
24
+ cursor?: undefined;
25
+ } | {
26
+ cursor: Record<string, unknown>;
27
+ take: number;
28
+ skip: number;
29
+ };
30
+ export declare function wrapConnectionResult<T extends {}>(results: T[], args: PothosSchemaTypes.DefaultConnectionArguments, take: number, cursor: (node: T) => string, totalCount?: number | (() => MaybePromise<number>)): {
31
+ totalCount: number | (() => MaybePromise<number>) | undefined;
32
+ edges: ({
33
+ cursor: string;
34
+ node: T;
35
+ } | null)[];
36
+ pageInfo: {
37
+ startCursor: string | undefined;
38
+ endCursor: string | undefined;
39
+ hasPreviousPage: boolean;
40
+ hasNextPage: boolean;
41
+ };
42
+ };
43
+ export declare function resolvePrismaCursorConnection<T extends {}>(options: ResolvePrismaCursorConnectionOptions, cursor: (node: T) => string, resolve: (query: {
44
+ include?: {};
45
+ cursor?: {};
46
+ take: number;
47
+ skip: number;
48
+ }) => MaybePromise<T[]>): Promise<{
49
+ totalCount: number | (() => MaybePromise<number>) | undefined;
50
+ edges: ({
51
+ cursor: string;
52
+ node: T;
53
+ } | null)[];
54
+ pageInfo: {
55
+ startCursor: string | undefined;
56
+ endCursor: string | undefined;
57
+ hasPreviousPage: boolean;
58
+ hasNextPage: boolean;
59
+ };
60
+ }>;
61
+ export declare function getCursorFormatter<Types extends SchemaTypes>(name: string, builder: PothosSchemaTypes.SchemaBuilder<Types>, cursor: string): (value: Record<string, unknown>) => string;
62
+ export declare function getCursorParser<Types extends SchemaTypes>(name: string, builder: PothosSchemaTypes.SchemaBuilder<Types>, cursor: string): (rawCursor: string) => {
63
+ [x: string]: unknown;
64
+ };
65
+ export {};
66
+ //# sourceMappingURL=cursors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cursors.d.ts","sourceRoot":"","sources":["../../src/util/cursors.ts"],"names":[],"mappings":"AACA,OAAO,EAA8B,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAOrF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,UAe/C;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,WACrC,OAAO,MAAM,EAAE,OAAO,CAAC,YAOvC;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,WA2B7C;AAED,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CA2B7D;AAED,wBAAgB,sBAAsB,CAAC,KAAK,SAAS,WAAW,EAC9D,SAAS,EAAE,MAAM,EACj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oBAAoB,CAAC,CAAC,SAAS,EAAE,EAC/C,OAAO,EAAE,CAAC,EAAE,EACZ,IAAI,EAAE,iBAAiB,CAAC,0BAA0B,EAClD,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,EAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,YAAY,CAAC,MAAM,CAAC,CAAC;gCAArB,aAAa,MAAM,CAAC;;;;;;;;;;;EA4BlD;AAED,wBAAsB,6BAA6B,CAAC,CAAC,SAAS,EAAE,EAC9D,OAAO,EAAE,oCAAoC,EAC7C,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,EAC3B,OAAO,EAAE,CAAC,KAAK,EAAE;IAAE,OAAO,CAAC,EAAE,EAAE,CAAC;IAAC,MAAM,CAAC,EAAE,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC;;;;;;;;;;;;GASjG;AAED,wBAAgB,kBAAkB,CAAC,KAAK,SAAS,WAAW,EAC1D,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,EAC/C,MAAM,EAAE,MAAM,8CAaf;AAED,wBAAgB,eAAe,CAAC,KAAK,SAAS,WAAW,EACvD,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,EAC/C,MAAM,EAAE,MAAM,eAmBK,MAAM;;EAG1B"}
@@ -0,0 +1,24 @@
1
+ import { ObjectRef, SchemaTypes } from '@pothos/core';
2
+ import { PrismaObjectRef } from '../object-ref';
3
+ import { PrismaClient, PrismaDelegate, PrismaModelTypes } from '../types';
4
+ export declare const refMap: WeakMap<object, Map<string, PrismaObjectRef<PrismaModelTypes, {}>>>;
5
+ export declare const findUniqueMap: WeakMap<object, Map<ObjectRef<unknown, unknown>, ((args: unknown, ctx: {}) => unknown) | null>>;
6
+ export declare const includeForRefMap: WeakMap<object, Map<ObjectRef<unknown, unknown>, Record<string, unknown> | null>>;
7
+ export declare function getRefFromModel<Types extends SchemaTypes>(name: string, builder: PothosSchemaTypes.SchemaBuilder<Types>): PrismaObjectRef<PrismaModelTypes>;
8
+ export declare function getRelation<Types extends SchemaTypes>(name: string, builder: PothosSchemaTypes.SchemaBuilder<Types>, relation: string): import("./get-client").DMMFField;
9
+ export declare function getFieldData<Types extends SchemaTypes>(name: string, builder: PothosSchemaTypes.SchemaBuilder<Types>, fieldName: string): import("./get-client").DMMFField;
10
+ export declare function getModel<Types extends SchemaTypes>(name: string, builder: PothosSchemaTypes.SchemaBuilder<Types>): {
11
+ name: string;
12
+ fields: import("./get-client").DMMFField[];
13
+ primaryKey: {
14
+ name: string | null;
15
+ fields: string[];
16
+ } | null;
17
+ uniqueIndexes: {
18
+ name: string | null;
19
+ fields: string[];
20
+ }[];
21
+ documentation?: string | undefined;
22
+ };
23
+ export declare function getDelegateFromModel(client: PrismaClient, model: string): PrismaDelegate;
24
+ //# sourceMappingURL=datamodel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datamodel.d.ts","sourceRoot":"","sources":["../../src/util/datamodel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG1E,eAAO,MAAM,MAAM,qEAAwE,CAAC;AAC5F,eAAO,MAAM,aAAa,2DAEQ,OAAO,OAAO,EAAE,KAAK,OAAO,UAC3D,CAAC;AAEJ,eAAO,MAAM,gBAAgB,mFAG1B,CAAC;AAEJ,wBAAgB,eAAe,CAAC,KAAK,SAAS,WAAW,EACvD,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,GAC9C,eAAe,CAAC,gBAAgB,CAAC,CAWnC;AAED,wBAAgB,WAAW,CAAC,KAAK,SAAS,WAAW,EACnD,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,EAC/C,QAAQ,EAAE,MAAM,oCASjB;AAED,wBAAgB,YAAY,CAAC,KAAK,SAAS,WAAW,EACpD,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,EAC/C,SAAS,EAAE,MAAM,oCAWlB;AAED,wBAAgB,QAAQ,CAAC,KAAK,SAAS,WAAW,EAChD,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC;;;;;;;;;;;;EAUhD;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,kBAWvE"}
@@ -0,0 +1,2 @@
1
+ export declare function deepEqual(left: unknown, right: unknown, ignore?: Set<string>): boolean;
2
+ //# sourceMappingURL=deep-equal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deep-equal.d.ts","sourceRoot":"","sources":["../../src/util/deep-equal.ts"],"names":[],"mappings":"AACA,wBAAgB,SAAS,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,WAiD5E"}
@@ -0,0 +1,4 @@
1
+ import { SchemaTypes } from '@pothos/core';
2
+ export declare function getFieldDescription<Types extends SchemaTypes>(model: string, builder: PothosSchemaTypes.SchemaBuilder<Types>, fieldName: string, description?: string | false): string | undefined;
3
+ export declare function getModelDescription<Types extends SchemaTypes>(model: string, builder: PothosSchemaTypes.SchemaBuilder<Types>, description?: string | false): string | undefined;
4
+ //# sourceMappingURL=description.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../src/util/description.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAG3C,wBAAgB,mBAAmB,CAAC,KAAK,SAAS,WAAW,EAC3D,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,EAC/C,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,sBAY7B;AAED,wBAAgB,mBAAmB,CAAC,KAAK,SAAS,WAAW,EAC3D,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,EAC/C,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,sBAW7B"}
@@ -0,0 +1,33 @@
1
+ import { SchemaTypes } from '@pothos/core';
2
+ import { PrismaClient } from '../types';
3
+ export interface DMMFField {
4
+ type: string;
5
+ kind: string;
6
+ name: string;
7
+ isRequired: boolean;
8
+ isList: boolean;
9
+ isUnique: boolean;
10
+ isId: boolean;
11
+ documentation?: string;
12
+ }
13
+ interface DMMF {
14
+ datamodel: {
15
+ models: {
16
+ name: string;
17
+ fields: DMMFField[];
18
+ primaryKey: {
19
+ name: string | null;
20
+ fields: string[];
21
+ } | null;
22
+ uniqueIndexes: {
23
+ name: string | null;
24
+ fields: string[];
25
+ }[];
26
+ documentation?: string;
27
+ }[];
28
+ };
29
+ }
30
+ export declare function getClient<Types extends SchemaTypes>(builder: PothosSchemaTypes.SchemaBuilder<Types>, context: Types['Context']): PrismaClient;
31
+ export declare function getDMMF<Types extends SchemaTypes>(builder: PothosSchemaTypes.SchemaBuilder<Types>): DMMF;
32
+ export {};
33
+ //# sourceMappingURL=get-client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-client.d.ts","sourceRoot":"","sources":["../../src/util/get-client.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,WAAW,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,UAAU,IAAI;IACZ,SAAS,EAAE;QACT,MAAM,EAAE;YACN,IAAI,EAAE,MAAM,CAAC;YACb,MAAM,EAAE,SAAS,EAAE,CAAC;YACpB,UAAU,EAAE;gBAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;gBAAC,MAAM,EAAE,MAAM,EAAE,CAAA;aAAE,GAAG,IAAI,CAAC;YAC7D,aAAa,EAAE;gBAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;gBAAC,MAAM,EAAE,MAAM,EAAE,CAAA;aAAE,EAAE,CAAC;YAC3D,aAAa,CAAC,EAAE,MAAM,CAAC;SACxB,EAAE,CAAC;KACL,CAAC;CACH;AAWD,wBAAgB,SAAS,CAAC,KAAK,SAAS,WAAW,EACjD,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,EAC/C,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,GACxB,YAAY,CAMd;AAED,wBAAgB,OAAO,CAAC,KAAK,SAAS,WAAW,EAC/C,OAAO,EAAE,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,GAC9C,IAAI,CAWN"}
@@ -0,0 +1,6 @@
1
+ import { GraphQLResolveInfo } from 'graphql';
2
+ import { LoaderMappings } from '../types';
3
+ export declare function cacheKey(type: string, path: GraphQLResolveInfo['path'], subPath: string[]): string;
4
+ export declare function setLoaderMappings(ctx: object, info: GraphQLResolveInfo, value: LoaderMappings): void;
5
+ export declare function getLoaderMapping(ctx: object, path: GraphQLResolveInfo['path'], type: string): LoaderMappings | null;
6
+ //# sourceMappingURL=loader-map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loader-map.d.ts","sourceRoot":"","sources":["../../src/util/loader-map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAI1C,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,UAgBzF;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,cAAc,QAU7F;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,yBAK3F"}
@@ -0,0 +1,17 @@
1
+ import { GraphQLNamedType, GraphQLResolveInfo } from 'graphql';
2
+ import { SelectionMap } from '../types';
3
+ import { SelectionState } from './selections';
4
+ export declare function queryFromInfo<T extends SelectionMap['select'] | undefined = undefined>({ context, info, typeName, select, path, }: {
5
+ context: object;
6
+ info: GraphQLResolveInfo;
7
+ typeName?: string;
8
+ select?: T;
9
+ path?: string[];
10
+ }): {
11
+ select: T;
12
+ } | {
13
+ include?: {};
14
+ };
15
+ export declare function selectionStateFromInfo(context: object, info: GraphQLResolveInfo, typeName?: string): SelectionState;
16
+ export declare function getIndirectType(type: GraphQLNamedType, info: GraphQLResolveInfo): GraphQLNamedType;
17
+ //# sourceMappingURL=map-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map-query.d.ts","sourceRoot":"","sources":["../../src/util/map-query.ts"],"names":[],"mappings":"AAEA,OAAO,EAML,gBAAgB,EAEhB,kBAAkB,EAKnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAKL,YAAY,EACb,MAAM,UAAU,CAAC;AAGlB,OAAO,EAIL,cAAc,EAEf,MAAM,cAAc,CAAC;AAoStB,wBAAgB,aAAa,CAAC,CAAC,SAAS,YAAY,CAAC,QAAQ,CAAC,GAAG,SAAS,GAAG,SAAS,EAAE,EACtF,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,IAAS,GACV,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,kBAAkB,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,GAAG;IAAE,MAAM,EAAE,CAAC,CAAA;CAAE,GAAG;IAAE,OAAO,CAAC,EAAE,EAAE,CAAA;CAAE,CA0BnC;AAED,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,kBAAkB,EACxB,QAAQ,CAAC,EAAE,MAAM,kBAalB;AAkBD,wBAAgB,eAAe,CAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,kBAAkB,oBAU/E"}
@@ -0,0 +1,11 @@
1
+ import { DMMF } from '@prisma/generator-helper';
2
+ export interface FieldMap {
3
+ model: string;
4
+ relations: Map<string, FieldMap>;
5
+ }
6
+ export declare type RelationMap = Map<string, FieldMap>;
7
+ export declare const getRelationMap: import("@pothos/core").ContextCache<RelationMap, {
8
+ datamodel: unknown;
9
+ }, []>;
10
+ export declare function createRelationMap({ models }: DMMF.Datamodel): RelationMap;
11
+ //# sourceMappingURL=relation-map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relation-map.d.ts","sourceRoot":"","sources":["../../src/util/relation-map.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAEhD,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CAClC;AAED,oBAAY,WAAW,GAAG,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAEhD,eAAO,MAAM,cAAc;eAA0C,OAAO;MAE3E,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,SAAS,eAkB3D"}
@@ -0,0 +1,20 @@
1
+ import { LoaderMappings, SelectionMap } from '../types';
2
+ import { FieldMap } from './relation-map';
3
+ export declare type SelectionMode = 'select' | 'include';
4
+ export interface SelectionState {
5
+ fieldMap: FieldMap;
6
+ query: object;
7
+ mode: SelectionMode;
8
+ fields: Set<string>;
9
+ counts: Map<string, boolean | Record<string, unknown>>;
10
+ relations: Map<string, SelectionState>;
11
+ mappings: LoaderMappings;
12
+ parent?: SelectionState;
13
+ }
14
+ export declare function selectionCompatible(state: SelectionState, selectionMap: SelectionMap | boolean, ignoreQuery?: boolean): boolean;
15
+ export declare function stateCompatible(state: SelectionState, newState: SelectionState, ignoreQuery?: boolean): boolean;
16
+ export declare function mergeState(state: SelectionState, newState: SelectionState): void;
17
+ export declare function createState(fieldMap: FieldMap, mode: SelectionMode, parent?: SelectionState): SelectionState;
18
+ export declare function mergeSelection(state: SelectionState, { select, include, ...query }: SelectionMap): void;
19
+ export declare function selectionToQuery(state: SelectionState): SelectionMap;
20
+ //# sourceMappingURL=selections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selections.d.ts","sourceRoot":"","sources":["../../src/util/selections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,oBAAY,aAAa,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEjD,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACpB,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACvD,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACvC,QAAQ,EAAE,cAAc,CAAC;IACzB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,cAAc,EACrB,YAAY,EAAE,YAAY,GAAG,OAAO,EACpC,WAAW,UAAQ,GAClB,OAAO,CAsCT;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,cAAc,EACrB,QAAQ,EAAE,cAAc,EACxB,WAAW,UAAQ,GAClB,OAAO,CAQT;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,cAAc,QAczE;AAED,wBAAgB,WAAW,CACzB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,aAAa,EACnB,MAAM,CAAC,EAAE,cAAc,GACtB,cAAc,CAWhB;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,QAkDhG;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,GAAG,YAAY,CAyCpE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pothos/plugin-prisma",
3
- "version": "3.35.0",
3
+ "version": "3.35.2",
4
4
  "description": "A Pothos plugin for more efficient integration with prisma",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./dts/index.d.ts",
@@ -52,12 +52,12 @@
52
52
  "typescript": ">=4.7.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@pothos/core": "3.22.0",
56
- "@pothos/plugin-complexity": "3.11.0",
57
- "@pothos/plugin-errors": "3.8.0",
58
- "@pothos/plugin-relay": "3.28.0",
59
- "@pothos/plugin-simple-objects": "3.6.0",
60
- "@pothos/test-utils": "1.4.0",
55
+ "@pothos/core": "3.22.2",
56
+ "@pothos/plugin-complexity": "3.11.2",
57
+ "@pothos/plugin-errors": "3.8.2",
58
+ "@pothos/plugin-relay": "3.28.2",
59
+ "@pothos/plugin-simple-objects": "3.6.2",
60
+ "@pothos/test-utils": "1.4.1",
61
61
  "@prisma/client": "^4.4.0",
62
62
  "graphql": "16.6.0",
63
63
  "graphql-tag": "^2.12.6",
@@ -66,10 +66,10 @@
66
66
  "scripts": {
67
67
  "generate": "prisma generate",
68
68
  "type": "tsc --project tsconfig.type.json",
69
- "build": "pnpm build:clean && pnpm build:cjs && pnpm build:esm && pnpm build:dts",
69
+ "build": "pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm",
70
70
  "build:clean": "git clean -dfX esm lib",
71
71
  "build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs",
72
- "build:esm": "swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions",
72
+ "build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions",
73
73
  "build:dts": "tsc",
74
74
  "esm:extensions": "TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts",
75
75
  "test": "pnpm vitest --run"
package/jest.config.js DELETED
@@ -1,6 +0,0 @@
1
- module.exports = {
2
- transformIgnorePatterns: [`node_modules`, 'tests/client'],
3
- transform: {
4
- '^.+\\.(t|j)sx?$': ['@swc/jest'],
5
- },
6
- };
package/tsconfig.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "noEmit": false,
4
- "declaration": true,
5
- "declarationMap": true,
6
- "emitDeclarationOnly": true,
7
- "outDir": "dts",
8
- "rootDir": "src"
9
- },
10
- "include": [
11
- "src/**/*"
12
- ],
13
- "extends": "../../tsconfig.options.json",
14
- }
@@ -1,10 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "skipLibCheck": false
4
- },
5
- "extends": "../../tsconfig.options.json",
6
- "include": [
7
- "src/**/*",
8
- "tests/**/*"
9
- ]
10
- }
@@ -1 +0,0 @@
1
- {"program":{"fileNames":["../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/version.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/jsutils/Maybe.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/source.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/jsutils/ObjMap.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/jsutils/Path.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/jsutils/PromiseOrValue.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/kinds.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/tokenKind.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/ast.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/location.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/error/GraphQLError.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/directiveLocation.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/type/directives.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/type/schema.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/type/definition.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/execution/execute.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/graphql.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/type/scalars.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/type/introspection.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/type/validate.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/type/assertName.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/type/index.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/printLocation.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/lexer.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/parser.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/printer.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/visitor.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/predicates.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/language/index.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/execution/subscribe.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/execution/values.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/execution/index.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/subscription/index.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/TypeInfo.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/ValidationContext.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/validate.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/specifiedRules.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/KnownFragmentNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/KnownTypeNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/NoFragmentCyclesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/NoUnusedVariablesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/ScalarLeafsRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueOperationNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueVariableNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueOperationTypesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueTypeNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/validation/index.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/error/syntaxError.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/error/locatedError.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/error/index.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/getIntrospectionQuery.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/getOperationAST.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/getOperationRootType.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/introspectionFromSchema.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/buildClientSchema.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/buildASTSchema.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/extendSchema.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/lexicographicSortSchema.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/printSchema.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/typeFromAST.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/valueFromAST.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/valueFromASTUntyped.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/astFromValue.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/coerceInputValue.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/concatAST.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/separateOperations.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/stripIgnoredCharacters.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/typeComparators.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/assertValidName.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/findBreakingChanges.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/typedQueryDocumentNode.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/utilities/index.d.ts","../../node_modules/.pnpm/graphql@16.6.0/node_modules/graphql/index.d.ts","../core/dts/types/schema-types.d.ts","../core/dts/refs/base.d.ts","../core/dts/refs/interface.d.ts","../core/dts/refs/object.d.ts","../core/dts/types/type-params.d.ts","../core/dts/types/utils.d.ts","../core/dts/types/configs.d.ts","../core/dts/refs/input-field.d.ts","../core/dts/config-store.d.ts","../core/dts/refs/enum.d.ts","../core/dts/refs/input-object.d.ts","../core/dts/refs/scalar.d.ts","../core/dts/refs/union.d.ts","../core/dts/builder.d.ts","../core/dts/plugins/plugin.d.ts","../core/dts/plugins/merge-plugins.d.ts","../core/dts/plugins/index.d.ts","../core/dts/build-cache.d.ts","../core/dts/types/plugins.d.ts","../core/dts/types/index.d.ts","../core/dts/refs/field.d.ts","../core/dts/types/builder-options.d.ts","../core/dts/types/global/type-options.d.ts","../core/dts/types/global/field-options.d.ts","../core/dts/fieldUtils/base.d.ts","../core/dts/fieldUtils/root.d.ts","../core/dts/fieldUtils/builder.d.ts","../core/dts/fieldUtils/input.d.ts","../core/dts/types/global/classes.d.ts","../core/dts/types/global/schema-types.d.ts","../core/dts/types/global/index.d.ts","../core/dts/utils/base64.d.ts","../core/dts/utils/context-cache.d.ts","../core/dts/utils/enums.d.ts","../core/dts/utils/input.d.ts","../core/dts/utils/params.d.ts","../core/dts/utils/sort-classes.d.ts","../core/dts/utils/index.d.ts","../core/dts/refs/builtin-scalar.d.ts","../core/dts/refs/input.d.ts","../core/dts/refs/output.d.ts","../core/dts/index.d.ts","./src/types.ts","./src/object-ref.ts","./src/util/get-client.ts","./src/util/datamodel.ts","./src/util/deep-equal.ts","../../node_modules/.pnpm/@prisma+generator-helper@4.4.0/node_modules/@prisma/generator-helper/dist/dmmf.d.ts","../../node_modules/.pnpm/@prisma+generator-helper@4.4.0/node_modules/@prisma/generator-helper/dist/types.d.ts","../../node_modules/.pnpm/@prisma+generator-helper@4.4.0/node_modules/@prisma/generator-helper/dist/generatorHandler.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/assert.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/assert/strict.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/globals.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/buffer.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/child_process.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/cluster.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/console.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/constants.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/crypto.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/dgram.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/dns.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/domain.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/events.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/fs.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/http.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/http2.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/https.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/inspector.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/module.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/net.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/os.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/path.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/process.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/punycode.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/querystring.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/readline.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/repl.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/stream.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/stream/web.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/test.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/timers.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/tls.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/trace_events.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/tty.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/url.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/util.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/v8.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/vm.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/wasi.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/zlib.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/globals.global.d.ts","../../node_modules/.pnpm/@types+node@18.7.23/node_modules/@types/node/ts4.8/index.d.ts","../../node_modules/.pnpm/@prisma+generator-helper@4.4.0/node_modules/@prisma/generator-helper/dist/GeneratorProcess.d.ts","../../node_modules/.pnpm/@prisma+generator-helper@4.4.0/node_modules/@prisma/generator-helper/dist/index.d.ts","./src/util/relation-map.ts","./src/util/selections.ts","./src/model-loader.ts","./src/util/cursors.ts","./src/util/loader-map.ts","./src/util/map-query.ts","./src/util/description.ts","./src/prisma-field-builder.ts","./src/field-builder.ts","../../node_modules/.pnpm/typescript@4.8.4/node_modules/typescript/lib/typescript.d.ts","./src/generator.ts","./src/node-ref.ts","./src/schema-builder.ts","./src/index.ts","./src/global-types.ts","../../node_modules/.pnpm/graphql-tag@2.12.6_graphql@16.6.0/node_modules/graphql-tag/lib/index.d.ts","../plugin-complexity/dts/types.d.ts","../plugin-complexity/dts/global-types.d.ts","../plugin-complexity/dts/util.d.ts","../plugin-complexity/dts/validator.d.ts","../plugin-complexity/dts/index.d.ts","../plugin-errors/dts/types.d.ts","../plugin-errors/dts/global-types.d.ts","../plugin-errors/dts/index.d.ts","../plugin-relay/dts/types.d.ts","../plugin-relay/dts/global-types.d.ts","../plugin-relay/dts/field-builder.d.ts","../plugin-relay/dts/input-field-builder.d.ts","../plugin-relay/dts/schema-builder.d.ts","../plugin-relay/dts/utils/connections.d.ts","../plugin-relay/dts/utils/global-ids.d.ts","../plugin-relay/dts/utils/resolve-nodes.d.ts","../plugin-relay/dts/utils/index.d.ts","../plugin-relay/dts/index.d.ts","../plugin-simple-objects/dts/types.d.ts","../plugin-simple-objects/dts/global-types.d.ts","../plugin-simple-objects/dts/index.d.ts","./tests/client/runtime/index.d.ts","./tests/client/index.d.ts","./tests/generated.ts","./tests/example/builder.ts","./tests/example/schema/index.ts","./tests/connections.test.ts","./tests/counts.test.ts","./tests/findUnique.test.ts","./tests/index.test.ts","./tests/nested-query.test.ts","./tests/nodes.test.ts","./tests/relation-query.test.ts","./tests/select-mode.test.ts","./tests/type-include.test.ts","./tests/variants.test.ts","./tests/client/runtime/index-browser.d.ts","../test-utils/dts/create-server.d.ts","../test-utils/dts/index.d.ts","./tests/example/server.ts","../../node_modules/.pnpm/tinyspy@1.0.2/node_modules/tinyspy/dist/index.d.ts","../../node_modules/.pnpm/esbuild@0.15.8/node_modules/esbuild/lib/main.d.ts","../../node_modules/.pnpm/rollup@2.78.1/node_modules/rollup/dist/rollup.d.ts","../../node_modules/.pnpm/source-map-js@1.0.2/node_modules/source-map-js/source-map.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/comment.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/at-rule.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/rule.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/container.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/declaration.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/previous-map.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/input.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/css-syntax-error.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/warning.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/document.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/root.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/lazy-result.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/no-work-result.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/processor.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/result.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/node.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/list.d.ts","../../node_modules/.pnpm/postcss@8.4.16/node_modules/postcss/lib/postcss.d.ts","../../node_modules/.pnpm/vite@3.1.3/node_modules/vite/dist/node/index.d.ts","../../node_modules/.pnpm/tinybench@2.1.5/node_modules/tinybench/dist/index.d.ts","../../node_modules/.pnpm/vitest@0.23.4/node_modules/vitest/dist/global-e98f203b.d.ts","../../node_modules/.pnpm/vitest@0.23.4/node_modules/vitest/dist/index-6e18a03a.d.ts","../../node_modules/.pnpm/@types+chai@4.3.3/node_modules/@types/chai/index.d.ts","../../node_modules/.pnpm/vitest@0.23.4/node_modules/vitest/dist/index.d.ts","../../node_modules/.pnpm/vitest@0.23.4/node_modules/vitest/globals.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"78647004e18e4c16b8a2e8345fca9267573d1c5a29e11ddfee71858fd077ef6e","0804044cd0488cb7212ddbc1d0f8e1a5bd32970335dbfc613052304a1b0318f9","b725acb041d2a18fde8f46c48a1408418489c4aa222f559b1ef47bf267cb4be0","85084ae98c1d319e38ef99b1216d3372a9afd7a368022c01c3351b339d52cb58","898ec2410fae172e0a9416448b0838bed286322a5c0c8959e8e39400cd4c5697","692345a43bac37c507fa7065c554258435ab821bbe4fb44b513a70063e932b45","cddd50d7bd9d7fddda91a576db9f61655d1a55e2d870f154485812f6e39d4c15","0539583b089247b73a21eb4a5f7e43208a129df6300d6b829dc1039b79b6c8c4","7aba43bc7764fcd02232382c780c3e99ef8dbfdac3c58605a0b3781fab3d8044","522edc786ed48304671b935cf7d3ed63acc6636ab9888c6e130b97a6aea92b46","1e1ed5600d80406a10428e349af8b6f09949cd5054043ea8588903e8f9e8d705","de21641eb8edcbc08dd0db4ee70eea907cd07fe72267340b5571c92647f10a77","a53039ba614075aeb702271701981babbd0d4f4dcbf319ddee4c08fb8196cc7a","6758f7b72fa4d38f4f4b865516d3d031795c947a45cc24f2cfba43c91446d678","da679a5bb46df3c6d84f637f09e6689d6c2d07e907ea16adc161e4529a4954d6","dc1a664c33f6ddd2791569999db2b3a476e52c5eeb5474768ffa542b136d78c0","bdf7abbd7df4f29b3e0728684c790e80590b69d92ed8d3bf8e66d4bd713941fe","8decb32fc5d44b403b46c3bb4741188df4fbc3c66d6c65669000c5c9cd506523","4beaf337ee755b8c6115ff8a17e22ceab986b588722a52c776b8834af64e0f38","c26dd198f2793bbdcc55103823a2767d6223a7fdb92486c18b86deaf63208354","93551b302a808f226f0846ad8012354f2d53d6dedc33b540d6ca69836781a574","f0ff1c010d5046af3874d3b4df746c6f3921e4b3fbdec61dee0792fc0cb36ccd","778b684ebc6b006fcffeab77d25b34bf6e400100e0ec0c76056e165c6399ab05","463851fa993af55fb0296e0d6afa27407ef91bf6917098dd665aba1200d250c7","67c6de7a9c490bda48eb401bea93904b6bbfc60e47427e887e6a3da6195540be","be8f369f8d7e887eab87a3e4e41f1afcf61bf06056801383152aa83bda1f6a72","352bfb5f3a9d8a9c2464ad2dc0b2dc56a8212650a541fb550739c286dd341de1","a5aae636d9afdacb22d98e4242487436d8296e5a345348325ccc68481fe1b690","d007c769e33e72e51286b816d82cd7c3a280cba714e7f958691155068bd7150a","764150c107451d2fd5b6de305cff0a9dcecf799e08e6f14b5a6748724db46d8a","b04cf223c338c09285010f5308b980ee6d8bfa203824ed2537516f15e92e8c43","4b387f208d1e468193a45a51005b1ed5b666010fc22a15dc1baf4234078b636e","70441eda704feffd132be0c1541f2c7f6bbaafce25cb9b54b181e26af3068e79","d1addb12403afea87a1603121396261a45190886c486c88e1a5d456be17c2049","15d43873064dc8787ca1e4c39149be59183c404d48a8cd5a0ea019bb5fdf8d58","ea4b5d319625203a5a96897b057fddf6017d0f9a902c16060466fe69cc007243","3d06897c536b4aad2b2b015d529270439f2cadd89ca2ff7bd8898ee84898dd88","ab01d8fcb89fae8eda22075153053fefac69f7d9571a389632099e7a53f1922d","bac0ec1f4c61abc7c54ccebb0f739acb0cdbc22b1b19c91854dc142019492961","566b0806f9016fa067b7fecf3951fcc295c30127e5141223393bde16ad04aa4a","8e801abfeda45b1b93e599750a0a8d25074d30d4cc01e3563e56c0ff70edeb68","902997f91b09620835afd88e292eb217fbd55d01706b82b9a014ff408f357559","a3727a926e697919fb59407938bd8573964b3bf543413b685996a47df5645863","83f36c0792d352f641a213ee547d21ea02084a148355aa26b6ef82c4f61c1280","dce7d69c17a438554c11bbf930dec2bee5b62184c0494d74da336daee088ab69","1e8f2cda9735002728017933c54ccea7ebee94b9c68a59a4aac1c9a58aa7da7d","e327a2b222cf9e5c93d7c1ed6468ece2e7b9d738e5da04897f1a99f49d42cca1","65165246b59654ec4e1501dd87927a0ef95d57359709e00e95d1154ad8443bc7","f1bacba19e2fa2eb26c499e36b5ab93d6764f2dba44be3816f12d2bc9ac9a35b","bce38da5fd851520d0cb4d1e6c3c04968cec2faa674ed321c118e97e59872edc","3398f46037f21fb6c33560ceca257259bd6d2ea03737179b61ea9e17cbe07455","6e14fc6c27cb2cb203fe1727bb3a923588f0be8c2604673ad9f879182548daca","12b9bcf8395d33837f301a8e6d545a24dfff80db9e32f8e8e6cf4b11671bb442","04295cc38689e32a4ea194c954ea6604e6afb6f1c102104f74737cb8cf744422","7418f434c136734b23f634e711cf44613ca4c74e63a5ae7429acaee46c7024c8","27d40290b7caba1c04468f2b53cf7112f247f8acdd7c20589cd7decf9f762ad0","2608b8b83639baf3f07316df29202eead703102f1a7e32f74a1b18cf1eee54b5","c93657567a39bd589effe89e863aaadbc339675fca6805ae4d97eafbcce0a05d","909d5db5b3b19f03dfb4a8f1d00cf41d2f679857c28775faf1f10794cbbe9db9","e4504bffce13574bab83ab900b843590d85a0fd38faab7eff83d84ec55de4aff","8ab707f3c833fc1e8a51106b8746c8bc0ce125083ea6200ad881625ae35ce11e","730ddc2386276ac66312edbcc60853fedbb1608a99cb0b1ff82ebf26911dba1f","c1b3fa201aa037110c43c05ea97800eb66fea3f2ecc5f07c6fd47f2b6b5b21d2","636b44188dc6eb326fd566085e6c1c6035b71f839d62c343c299a35888c6f0a9","3b2105bf9823b53c269cabb38011c5a71360c8daabc618fec03102c9514d230c","f96e63eb56e736304c3aef6c745b9fe93db235ddd1fec10b45319c479de1a432","acb4f3cee79f38ceba975e7ee3114eb5cd96ccc02742b0a4c7478b4619f87cd6","cfc85d17c1493b6217bad9052a8edc332d1fde81a919228edab33c14aa762939","eebda441c4486c26de7a8a7343ebbc361d2b0109abff34c2471e45e34a93020a","727b4b8eb62dd98fa4e3a0937172c1a0041eb715b9071c3de96dad597deddcab","708e2a347a1b9868ccdb48f3e43647c6eccec47b8591b220afcafc9e7eeb3784","6bb598e2d45a170f302f113a5b68e518c8d7661ae3b59baf076be9120afa4813","c28e058db8fed2c81d324546f53d2a7aaefff380cbe70f924276dbad89acd7d1","ebe8f07bb402102c5a764b0f8e34bd92d6f50bd7ac61a2452e76b80e02f9bb4b","826a98cb79deab45ccc4e5a8b90fa64510b2169781a7cbb83c4a0a8867f4cc58","618189f94a473b7fdc5cb5ba8b94d146a0d58834cd77cd24d56995f41643ccd5","5baadaca408128671536b3cb77fea44330e169ada70ce50b902c8d992fe64cf1","a4cc469f3561ea3edc57e091f4c9dcaf7485a70d3836be23a6945db46f0acd0b","91b0965538a5eaafa8c09cf9f62b46d6125aa1b3c0e0629dce871f5f41413f90","2978e33a00b4b5fb98337c5e473ab7337030b2f69d1480eccef0290814af0d51","ba71e9777cb5460e3278f0934fd6354041cb25853feca542312807ce1f18e611","608dbaf8c8bb64f4024013e73d7107c16dba4664999a8c6e58f3e71545e48f66","61937cefd7f4d6fa76013d33d5a3c5f9b0fc382e90da34790764a0d17d6277fb","af7db74826f455bfef6a55a188eb6659fd85fdc16f720a89a515c48724ee4c42","d6ce98a960f1b99a72de771fb0ba773cb202c656b8483f22d47d01d68f59ea86","2a47dc4a362214f31689870f809c7d62024afb4297a37b22cb86f679c4d04088","42d907ac511459d7c4828ee4f3f81cc331a08dc98d7b3cb98e3ff5797c095d2e","63d010bff70619e0cdf7900e954a7e188d3175461182f887b869c312a77ecfbd","1452816d619e636de512ca98546aafb9a48382d570af1473f0432a9178c4b1ff","9e3e3932fe16b9288ec8c948048aef4edf1295b09a5412630d63f4a42265370e","8bdba132259883bac06056f7bacd29a4dcf07e3f14ce89edb022fe9b78dcf9b3","5a5406107d9949d83e1225273bcee1f559bb5588942907d923165d83251a0e37","ca0ca4ca5ad4772161ee2a99741d616fea780d777549ba9f05f4a24493ab44e1","e7ee7be996db0d7cce41a85e4cae3a5fc86cf26501ad94e0a20f8b6c1c55b2d4","72263ae386d6a49392a03bde2f88660625da1eca5df8d95120d8ccf507483d20","b498375d015f01585269588b6221008aae6f0c0dc53ead8796ace64bdfcf62ea","c37aa3657fa4d1e7d22565ae609b1370c6b92bafb8c92b914403d45f0e610ddc","34534c0ead52cc753bdfdd486430ef67f615ace54a4c0e5a3652b4116af84d6d","a1079b54643537f75fa4f4bb963d787a302bddbe3a6001c4b0a524b746e6a9de","7fc9b18b6aafa8a1fc1441670c6c9da63e3d7942c7f451300c48bafd988545e9","4669094a8832adfff0017910f34fa2f492915dcaf479f358cee311640b23dde5","3179d5571a660ff3004974efe21f386a64de5b2d8a6456e8bea4ca1abe5c0b1c","10029d98296610652851e4e1447a326a2bbe618dae40649956c773101fa1522c","049d37fe27bae76b3bae4cd5ff6252f81a2586d3342e742779c6bbcdee423ab8","e790efc3a72224ff74f12f2b13e453702ba0ada48ccb3acc45a38b29964a02f1","f119c9d2242bcfcb0e5b4713ea1bd48b2592bfe3c9b8e0b53cda5eb36f07ee86","64a227861fd276c0b699079c25d375f5b4832cd0c7802ac333c996384e1e4696","823c6c537fda8a1a719d96359cc0ac16276be307de9ffcd54e3dabadda32596b","11b95355d10d08322adf1c655b9675be56eb2886008fbbdd747fa3b9425c64a0","97a799fec76a4903afdb094a532a3e68594ce65b3e0893a3619378c00a0a76ad","d6a67b427580816b124730dba7599fe7d06e6a812aeb5d2994d160f2a2d41101","7fe9c350f57b42437d739394dede5f7fd63c456da56f7962e7c7f229e511011a","5ad0d68637275d9756642cbd170dddc6aa8c6016768b30f92c0bf4d6baed3438","b76280c1090dff22e747749028c721173fcb876defe197691b195432ea16a984","8eb2e897af35b4e668a58f7ca3870716bf33c69d47f09611e1e9898e2a6e7bf7","6f911533a2769ffd5b2d6bc6a884b3841ddf83eaab031e3426d2d5f3568c429a","377fa47eea9bd3dac63682ab52a3c6b9d3b409e41a3b6c729ecde3fe7a42e544","2cbf104bfa1c933aff65576b2e51d90db0cdccda3a2143d307a118c7f39b7953","3f456e6885f129ba5f8a3c95c5aaf16043c4c7dfc571fa633e58c0748fa65b9e","121cf7d3284e8954c6813b39e1a4cafa97015607a92b5512d6844b08694a65f8","1196bcac41e0b5e4f071369e68c6cbd6936f998204b6e46d3cea92f0ed1719fc","78f3813f524058c716ebb27ffff22f3c081e6ec8a67852beb94aedd1d92bdb8e",{"version":"b708f5e11125503481c6c877679df0fbdf34942c1de8c59215c3d3b803a03ecf","affectsGlobalScope":true},{"version":"d0316ce560c25b5ee96f0c917816f8f9080898a56beeb088231560dec5a6a0d9","affectsGlobalScope":true},"88f690006d1b0eecdee37d14fa154c689a20e7a8d676a15ad844c8e395688f5b","25e848516215075e5df0269eaadbd88bed9fe767ab937c30f989b31ffce5ef4c","42bc22fe369280629cfeae9f1461126d8e6d9bb294af9fc1911ce3e9f5b43866","7da9c7d1092cad56b020ffe5473ed38db414106f79a8f0f2650c790cbfadae44",{"version":"3f7c9fe61eb43e321193e5fc4a6124ea3488a469ef6cd47dc028d6cbfdd9f3ae","affectsGlobalScope":true},{"version":"990fdb783be29ce55b8193c033556a71b1aa9066a7c9c30287ed23714308e79f","affectsGlobalScope":true},"02029d37a6448f1817350a51bd2504ea004ad0d6c51eb058dba7cd27c00c1e95","35b97c46d59fb58f9c5cc51094173a6b7aed20438981ff46040637b50fc513a3","fe2493db53c4dc09b49412975cddbdca2c431a0c0bc1f47738c189dfa99b23a6","78a7ccb4283df13d8450374c65e5ee2660a736d8236ea12705d9783f78281eec","f195b1af61986609745f6a15e4c65a4f18e2d92202da89ba68f96be9c6459e66","c578ef4a317cd0d67a909db49aeebb295ec5825896e64ef32bcd8bf97de026e3","5a4df0e6e9e668c60d8040cc7e568d1a4e5565b064d3a09c3d56bc5fadcdef0b","2a616943020da3b8c8ed05c68f818280c7556da89d7ba4ce31fc2e61a625cbc3","db91ed85ed4d3fbe89b127223c083b2ad6805216a99f8ef3de226b74fa43e22c","01661db344bfaf0a5b21d6768f203ba82f3093142e093ddf941a77caa54a1cc7","a02dc8f6faba74ca02f47f771376d3dd74becbfc2c54f25c75527c26b49fc413","b2f42671a6500f69f8594663854c0125d760c0d93a82ef37dfc716cf585fa32a","4a0e679b3eae14f69f104dc0265962670cf1f9a3ffb2f19fb6e53503117a318d","1a348391a3d5684ba271f8df4c706c01a349d8fb6f3d084c7c084bcafe00f925","81bf2dabf723caf0e253c8a04912e4c3e273a3326d6f2a640c8e8fb435f84769","78a49c5941689f717b4b05f7bb5a1ff0bb8abba656b02bc42678559cf9ae50d1","cab87bd6ba55661859c83119695e3edcdd3576d3d37136c561a23401cc8fe6bc","d9658b436539d592d2d654dcfabeab7007eb7e653a93a97910af1bcac5bb4155","d978ce864e4f5ef8917ef8eb8550b63509ef13eded89d1dd76d1e61eed2d9cc9","acc2b4c7579ea6ad40f0c9cb28ad8e27a8ba4eb66bedd0f28138073f626f3d96","9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","c4cfc9a6e2ebb8bc8c0e2392dfc4056993ced3b35069ebf132ac18ca7a562881","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","df36874d9e56aff601e921c4b3971d37cf66d14f6455935ce821e6cad13b1823","3c135ff5bda0355f6b52a10ea931736ec7c5a80b7fb8772019054e0eaa0fd6b6","1abb206a4ecd13b21536b677d7d5f66e0d7316f0d44610197cfcc5776f78884a","dbe5aa5a5dd8bd1c6a8d11b1310c3f0cdabaacc78a37b394a8c7b14faeb5fb84","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"76527127c8b749bee5977408861ce3ee56ec19ddcea8704c628f98ca610283e6","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b68bd7bef90dab08b1866a9fee24f03d9fee10bcb3f587b074e96e61abf6d3f0","cb4f3f03480e1727eae46400606cecaa97f550186ff8fa909ebc00db4180531b",{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","0830071706fa0e477fb5e95f0955cc1062b5948b146b7d4e03a126f12ad6085f",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2d526e6f21d8cc66ac11ada32874e95ae88d870c6c9d3d9d4e03b1d1f9ad7b8e","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"ecd8eb2ed2ea3f7e17ae00a2ce61db2c199e6e3944f6ff4a02de85c1a98e38eb","fbf0c0b89d54143dab54420658a7b596db3e0c51d712dd02a6f6077fb262ea85","bb03767c3c1fdb9aa1580bc9d9de9b2d809428dfdb2416b2c0f0b301c4432781","d44d429cc1a43fe9affdf5fada992d2b28bb6b4652fb0b594ac5160dcab5d762","b70451fea25265f3c08c58f2b52fdde7f599aa8c8f1d211dfe3ecf871812c1ab","62eb058c1d62eeb098ced8211df4bc7d07209669b12675a25dce9f6f7e1abed5","8bf80ed763ceafeb09ef34831541627c5fdfeed40ffef6aa82628bf754eede39","7d5957a83b703f61e203cdfd6e5d7853bd2bf04f0d165dda0510acd5b777ba00","ae8b1bdc944e875d68628aa1bb61348ef57c8f99375a966f588325f6f4ff37de","517cce81e90bcd6bf6d1ad72dd43ec7deb67508e71c3487870b28afb500249a6","4708d8efd6fbeb769ed114162b6666bec94aef207f975513636fd1da1c913398","6d801d0a9942b37c92331a72332c46c445c1765eed75a20840b27ce9be723c4a","df7dd83543f14081ca74918d5a80ff60f634f465746cf2aff8924b28bcc3b152","f9142ed5dd39bc25b37e99ae9d1ea6eae0bfa47499d71a669290bb950a966ac8","35929585a18f8d27d513211cf153748996f744894268d91e4b73f4b80a52ad3b","b2e96246a7561b13d8d82b125cee3d2f7571af11f1615b31c12076bd2701d90d","4c39eade18c7abb69b8e6c4792e4ae77c85339c0b460809eb700b535bdd0eb94",{"version":"d50d3ac66ca7a574864fb886cfa60beacabde7c5c71eacb941c93204dad46c03","affectsGlobalScope":true},"5dcd41aeb5f7119177adab46147589a1618f2b35bd976e6c3a20ec328f58d1bd","71361fdd4bc8d92116c3e5572a107ce7c26c09f32e7eb370af8c7381f8f50f19",{"version":"4d980ed4665da4179b2222e979b86f43f1639454fb6d3d193667c84aa6e2de60","affectsGlobalScope":true},"0207acaaa0b0e21085e5ecee4b6359c4abe31cf50c9764b6a60c8e75257eb9ca","0bd14c2898bd62123e7bf15851bb202040ef617f1b22877a25c6fe8bbe918f1e","0f79a3251807bacd4ea0eb68a2f060c22b1b4749e6c019c0d383199980a6b9c6","45d1f26a72418cd02167efd4cc95261bbc7b5126013f4ab61f41b17b9bd62580",{"version":"214505eb88c808380869418ce12c781237e24e95a7f2d34a09ab0bf0bffe1ab7","affectsGlobalScope":true},"f1dbe492b610a469ac206a167b057a548d5923620aa4ab4a04d4c3de5f6e9874","60965457159e32c308ee89173166eb2c09a1e6ca59f46a3261d9dccf89e16b2d",{"version":"4cf2cebff9afb6d5fca01ea3e2c0ed905074889b967bb8ae2d4c2c6b20abee67","affectsGlobalScope":true},"5c659d3fbc6cd8dbcd19eee7495645e8a274f04deed96be9d6e407a946a2323d","5507dd99223f817409766bd0025c02d5bad9e23ed3a835cf3fda745c5f268253","78699f1eb538ac10bc48a9fb0e8cb64a182b18192260bc6aa3bc0dd8f52343fe","655711a74fe2489c304de81dfe496dd81c15bb2ee730096868138bda6267ee94","e4d3542828c42c7012e25f7ee639eee9adc8cefe37f6cadab0599e4520d12cf0","01af6fb1b2650e3f5b9b0b5adaffa3d144c3ae5f6e55907ab43080e4ac29e731","c08dd6a5bda1f1691aec27c5f234e569e5aa0578c91c9ba353c9df577f3ee251","063673bf95927a2e47bb60daf6e89ec25514679542082d26198b6989f28151f2","e1ae5844a0fe70589579c4ec88aafd7d4c4838f8ea2ef67cd63c884e7bc4fd2c",{"version":"1b636bdbb06c08785c31a5176b4bde9c8056db74dfea89b0604257794f621891","affectsGlobalScope":true},"828247b7a86ae00a900851b971ce69feef4e243eef43ad00f0e68b7ba2a315fb","e2f52bb9c822e3a6ca9939dd01a7304d56e9ecccc5b4af951a2d50e3c99fb336","5bd7ac11804fedc9f4837f955b11f8cddde8f224474ae5cba98763d7e3843583","a4653aa17ba790e442ade9d7c3748e7feec62fcb5d402d22e4b769ab57d4e5ee","c3b78bc46554adf52e8b2d9535bee7260916f5988be88e2f215d3d566d9d85f5","a47716a3d79b4d1539f007d3cd1e4b1980b797c316f17b0c819aa79864ae5a74","7131b06b6b20b01260b3e1d156bbed8243455e13b1e107bcccdae5d1e0dc2337","d933679721f109fcbd2ae0329a80d7e06b000f0c36b506f01c2f80ab5f0fd53b","ef6d88602e932a4ed9eca1fca902fec61376a81962658d465360f58ad7bc2667","1a1eef47a0cd9c86d616b4a71788eb656f6c1cd018c2e06ecbac9181daa3bce2","5788bf0b98785e80361e521f222db0caf667f352358f50f857f702b4d2a3d0e6","f040370705edc816a694c438ebf3ba43901f799ef12eb4826e224bbb9ee17be8","011501d2618ef58f9298b31cf2b0b0c90af44260ecab2dacd6faa1ac2799e23b","a488e00f762cb75b4a5dd2a5be68c19c6e3cef3571edad68386e9605cdbf03ba","8b5adcd7fe51a82f5e31d664408f8371d68ca2c8009b6dc0d9fd75d22af9cb82","821989647cd5a985659ccab5f5ee9bb114244a8d3fb20ef191ca4cf8642f2678","e8b3bdd9284692cf7a87a9777d218ff40f76aa2f35301219ff50117b4d49ffc0","d56e9714a6522ef9a3e814d34ddb310b09eae74e0775523be15fca61c55cdf80","e855a4f7f1512c1f3caf7d664c9014ce72cdb7caaab758b09e5cfca8219b4141","0a9020524e28da9424f429d567de8e5fad5b76a33018e6602e9f5a28cb48acc5","a7157ee945ba3e7ccf605cf5f2e83e62f7694b92a3ddf8bc69c5182fe93aa98f","028e49519a21d5a6ef39a33eace04818a6872390027d13df5cc77ac2ada21747","aa1ed14f1785b6896ffa26b1158047b4774ee51a3edb68ecc1a045494d82ef7e","858d0d831826c6eb563df02f7db71c90e26deadd0938652096bea3cc14899700","d1c89db652113258e4ba4bbdf5cc7a2a3a600403d4d864a2087b95186253cd5b","11a90d2cb2eaf7fdf931a63b58279e8161f1477a1bd1e914ae026c1bbf9afed3","af18e30f3ba06e9870b61dfa4a109215caabdaa337590c51b4a044a9f338ce96","ace603f7b60599f2dcdbd71c07137b60a747dd33be540f4a294b890f9e0b89dc","7658fbdd425c656fb1849b44932ae7431e8c3198d22c65ce1490deb582743b52","7786c75c1b46e93b33c63dccf689143a5f47ff451a6b3bd9b10e4801cdeadcc2","615b7264db151461b896cd79719414d63f7b2b2100b275828e53cab95a356e2f","31491a01ed7466e0b3b0ef8407f2524683055eceb955b1d5ccf7096129468b39","f4b12f7dde4fc0e386648318481bdcfe861b566be246bebf0e8a11ebd909adf9","e8966f7c424780bb0b9d411ebe13eda8555ca15aa675603316c2952bc027b0e3","df0e5f3c4a518111d160cf3bebc9a3ac7d39c6e3bfb7a21d43c304896c3015e2","df4e2f161f74870708c2cc5e1036a6405b878496408fda1ee50d5b10e50d6601","bf791da347fb1c0ffc1e2fcd35867e64bb8355270ae26278198c521bdcf94569","e0e0e3c068e145fbb322120979299ff130ffdd39f0dcd0d5aeaa9f3f8a0d01d9","fde91356172e35b9ea68bbdf33721f7c80307a4ce65b82105eac800e9e744995","9bd5e5a4a1e66b35efe3c48ddac1116537ef86e041717f3a9b9f1e060c74efa6","d7e4a5f4ccfb749c3033fafc233073b4d1dcca0249785186c589602a81f9d86f","68161b6f3004fc10f8bb47a4986cef13c3b0728fb1ca3e1dc7316227d09b2c8d","321b6c915c26d1e85bc1a4f63981e7e156990d6948c8fd8cf9789f0464c99c3d","c6382915a3fb1b1347172d14511973461593296b0e46b6add0dd09b62715d64f",{"version":"b7624c2059918d44b5fefcd72683706f3129c8c7a29782968d1ff4683fde636e","affectsGlobalScope":true},"d1730c3fddd9b49cea2c18a8863d3a90c52b4ba365bfb62a72ea11c96c43ae3a",{"version":"127bf414ca8ced28c9738b91a935121009d03bbc136668db980bd1ba18976b2b","affectsGlobalScope":true},"556cd29f264ec1f06427b00830a943f14808680ce1d245387f2952eb99e91501",{"version":"9a99c3939d815b8604b89417d514e594417474a784c7cf790d6e71a1d83d630c","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"experimentalDecorators":false,"module":1,"noEmitOnError":false,"noImplicitOverride":true,"noImplicitReturns":true,"removeComments":false,"skipLibCheck":false,"sourceMap":true,"strict":true,"target":6},"fileIdsList":[[203,210,250,257],[250],[203,250],[202,203,204,250,258],[202,250],[205,250],[208,250],[209,214,250],[210,220,221,228,238,249,250],[210,211,220,228,250],[212,250],[213,214,221,229,250],[214,238,246,250],[215,217,220,228,250],[216,250],[217,218,250],[219,220,250],[220,250],[220,221,222,238,249,250],[220,221,222,238,241,250],[250,254],[223,228,238,249,250],[220,221,223,224,228,238,246,249,250],[223,225,238,246,249,250],[205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256],[220,226,250],[227,249,250],[217,220,228,238,250],[229,250],[230,250],[208,231,250],[232,248,250,254],[233,250],[234,250],[220,235,236,250],[235,237,250,252],[220,238,239,240,241,250],[238,240,250],[238,239,250],[241,250],[242,250],[220,244,245,250],[244,245,250],[214,228,238,246,250],[247,250],[228,248,250],[209,223,234,249,250],[214,250],[238,250,251],[250,252],[250,253],[209,214,220,222,231,238,249,250,252,254],[238,250,255],[63,250,275],[56,57,63,64,250],[65,129,130,250],[56,63,65,250],[57,65,250],[56,58,59,60,63,65,68,69,250],[59,70,84,85,250],[56,63,68,69,70,250],[56,58,63,65,67,68,69,250],[56,57,68,69,70,250],[55,71,76,83,86,87,128,131,153,250],[56,250],[57,61,62,250],[57,61,62,63,64,66,77,78,79,80,81,82,250],[57,62,63,250],[57,250],[56,57,62,63,65,78,250],[63,250],[57,63,64,250],[61,63,250],[70,84,250],[56,58,59,60,63,68,250],[56,63,66,69,250],[59,67,68,69,72,73,74,75,250],[69,250],[56,58,63,65,67,69,250],[65,68,250],[56,63,67,68,69,81,250],[65,250],[56,63,69,250],[57,63,68,79,250],[68,132,250],[65,69,250],[63,68,250],[68,250],[56,66,250],[56,63,250],[63,68,69,250],[88,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,250],[68,69,250],[58,63,250],[56,58,63,69,250],[56,58,63,250],[56,63,65,67,68,69,81,88,250],[89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,250],[81,89,250],[89,250],[56,63,65,68,88,89,250],[250,323],[250,323,335],[250,320,321,322,324,335],[250,326],[250,323,330,334,337],[250,325,337],[250,328,330,333,334,337],[250,328,330,331,333,334,337],[250,320,321,322,323,324,326,327,328,329,330,334,337],[250,319,320,321,322,323,324,326,327,328,329,330,331,333,334,335,336],[250,319,337],[250,330,331,332,334,337],[250,333,337],[250,323,329,334,337],[250,327,335],[250,319],[220,221,223,225,228,238,246,249,250,255,257,317,318,337],[221,250,254,338,339,340],[250,316,340],[221,250,254,316,338,339,340,341,342],[250,343],[154,168,171,174,250],[154,157,158,163,164,165,166,167,174,250],[162,174,175,250],[174,175,250],[174,180,196,250],[162,174,250],[174,179,196,250],[157,158,162,165,168,171,172,174,175,185,192,193,194,195,250],[169,170,250],[154,169,172,174,250],[154,172,174,250],[154,166,250],[156,174,250],[174,250],[156,159,250],[154,155,157,158,159,160,162,175,250],[154,155,159,160,176,250],[155,156,157,158,164,165,166,167,168,176,180,181,182,250],[154,155,159,176,250],[177,178,183,184,250],[154,155,160,173,250],[155,159,160,161,173,176,185,250],[154,155,160,161,169,172,250],[155,157,158,250],[174,186,187,188,189,190,191,250],[172,174,250],[163,174,250],[196,250,276,280],[56,154,196,250,276,277,278,279],[154,196,250],[154,250,276],[154,250],[196,250,281,283],[154,196,250,281,282],[196,250],[154,196,197,200,250,262,263,265,267],[221,230,250,259,269],[196,197,198,250,267,271,273],[154,196,197,250,262,264,265,268,272,274],[196,199,200,250,261],[197,198,250],[196,197,250],[154,196,197,198,200,250,260,262,263,266],[154,196,197,199,200,250,260,262,263,265,266,268,271,274],[154,196,198,250,268],[196,199,200,250],[196,197,198,199,250],[196,200,250],[154,196,197,250],[154,197,250,260,261,264],[196,250,259],[197,201,250,260],[250,297],[154,250,275,300,301],[196,250,273,280,283,293,296,298,299],[250,265,293,298,300],[250,300,301,314],[250,298],[196,250,284,293],[154,196,250,284,285,286,287,288,292],[196,250,284],[250,289,290,291],[196,250,294,296],[196,250,295],[154,223,250,257],[250,313]],"referencedMap":[[258,1],[202,2],[204,3],[259,4],[203,5],[342,2],[205,6],[206,6],[208,7],[209,8],[210,9],[211,10],[212,11],[213,12],[214,13],[215,14],[216,15],[217,16],[218,16],[219,17],[220,18],[221,19],[222,20],[207,21],[256,2],[223,22],[224,23],[225,24],[257,25],[226,26],[227,27],[228,28],[229,29],[230,30],[231,31],[232,32],[233,33],[234,34],[235,35],[236,35],[237,36],[238,37],[240,38],[239,39],[241,40],[242,41],[243,2],[244,42],[245,43],[246,44],[247,45],[248,46],[249,47],[250,48],[251,49],[252,50],[253,51],[254,52],[255,53],[317,2],[275,54],[65,55],[131,56],[130,57],[129,58],[70,59],[86,60],[84,61],[85,62],[71,63],[154,64],[56,2],[58,2],[59,65],[60,2],[63,66],[66,2],[83,67],[61,2],[78,68],[64,69],[79,70],[82,71],[77,72],[80,71],[57,2],[62,2],[81,73],[87,74],[75,2],[69,75],[67,76],[76,77],[73,78],[72,78],[68,79],[74,80],[88,81],[150,82],[144,83],[137,84],[136,85],[145,86],[146,71],[138,87],[151,88],[132,89],[133,90],[134,91],[153,92],[135,85],[139,88],[140,93],[147,94],[148,69],[149,93],[141,91],[152,71],[142,95],[143,96],[89,97],[128,98],[92,99],[93,99],[94,99],[95,99],[96,99],[97,99],[98,99],[99,99],[118,99],[100,99],[101,99],[102,99],[103,99],[104,99],[105,99],[125,99],[106,99],[107,99],[108,99],[123,99],[109,99],[124,99],[110,99],[121,99],[122,99],[111,99],[112,99],[113,99],[119,99],[120,99],[114,99],[115,99],[116,99],[117,99],[126,99],[127,99],[91,100],[90,101],[55,2],[321,102],[320,103],[323,104],[327,105],[324,103],[329,106],[326,107],[331,108],[336,2],[332,109],[335,110],[337,111],[325,112],[333,113],[334,114],[330,115],[322,102],[328,116],[318,2],[319,117],[339,2],[316,2],[11,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[4,2],[25,2],[22,2],[23,2],[24,2],[26,2],[27,2],[28,2],[5,2],[29,2],[30,2],[31,2],[32,2],[6,2],[33,2],[34,2],[35,2],[36,2],[7,2],[37,2],[42,2],[43,2],[38,2],[39,2],[40,2],[41,2],[8,2],[47,2],[44,2],[45,2],[46,2],[48,2],[9,2],[49,2],[50,2],[51,2],[52,2],[53,2],[1,2],[10,2],[54,2],[269,2],[338,118],[340,119],[341,120],[343,121],[344,122],[172,123],[168,124],[163,125],[179,126],[181,127],[182,128],[180,129],[196,130],[171,131],[170,132],[169,133],[156,2],[193,134],[164,135],[175,136],[162,126],[165,135],[194,135],[157,135],[158,135],[195,135],[166,135],[167,137],[176,138],[161,139],[183,140],[178,141],[185,142],[184,143],[177,139],[174,144],[173,145],[155,2],[159,146],[160,2],[186,2],[187,2],[188,136],[192,147],[189,148],[190,149],[191,2],[277,150],[280,151],[276,152],[278,153],[279,154],[282,155],[283,156],[281,157],[268,158],[270,159],[274,160],[273,161],[262,162],[271,163],[198,164],[267,165],[272,166],[197,167],[263,168],[200,169],[201,2],[266,170],[199,164],[264,171],[265,172],[260,173],[261,174],[298,175],[312,2],[297,2],[302,176],[303,176],[300,177],[301,178],[315,179],[304,176],[299,180],[305,176],[306,176],[307,176],[308,176],[309,176],[310,176],[311,176],[286,2],[285,181],[293,182],[287,2],[288,183],[284,152],[289,183],[290,2],[292,184],[291,152],[295,185],[296,186],[294,157],[313,187],[314,188]],"exportedModulesMap":[[258,1],[202,2],[204,3],[259,4],[203,5],[342,2],[205,6],[206,6],[208,7],[209,8],[210,9],[211,10],[212,11],[213,12],[214,13],[215,14],[216,15],[217,16],[218,16],[219,17],[220,18],[221,19],[222,20],[207,21],[256,2],[223,22],[224,23],[225,24],[257,25],[226,26],[227,27],[228,28],[229,29],[230,30],[231,31],[232,32],[233,33],[234,34],[235,35],[236,35],[237,36],[238,37],[240,38],[239,39],[241,40],[242,41],[243,2],[244,42],[245,43],[246,44],[247,45],[248,46],[249,47],[250,48],[251,49],[252,50],[253,51],[254,52],[255,53],[317,2],[275,54],[65,55],[131,56],[130,57],[129,58],[70,59],[86,60],[84,61],[85,62],[71,63],[154,64],[56,2],[58,2],[59,65],[60,2],[63,66],[66,2],[83,67],[61,2],[78,68],[64,69],[79,70],[82,71],[77,72],[80,71],[57,2],[62,2],[81,73],[87,74],[75,2],[69,75],[67,76],[76,77],[73,78],[72,78],[68,79],[74,80],[88,81],[150,82],[144,83],[137,84],[136,85],[145,86],[146,71],[138,87],[151,88],[132,89],[133,90],[134,91],[153,92],[135,85],[139,88],[140,93],[147,94],[148,69],[149,93],[141,91],[152,71],[142,95],[143,96],[89,97],[128,98],[92,99],[93,99],[94,99],[95,99],[96,99],[97,99],[98,99],[99,99],[118,99],[100,99],[101,99],[102,99],[103,99],[104,99],[105,99],[125,99],[106,99],[107,99],[108,99],[123,99],[109,99],[124,99],[110,99],[121,99],[122,99],[111,99],[112,99],[113,99],[119,99],[120,99],[114,99],[115,99],[116,99],[117,99],[126,99],[127,99],[91,100],[90,101],[55,2],[321,102],[320,103],[323,104],[327,105],[324,103],[329,106],[326,107],[331,108],[336,2],[332,109],[335,110],[337,111],[325,112],[333,113],[334,114],[330,115],[322,102],[328,116],[318,2],[319,117],[339,2],[316,2],[11,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[4,2],[25,2],[22,2],[23,2],[24,2],[26,2],[27,2],[28,2],[5,2],[29,2],[30,2],[31,2],[32,2],[6,2],[33,2],[34,2],[35,2],[36,2],[7,2],[37,2],[42,2],[43,2],[38,2],[39,2],[40,2],[41,2],[8,2],[47,2],[44,2],[45,2],[46,2],[48,2],[9,2],[49,2],[50,2],[51,2],[52,2],[53,2],[1,2],[10,2],[54,2],[269,2],[338,118],[340,119],[341,120],[343,121],[344,122],[172,123],[168,124],[163,125],[179,126],[181,127],[182,128],[180,129],[196,130],[171,131],[170,132],[169,133],[156,2],[193,134],[164,135],[175,136],[162,126],[165,135],[194,135],[157,135],[158,135],[195,135],[166,135],[167,137],[176,138],[161,139],[183,140],[178,141],[185,142],[184,143],[177,139],[174,144],[173,145],[155,2],[159,146],[160,2],[186,2],[187,2],[188,136],[192,147],[189,148],[190,149],[191,2],[277,150],[280,151],[276,152],[278,153],[279,154],[282,155],[283,156],[281,157],[268,158],[270,159],[274,160],[273,161],[262,162],[271,163],[198,164],[267,165],[272,166],[197,167],[263,168],[200,169],[201,2],[266,170],[199,164],[264,171],[265,172],[260,173],[261,174],[298,175],[312,2],[297,2],[302,176],[303,176],[300,177],[301,178],[315,179],[304,176],[299,180],[305,176],[306,176],[307,176],[308,176],[309,176],[310,176],[311,176],[286,2],[285,181],[293,182],[287,2],[288,183],[284,152],[289,183],[290,2],[292,184],[291,152],[295,185],[296,186],[294,157],[313,187],[314,188]],"semanticDiagnosticsPerFile":[258,202,204,259,203,342,205,206,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,207,256,223,224,225,257,226,227,228,229,230,231,232,233,234,235,236,237,238,240,239,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,317,275,65,131,130,129,70,86,84,85,71,154,56,58,59,60,63,66,83,61,78,64,79,82,77,80,57,62,81,87,75,69,67,76,73,72,68,74,88,150,144,137,136,145,146,138,151,132,133,134,153,135,139,140,147,148,149,141,152,142,143,89,128,92,93,94,95,96,97,98,99,118,100,101,102,103,104,105,125,106,107,108,123,109,124,110,121,122,111,112,113,119,120,114,115,116,117,126,127,91,90,55,321,320,323,327,324,329,326,331,336,332,335,337,325,333,334,330,322,328,318,319,339,316,11,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,33,34,35,36,7,37,42,43,38,39,40,41,8,47,44,45,46,48,9,49,50,51,52,53,1,10,54,269,338,340,341,343,344,172,168,163,179,181,182,180,196,171,170,169,156,193,164,175,162,165,194,157,158,195,166,167,176,161,183,178,185,184,177,174,173,155,159,160,186,187,188,192,189,190,191,277,280,276,278,279,282,283,281,268,270,274,273,262,271,198,267,272,197,263,200,201,266,199,264,265,260,261,298,312,297,302,303,300,301,315,304,299,305,306,307,308,309,310,311,286,285,293,287,288,284,289,290,292,291,295,296,294,313,314],"affectedFilesPendingEmit":[[258,1],[202,1],[204,1],[259,1],[203,1],[342,1],[205,1],[206,1],[208,1],[209,1],[210,1],[211,1],[212,1],[213,1],[214,1],[215,1],[216,1],[217,1],[218,1],[219,1],[220,1],[221,1],[222,1],[207,1],[256,1],[223,1],[224,1],[225,1],[257,1],[226,1],[227,1],[228,1],[229,1],[230,1],[231,1],[232,1],[233,1],[234,1],[235,1],[236,1],[237,1],[238,1],[240,1],[239,1],[241,1],[242,1],[243,1],[244,1],[245,1],[246,1],[247,1],[248,1],[249,1],[250,1],[251,1],[252,1],[253,1],[254,1],[255,1],[317,1],[275,1],[65,1],[131,1],[130,1],[129,1],[70,1],[86,1],[84,1],[85,1],[71,1],[154,1],[56,1],[58,1],[59,1],[60,1],[63,1],[66,1],[83,1],[61,1],[78,1],[64,1],[79,1],[82,1],[77,1],[80,1],[57,1],[62,1],[81,1],[87,1],[75,1],[69,1],[67,1],[76,1],[73,1],[72,1],[68,1],[74,1],[88,1],[150,1],[144,1],[137,1],[136,1],[145,1],[146,1],[138,1],[151,1],[132,1],[133,1],[134,1],[153,1],[135,1],[139,1],[140,1],[147,1],[148,1],[149,1],[141,1],[152,1],[142,1],[143,1],[89,1],[128,1],[92,1],[93,1],[94,1],[95,1],[96,1],[97,1],[98,1],[99,1],[118,1],[100,1],[101,1],[102,1],[103,1],[104,1],[105,1],[125,1],[106,1],[107,1],[108,1],[123,1],[109,1],[124,1],[110,1],[121,1],[122,1],[111,1],[112,1],[113,1],[119,1],[120,1],[114,1],[115,1],[116,1],[117,1],[126,1],[127,1],[91,1],[90,1],[55,1],[321,1],[320,1],[323,1],[327,1],[324,1],[329,1],[326,1],[331,1],[336,1],[332,1],[335,1],[337,1],[325,1],[333,1],[334,1],[330,1],[322,1],[328,1],[318,1],[319,1],[339,1],[316,1],[2,1],[3,1],[4,1],[5,1],[6,1],[7,1],[8,1],[9,1],[10,1],[269,1],[338,1],[340,1],[341,1],[343,1],[344,1],[172,1],[168,1],[163,1],[179,1],[181,1],[182,1],[180,1],[196,1],[171,1],[170,1],[169,1],[156,1],[193,1],[164,1],[175,1],[162,1],[165,1],[194,1],[157,1],[158,1],[195,1],[166,1],[167,1],[176,1],[161,1],[183,1],[178,1],[185,1],[184,1],[177,1],[174,1],[173,1],[155,1],[159,1],[160,1],[186,1],[187,1],[188,1],[192,1],[189,1],[190,1],[191,1],[277,1],[280,1],[276,1],[278,1],[279,1],[282,1],[283,1],[281,1],[268,1],[270,1],[274,1],[273,1],[262,1],[271,1],[198,1],[267,1],[272,1],[197,1],[263,1],[200,1],[201,1],[266,1],[199,1],[264,1],[265,1],[260,1],[261,1],[298,1],[312,1],[297,1],[302,1],[303,1],[300,1],[301,1],[315,1],[304,1],[299,1],[305,1],[306,1],[307,1],[308,1],[309,1],[310,1],[311,1],[286,1],[285,1],[293,1],[287,1],[288,1],[284,1],[289,1],[290,1],[292,1],[291,1],[295,1],[296,1],[294,1],[313,1],[314,1]],"emitSignatures":[197,198,199,200,201,260,261,262,263,264,265,266,267,268,270,271,272,273,274,299,300,301,302,303,304,305,306,307,308,309,310,311,315]},"version":"4.8.4"}