├── .cli.prettierignore ├── .editorconfig ├── .env.template ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ ├── documentation-issue-or-request.md │ └── feature_request.md └── workflows │ └── main.yml ├── .gitignore ├── .husky └── pre-commit ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── .vscode ├── launch.json └── settings.json ├── LICENSE ├── Readme.md ├── docs ├── advanced │ ├── adding-fields.md │ ├── additional-decorators.md │ ├── custom-operations.md │ ├── custom-prisma-context-key.md │ ├── custom-prisma-import.md │ ├── emit-blocks.md │ ├── emit-id-type.md │ ├── emit-is-abstract.md │ ├── emit-redundant-types-info.md │ ├── exposing-actions.md │ ├── exposing-models.md │ ├── hiding-field.md │ ├── override-plural.mdx │ ├── overriding-object-decorator.md │ ├── renaming-field.md │ ├── renaming-model.md │ ├── simple-inputs.mdx │ ├── simple-resolvers.md │ └── unchecked-scalars.md ├── basics │ ├── configuration.md │ ├── installation.md │ ├── nest-js.md │ ├── prisma-version.md │ └── usage.md ├── examples.md └── intro.md ├── examples ├── 1-prototyping │ ├── examples.graphql │ ├── generated-schema.graphql │ ├── index.ts │ ├── package-lock.json │ ├── package.json │ └── prisma │ │ ├── dev.db │ │ ├── generated │ │ └── type-graphql │ │ │ ├── enhance.ts │ │ │ ├── enums │ │ │ ├── PostScalarFieldEnum.ts │ │ │ ├── SortOrder.ts │ │ │ ├── TransactionIsolationLevel.ts │ │ │ ├── UserScalarFieldEnum.ts │ │ │ └── index.ts │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ ├── models │ │ │ ├── Post.ts │ │ │ ├── User.ts │ │ │ └── index.ts │ │ │ ├── resolvers │ │ │ ├── crud │ │ │ │ ├── Post │ │ │ │ │ ├── AggregatePostResolver.ts │ │ │ │ │ ├── CreateOnePostResolver.ts │ │ │ │ │ ├── DeleteManyPostResolver.ts │ │ │ │ │ ├── DeleteOnePostResolver.ts │ │ │ │ │ ├── FindFirstPostOrThrowResolver.ts │ │ │ │ │ ├── FindFirstPostResolver.ts │ │ │ │ │ ├── FindManyPostResolver.ts │ │ │ │ │ ├── FindUniquePostOrThrowResolver.ts │ │ │ │ │ ├── FindUniquePostResolver.ts │ │ │ │ │ ├── GroupByPostResolver.ts │ │ │ │ │ ├── PostCrudResolver.ts │ │ │ │ │ ├── UpdateManyPostResolver.ts │ │ │ │ │ ├── UpdateOnePostResolver.ts │ │ │ │ │ ├── UpsertOnePostResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── AggregatePostArgs.ts │ │ │ │ │ │ ├── CreateOnePostArgs.ts │ │ │ │ │ │ ├── DeleteManyPostArgs.ts │ │ │ │ │ │ ├── DeleteOnePostArgs.ts │ │ │ │ │ │ ├── FindFirstPostArgs.ts │ │ │ │ │ │ ├── FindFirstPostOrThrowArgs.ts │ │ │ │ │ │ ├── FindManyPostArgs.ts │ │ │ │ │ │ ├── FindUniquePostArgs.ts │ │ │ │ │ │ ├── FindUniquePostOrThrowArgs.ts │ │ │ │ │ │ ├── GroupByPostArgs.ts │ │ │ │ │ │ ├── UpdateManyPostArgs.ts │ │ │ │ │ │ ├── UpdateOnePostArgs.ts │ │ │ │ │ │ ├── UpsertOnePostArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── User │ │ │ │ │ ├── AggregateUserResolver.ts │ │ │ │ │ ├── CreateOneUserResolver.ts │ │ │ │ │ ├── DeleteManyUserResolver.ts │ │ │ │ │ ├── DeleteOneUserResolver.ts │ │ │ │ │ ├── FindFirstUserOrThrowResolver.ts │ │ │ │ │ ├── FindFirstUserResolver.ts │ │ │ │ │ ├── FindManyUserResolver.ts │ │ │ │ │ ├── FindUniqueUserOrThrowResolver.ts │ │ │ │ │ ├── FindUniqueUserResolver.ts │ │ │ │ │ ├── GroupByUserResolver.ts │ │ │ │ │ ├── UpdateManyUserResolver.ts │ │ │ │ │ ├── UpdateOneUserResolver.ts │ │ │ │ │ ├── UpsertOneUserResolver.ts │ │ │ │ │ ├── UserCrudResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── AggregateUserArgs.ts │ │ │ │ │ │ ├── CreateOneUserArgs.ts │ │ │ │ │ │ ├── DeleteManyUserArgs.ts │ │ │ │ │ │ ├── DeleteOneUserArgs.ts │ │ │ │ │ │ ├── FindFirstUserArgs.ts │ │ │ │ │ │ ├── FindFirstUserOrThrowArgs.ts │ │ │ │ │ │ ├── FindManyUserArgs.ts │ │ │ │ │ │ ├── FindUniqueUserArgs.ts │ │ │ │ │ │ ├── FindUniqueUserOrThrowArgs.ts │ │ │ │ │ │ ├── GroupByUserArgs.ts │ │ │ │ │ │ ├── UpdateManyUserArgs.ts │ │ │ │ │ │ ├── UpdateOneUserArgs.ts │ │ │ │ │ │ ├── UpsertOneUserArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── args.index.ts │ │ │ │ ├── index.ts │ │ │ │ ├── resolvers-actions.index.ts │ │ │ │ └── resolvers-crud.index.ts │ │ │ ├── inputs │ │ │ │ ├── BoolFieldUpdateOperationsInput.ts │ │ │ │ ├── BoolFilter.ts │ │ │ │ ├── BoolWithAggregatesFilter.ts │ │ │ │ ├── DateTimeFieldUpdateOperationsInput.ts │ │ │ │ ├── DateTimeFilter.ts │ │ │ │ ├── DateTimeWithAggregatesFilter.ts │ │ │ │ ├── NestedBoolFilter.ts │ │ │ │ ├── NestedBoolWithAggregatesFilter.ts │ │ │ │ ├── NestedDateTimeFilter.ts │ │ │ │ ├── NestedDateTimeWithAggregatesFilter.ts │ │ │ │ ├── NestedIntFilter.ts │ │ │ │ ├── NestedIntNullableFilter.ts │ │ │ │ ├── NestedStringFilter.ts │ │ │ │ ├── NestedStringNullableFilter.ts │ │ │ │ ├── NestedStringNullableWithAggregatesFilter.ts │ │ │ │ ├── NestedStringWithAggregatesFilter.ts │ │ │ │ ├── NullableStringFieldUpdateOperationsInput.ts │ │ │ │ ├── PostCountOrderByAggregateInput.ts │ │ │ │ ├── PostCreateInput.ts │ │ │ │ ├── PostCreateNestedManyWithoutAuthorInput.ts │ │ │ │ ├── PostCreateOrConnectWithoutAuthorInput.ts │ │ │ │ ├── PostCreateWithoutAuthorInput.ts │ │ │ │ ├── PostListRelationFilter.ts │ │ │ │ ├── PostMaxOrderByAggregateInput.ts │ │ │ │ ├── PostMinOrderByAggregateInput.ts │ │ │ │ ├── PostOrderByRelationAggregateInput.ts │ │ │ │ ├── PostOrderByWithAggregationInput.ts │ │ │ │ ├── PostOrderByWithRelationInput.ts │ │ │ │ ├── PostScalarWhereInput.ts │ │ │ │ ├── PostScalarWhereWithAggregatesInput.ts │ │ │ │ ├── PostUpdateInput.ts │ │ │ │ ├── PostUpdateManyMutationInput.ts │ │ │ │ ├── PostUpdateManyWithWhereWithoutAuthorInput.ts │ │ │ │ ├── PostUpdateManyWithoutAuthorNestedInput.ts │ │ │ │ ├── PostUpdateWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ ├── PostUpdateWithoutAuthorInput.ts │ │ │ │ ├── PostUpsertWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ ├── PostWhereInput.ts │ │ │ │ ├── PostWhereUniqueInput.ts │ │ │ │ ├── StringFieldUpdateOperationsInput.ts │ │ │ │ ├── StringFilter.ts │ │ │ │ ├── StringNullableFilter.ts │ │ │ │ ├── StringNullableWithAggregatesFilter.ts │ │ │ │ ├── StringWithAggregatesFilter.ts │ │ │ │ ├── UserCountOrderByAggregateInput.ts │ │ │ │ ├── UserCreateInput.ts │ │ │ │ ├── UserCreateNestedOneWithoutPostsInput.ts │ │ │ │ ├── UserCreateOrConnectWithoutPostsInput.ts │ │ │ │ ├── UserCreateWithoutPostsInput.ts │ │ │ │ ├── UserMaxOrderByAggregateInput.ts │ │ │ │ ├── UserMinOrderByAggregateInput.ts │ │ │ │ ├── UserOrderByWithAggregationInput.ts │ │ │ │ ├── UserOrderByWithRelationInput.ts │ │ │ │ ├── UserRelationFilter.ts │ │ │ │ ├── UserScalarWhereWithAggregatesInput.ts │ │ │ │ ├── UserUpdateInput.ts │ │ │ │ ├── UserUpdateManyMutationInput.ts │ │ │ │ ├── UserUpdateOneWithoutPostsNestedInput.ts │ │ │ │ ├── UserUpdateWithoutPostsInput.ts │ │ │ │ ├── UserUpsertWithoutPostsInput.ts │ │ │ │ ├── UserWhereInput.ts │ │ │ │ ├── UserWhereUniqueInput.ts │ │ │ │ └── index.ts │ │ │ ├── outputs │ │ │ │ ├── AffectedRowsOutput.ts │ │ │ │ ├── AggregatePost.ts │ │ │ │ ├── AggregateUser.ts │ │ │ │ ├── PostCountAggregate.ts │ │ │ │ ├── PostGroupBy.ts │ │ │ │ ├── PostMaxAggregate.ts │ │ │ │ ├── PostMinAggregate.ts │ │ │ │ ├── UserCount.ts │ │ │ │ ├── UserCountAggregate.ts │ │ │ │ ├── UserGroupBy.ts │ │ │ │ ├── UserMaxAggregate.ts │ │ │ │ ├── UserMinAggregate.ts │ │ │ │ └── index.ts │ │ │ └── relations │ │ │ │ ├── Post │ │ │ │ └── PostRelationsResolver.ts │ │ │ │ ├── User │ │ │ │ ├── UserRelationsResolver.ts │ │ │ │ └── args │ │ │ │ │ ├── UserPostsArgs.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── args.index.ts │ │ │ │ ├── index.ts │ │ │ │ └── resolvers.index.ts │ │ │ └── scalars.ts │ │ ├── migrations │ │ ├── 20220727101516_initial │ │ │ └── migration.sql │ │ └── migration_lock.toml │ │ ├── schema.prisma │ │ └── seed.ts ├── 2-basic │ ├── examples.graphql │ ├── generated-schema.graphql │ ├── index.ts │ ├── package-lock.json │ ├── package.json │ └── prisma │ │ ├── dev.db │ │ ├── generated │ │ └── type-graphql │ │ │ ├── enhance.ts │ │ │ ├── enums │ │ │ ├── PostScalarFieldEnum.ts │ │ │ ├── SortOrder.ts │ │ │ ├── TransactionIsolationLevel.ts │ │ │ ├── UserScalarFieldEnum.ts │ │ │ └── index.ts │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ ├── models │ │ │ ├── Post.ts │ │ │ ├── User.ts │ │ │ └── index.ts │ │ │ ├── resolvers │ │ │ ├── crud │ │ │ │ ├── Post │ │ │ │ │ ├── AggregatePostResolver.ts │ │ │ │ │ ├── CreateOnePostResolver.ts │ │ │ │ │ ├── DeleteManyPostResolver.ts │ │ │ │ │ ├── DeleteOnePostResolver.ts │ │ │ │ │ ├── FindFirstPostOrThrowResolver.ts │ │ │ │ │ ├── FindFirstPostResolver.ts │ │ │ │ │ ├── FindManyPostResolver.ts │ │ │ │ │ ├── FindUniquePostOrThrowResolver.ts │ │ │ │ │ ├── FindUniquePostResolver.ts │ │ │ │ │ ├── GroupByPostResolver.ts │ │ │ │ │ ├── PostCrudResolver.ts │ │ │ │ │ ├── UpdateManyPostResolver.ts │ │ │ │ │ ├── UpdateOnePostResolver.ts │ │ │ │ │ ├── UpsertOnePostResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── AggregatePostArgs.ts │ │ │ │ │ │ ├── CreateOnePostArgs.ts │ │ │ │ │ │ ├── DeleteManyPostArgs.ts │ │ │ │ │ │ ├── DeleteOnePostArgs.ts │ │ │ │ │ │ ├── FindFirstPostArgs.ts │ │ │ │ │ │ ├── FindFirstPostOrThrowArgs.ts │ │ │ │ │ │ ├── FindManyPostArgs.ts │ │ │ │ │ │ ├── FindUniquePostArgs.ts │ │ │ │ │ │ ├── FindUniquePostOrThrowArgs.ts │ │ │ │ │ │ ├── GroupByPostArgs.ts │ │ │ │ │ │ ├── UpdateManyPostArgs.ts │ │ │ │ │ │ ├── UpdateOnePostArgs.ts │ │ │ │ │ │ ├── UpsertOnePostArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── User │ │ │ │ │ ├── AggregateUserResolver.ts │ │ │ │ │ ├── CreateOneUserResolver.ts │ │ │ │ │ ├── DeleteManyUserResolver.ts │ │ │ │ │ ├── DeleteOneUserResolver.ts │ │ │ │ │ ├── FindFirstUserOrThrowResolver.ts │ │ │ │ │ ├── FindFirstUserResolver.ts │ │ │ │ │ ├── FindManyUserResolver.ts │ │ │ │ │ ├── FindUniqueUserOrThrowResolver.ts │ │ │ │ │ ├── FindUniqueUserResolver.ts │ │ │ │ │ ├── GroupByUserResolver.ts │ │ │ │ │ ├── UpdateManyUserResolver.ts │ │ │ │ │ ├── UpdateOneUserResolver.ts │ │ │ │ │ ├── UpsertOneUserResolver.ts │ │ │ │ │ ├── UserCrudResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── AggregateUserArgs.ts │ │ │ │ │ │ ├── CreateOneUserArgs.ts │ │ │ │ │ │ ├── DeleteManyUserArgs.ts │ │ │ │ │ │ ├── DeleteOneUserArgs.ts │ │ │ │ │ │ ├── FindFirstUserArgs.ts │ │ │ │ │ │ ├── FindFirstUserOrThrowArgs.ts │ │ │ │ │ │ ├── FindManyUserArgs.ts │ │ │ │ │ │ ├── FindUniqueUserArgs.ts │ │ │ │ │ │ ├── FindUniqueUserOrThrowArgs.ts │ │ │ │ │ │ ├── GroupByUserArgs.ts │ │ │ │ │ │ ├── UpdateManyUserArgs.ts │ │ │ │ │ │ ├── UpdateOneUserArgs.ts │ │ │ │ │ │ ├── UpsertOneUserArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── args.index.ts │ │ │ │ ├── index.ts │ │ │ │ ├── resolvers-actions.index.ts │ │ │ │ └── resolvers-crud.index.ts │ │ │ ├── inputs │ │ │ │ ├── BoolFieldUpdateOperationsInput.ts │ │ │ │ ├── BoolFilter.ts │ │ │ │ ├── BoolWithAggregatesFilter.ts │ │ │ │ ├── DateTimeFieldUpdateOperationsInput.ts │ │ │ │ ├── DateTimeFilter.ts │ │ │ │ ├── DateTimeWithAggregatesFilter.ts │ │ │ │ ├── NestedBoolFilter.ts │ │ │ │ ├── NestedBoolWithAggregatesFilter.ts │ │ │ │ ├── NestedDateTimeFilter.ts │ │ │ │ ├── NestedDateTimeWithAggregatesFilter.ts │ │ │ │ ├── NestedIntFilter.ts │ │ │ │ ├── NestedIntNullableFilter.ts │ │ │ │ ├── NestedStringFilter.ts │ │ │ │ ├── NestedStringNullableFilter.ts │ │ │ │ ├── NestedStringNullableWithAggregatesFilter.ts │ │ │ │ ├── NestedStringWithAggregatesFilter.ts │ │ │ │ ├── NullableStringFieldUpdateOperationsInput.ts │ │ │ │ ├── PostCountOrderByAggregateInput.ts │ │ │ │ ├── PostCreateInput.ts │ │ │ │ ├── PostCreateNestedManyWithoutAuthorInput.ts │ │ │ │ ├── PostCreateOrConnectWithoutAuthorInput.ts │ │ │ │ ├── PostCreateWithoutAuthorInput.ts │ │ │ │ ├── PostListRelationFilter.ts │ │ │ │ ├── PostMaxOrderByAggregateInput.ts │ │ │ │ ├── PostMinOrderByAggregateInput.ts │ │ │ │ ├── PostOrderByRelationAggregateInput.ts │ │ │ │ ├── PostOrderByWithAggregationInput.ts │ │ │ │ ├── PostOrderByWithRelationInput.ts │ │ │ │ ├── PostScalarWhereInput.ts │ │ │ │ ├── PostScalarWhereWithAggregatesInput.ts │ │ │ │ ├── PostUpdateInput.ts │ │ │ │ ├── PostUpdateManyMutationInput.ts │ │ │ │ ├── PostUpdateManyWithWhereWithoutAuthorInput.ts │ │ │ │ ├── PostUpdateManyWithoutAuthorNestedInput.ts │ │ │ │ ├── PostUpdateWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ ├── PostUpdateWithoutAuthorInput.ts │ │ │ │ ├── PostUpsertWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ ├── PostWhereInput.ts │ │ │ │ ├── PostWhereUniqueInput.ts │ │ │ │ ├── StringFieldUpdateOperationsInput.ts │ │ │ │ ├── StringFilter.ts │ │ │ │ ├── StringNullableFilter.ts │ │ │ │ ├── StringNullableWithAggregatesFilter.ts │ │ │ │ ├── StringWithAggregatesFilter.ts │ │ │ │ ├── UserCountOrderByAggregateInput.ts │ │ │ │ ├── UserCreateInput.ts │ │ │ │ ├── UserCreateNestedOneWithoutPostsInput.ts │ │ │ │ ├── UserCreateOrConnectWithoutPostsInput.ts │ │ │ │ ├── UserCreateWithoutPostsInput.ts │ │ │ │ ├── UserMaxOrderByAggregateInput.ts │ │ │ │ ├── UserMinOrderByAggregateInput.ts │ │ │ │ ├── UserOrderByWithAggregationInput.ts │ │ │ │ ├── UserOrderByWithRelationInput.ts │ │ │ │ ├── UserRelationFilter.ts │ │ │ │ ├── UserScalarWhereWithAggregatesInput.ts │ │ │ │ ├── UserUpdateInput.ts │ │ │ │ ├── UserUpdateManyMutationInput.ts │ │ │ │ ├── UserUpdateOneWithoutPostsNestedInput.ts │ │ │ │ ├── UserUpdateWithoutPostsInput.ts │ │ │ │ ├── UserUpsertWithoutPostsInput.ts │ │ │ │ ├── UserWhereInput.ts │ │ │ │ ├── UserWhereUniqueInput.ts │ │ │ │ └── index.ts │ │ │ ├── outputs │ │ │ │ ├── AffectedRowsOutput.ts │ │ │ │ ├── AggregatePost.ts │ │ │ │ ├── AggregateUser.ts │ │ │ │ ├── PostCountAggregate.ts │ │ │ │ ├── PostGroupBy.ts │ │ │ │ ├── PostMaxAggregate.ts │ │ │ │ ├── PostMinAggregate.ts │ │ │ │ ├── UserCount.ts │ │ │ │ ├── UserCountAggregate.ts │ │ │ │ ├── UserGroupBy.ts │ │ │ │ ├── UserMaxAggregate.ts │ │ │ │ ├── UserMinAggregate.ts │ │ │ │ └── index.ts │ │ │ └── relations │ │ │ │ ├── Post │ │ │ │ └── PostRelationsResolver.ts │ │ │ │ ├── User │ │ │ │ ├── UserRelationsResolver.ts │ │ │ │ └── args │ │ │ │ │ ├── UserPostsArgs.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── args.index.ts │ │ │ │ ├── index.ts │ │ │ │ └── resolvers.index.ts │ │ │ └── scalars.ts │ │ ├── migrations │ │ ├── 20220727102216_initial │ │ │ └── migration.sql │ │ └── migration_lock.toml │ │ ├── schema.prisma │ │ └── seed.ts ├── 3-picking-actions │ ├── examples.graphql │ ├── generated-schema.graphql │ ├── index.ts │ ├── package-lock.json │ ├── package.json │ └── prisma │ │ ├── dev.db │ │ ├── generated │ │ └── type-graphql │ │ │ ├── enhance.ts │ │ │ ├── enums │ │ │ ├── PostScalarFieldEnum.ts │ │ │ ├── SortOrder.ts │ │ │ ├── TransactionIsolationLevel.ts │ │ │ ├── UserScalarFieldEnum.ts │ │ │ └── index.ts │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ ├── models │ │ │ ├── Post.ts │ │ │ ├── User.ts │ │ │ └── index.ts │ │ │ ├── resolvers │ │ │ ├── crud │ │ │ │ ├── Post │ │ │ │ │ ├── AggregatePostResolver.ts │ │ │ │ │ ├── CreateOnePostResolver.ts │ │ │ │ │ ├── DeleteManyPostResolver.ts │ │ │ │ │ ├── DeleteOnePostResolver.ts │ │ │ │ │ ├── FindFirstPostOrThrowResolver.ts │ │ │ │ │ ├── FindFirstPostResolver.ts │ │ │ │ │ ├── FindManyPostResolver.ts │ │ │ │ │ ├── FindUniquePostOrThrowResolver.ts │ │ │ │ │ ├── FindUniquePostResolver.ts │ │ │ │ │ ├── GroupByPostResolver.ts │ │ │ │ │ ├── PostCrudResolver.ts │ │ │ │ │ ├── UpdateManyPostResolver.ts │ │ │ │ │ ├── UpdateOnePostResolver.ts │ │ │ │ │ ├── UpsertOnePostResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── AggregatePostArgs.ts │ │ │ │ │ │ ├── CreateOnePostArgs.ts │ │ │ │ │ │ ├── DeleteManyPostArgs.ts │ │ │ │ │ │ ├── DeleteOnePostArgs.ts │ │ │ │ │ │ ├── FindFirstPostArgs.ts │ │ │ │ │ │ ├── FindFirstPostOrThrowArgs.ts │ │ │ │ │ │ ├── FindManyPostArgs.ts │ │ │ │ │ │ ├── FindUniquePostArgs.ts │ │ │ │ │ │ ├── FindUniquePostOrThrowArgs.ts │ │ │ │ │ │ ├── GroupByPostArgs.ts │ │ │ │ │ │ ├── UpdateManyPostArgs.ts │ │ │ │ │ │ ├── UpdateOnePostArgs.ts │ │ │ │ │ │ ├── UpsertOnePostArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── User │ │ │ │ │ ├── AggregateUserResolver.ts │ │ │ │ │ ├── CreateOneUserResolver.ts │ │ │ │ │ ├── DeleteManyUserResolver.ts │ │ │ │ │ ├── DeleteOneUserResolver.ts │ │ │ │ │ ├── FindFirstUserOrThrowResolver.ts │ │ │ │ │ ├── FindFirstUserResolver.ts │ │ │ │ │ ├── FindManyUserResolver.ts │ │ │ │ │ ├── FindUniqueUserOrThrowResolver.ts │ │ │ │ │ ├── FindUniqueUserResolver.ts │ │ │ │ │ ├── GroupByUserResolver.ts │ │ │ │ │ ├── UpdateManyUserResolver.ts │ │ │ │ │ ├── UpdateOneUserResolver.ts │ │ │ │ │ ├── UpsertOneUserResolver.ts │ │ │ │ │ ├── UserCrudResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── AggregateUserArgs.ts │ │ │ │ │ │ ├── CreateOneUserArgs.ts │ │ │ │ │ │ ├── DeleteManyUserArgs.ts │ │ │ │ │ │ ├── DeleteOneUserArgs.ts │ │ │ │ │ │ ├── FindFirstUserArgs.ts │ │ │ │ │ │ ├── FindFirstUserOrThrowArgs.ts │ │ │ │ │ │ ├── FindManyUserArgs.ts │ │ │ │ │ │ ├── FindUniqueUserArgs.ts │ │ │ │ │ │ ├── FindUniqueUserOrThrowArgs.ts │ │ │ │ │ │ ├── GroupByUserArgs.ts │ │ │ │ │ │ ├── UpdateManyUserArgs.ts │ │ │ │ │ │ ├── UpdateOneUserArgs.ts │ │ │ │ │ │ ├── UpsertOneUserArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── args.index.ts │ │ │ │ ├── index.ts │ │ │ │ ├── resolvers-actions.index.ts │ │ │ │ └── resolvers-crud.index.ts │ │ │ ├── inputs │ │ │ │ ├── BoolFieldUpdateOperationsInput.ts │ │ │ │ ├── BoolFilter.ts │ │ │ │ ├── BoolWithAggregatesFilter.ts │ │ │ │ ├── DateTimeFieldUpdateOperationsInput.ts │ │ │ │ ├── DateTimeFilter.ts │ │ │ │ ├── DateTimeWithAggregatesFilter.ts │ │ │ │ ├── NestedBoolFilter.ts │ │ │ │ ├── NestedBoolWithAggregatesFilter.ts │ │ │ │ ├── NestedDateTimeFilter.ts │ │ │ │ ├── NestedDateTimeWithAggregatesFilter.ts │ │ │ │ ├── NestedIntFilter.ts │ │ │ │ ├── NestedIntNullableFilter.ts │ │ │ │ ├── NestedStringFilter.ts │ │ │ │ ├── NestedStringNullableFilter.ts │ │ │ │ ├── NestedStringNullableWithAggregatesFilter.ts │ │ │ │ ├── NestedStringWithAggregatesFilter.ts │ │ │ │ ├── NullableStringFieldUpdateOperationsInput.ts │ │ │ │ ├── PostCountOrderByAggregateInput.ts │ │ │ │ ├── PostCreateInput.ts │ │ │ │ ├── PostCreateNestedManyWithoutAuthorInput.ts │ │ │ │ ├── PostCreateOrConnectWithoutAuthorInput.ts │ │ │ │ ├── PostCreateWithoutAuthorInput.ts │ │ │ │ ├── PostListRelationFilter.ts │ │ │ │ ├── PostMaxOrderByAggregateInput.ts │ │ │ │ ├── PostMinOrderByAggregateInput.ts │ │ │ │ ├── PostOrderByRelationAggregateInput.ts │ │ │ │ ├── PostOrderByWithAggregationInput.ts │ │ │ │ ├── PostOrderByWithRelationInput.ts │ │ │ │ ├── PostScalarWhereInput.ts │ │ │ │ ├── PostScalarWhereWithAggregatesInput.ts │ │ │ │ ├── PostUpdateInput.ts │ │ │ │ ├── PostUpdateManyMutationInput.ts │ │ │ │ ├── PostUpdateManyWithWhereWithoutAuthorInput.ts │ │ │ │ ├── PostUpdateManyWithoutAuthorNestedInput.ts │ │ │ │ ├── PostUpdateWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ ├── PostUpdateWithoutAuthorInput.ts │ │ │ │ ├── PostUpsertWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ ├── PostWhereInput.ts │ │ │ │ ├── PostWhereUniqueInput.ts │ │ │ │ ├── StringFieldUpdateOperationsInput.ts │ │ │ │ ├── StringFilter.ts │ │ │ │ ├── StringNullableFilter.ts │ │ │ │ ├── StringNullableWithAggregatesFilter.ts │ │ │ │ ├── StringWithAggregatesFilter.ts │ │ │ │ ├── UserCountOrderByAggregateInput.ts │ │ │ │ ├── UserCreateInput.ts │ │ │ │ ├── UserCreateNestedOneWithoutPostsInput.ts │ │ │ │ ├── UserCreateOrConnectWithoutPostsInput.ts │ │ │ │ ├── UserCreateWithoutPostsInput.ts │ │ │ │ ├── UserMaxOrderByAggregateInput.ts │ │ │ │ ├── UserMinOrderByAggregateInput.ts │ │ │ │ ├── UserOrderByWithAggregationInput.ts │ │ │ │ ├── UserOrderByWithRelationInput.ts │ │ │ │ ├── UserRelationFilter.ts │ │ │ │ ├── UserScalarWhereWithAggregatesInput.ts │ │ │ │ ├── UserUpdateInput.ts │ │ │ │ ├── UserUpdateManyMutationInput.ts │ │ │ │ ├── UserUpdateOneWithoutPostsNestedInput.ts │ │ │ │ ├── UserUpdateWithoutPostsInput.ts │ │ │ │ ├── UserUpsertWithoutPostsInput.ts │ │ │ │ ├── UserWhereInput.ts │ │ │ │ ├── UserWhereUniqueInput.ts │ │ │ │ └── index.ts │ │ │ ├── outputs │ │ │ │ ├── AffectedRowsOutput.ts │ │ │ │ ├── AggregatePost.ts │ │ │ │ ├── AggregateUser.ts │ │ │ │ ├── PostCountAggregate.ts │ │ │ │ ├── PostGroupBy.ts │ │ │ │ ├── PostMaxAggregate.ts │ │ │ │ ├── PostMinAggregate.ts │ │ │ │ ├── UserCount.ts │ │ │ │ ├── UserCountAggregate.ts │ │ │ │ ├── UserGroupBy.ts │ │ │ │ ├── UserMaxAggregate.ts │ │ │ │ ├── UserMinAggregate.ts │ │ │ │ └── index.ts │ │ │ └── relations │ │ │ │ ├── Post │ │ │ │ └── PostRelationsResolver.ts │ │ │ │ ├── User │ │ │ │ ├── UserRelationsResolver.ts │ │ │ │ └── args │ │ │ │ │ ├── UserPostsArgs.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── args.index.ts │ │ │ │ ├── index.ts │ │ │ │ └── resolvers.index.ts │ │ │ └── scalars.ts │ │ ├── migrations │ │ ├── 20220727102534_initial │ │ │ └── migration.sql │ │ └── migration_lock.toml │ │ ├── schema.prisma │ │ └── seed.ts ├── 4-nest-js │ ├── examples.graphql │ ├── generated-schema.graphql │ ├── index.ts │ ├── package-lock.json │ ├── package.json │ └── prisma │ │ ├── dev.db │ │ ├── generated │ │ └── type-graphql │ │ │ ├── enhance.ts │ │ │ ├── enums │ │ │ ├── PostScalarFieldEnum.ts │ │ │ ├── SortOrder.ts │ │ │ ├── TransactionIsolationLevel.ts │ │ │ ├── UserScalarFieldEnum.ts │ │ │ └── index.ts │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ ├── models │ │ │ ├── Post.ts │ │ │ ├── User.ts │ │ │ └── index.ts │ │ │ ├── resolvers │ │ │ ├── crud │ │ │ │ ├── Post │ │ │ │ │ ├── AggregatePostResolver.ts │ │ │ │ │ ├── CreateOnePostResolver.ts │ │ │ │ │ ├── DeleteManyPostResolver.ts │ │ │ │ │ ├── DeleteOnePostResolver.ts │ │ │ │ │ ├── FindFirstPostOrThrowResolver.ts │ │ │ │ │ ├── FindFirstPostResolver.ts │ │ │ │ │ ├── FindManyPostResolver.ts │ │ │ │ │ ├── FindUniquePostOrThrowResolver.ts │ │ │ │ │ ├── FindUniquePostResolver.ts │ │ │ │ │ ├── GroupByPostResolver.ts │ │ │ │ │ ├── PostCrudResolver.ts │ │ │ │ │ ├── UpdateManyPostResolver.ts │ │ │ │ │ ├── UpdateOnePostResolver.ts │ │ │ │ │ ├── UpsertOnePostResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── AggregatePostArgs.ts │ │ │ │ │ │ ├── CreateOnePostArgs.ts │ │ │ │ │ │ ├── DeleteManyPostArgs.ts │ │ │ │ │ │ ├── DeleteOnePostArgs.ts │ │ │ │ │ │ ├── FindFirstPostArgs.ts │ │ │ │ │ │ ├── FindFirstPostOrThrowArgs.ts │ │ │ │ │ │ ├── FindManyPostArgs.ts │ │ │ │ │ │ ├── FindUniquePostArgs.ts │ │ │ │ │ │ ├── FindUniquePostOrThrowArgs.ts │ │ │ │ │ │ ├── GroupByPostArgs.ts │ │ │ │ │ │ ├── UpdateManyPostArgs.ts │ │ │ │ │ │ ├── UpdateOnePostArgs.ts │ │ │ │ │ │ ├── UpsertOnePostArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── User │ │ │ │ │ ├── AggregateUserResolver.ts │ │ │ │ │ ├── CreateOneUserResolver.ts │ │ │ │ │ ├── DeleteManyUserResolver.ts │ │ │ │ │ ├── DeleteOneUserResolver.ts │ │ │ │ │ ├── FindFirstUserOrThrowResolver.ts │ │ │ │ │ ├── FindFirstUserResolver.ts │ │ │ │ │ ├── FindManyUserResolver.ts │ │ │ │ │ ├── FindUniqueUserOrThrowResolver.ts │ │ │ │ │ ├── FindUniqueUserResolver.ts │ │ │ │ │ ├── GroupByUserResolver.ts │ │ │ │ │ ├── UpdateManyUserResolver.ts │ │ │ │ │ ├── UpdateOneUserResolver.ts │ │ │ │ │ ├── UpsertOneUserResolver.ts │ │ │ │ │ ├── UserCrudResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── AggregateUserArgs.ts │ │ │ │ │ │ ├── CreateOneUserArgs.ts │ │ │ │ │ │ ├── DeleteManyUserArgs.ts │ │ │ │ │ │ ├── DeleteOneUserArgs.ts │ │ │ │ │ │ ├── FindFirstUserArgs.ts │ │ │ │ │ │ ├── FindFirstUserOrThrowArgs.ts │ │ │ │ │ │ ├── FindManyUserArgs.ts │ │ │ │ │ │ ├── FindUniqueUserArgs.ts │ │ │ │ │ │ ├── FindUniqueUserOrThrowArgs.ts │ │ │ │ │ │ ├── GroupByUserArgs.ts │ │ │ │ │ │ ├── UpdateManyUserArgs.ts │ │ │ │ │ │ ├── UpdateOneUserArgs.ts │ │ │ │ │ │ ├── UpsertOneUserArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── args.index.ts │ │ │ │ ├── index.ts │ │ │ │ ├── resolvers-actions.index.ts │ │ │ │ └── resolvers-crud.index.ts │ │ │ ├── inputs │ │ │ │ ├── BoolFieldUpdateOperationsInput.ts │ │ │ │ ├── BoolFilter.ts │ │ │ │ ├── BoolWithAggregatesFilter.ts │ │ │ │ ├── DateTimeFieldUpdateOperationsInput.ts │ │ │ │ ├── DateTimeFilter.ts │ │ │ │ ├── DateTimeWithAggregatesFilter.ts │ │ │ │ ├── NestedBoolFilter.ts │ │ │ │ ├── NestedBoolWithAggregatesFilter.ts │ │ │ │ ├── NestedDateTimeFilter.ts │ │ │ │ ├── NestedDateTimeWithAggregatesFilter.ts │ │ │ │ ├── NestedIntFilter.ts │ │ │ │ ├── NestedIntNullableFilter.ts │ │ │ │ ├── NestedStringFilter.ts │ │ │ │ ├── NestedStringNullableFilter.ts │ │ │ │ ├── NestedStringNullableWithAggregatesFilter.ts │ │ │ │ ├── NestedStringWithAggregatesFilter.ts │ │ │ │ ├── NullableStringFieldUpdateOperationsInput.ts │ │ │ │ ├── PostCountOrderByAggregateInput.ts │ │ │ │ ├── PostCreateInput.ts │ │ │ │ ├── PostCreateNestedManyWithoutAuthorInput.ts │ │ │ │ ├── PostCreateOrConnectWithoutAuthorInput.ts │ │ │ │ ├── PostCreateWithoutAuthorInput.ts │ │ │ │ ├── PostListRelationFilter.ts │ │ │ │ ├── PostMaxOrderByAggregateInput.ts │ │ │ │ ├── PostMinOrderByAggregateInput.ts │ │ │ │ ├── PostOrderByRelationAggregateInput.ts │ │ │ │ ├── PostOrderByWithAggregationInput.ts │ │ │ │ ├── PostOrderByWithRelationInput.ts │ │ │ │ ├── PostScalarWhereInput.ts │ │ │ │ ├── PostScalarWhereWithAggregatesInput.ts │ │ │ │ ├── PostUpdateInput.ts │ │ │ │ ├── PostUpdateManyMutationInput.ts │ │ │ │ ├── PostUpdateManyWithWhereWithoutAuthorInput.ts │ │ │ │ ├── PostUpdateManyWithoutAuthorNestedInput.ts │ │ │ │ ├── PostUpdateWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ ├── PostUpdateWithoutAuthorInput.ts │ │ │ │ ├── PostUpsertWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ ├── PostWhereInput.ts │ │ │ │ ├── PostWhereUniqueInput.ts │ │ │ │ ├── StringFieldUpdateOperationsInput.ts │ │ │ │ ├── StringFilter.ts │ │ │ │ ├── StringNullableFilter.ts │ │ │ │ ├── StringNullableWithAggregatesFilter.ts │ │ │ │ ├── StringWithAggregatesFilter.ts │ │ │ │ ├── UserCountOrderByAggregateInput.ts │ │ │ │ ├── UserCreateInput.ts │ │ │ │ ├── UserCreateNestedOneWithoutPostsInput.ts │ │ │ │ ├── UserCreateOrConnectWithoutPostsInput.ts │ │ │ │ ├── UserCreateWithoutPostsInput.ts │ │ │ │ ├── UserMaxOrderByAggregateInput.ts │ │ │ │ ├── UserMinOrderByAggregateInput.ts │ │ │ │ ├── UserOrderByWithAggregationInput.ts │ │ │ │ ├── UserOrderByWithRelationInput.ts │ │ │ │ ├── UserRelationFilter.ts │ │ │ │ ├── UserScalarWhereWithAggregatesInput.ts │ │ │ │ ├── UserUpdateInput.ts │ │ │ │ ├── UserUpdateManyMutationInput.ts │ │ │ │ ├── UserUpdateOneWithoutPostsNestedInput.ts │ │ │ │ ├── UserUpdateWithoutPostsInput.ts │ │ │ │ ├── UserUpsertWithoutPostsInput.ts │ │ │ │ ├── UserWhereInput.ts │ │ │ │ ├── UserWhereUniqueInput.ts │ │ │ │ └── index.ts │ │ │ ├── outputs │ │ │ │ ├── AffectedRowsOutput.ts │ │ │ │ ├── AggregatePost.ts │ │ │ │ ├── AggregateUser.ts │ │ │ │ ├── PostCountAggregate.ts │ │ │ │ ├── PostGroupBy.ts │ │ │ │ ├── PostMaxAggregate.ts │ │ │ │ ├── PostMinAggregate.ts │ │ │ │ ├── UserCount.ts │ │ │ │ ├── UserCountAggregate.ts │ │ │ │ ├── UserGroupBy.ts │ │ │ │ ├── UserMaxAggregate.ts │ │ │ │ ├── UserMinAggregate.ts │ │ │ │ └── index.ts │ │ │ └── relations │ │ │ │ ├── Post │ │ │ │ └── PostRelationsResolver.ts │ │ │ │ ├── User │ │ │ │ ├── UserRelationsResolver.ts │ │ │ │ └── args │ │ │ │ │ ├── UserPostsArgs.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── args.index.ts │ │ │ │ ├── index.ts │ │ │ │ └── resolvers.index.ts │ │ │ └── scalars.ts │ │ ├── migrations │ │ ├── 20210630152212_init │ │ │ └── migration.sql │ │ └── migration_lock.toml │ │ ├── schema.prisma │ │ └── seed.ts ├── Readme.md └── tsconfig.json ├── experiments ├── mongodb │ ├── generated-schema.graphql │ ├── index.ts │ ├── package-lock.json │ ├── package.json │ ├── prisma │ │ ├── .env.template │ │ ├── generated │ │ │ ├── client │ │ │ │ ├── default.d.ts │ │ │ │ ├── default.js │ │ │ │ ├── edge.d.ts │ │ │ │ ├── edge.js │ │ │ │ ├── index-browser.js │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── runtime │ │ │ │ │ ├── edge-esm.js │ │ │ │ │ ├── edge.js │ │ │ │ │ ├── index-browser.d.ts │ │ │ │ │ ├── index-browser.js │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── index.js │ │ │ │ │ ├── library.d.ts │ │ │ │ │ ├── library.js │ │ │ │ │ ├── proxy.d.ts │ │ │ │ │ ├── proxy.js │ │ │ │ │ ├── react-native.js │ │ │ │ │ └── wasm.js │ │ │ │ ├── schema.prisma │ │ │ │ ├── wasm.d.ts │ │ │ │ └── wasm.js │ │ │ └── type-graphql │ │ │ │ ├── dmmf.json │ │ │ │ ├── enhance.ts │ │ │ │ ├── enums │ │ │ │ ├── CommentScalarFieldEnum.ts │ │ │ │ ├── PostScalarFieldEnum.ts │ │ │ │ ├── QueryMode.ts │ │ │ │ ├── SortOrder.ts │ │ │ │ ├── UserScalarFieldEnum.ts │ │ │ │ └── index.ts │ │ │ │ ├── helpers.ts │ │ │ │ ├── index.ts │ │ │ │ ├── models │ │ │ │ ├── Comment.ts │ │ │ │ ├── Post.ts │ │ │ │ ├── User.ts │ │ │ │ ├── UserAddress.ts │ │ │ │ └── index.ts │ │ │ │ ├── prisma-client-dmmf.json │ │ │ │ ├── resolvers │ │ │ │ ├── crud │ │ │ │ │ ├── Comment │ │ │ │ │ │ ├── AggregateCommentResolver.ts │ │ │ │ │ │ ├── CommentCrudResolver.ts │ │ │ │ │ │ ├── CreateManyCommentResolver.ts │ │ │ │ │ │ ├── CreateOneCommentResolver.ts │ │ │ │ │ │ ├── DeleteManyCommentResolver.ts │ │ │ │ │ │ ├── DeleteOneCommentResolver.ts │ │ │ │ │ │ ├── FindFirstCommentOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstCommentResolver.ts │ │ │ │ │ │ ├── FindManyCommentResolver.ts │ │ │ │ │ │ ├── FindUniqueCommentOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniqueCommentResolver.ts │ │ │ │ │ │ ├── GroupByCommentResolver.ts │ │ │ │ │ │ ├── UpdateManyCommentResolver.ts │ │ │ │ │ │ ├── UpdateOneCommentResolver.ts │ │ │ │ │ │ ├── UpsertOneCommentResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregateCommentArgs.ts │ │ │ │ │ │ │ ├── CreateManyCommentArgs.ts │ │ │ │ │ │ │ ├── CreateOneCommentArgs.ts │ │ │ │ │ │ │ ├── DeleteManyCommentArgs.ts │ │ │ │ │ │ │ ├── DeleteOneCommentArgs.ts │ │ │ │ │ │ │ ├── FindFirstCommentArgs.ts │ │ │ │ │ │ │ ├── FindFirstCommentOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyCommentArgs.ts │ │ │ │ │ │ │ ├── FindUniqueCommentArgs.ts │ │ │ │ │ │ │ ├── FindUniqueCommentOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByCommentArgs.ts │ │ │ │ │ │ │ ├── UpdateManyCommentArgs.ts │ │ │ │ │ │ │ ├── UpdateOneCommentArgs.ts │ │ │ │ │ │ │ ├── UpsertOneCommentArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Post │ │ │ │ │ │ ├── AggregatePostResolver.ts │ │ │ │ │ │ ├── CreateManyPostResolver.ts │ │ │ │ │ │ ├── CreateOnePostResolver.ts │ │ │ │ │ │ ├── DeleteManyPostResolver.ts │ │ │ │ │ │ ├── DeleteOnePostResolver.ts │ │ │ │ │ │ ├── FindFirstPostOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstPostResolver.ts │ │ │ │ │ │ ├── FindManyPostResolver.ts │ │ │ │ │ │ ├── FindUniquePostOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniquePostResolver.ts │ │ │ │ │ │ ├── GroupByPostResolver.ts │ │ │ │ │ │ ├── PostCrudResolver.ts │ │ │ │ │ │ ├── UpdateManyPostResolver.ts │ │ │ │ │ │ ├── UpdateOnePostResolver.ts │ │ │ │ │ │ ├── UpsertOnePostResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregatePostArgs.ts │ │ │ │ │ │ │ ├── CreateManyPostArgs.ts │ │ │ │ │ │ │ ├── CreateOnePostArgs.ts │ │ │ │ │ │ │ ├── DeleteManyPostArgs.ts │ │ │ │ │ │ │ ├── DeleteOnePostArgs.ts │ │ │ │ │ │ │ ├── FindFirstPostArgs.ts │ │ │ │ │ │ │ ├── FindFirstPostOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyPostArgs.ts │ │ │ │ │ │ │ ├── FindUniquePostArgs.ts │ │ │ │ │ │ │ ├── FindUniquePostOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByPostArgs.ts │ │ │ │ │ │ │ ├── UpdateManyPostArgs.ts │ │ │ │ │ │ │ ├── UpdateOnePostArgs.ts │ │ │ │ │ │ │ ├── UpsertOnePostArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── User │ │ │ │ │ │ ├── AggregateUserResolver.ts │ │ │ │ │ │ ├── CreateManyUserResolver.ts │ │ │ │ │ │ ├── CreateOneUserResolver.ts │ │ │ │ │ │ ├── DeleteManyUserResolver.ts │ │ │ │ │ │ ├── DeleteOneUserResolver.ts │ │ │ │ │ │ ├── FindFirstUserOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstUserResolver.ts │ │ │ │ │ │ ├── FindManyUserResolver.ts │ │ │ │ │ │ ├── FindUniqueUserOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniqueUserResolver.ts │ │ │ │ │ │ ├── GroupByUserResolver.ts │ │ │ │ │ │ ├── UpdateManyUserResolver.ts │ │ │ │ │ │ ├── UpdateOneUserResolver.ts │ │ │ │ │ │ ├── UpsertOneUserResolver.ts │ │ │ │ │ │ ├── UserCrudResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregateUserArgs.ts │ │ │ │ │ │ │ ├── CreateManyUserArgs.ts │ │ │ │ │ │ │ ├── CreateOneUserArgs.ts │ │ │ │ │ │ │ ├── DeleteManyUserArgs.ts │ │ │ │ │ │ │ ├── DeleteOneUserArgs.ts │ │ │ │ │ │ │ ├── FindFirstUserArgs.ts │ │ │ │ │ │ │ ├── FindFirstUserOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyUserArgs.ts │ │ │ │ │ │ │ ├── FindUniqueUserArgs.ts │ │ │ │ │ │ │ ├── FindUniqueUserOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByUserArgs.ts │ │ │ │ │ │ │ ├── UpdateManyUserArgs.ts │ │ │ │ │ │ │ ├── UpdateOneUserArgs.ts │ │ │ │ │ │ │ ├── UpsertOneUserArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── args.index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── resolvers-actions.index.ts │ │ │ │ │ └── resolvers-crud.index.ts │ │ │ │ ├── inputs │ │ │ │ │ ├── CommentCountOrderByAggregateInput.ts │ │ │ │ │ ├── CommentCreateInput.ts │ │ │ │ │ ├── CommentCreateManyInput.ts │ │ │ │ │ ├── CommentCreateManyPostInput.ts │ │ │ │ │ ├── CommentCreateManyPostInputEnvelope.ts │ │ │ │ │ ├── CommentCreateNestedManyWithoutPostInput.ts │ │ │ │ │ ├── CommentCreateOrConnectWithoutPostInput.ts │ │ │ │ │ ├── CommentCreateWithoutPostInput.ts │ │ │ │ │ ├── CommentListRelationFilter.ts │ │ │ │ │ ├── CommentMaxOrderByAggregateInput.ts │ │ │ │ │ ├── CommentMinOrderByAggregateInput.ts │ │ │ │ │ ├── CommentOrderByRelationAggregateInput.ts │ │ │ │ │ ├── CommentOrderByWithAggregationInput.ts │ │ │ │ │ ├── CommentOrderByWithRelationInput.ts │ │ │ │ │ ├── CommentScalarWhereInput.ts │ │ │ │ │ ├── CommentScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── CommentUpdateInput.ts │ │ │ │ │ ├── CommentUpdateManyMutationInput.ts │ │ │ │ │ ├── CommentUpdateManyWithWhereWithoutPostInput.ts │ │ │ │ │ ├── CommentUpdateManyWithoutPostNestedInput.ts │ │ │ │ │ ├── CommentUpdateWithWhereUniqueWithoutPostInput.ts │ │ │ │ │ ├── CommentUpdateWithoutPostInput.ts │ │ │ │ │ ├── CommentUpsertWithWhereUniqueWithoutPostInput.ts │ │ │ │ │ ├── CommentWhereInput.ts │ │ │ │ │ ├── CommentWhereUniqueInput.ts │ │ │ │ │ ├── IntNullableFilter.ts │ │ │ │ │ ├── IntNullableWithAggregatesFilter.ts │ │ │ │ │ ├── NestedFloatNullableFilter.ts │ │ │ │ │ ├── NestedIntFilter.ts │ │ │ │ │ ├── NestedIntNullableFilter.ts │ │ │ │ │ ├── NestedIntNullableWithAggregatesFilter.ts │ │ │ │ │ ├── NestedStringFilter.ts │ │ │ │ │ ├── NestedStringWithAggregatesFilter.ts │ │ │ │ │ ├── NullableIntFieldUpdateOperationsInput.ts │ │ │ │ │ ├── PostCountOrderByAggregateInput.ts │ │ │ │ │ ├── PostCreateInput.ts │ │ │ │ │ ├── PostCreateManyAuthorInput.ts │ │ │ │ │ ├── PostCreateManyAuthorInputEnvelope.ts │ │ │ │ │ ├── PostCreateManyInput.ts │ │ │ │ │ ├── PostCreateNestedManyWithoutAuthorInput.ts │ │ │ │ │ ├── PostCreateNestedOneWithoutCommentsInput.ts │ │ │ │ │ ├── PostCreateOrConnectWithoutAuthorInput.ts │ │ │ │ │ ├── PostCreateOrConnectWithoutCommentsInput.ts │ │ │ │ │ ├── PostCreateWithoutAuthorInput.ts │ │ │ │ │ ├── PostCreateWithoutCommentsInput.ts │ │ │ │ │ ├── PostListRelationFilter.ts │ │ │ │ │ ├── PostMaxOrderByAggregateInput.ts │ │ │ │ │ ├── PostMinOrderByAggregateInput.ts │ │ │ │ │ ├── PostOrderByRelationAggregateInput.ts │ │ │ │ │ ├── PostOrderByWithAggregationInput.ts │ │ │ │ │ ├── PostOrderByWithRelationInput.ts │ │ │ │ │ ├── PostRelationFilter.ts │ │ │ │ │ ├── PostScalarWhereInput.ts │ │ │ │ │ ├── PostScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── PostUpdateInput.ts │ │ │ │ │ ├── PostUpdateManyMutationInput.ts │ │ │ │ │ ├── PostUpdateManyWithWhereWithoutAuthorInput.ts │ │ │ │ │ ├── PostUpdateManyWithoutAuthorNestedInput.ts │ │ │ │ │ ├── PostUpdateOneRequiredWithoutCommentsNestedInput.ts │ │ │ │ │ ├── PostUpdateToOneWithWhereWithoutCommentsInput.ts │ │ │ │ │ ├── PostUpdateWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ │ ├── PostUpdateWithoutAuthorInput.ts │ │ │ │ │ ├── PostUpdateWithoutCommentsInput.ts │ │ │ │ │ ├── PostUpsertWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ │ ├── PostUpsertWithoutCommentsInput.ts │ │ │ │ │ ├── PostWhereInput.ts │ │ │ │ │ ├── PostWhereUniqueInput.ts │ │ │ │ │ ├── StringFieldUpdateOperationsInput.ts │ │ │ │ │ ├── StringFilter.ts │ │ │ │ │ ├── StringWithAggregatesFilter.ts │ │ │ │ │ ├── UserAddressCompositeFilter.ts │ │ │ │ │ ├── UserAddressCreateEnvelopeInput.ts │ │ │ │ │ ├── UserAddressCreateInput.ts │ │ │ │ │ ├── UserAddressObjectEqualityInput.ts │ │ │ │ │ ├── UserAddressOrderByInput.ts │ │ │ │ │ ├── UserAddressUpdateEnvelopeInput.ts │ │ │ │ │ ├── UserAddressUpdateInput.ts │ │ │ │ │ ├── UserAddressWhereInput.ts │ │ │ │ │ ├── UserAvgOrderByAggregateInput.ts │ │ │ │ │ ├── UserCountOrderByAggregateInput.ts │ │ │ │ │ ├── UserCreateInput.ts │ │ │ │ │ ├── UserCreateManyInput.ts │ │ │ │ │ ├── UserCreateNestedOneWithoutPostsInput.ts │ │ │ │ │ ├── UserCreateOrConnectWithoutPostsInput.ts │ │ │ │ │ ├── UserCreateWithoutPostsInput.ts │ │ │ │ │ ├── UserMaxOrderByAggregateInput.ts │ │ │ │ │ ├── UserMinOrderByAggregateInput.ts │ │ │ │ │ ├── UserOrderByWithAggregationInput.ts │ │ │ │ │ ├── UserOrderByWithRelationInput.ts │ │ │ │ │ ├── UserRelationFilter.ts │ │ │ │ │ ├── UserScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── UserSumOrderByAggregateInput.ts │ │ │ │ │ ├── UserUpdateInput.ts │ │ │ │ │ ├── UserUpdateManyMutationInput.ts │ │ │ │ │ ├── UserUpdateOneRequiredWithoutPostsNestedInput.ts │ │ │ │ │ ├── UserUpdateToOneWithWhereWithoutPostsInput.ts │ │ │ │ │ ├── UserUpdateWithoutPostsInput.ts │ │ │ │ │ ├── UserUpsertWithoutPostsInput.ts │ │ │ │ │ ├── UserWhereInput.ts │ │ │ │ │ ├── UserWhereUniqueInput.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── outputs │ │ │ │ │ ├── AffectedRowsOutput.ts │ │ │ │ │ ├── AggregateComment.ts │ │ │ │ │ ├── AggregatePost.ts │ │ │ │ │ ├── AggregateUser.ts │ │ │ │ │ ├── CommentCountAggregate.ts │ │ │ │ │ ├── CommentGroupBy.ts │ │ │ │ │ ├── CommentMaxAggregate.ts │ │ │ │ │ ├── CommentMinAggregate.ts │ │ │ │ │ ├── PostCount.ts │ │ │ │ │ ├── PostCountAggregate.ts │ │ │ │ │ ├── PostGroupBy.ts │ │ │ │ │ ├── PostMaxAggregate.ts │ │ │ │ │ ├── PostMinAggregate.ts │ │ │ │ │ ├── UserAvgAggregate.ts │ │ │ │ │ ├── UserCount.ts │ │ │ │ │ ├── UserCountAggregate.ts │ │ │ │ │ ├── UserGroupBy.ts │ │ │ │ │ ├── UserMaxAggregate.ts │ │ │ │ │ ├── UserMinAggregate.ts │ │ │ │ │ ├── UserSumAggregate.ts │ │ │ │ │ ├── args │ │ │ │ │ │ ├── PostCountCommentsArgs.ts │ │ │ │ │ │ ├── UserCountPostsArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ └── relations │ │ │ │ │ ├── Comment │ │ │ │ │ └── CommentRelationsResolver.ts │ │ │ │ │ ├── Post │ │ │ │ │ ├── PostRelationsResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── PostCommentsArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── User │ │ │ │ │ ├── UserRelationsResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── UserPostsArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── args.index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── resolvers.index.ts │ │ │ │ └── scalars.ts │ │ ├── schema.prisma │ │ └── seed.ts │ ├── query.graphql │ └── tsconfig.json ├── postgres │ ├── debug.ts │ ├── generated-schema.graphql │ ├── index.ts │ ├── package-lock.json │ ├── package.json │ ├── prisma │ │ ├── .env.template │ │ ├── generated │ │ │ ├── client │ │ │ │ ├── default.d.ts │ │ │ │ ├── default.js │ │ │ │ ├── edge.d.ts │ │ │ │ ├── edge.js │ │ │ │ ├── index-browser.js │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── runtime │ │ │ │ │ ├── Dataloader.d.ts │ │ │ │ │ ├── browser-chalk.d.ts │ │ │ │ │ ├── browser-terminal-link.d.ts │ │ │ │ │ ├── browser.d.ts │ │ │ │ │ ├── dmmf-types.d.ts │ │ │ │ │ ├── dmmf.d.ts │ │ │ │ │ ├── edge-esm.js │ │ │ │ │ ├── edge.js │ │ │ │ │ ├── error-types.d.ts │ │ │ │ │ ├── esm │ │ │ │ │ │ ├── index-browser.mjs │ │ │ │ │ │ ├── index.mjs │ │ │ │ │ │ └── proxy.mjs │ │ │ │ │ ├── externalToInternalDmmf.d.ts │ │ │ │ │ ├── getLogLevel.d.ts │ │ │ │ │ ├── getPrismaClient.d.ts │ │ │ │ │ ├── highlight │ │ │ │ │ │ ├── highlight.d.ts │ │ │ │ │ │ ├── languages │ │ │ │ │ │ │ ├── dml.d.ts │ │ │ │ │ │ │ └── sql.d.ts │ │ │ │ │ │ ├── prism.d.ts │ │ │ │ │ │ ├── theme.d.ts │ │ │ │ │ │ └── types.d.ts │ │ │ │ │ ├── index-browser.d.ts │ │ │ │ │ ├── index-browser.js │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── index.js │ │ │ │ │ ├── index.js.map │ │ │ │ │ ├── library.d.ts │ │ │ │ │ ├── library.js │ │ │ │ │ ├── mergeBy.d.ts │ │ │ │ │ ├── proxy.d.ts │ │ │ │ │ ├── proxy.js │ │ │ │ │ ├── query.d.ts │ │ │ │ │ ├── react-native.js │ │ │ │ │ ├── transformDmmf.d.ts │ │ │ │ │ ├── utils │ │ │ │ │ │ ├── common.d.ts │ │ │ │ │ │ ├── dedent.d.ts │ │ │ │ │ │ ├── deep-extend.d.ts │ │ │ │ │ │ ├── deep-set.d.ts │ │ │ │ │ │ ├── filterObject.d.ts │ │ │ │ │ │ ├── flatMap.d.ts │ │ │ │ │ │ ├── omit.d.ts │ │ │ │ │ │ ├── printDatasources.d.ts │ │ │ │ │ │ ├── printJsonErrors.d.ts │ │ │ │ │ │ ├── printStack.d.ts │ │ │ │ │ │ ├── serializeRawParameters.d.ts │ │ │ │ │ │ ├── stringifyObject.d.ts │ │ │ │ │ │ └── uniqueBy.d.ts │ │ │ │ │ ├── visit.d.ts │ │ │ │ │ └── wasm.js │ │ │ │ ├── schema.prisma │ │ │ │ ├── wasm.d.ts │ │ │ │ └── wasm.js │ │ │ └── type-graphql │ │ │ │ ├── dmmf.json │ │ │ │ ├── enhance.ts │ │ │ │ ├── enums │ │ │ │ ├── CategoryOrderByRelevanceFieldEnum.ts │ │ │ │ ├── CategoryScalarFieldEnum.ts │ │ │ │ ├── CreatorOrderByRelevanceFieldEnum.ts │ │ │ │ ├── CreatorScalarFieldEnum.ts │ │ │ │ ├── DirectorOrderByRelevanceFieldEnum.ts │ │ │ │ ├── DirectorScalarFieldEnum.ts │ │ │ │ ├── EquipmentOrderByRelevanceFieldEnum.ts │ │ │ │ ├── EquipmentScalarFieldEnum.ts │ │ │ │ ├── HiddenOrderByRelevanceFieldEnum.ts │ │ │ │ ├── HiddenScalarFieldEnum.ts │ │ │ │ ├── JsonNullValueFilter.ts │ │ │ │ ├── JsonNullValueInput.ts │ │ │ │ ├── MainUserOrderByRelevanceFieldEnum.ts │ │ │ │ ├── MainUserScalarFieldEnum.ts │ │ │ │ ├── MovieOrderByRelevanceFieldEnum.ts │ │ │ │ ├── MovieScalarFieldEnum.ts │ │ │ │ ├── NativeTypeModelScalarFieldEnum.ts │ │ │ │ ├── NullsOrder.ts │ │ │ │ ├── PatientOrderByRelevanceFieldEnum.ts │ │ │ │ ├── PatientScalarFieldEnum.ts │ │ │ │ ├── PostKind.ts │ │ │ │ ├── PostOrderByRelevanceFieldEnum.ts │ │ │ │ ├── PostScalarFieldEnum.ts │ │ │ │ ├── ProblemOrderByRelevanceFieldEnum.ts │ │ │ │ ├── ProblemScalarFieldEnum.ts │ │ │ │ ├── QueryMode.ts │ │ │ │ ├── Role.ts │ │ │ │ ├── SortOrder.ts │ │ │ │ ├── TransactionIsolationLevel.ts │ │ │ │ └── index.ts │ │ │ │ ├── helpers.ts │ │ │ │ ├── index.ts │ │ │ │ ├── models │ │ │ │ ├── Category.ts │ │ │ │ ├── Creator.ts │ │ │ │ ├── Director.ts │ │ │ │ ├── Equipment.ts │ │ │ │ ├── Hidden.ts │ │ │ │ ├── MainUser.ts │ │ │ │ ├── Movie.ts │ │ │ │ ├── NativeTypeModel.ts │ │ │ │ ├── Patient.ts │ │ │ │ ├── Post.ts │ │ │ │ ├── Problem.ts │ │ │ │ └── index.ts │ │ │ │ ├── prisma-client-dmmf.json │ │ │ │ ├── resolvers │ │ │ │ ├── crud │ │ │ │ │ ├── Category │ │ │ │ │ │ ├── AggregateCategoryResolver.ts │ │ │ │ │ │ ├── CategoryCrudResolver.ts │ │ │ │ │ │ ├── CreateManyAndReturnCategoryResolver.ts │ │ │ │ │ │ ├── CreateManyCategoryResolver.ts │ │ │ │ │ │ ├── CreateOneCategoryResolver.ts │ │ │ │ │ │ ├── DeleteManyCategoryResolver.ts │ │ │ │ │ │ ├── DeleteOneCategoryResolver.ts │ │ │ │ │ │ ├── FindFirstCategoryOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstCategoryResolver.ts │ │ │ │ │ │ ├── FindManyCategoryResolver.ts │ │ │ │ │ │ ├── FindUniqueCategoryOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniqueCategoryResolver.ts │ │ │ │ │ │ ├── GroupByCategoryResolver.ts │ │ │ │ │ │ ├── UpdateManyCategoryResolver.ts │ │ │ │ │ │ ├── UpdateOneCategoryResolver.ts │ │ │ │ │ │ ├── UpsertOneCategoryResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregateCategoryArgs.ts │ │ │ │ │ │ │ ├── CreateManyAndReturnCategoryArgs.ts │ │ │ │ │ │ │ ├── CreateManyCategoryArgs.ts │ │ │ │ │ │ │ ├── CreateOneCategoryArgs.ts │ │ │ │ │ │ │ ├── DeleteManyCategoryArgs.ts │ │ │ │ │ │ │ ├── DeleteOneCategoryArgs.ts │ │ │ │ │ │ │ ├── FindFirstCategoryArgs.ts │ │ │ │ │ │ │ ├── FindFirstCategoryOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyCategoryArgs.ts │ │ │ │ │ │ │ ├── FindUniqueCategoryArgs.ts │ │ │ │ │ │ │ ├── FindUniqueCategoryOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByCategoryArgs.ts │ │ │ │ │ │ │ ├── UpdateManyCategoryArgs.ts │ │ │ │ │ │ │ ├── UpdateOneCategoryArgs.ts │ │ │ │ │ │ │ ├── UpsertOneCategoryArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Creator │ │ │ │ │ │ ├── AggregateCreatorResolver.ts │ │ │ │ │ │ ├── CreateManyAndReturnCreatorResolver.ts │ │ │ │ │ │ ├── CreateManyCreatorResolver.ts │ │ │ │ │ │ ├── CreateOneCreatorResolver.ts │ │ │ │ │ │ ├── CreatorCrudResolver.ts │ │ │ │ │ │ ├── DeleteManyCreatorResolver.ts │ │ │ │ │ │ ├── DeleteOneCreatorResolver.ts │ │ │ │ │ │ ├── FindFirstCreatorOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstCreatorResolver.ts │ │ │ │ │ │ ├── FindManyCreatorResolver.ts │ │ │ │ │ │ ├── FindUniqueCreatorOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniqueCreatorResolver.ts │ │ │ │ │ │ ├── GroupByCreatorResolver.ts │ │ │ │ │ │ ├── UpdateManyCreatorResolver.ts │ │ │ │ │ │ ├── UpdateOneCreatorResolver.ts │ │ │ │ │ │ ├── UpsertOneCreatorResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregateCreatorArgs.ts │ │ │ │ │ │ │ ├── CreateManyAndReturnCreatorArgs.ts │ │ │ │ │ │ │ ├── CreateManyCreatorArgs.ts │ │ │ │ │ │ │ ├── CreateOneCreatorArgs.ts │ │ │ │ │ │ │ ├── DeleteManyCreatorArgs.ts │ │ │ │ │ │ │ ├── DeleteOneCreatorArgs.ts │ │ │ │ │ │ │ ├── FindFirstCreatorArgs.ts │ │ │ │ │ │ │ ├── FindFirstCreatorOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyCreatorArgs.ts │ │ │ │ │ │ │ ├── FindUniqueCreatorArgs.ts │ │ │ │ │ │ │ ├── FindUniqueCreatorOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByCreatorArgs.ts │ │ │ │ │ │ │ ├── UpdateManyCreatorArgs.ts │ │ │ │ │ │ │ ├── UpdateOneCreatorArgs.ts │ │ │ │ │ │ │ ├── UpsertOneCreatorArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Director │ │ │ │ │ │ ├── AggregateDirectorResolver.ts │ │ │ │ │ │ ├── CreateManyAndReturnDirectorResolver.ts │ │ │ │ │ │ ├── CreateManyDirectorResolver.ts │ │ │ │ │ │ ├── CreateOneDirectorResolver.ts │ │ │ │ │ │ ├── DeleteManyDirectorResolver.ts │ │ │ │ │ │ ├── DeleteOneDirectorResolver.ts │ │ │ │ │ │ ├── DirectorCrudResolver.ts │ │ │ │ │ │ ├── FindFirstDirectorOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstDirectorResolver.ts │ │ │ │ │ │ ├── FindManyDirectorResolver.ts │ │ │ │ │ │ ├── FindUniqueDirectorOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniqueDirectorResolver.ts │ │ │ │ │ │ ├── GroupByDirectorResolver.ts │ │ │ │ │ │ ├── UpdateManyDirectorResolver.ts │ │ │ │ │ │ ├── UpdateOneDirectorResolver.ts │ │ │ │ │ │ ├── UpsertOneDirectorResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregateDirectorArgs.ts │ │ │ │ │ │ │ ├── CreateManyAndReturnDirectorArgs.ts │ │ │ │ │ │ │ ├── CreateManyDirectorArgs.ts │ │ │ │ │ │ │ ├── CreateOneDirectorArgs.ts │ │ │ │ │ │ │ ├── DeleteManyDirectorArgs.ts │ │ │ │ │ │ │ ├── DeleteOneDirectorArgs.ts │ │ │ │ │ │ │ ├── FindFirstDirectorArgs.ts │ │ │ │ │ │ │ ├── FindFirstDirectorOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyDirectorArgs.ts │ │ │ │ │ │ │ ├── FindUniqueDirectorArgs.ts │ │ │ │ │ │ │ ├── FindUniqueDirectorOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByDirectorArgs.ts │ │ │ │ │ │ │ ├── UpdateManyDirectorArgs.ts │ │ │ │ │ │ │ ├── UpdateOneDirectorArgs.ts │ │ │ │ │ │ │ ├── UpsertOneDirectorArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Equipment │ │ │ │ │ │ ├── AggregateEquipmentResolver.ts │ │ │ │ │ │ ├── CreateManyAndReturnEquipmentResolver.ts │ │ │ │ │ │ ├── CreateManyEquipmentResolver.ts │ │ │ │ │ │ ├── CreateOneEquipmentResolver.ts │ │ │ │ │ │ ├── DeleteManyEquipmentResolver.ts │ │ │ │ │ │ ├── DeleteOneEquipmentResolver.ts │ │ │ │ │ │ ├── EquipmentCrudResolver.ts │ │ │ │ │ │ ├── FindFirstEquipmentOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstEquipmentResolver.ts │ │ │ │ │ │ ├── FindManyEquipmentResolver.ts │ │ │ │ │ │ ├── FindUniqueEquipmentOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniqueEquipmentResolver.ts │ │ │ │ │ │ ├── GroupByEquipmentResolver.ts │ │ │ │ │ │ ├── UpdateManyEquipmentResolver.ts │ │ │ │ │ │ ├── UpdateOneEquipmentResolver.ts │ │ │ │ │ │ ├── UpsertOneEquipmentResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregateEquipmentArgs.ts │ │ │ │ │ │ │ ├── CreateManyAndReturnEquipmentArgs.ts │ │ │ │ │ │ │ ├── CreateManyEquipmentArgs.ts │ │ │ │ │ │ │ ├── CreateOneEquipmentArgs.ts │ │ │ │ │ │ │ ├── DeleteManyEquipmentArgs.ts │ │ │ │ │ │ │ ├── DeleteOneEquipmentArgs.ts │ │ │ │ │ │ │ ├── FindFirstEquipmentArgs.ts │ │ │ │ │ │ │ ├── FindFirstEquipmentOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyEquipmentArgs.ts │ │ │ │ │ │ │ ├── FindUniqueEquipmentArgs.ts │ │ │ │ │ │ │ ├── FindUniqueEquipmentOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByEquipmentArgs.ts │ │ │ │ │ │ │ ├── UpdateManyEquipmentArgs.ts │ │ │ │ │ │ │ ├── UpdateOneEquipmentArgs.ts │ │ │ │ │ │ │ ├── UpsertOneEquipmentArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Hidden │ │ │ │ │ │ ├── AggregateHiddenResolver.ts │ │ │ │ │ │ ├── CreateManyAndReturnHiddenResolver.ts │ │ │ │ │ │ ├── CreateManyHiddenResolver.ts │ │ │ │ │ │ ├── CreateOneHiddenResolver.ts │ │ │ │ │ │ ├── DeleteManyHiddenResolver.ts │ │ │ │ │ │ ├── DeleteOneHiddenResolver.ts │ │ │ │ │ │ ├── FindFirstHiddenOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstHiddenResolver.ts │ │ │ │ │ │ ├── FindManyHiddenResolver.ts │ │ │ │ │ │ ├── FindUniqueHiddenOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniqueHiddenResolver.ts │ │ │ │ │ │ ├── GroupByHiddenResolver.ts │ │ │ │ │ │ ├── HiddenCrudResolver.ts │ │ │ │ │ │ ├── UpdateManyHiddenResolver.ts │ │ │ │ │ │ ├── UpdateOneHiddenResolver.ts │ │ │ │ │ │ ├── UpsertOneHiddenResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregateHiddenArgs.ts │ │ │ │ │ │ │ ├── CreateManyAndReturnHiddenArgs.ts │ │ │ │ │ │ │ ├── CreateManyHiddenArgs.ts │ │ │ │ │ │ │ ├── CreateOneHiddenArgs.ts │ │ │ │ │ │ │ ├── DeleteManyHiddenArgs.ts │ │ │ │ │ │ │ ├── DeleteOneHiddenArgs.ts │ │ │ │ │ │ │ ├── FindFirstHiddenArgs.ts │ │ │ │ │ │ │ ├── FindFirstHiddenOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyHiddenArgs.ts │ │ │ │ │ │ │ ├── FindUniqueHiddenArgs.ts │ │ │ │ │ │ │ ├── FindUniqueHiddenOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByHiddenArgs.ts │ │ │ │ │ │ │ ├── UpdateManyHiddenArgs.ts │ │ │ │ │ │ │ ├── UpdateOneHiddenArgs.ts │ │ │ │ │ │ │ ├── UpsertOneHiddenArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── MainUser │ │ │ │ │ │ ├── AggregateMainUserResolver.ts │ │ │ │ │ │ ├── CreateManyAndReturnMainUserResolver.ts │ │ │ │ │ │ ├── CreateManyMainUserResolver.ts │ │ │ │ │ │ ├── CreateOneMainUserResolver.ts │ │ │ │ │ │ ├── DeleteManyMainUserResolver.ts │ │ │ │ │ │ ├── DeleteOneMainUserResolver.ts │ │ │ │ │ │ ├── FindFirstMainUserOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstMainUserResolver.ts │ │ │ │ │ │ ├── FindManyMainUserResolver.ts │ │ │ │ │ │ ├── FindUniqueMainUserOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniqueMainUserResolver.ts │ │ │ │ │ │ ├── GroupByMainUserResolver.ts │ │ │ │ │ │ ├── MainUserCrudResolver.ts │ │ │ │ │ │ ├── UpdateManyMainUserResolver.ts │ │ │ │ │ │ ├── UpdateOneMainUserResolver.ts │ │ │ │ │ │ ├── UpsertOneMainUserResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregateMainUserArgs.ts │ │ │ │ │ │ │ ├── CreateManyAndReturnMainUserArgs.ts │ │ │ │ │ │ │ ├── CreateManyMainUserArgs.ts │ │ │ │ │ │ │ ├── CreateOneMainUserArgs.ts │ │ │ │ │ │ │ ├── DeleteManyMainUserArgs.ts │ │ │ │ │ │ │ ├── DeleteOneMainUserArgs.ts │ │ │ │ │ │ │ ├── FindFirstMainUserArgs.ts │ │ │ │ │ │ │ ├── FindFirstMainUserOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyMainUserArgs.ts │ │ │ │ │ │ │ ├── FindUniqueMainUserArgs.ts │ │ │ │ │ │ │ ├── FindUniqueMainUserOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByMainUserArgs.ts │ │ │ │ │ │ │ ├── UpdateManyMainUserArgs.ts │ │ │ │ │ │ │ ├── UpdateOneMainUserArgs.ts │ │ │ │ │ │ │ ├── UpsertOneMainUserArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Movie │ │ │ │ │ │ ├── AggregateMovieResolver.ts │ │ │ │ │ │ ├── CreateManyAndReturnMovieResolver.ts │ │ │ │ │ │ ├── CreateManyMovieResolver.ts │ │ │ │ │ │ ├── CreateOneMovieResolver.ts │ │ │ │ │ │ ├── DeleteManyMovieResolver.ts │ │ │ │ │ │ ├── DeleteOneMovieResolver.ts │ │ │ │ │ │ ├── FindFirstMovieOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstMovieResolver.ts │ │ │ │ │ │ ├── FindManyMovieResolver.ts │ │ │ │ │ │ ├── FindUniqueMovieOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniqueMovieResolver.ts │ │ │ │ │ │ ├── GroupByMovieResolver.ts │ │ │ │ │ │ ├── MovieCrudResolver.ts │ │ │ │ │ │ ├── UpdateManyMovieResolver.ts │ │ │ │ │ │ ├── UpdateOneMovieResolver.ts │ │ │ │ │ │ ├── UpsertOneMovieResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregateMovieArgs.ts │ │ │ │ │ │ │ ├── CreateManyAndReturnMovieArgs.ts │ │ │ │ │ │ │ ├── CreateManyMovieArgs.ts │ │ │ │ │ │ │ ├── CreateOneMovieArgs.ts │ │ │ │ │ │ │ ├── DeleteManyMovieArgs.ts │ │ │ │ │ │ │ ├── DeleteOneMovieArgs.ts │ │ │ │ │ │ │ ├── FindFirstMovieArgs.ts │ │ │ │ │ │ │ ├── FindFirstMovieOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyMovieArgs.ts │ │ │ │ │ │ │ ├── FindUniqueMovieArgs.ts │ │ │ │ │ │ │ ├── FindUniqueMovieOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByMovieArgs.ts │ │ │ │ │ │ │ ├── UpdateManyMovieArgs.ts │ │ │ │ │ │ │ ├── UpdateOneMovieArgs.ts │ │ │ │ │ │ │ ├── UpsertOneMovieArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── NativeTypeModel │ │ │ │ │ │ ├── AggregateNativeTypeModelResolver.ts │ │ │ │ │ │ ├── CreateManyAndReturnNativeTypeModelResolver.ts │ │ │ │ │ │ ├── CreateManyNativeTypeModelResolver.ts │ │ │ │ │ │ ├── CreateOneNativeTypeModelResolver.ts │ │ │ │ │ │ ├── DeleteManyNativeTypeModelResolver.ts │ │ │ │ │ │ ├── DeleteOneNativeTypeModelResolver.ts │ │ │ │ │ │ ├── FindFirstNativeTypeModelOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstNativeTypeModelResolver.ts │ │ │ │ │ │ ├── FindManyNativeTypeModelResolver.ts │ │ │ │ │ │ ├── FindUniqueNativeTypeModelOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniqueNativeTypeModelResolver.ts │ │ │ │ │ │ ├── GroupByNativeTypeModelResolver.ts │ │ │ │ │ │ ├── NativeTypeModelCrudResolver.ts │ │ │ │ │ │ ├── UpdateManyNativeTypeModelResolver.ts │ │ │ │ │ │ ├── UpdateOneNativeTypeModelResolver.ts │ │ │ │ │ │ ├── UpsertOneNativeTypeModelResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregateNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── CreateManyAndReturnNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── CreateManyNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── CreateOneNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── DeleteManyNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── DeleteOneNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── FindFirstNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── FindFirstNativeTypeModelOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── FindUniqueNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── FindUniqueNativeTypeModelOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── UpdateManyNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── UpdateOneNativeTypeModelArgs.ts │ │ │ │ │ │ │ ├── UpsertOneNativeTypeModelArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Patient │ │ │ │ │ │ ├── AggregatePatientResolver.ts │ │ │ │ │ │ ├── CreateManyAndReturnPatientResolver.ts │ │ │ │ │ │ ├── CreateManyPatientResolver.ts │ │ │ │ │ │ ├── CreateOnePatientResolver.ts │ │ │ │ │ │ ├── DeleteManyPatientResolver.ts │ │ │ │ │ │ ├── DeleteOnePatientResolver.ts │ │ │ │ │ │ ├── FindFirstPatientOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstPatientResolver.ts │ │ │ │ │ │ ├── FindManyPatientResolver.ts │ │ │ │ │ │ ├── FindUniquePatientOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniquePatientResolver.ts │ │ │ │ │ │ ├── GroupByPatientResolver.ts │ │ │ │ │ │ ├── PatientCrudResolver.ts │ │ │ │ │ │ ├── UpdateManyPatientResolver.ts │ │ │ │ │ │ ├── UpdateOnePatientResolver.ts │ │ │ │ │ │ ├── UpsertOnePatientResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregatePatientArgs.ts │ │ │ │ │ │ │ ├── CreateManyAndReturnPatientArgs.ts │ │ │ │ │ │ │ ├── CreateManyPatientArgs.ts │ │ │ │ │ │ │ ├── CreateOnePatientArgs.ts │ │ │ │ │ │ │ ├── DeleteManyPatientArgs.ts │ │ │ │ │ │ │ ├── DeleteOnePatientArgs.ts │ │ │ │ │ │ │ ├── FindFirstPatientArgs.ts │ │ │ │ │ │ │ ├── FindFirstPatientOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyPatientArgs.ts │ │ │ │ │ │ │ ├── FindUniquePatientArgs.ts │ │ │ │ │ │ │ ├── FindUniquePatientOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByPatientArgs.ts │ │ │ │ │ │ │ ├── UpdateManyPatientArgs.ts │ │ │ │ │ │ │ ├── UpdateOnePatientArgs.ts │ │ │ │ │ │ │ ├── UpsertOnePatientArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Post │ │ │ │ │ │ ├── AggregatePostResolver.ts │ │ │ │ │ │ ├── CreateManyAndReturnPostResolver.ts │ │ │ │ │ │ ├── CreateManyPostResolver.ts │ │ │ │ │ │ ├── CreateOnePostResolver.ts │ │ │ │ │ │ ├── DeleteManyPostResolver.ts │ │ │ │ │ │ ├── DeleteOnePostResolver.ts │ │ │ │ │ │ ├── FindFirstPostOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstPostResolver.ts │ │ │ │ │ │ ├── FindManyPostResolver.ts │ │ │ │ │ │ ├── FindUniquePostOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniquePostResolver.ts │ │ │ │ │ │ ├── GroupByPostResolver.ts │ │ │ │ │ │ ├── PostCrudResolver.ts │ │ │ │ │ │ ├── UpdateManyPostResolver.ts │ │ │ │ │ │ ├── UpdateOnePostResolver.ts │ │ │ │ │ │ ├── UpsertOnePostResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregatePostArgs.ts │ │ │ │ │ │ │ ├── CreateManyAndReturnPostArgs.ts │ │ │ │ │ │ │ ├── CreateManyPostArgs.ts │ │ │ │ │ │ │ ├── CreateOnePostArgs.ts │ │ │ │ │ │ │ ├── DeleteManyPostArgs.ts │ │ │ │ │ │ │ ├── DeleteOnePostArgs.ts │ │ │ │ │ │ │ ├── FindFirstPostArgs.ts │ │ │ │ │ │ │ ├── FindFirstPostOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyPostArgs.ts │ │ │ │ │ │ │ ├── FindUniquePostArgs.ts │ │ │ │ │ │ │ ├── FindUniquePostOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByPostArgs.ts │ │ │ │ │ │ │ ├── UpdateManyPostArgs.ts │ │ │ │ │ │ │ ├── UpdateOnePostArgs.ts │ │ │ │ │ │ │ ├── UpsertOnePostArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Problem │ │ │ │ │ │ ├── AggregateProblemResolver.ts │ │ │ │ │ │ ├── CreateManyAndReturnProblemResolver.ts │ │ │ │ │ │ ├── CreateManyProblemResolver.ts │ │ │ │ │ │ ├── CreateOneProblemResolver.ts │ │ │ │ │ │ ├── DeleteManyProblemResolver.ts │ │ │ │ │ │ ├── DeleteOneProblemResolver.ts │ │ │ │ │ │ ├── FindFirstProblemOrThrowResolver.ts │ │ │ │ │ │ ├── FindFirstProblemResolver.ts │ │ │ │ │ │ ├── FindManyProblemResolver.ts │ │ │ │ │ │ ├── FindUniqueProblemOrThrowResolver.ts │ │ │ │ │ │ ├── FindUniqueProblemResolver.ts │ │ │ │ │ │ ├── GroupByProblemResolver.ts │ │ │ │ │ │ ├── ProblemCrudResolver.ts │ │ │ │ │ │ ├── UpdateManyProblemResolver.ts │ │ │ │ │ │ ├── UpdateOneProblemResolver.ts │ │ │ │ │ │ ├── UpsertOneProblemResolver.ts │ │ │ │ │ │ └── args │ │ │ │ │ │ │ ├── AggregateProblemArgs.ts │ │ │ │ │ │ │ ├── CreateManyAndReturnProblemArgs.ts │ │ │ │ │ │ │ ├── CreateManyProblemArgs.ts │ │ │ │ │ │ │ ├── CreateOneProblemArgs.ts │ │ │ │ │ │ │ ├── DeleteManyProblemArgs.ts │ │ │ │ │ │ │ ├── DeleteOneProblemArgs.ts │ │ │ │ │ │ │ ├── FindFirstProblemArgs.ts │ │ │ │ │ │ │ ├── FindFirstProblemOrThrowArgs.ts │ │ │ │ │ │ │ ├── FindManyProblemArgs.ts │ │ │ │ │ │ │ ├── FindUniqueProblemArgs.ts │ │ │ │ │ │ │ ├── FindUniqueProblemOrThrowArgs.ts │ │ │ │ │ │ │ ├── GroupByProblemArgs.ts │ │ │ │ │ │ │ ├── UpdateManyProblemArgs.ts │ │ │ │ │ │ │ ├── UpdateOneProblemArgs.ts │ │ │ │ │ │ │ ├── UpsertOneProblemArgs.ts │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── args.index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── resolvers-actions.index.ts │ │ │ │ │ └── resolvers-crud.index.ts │ │ │ │ ├── inputs │ │ │ │ │ ├── BigIntNullableFilter.ts │ │ │ │ │ ├── BigIntNullableWithAggregatesFilter.ts │ │ │ │ │ ├── BoolFieldUpdateOperationsInput.ts │ │ │ │ │ ├── BoolFilter.ts │ │ │ │ │ ├── BoolWithAggregatesFilter.ts │ │ │ │ │ ├── BytesNullableFilter.ts │ │ │ │ │ ├── BytesNullableWithAggregatesFilter.ts │ │ │ │ │ ├── CategoryAvgOrderByAggregateInput.ts │ │ │ │ │ ├── CategoryCategoryCompoundUniqueCompoundUniqueInput.ts │ │ │ │ │ ├── CategoryCountOrderByAggregateInput.ts │ │ │ │ │ ├── CategoryCreateInput.ts │ │ │ │ │ ├── CategoryCreateManyInput.ts │ │ │ │ │ ├── CategoryMaxOrderByAggregateInput.ts │ │ │ │ │ ├── CategoryMinOrderByAggregateInput.ts │ │ │ │ │ ├── CategoryOrderByRelevanceInput.ts │ │ │ │ │ ├── CategoryOrderByWithAggregationInput.ts │ │ │ │ │ ├── CategoryOrderByWithRelationInput.ts │ │ │ │ │ ├── CategoryScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── CategorySumOrderByAggregateInput.ts │ │ │ │ │ ├── CategoryUpdateInput.ts │ │ │ │ │ ├── CategoryUpdateManyMutationInput.ts │ │ │ │ │ ├── CategoryWhereInput.ts │ │ │ │ │ ├── CategoryWhereUniqueInput.ts │ │ │ │ │ ├── CreatorAvgOrderByAggregateInput.ts │ │ │ │ │ ├── CreatorCountOrderByAggregateInput.ts │ │ │ │ │ ├── CreatorCreateInput.ts │ │ │ │ │ ├── CreatorCreateManyInput.ts │ │ │ │ │ ├── CreatorCreateNestedManyWithoutLikesInput.ts │ │ │ │ │ ├── CreatorCreateNestedOneWithoutProblemsInput.ts │ │ │ │ │ ├── CreatorCreateOrConnectWithoutLikesInput.ts │ │ │ │ │ ├── CreatorCreateOrConnectWithoutProblemsInput.ts │ │ │ │ │ ├── CreatorCreateWithoutLikesInput.ts │ │ │ │ │ ├── CreatorCreateWithoutProblemsInput.ts │ │ │ │ │ ├── CreatorListRelationFilter.ts │ │ │ │ │ ├── CreatorMaxOrderByAggregateInput.ts │ │ │ │ │ ├── CreatorMinOrderByAggregateInput.ts │ │ │ │ │ ├── CreatorNullableRelationFilter.ts │ │ │ │ │ ├── CreatorOrderByRelationAggregateInput.ts │ │ │ │ │ ├── CreatorOrderByRelevanceInput.ts │ │ │ │ │ ├── CreatorOrderByWithAggregationInput.ts │ │ │ │ │ ├── CreatorOrderByWithRelationInput.ts │ │ │ │ │ ├── CreatorScalarWhereInput.ts │ │ │ │ │ ├── CreatorScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── CreatorSumOrderByAggregateInput.ts │ │ │ │ │ ├── CreatorUpdateInput.ts │ │ │ │ │ ├── CreatorUpdateManyMutationInput.ts │ │ │ │ │ ├── CreatorUpdateManyWithWhereWithoutLikesInput.ts │ │ │ │ │ ├── CreatorUpdateManyWithoutLikesNestedInput.ts │ │ │ │ │ ├── CreatorUpdateOneWithoutProblemsNestedInput.ts │ │ │ │ │ ├── CreatorUpdateToOneWithWhereWithoutProblemsInput.ts │ │ │ │ │ ├── CreatorUpdateWithWhereUniqueWithoutLikesInput.ts │ │ │ │ │ ├── CreatorUpdateWithoutLikesInput.ts │ │ │ │ │ ├── CreatorUpdateWithoutProblemsInput.ts │ │ │ │ │ ├── CreatorUpsertWithWhereUniqueWithoutLikesInput.ts │ │ │ │ │ ├── CreatorUpsertWithoutProblemsInput.ts │ │ │ │ │ ├── CreatorWhereInput.ts │ │ │ │ │ ├── CreatorWhereUniqueInput.ts │ │ │ │ │ ├── DateTimeFieldUpdateOperationsInput.ts │ │ │ │ │ ├── DateTimeFilter.ts │ │ │ │ │ ├── DateTimeWithAggregatesFilter.ts │ │ │ │ │ ├── DecimalNullableFilter.ts │ │ │ │ │ ├── DecimalNullableWithAggregatesFilter.ts │ │ │ │ │ ├── DirectorCountOrderByAggregateInput.ts │ │ │ │ │ ├── DirectorCreateInput.ts │ │ │ │ │ ├── DirectorCreateManyInput.ts │ │ │ │ │ ├── DirectorCreateNestedOneWithoutMoviesInput.ts │ │ │ │ │ ├── DirectorCreateOrConnectWithoutMoviesInput.ts │ │ │ │ │ ├── DirectorCreateWithoutMoviesInput.ts │ │ │ │ │ ├── DirectorFirstNameLastNameCompoundUniqueInput.ts │ │ │ │ │ ├── DirectorMaxOrderByAggregateInput.ts │ │ │ │ │ ├── DirectorMinOrderByAggregateInput.ts │ │ │ │ │ ├── DirectorOrderByRelevanceInput.ts │ │ │ │ │ ├── DirectorOrderByWithAggregationInput.ts │ │ │ │ │ ├── DirectorOrderByWithRelationInput.ts │ │ │ │ │ ├── DirectorRelationFilter.ts │ │ │ │ │ ├── DirectorScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── DirectorUpdateInput.ts │ │ │ │ │ ├── DirectorUpdateManyMutationInput.ts │ │ │ │ │ ├── DirectorUpdateOneRequiredWithoutMoviesNestedInput.ts │ │ │ │ │ ├── DirectorUpdateToOneWithWhereWithoutMoviesInput.ts │ │ │ │ │ ├── DirectorUpdateWithoutMoviesInput.ts │ │ │ │ │ ├── DirectorUpsertWithoutMoviesInput.ts │ │ │ │ │ ├── DirectorWhereInput.ts │ │ │ │ │ ├── DirectorWhereUniqueInput.ts │ │ │ │ │ ├── EnumPostKindNullableFilter.ts │ │ │ │ │ ├── EnumPostKindNullableWithAggregatesFilter.ts │ │ │ │ │ ├── EnumRoleFieldUpdateOperationsInput.ts │ │ │ │ │ ├── EnumRoleFilter.ts │ │ │ │ │ ├── EnumRoleWithAggregatesFilter.ts │ │ │ │ │ ├── EquipmentCountOrderByAggregateInput.ts │ │ │ │ │ ├── EquipmentCreateInput.ts │ │ │ │ │ ├── EquipmentCreateManyInput.ts │ │ │ │ │ ├── EquipmentMaxOrderByAggregateInput.ts │ │ │ │ │ ├── EquipmentMinOrderByAggregateInput.ts │ │ │ │ │ ├── EquipmentOrderByRelevanceInput.ts │ │ │ │ │ ├── EquipmentOrderByWithAggregationInput.ts │ │ │ │ │ ├── EquipmentOrderByWithRelationInput.ts │ │ │ │ │ ├── EquipmentScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── EquipmentUpdateInput.ts │ │ │ │ │ ├── EquipmentUpdateManyMutationInput.ts │ │ │ │ │ ├── EquipmentWhereInput.ts │ │ │ │ │ ├── EquipmentWhereUniqueInput.ts │ │ │ │ │ ├── FloatFieldUpdateOperationsInput.ts │ │ │ │ │ ├── FloatFilter.ts │ │ │ │ │ ├── FloatWithAggregatesFilter.ts │ │ │ │ │ ├── HiddenCountOrderByAggregateInput.ts │ │ │ │ │ ├── HiddenCreateInput.ts │ │ │ │ │ ├── HiddenCreateManyInput.ts │ │ │ │ │ ├── HiddenMaxOrderByAggregateInput.ts │ │ │ │ │ ├── HiddenMinOrderByAggregateInput.ts │ │ │ │ │ ├── HiddenOrderByRelevanceInput.ts │ │ │ │ │ ├── HiddenOrderByWithAggregationInput.ts │ │ │ │ │ ├── HiddenOrderByWithRelationInput.ts │ │ │ │ │ ├── HiddenScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── HiddenUpdateInput.ts │ │ │ │ │ ├── HiddenUpdateManyMutationInput.ts │ │ │ │ │ ├── HiddenWhereInput.ts │ │ │ │ │ ├── HiddenWhereUniqueInput.ts │ │ │ │ │ ├── IntFieldUpdateOperationsInput.ts │ │ │ │ │ ├── IntFilter.ts │ │ │ │ │ ├── IntNullableFilter.ts │ │ │ │ │ ├── IntNullableListFilter.ts │ │ │ │ │ ├── IntNullableWithAggregatesFilter.ts │ │ │ │ │ ├── IntWithAggregatesFilter.ts │ │ │ │ │ ├── JsonFilter.ts │ │ │ │ │ ├── JsonWithAggregatesFilter.ts │ │ │ │ │ ├── MainUserAvgOrderByAggregateInput.ts │ │ │ │ │ ├── MainUserCountOrderByAggregateInput.ts │ │ │ │ │ ├── MainUserCreateInput.ts │ │ │ │ │ ├── MainUserCreateManyInput.ts │ │ │ │ │ ├── MainUserCreateNestedOneWithoutEditorPostsInput.ts │ │ │ │ │ ├── MainUserCreateNestedOneWithoutPostsInput.ts │ │ │ │ │ ├── MainUserCreateOrConnectWithoutEditorPostsInput.ts │ │ │ │ │ ├── MainUserCreateOrConnectWithoutPostsInput.ts │ │ │ │ │ ├── MainUserCreateWithoutEditorPostsInput.ts │ │ │ │ │ ├── MainUserCreateWithoutPostsInput.ts │ │ │ │ │ ├── MainUserCreatealiasesInput.ts │ │ │ │ │ ├── MainUserCreategradesInput.ts │ │ │ │ │ ├── MainUserMaxOrderByAggregateInput.ts │ │ │ │ │ ├── MainUserMinOrderByAggregateInput.ts │ │ │ │ │ ├── MainUserOrderByRelevanceInput.ts │ │ │ │ │ ├── MainUserOrderByWithAggregationInput.ts │ │ │ │ │ ├── MainUserOrderByWithRelationInput.ts │ │ │ │ │ ├── MainUserRelationFilter.ts │ │ │ │ │ ├── MainUserScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── MainUserSumOrderByAggregateInput.ts │ │ │ │ │ ├── MainUserUpdateInput.ts │ │ │ │ │ ├── MainUserUpdateManyMutationInput.ts │ │ │ │ │ ├── MainUserUpdateOneRequiredWithoutPostsNestedInput.ts │ │ │ │ │ ├── MainUserUpdateOneWithoutEditorPostsNestedInput.ts │ │ │ │ │ ├── MainUserUpdateToOneWithWhereWithoutEditorPostsInput.ts │ │ │ │ │ ├── MainUserUpdateToOneWithWhereWithoutPostsInput.ts │ │ │ │ │ ├── MainUserUpdateWithoutEditorPostsInput.ts │ │ │ │ │ ├── MainUserUpdateWithoutPostsInput.ts │ │ │ │ │ ├── MainUserUpdatealiasesInput.ts │ │ │ │ │ ├── MainUserUpdategradesInput.ts │ │ │ │ │ ├── MainUserUpsertWithoutEditorPostsInput.ts │ │ │ │ │ ├── MainUserUpsertWithoutPostsInput.ts │ │ │ │ │ ├── MainUserWhereInput.ts │ │ │ │ │ ├── MainUserWhereUniqueInput.ts │ │ │ │ │ ├── MovieCountOrderByAggregateInput.ts │ │ │ │ │ ├── MovieCreateInput.ts │ │ │ │ │ ├── MovieCreateManyDirectorInput.ts │ │ │ │ │ ├── MovieCreateManyDirectorInputEnvelope.ts │ │ │ │ │ ├── MovieCreateManyInput.ts │ │ │ │ │ ├── MovieCreateNestedManyWithoutDirectorInput.ts │ │ │ │ │ ├── MovieCreateOrConnectWithoutDirectorInput.ts │ │ │ │ │ ├── MovieCreateWithoutDirectorInput.ts │ │ │ │ │ ├── MovieListRelationFilter.ts │ │ │ │ │ ├── MovieMaxOrderByAggregateInput.ts │ │ │ │ │ ├── MovieMinOrderByAggregateInput.ts │ │ │ │ │ ├── MovieMovieCompoundIdCompoundUniqueInput.ts │ │ │ │ │ ├── MovieOrderByRelationAggregateInput.ts │ │ │ │ │ ├── MovieOrderByRelevanceInput.ts │ │ │ │ │ ├── MovieOrderByWithAggregationInput.ts │ │ │ │ │ ├── MovieOrderByWithRelationInput.ts │ │ │ │ │ ├── MovieScalarWhereInput.ts │ │ │ │ │ ├── MovieScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── MovieUpdateInput.ts │ │ │ │ │ ├── MovieUpdateManyMutationInput.ts │ │ │ │ │ ├── MovieUpdateManyWithWhereWithoutDirectorInput.ts │ │ │ │ │ ├── MovieUpdateManyWithoutDirectorNestedInput.ts │ │ │ │ │ ├── MovieUpdateWithWhereUniqueWithoutDirectorInput.ts │ │ │ │ │ ├── MovieUpdateWithoutDirectorInput.ts │ │ │ │ │ ├── MovieUpsertWithWhereUniqueWithoutDirectorInput.ts │ │ │ │ │ ├── MovieWhereInput.ts │ │ │ │ │ ├── MovieWhereUniqueInput.ts │ │ │ │ │ ├── NativeTypeModelAvgOrderByAggregateInput.ts │ │ │ │ │ ├── NativeTypeModelCountOrderByAggregateInput.ts │ │ │ │ │ ├── NativeTypeModelCreateInput.ts │ │ │ │ │ ├── NativeTypeModelCreateManyInput.ts │ │ │ │ │ ├── NativeTypeModelMaxOrderByAggregateInput.ts │ │ │ │ │ ├── NativeTypeModelMinOrderByAggregateInput.ts │ │ │ │ │ ├── NativeTypeModelOrderByWithAggregationInput.ts │ │ │ │ │ ├── NativeTypeModelOrderByWithRelationInput.ts │ │ │ │ │ ├── NativeTypeModelScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── NativeTypeModelSumOrderByAggregateInput.ts │ │ │ │ │ ├── NativeTypeModelUpdateInput.ts │ │ │ │ │ ├── NativeTypeModelUpdateManyMutationInput.ts │ │ │ │ │ ├── NativeTypeModelWhereInput.ts │ │ │ │ │ ├── NativeTypeModelWhereUniqueInput.ts │ │ │ │ │ ├── NestedBigIntNullableFilter.ts │ │ │ │ │ ├── NestedBigIntNullableWithAggregatesFilter.ts │ │ │ │ │ ├── NestedBoolFilter.ts │ │ │ │ │ ├── NestedBoolWithAggregatesFilter.ts │ │ │ │ │ ├── NestedBytesNullableFilter.ts │ │ │ │ │ ├── NestedBytesNullableWithAggregatesFilter.ts │ │ │ │ │ ├── NestedDateTimeFilter.ts │ │ │ │ │ ├── NestedDateTimeWithAggregatesFilter.ts │ │ │ │ │ ├── NestedDecimalNullableFilter.ts │ │ │ │ │ ├── NestedDecimalNullableWithAggregatesFilter.ts │ │ │ │ │ ├── NestedEnumPostKindNullableFilter.ts │ │ │ │ │ ├── NestedEnumPostKindNullableWithAggregatesFilter.ts │ │ │ │ │ ├── NestedEnumRoleFilter.ts │ │ │ │ │ ├── NestedEnumRoleWithAggregatesFilter.ts │ │ │ │ │ ├── NestedFloatFilter.ts │ │ │ │ │ ├── NestedFloatNullableFilter.ts │ │ │ │ │ ├── NestedFloatWithAggregatesFilter.ts │ │ │ │ │ ├── NestedIntFilter.ts │ │ │ │ │ ├── NestedIntNullableFilter.ts │ │ │ │ │ ├── NestedIntNullableWithAggregatesFilter.ts │ │ │ │ │ ├── NestedIntWithAggregatesFilter.ts │ │ │ │ │ ├── NestedJsonFilter.ts │ │ │ │ │ ├── NestedStringFilter.ts │ │ │ │ │ ├── NestedStringNullableFilter.ts │ │ │ │ │ ├── NestedStringNullableWithAggregatesFilter.ts │ │ │ │ │ ├── NestedStringWithAggregatesFilter.ts │ │ │ │ │ ├── NullableBigIntFieldUpdateOperationsInput.ts │ │ │ │ │ ├── NullableBytesFieldUpdateOperationsInput.ts │ │ │ │ │ ├── NullableDecimalFieldUpdateOperationsInput.ts │ │ │ │ │ ├── NullableEnumPostKindFieldUpdateOperationsInput.ts │ │ │ │ │ ├── NullableIntFieldUpdateOperationsInput.ts │ │ │ │ │ ├── NullableStringFieldUpdateOperationsInput.ts │ │ │ │ │ ├── PatientCountOrderByAggregateInput.ts │ │ │ │ │ ├── PatientCreateInput.ts │ │ │ │ │ ├── PatientCreateManyInput.ts │ │ │ │ │ ├── PatientFirstNameLastNameCompoundUniqueInput.ts │ │ │ │ │ ├── PatientMaxOrderByAggregateInput.ts │ │ │ │ │ ├── PatientMinOrderByAggregateInput.ts │ │ │ │ │ ├── PatientOrderByRelevanceInput.ts │ │ │ │ │ ├── PatientOrderByWithAggregationInput.ts │ │ │ │ │ ├── PatientOrderByWithRelationInput.ts │ │ │ │ │ ├── PatientScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── PatientUpdateInput.ts │ │ │ │ │ ├── PatientUpdateManyMutationInput.ts │ │ │ │ │ ├── PatientWhereInput.ts │ │ │ │ │ ├── PatientWhereUniqueInput.ts │ │ │ │ │ ├── PostAvgOrderByAggregateInput.ts │ │ │ │ │ ├── PostCountOrderByAggregateInput.ts │ │ │ │ │ ├── PostCreateInput.ts │ │ │ │ │ ├── PostCreateManyAuthorInput.ts │ │ │ │ │ ├── PostCreateManyAuthorInputEnvelope.ts │ │ │ │ │ ├── PostCreateManyEditorInput.ts │ │ │ │ │ ├── PostCreateManyEditorInputEnvelope.ts │ │ │ │ │ ├── PostCreateManyInput.ts │ │ │ │ │ ├── PostCreateNestedManyWithoutAuthorInput.ts │ │ │ │ │ ├── PostCreateNestedManyWithoutEditorInput.ts │ │ │ │ │ ├── PostCreateOrConnectWithoutAuthorInput.ts │ │ │ │ │ ├── PostCreateOrConnectWithoutEditorInput.ts │ │ │ │ │ ├── PostCreateWithoutAuthorInput.ts │ │ │ │ │ ├── PostCreateWithoutEditorInput.ts │ │ │ │ │ ├── PostListRelationFilter.ts │ │ │ │ │ ├── PostMaxOrderByAggregateInput.ts │ │ │ │ │ ├── PostMinOrderByAggregateInput.ts │ │ │ │ │ ├── PostOrderByRelationAggregateInput.ts │ │ │ │ │ ├── PostOrderByRelevanceInput.ts │ │ │ │ │ ├── PostOrderByWithAggregationInput.ts │ │ │ │ │ ├── PostOrderByWithRelationInput.ts │ │ │ │ │ ├── PostScalarWhereInput.ts │ │ │ │ │ ├── PostScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── PostSumOrderByAggregateInput.ts │ │ │ │ │ ├── PostUpdateInput.ts │ │ │ │ │ ├── PostUpdateManyMutationInput.ts │ │ │ │ │ ├── PostUpdateManyWithWhereWithoutAuthorInput.ts │ │ │ │ │ ├── PostUpdateManyWithWhereWithoutEditorInput.ts │ │ │ │ │ ├── PostUpdateManyWithoutAuthorNestedInput.ts │ │ │ │ │ ├── PostUpdateManyWithoutEditorNestedInput.ts │ │ │ │ │ ├── PostUpdateWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ │ ├── PostUpdateWithWhereUniqueWithoutEditorInput.ts │ │ │ │ │ ├── PostUpdateWithoutAuthorInput.ts │ │ │ │ │ ├── PostUpdateWithoutEditorInput.ts │ │ │ │ │ ├── PostUpsertWithWhereUniqueWithoutAuthorInput.ts │ │ │ │ │ ├── PostUpsertWithWhereUniqueWithoutEditorInput.ts │ │ │ │ │ ├── PostWhereInput.ts │ │ │ │ │ ├── PostWhereUniqueInput.ts │ │ │ │ │ ├── ProblemAvgOrderByAggregateInput.ts │ │ │ │ │ ├── ProblemCountOrderByAggregateInput.ts │ │ │ │ │ ├── ProblemCreateInput.ts │ │ │ │ │ ├── ProblemCreateManyCreatorInput.ts │ │ │ │ │ ├── ProblemCreateManyCreatorInputEnvelope.ts │ │ │ │ │ ├── ProblemCreateManyInput.ts │ │ │ │ │ ├── ProblemCreateNestedManyWithoutCreatorInput.ts │ │ │ │ │ ├── ProblemCreateNestedManyWithoutLikedByInput.ts │ │ │ │ │ ├── ProblemCreateOrConnectWithoutCreatorInput.ts │ │ │ │ │ ├── ProblemCreateOrConnectWithoutLikedByInput.ts │ │ │ │ │ ├── ProblemCreateWithoutCreatorInput.ts │ │ │ │ │ ├── ProblemCreateWithoutLikedByInput.ts │ │ │ │ │ ├── ProblemListRelationFilter.ts │ │ │ │ │ ├── ProblemMaxOrderByAggregateInput.ts │ │ │ │ │ ├── ProblemMinOrderByAggregateInput.ts │ │ │ │ │ ├── ProblemOrderByRelationAggregateInput.ts │ │ │ │ │ ├── ProblemOrderByRelevanceInput.ts │ │ │ │ │ ├── ProblemOrderByWithAggregationInput.ts │ │ │ │ │ ├── ProblemOrderByWithRelationInput.ts │ │ │ │ │ ├── ProblemScalarWhereInput.ts │ │ │ │ │ ├── ProblemScalarWhereWithAggregatesInput.ts │ │ │ │ │ ├── ProblemSumOrderByAggregateInput.ts │ │ │ │ │ ├── ProblemUpdateInput.ts │ │ │ │ │ ├── ProblemUpdateManyMutationInput.ts │ │ │ │ │ ├── ProblemUpdateManyWithWhereWithoutCreatorInput.ts │ │ │ │ │ ├── ProblemUpdateManyWithWhereWithoutLikedByInput.ts │ │ │ │ │ ├── ProblemUpdateManyWithoutCreatorNestedInput.ts │ │ │ │ │ ├── ProblemUpdateManyWithoutLikedByNestedInput.ts │ │ │ │ │ ├── ProblemUpdateWithWhereUniqueWithoutCreatorInput.ts │ │ │ │ │ ├── ProblemUpdateWithWhereUniqueWithoutLikedByInput.ts │ │ │ │ │ ├── ProblemUpdateWithoutCreatorInput.ts │ │ │ │ │ ├── ProblemUpdateWithoutLikedByInput.ts │ │ │ │ │ ├── ProblemUpsertWithWhereUniqueWithoutCreatorInput.ts │ │ │ │ │ ├── ProblemUpsertWithWhereUniqueWithoutLikedByInput.ts │ │ │ │ │ ├── ProblemWhereInput.ts │ │ │ │ │ ├── ProblemWhereUniqueInput.ts │ │ │ │ │ ├── SortOrderInput.ts │ │ │ │ │ ├── StringFieldUpdateOperationsInput.ts │ │ │ │ │ ├── StringFilter.ts │ │ │ │ │ ├── StringNullableFilter.ts │ │ │ │ │ ├── StringNullableListFilter.ts │ │ │ │ │ ├── StringNullableWithAggregatesFilter.ts │ │ │ │ │ ├── StringWithAggregatesFilter.ts │ │ │ │ │ ├── UserNullableRelationFilter.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── outputs │ │ │ │ │ ├── AffectedRowsOutput.ts │ │ │ │ │ ├── AggregateCategory.ts │ │ │ │ │ ├── AggregateCreator.ts │ │ │ │ │ ├── AggregateDirector.ts │ │ │ │ │ ├── AggregateEquipment.ts │ │ │ │ │ ├── AggregateHidden.ts │ │ │ │ │ ├── AggregateMainUser.ts │ │ │ │ │ ├── AggregateMovie.ts │ │ │ │ │ ├── AggregateNativeTypeModel.ts │ │ │ │ │ ├── AggregatePatient.ts │ │ │ │ │ ├── AggregatePost.ts │ │ │ │ │ ├── AggregateProblem.ts │ │ │ │ │ ├── CategoryAvgAggregate.ts │ │ │ │ │ ├── CategoryCountAggregate.ts │ │ │ │ │ ├── CategoryGroupBy.ts │ │ │ │ │ ├── CategoryMaxAggregate.ts │ │ │ │ │ ├── CategoryMinAggregate.ts │ │ │ │ │ ├── CategorySumAggregate.ts │ │ │ │ │ ├── CreateManyAndReturnCategory.ts │ │ │ │ │ ├── CreateManyAndReturnCreator.ts │ │ │ │ │ ├── CreateManyAndReturnDirector.ts │ │ │ │ │ ├── CreateManyAndReturnEquipment.ts │ │ │ │ │ ├── CreateManyAndReturnHidden.ts │ │ │ │ │ ├── CreateManyAndReturnMainUser.ts │ │ │ │ │ ├── CreateManyAndReturnMovie.ts │ │ │ │ │ ├── CreateManyAndReturnNativeTypeModel.ts │ │ │ │ │ ├── CreateManyAndReturnPatient.ts │ │ │ │ │ ├── CreateManyAndReturnPost.ts │ │ │ │ │ ├── CreateManyAndReturnProblem.ts │ │ │ │ │ ├── CreatorAvgAggregate.ts │ │ │ │ │ ├── CreatorCount.ts │ │ │ │ │ ├── CreatorCountAggregate.ts │ │ │ │ │ ├── CreatorGroupBy.ts │ │ │ │ │ ├── CreatorMaxAggregate.ts │ │ │ │ │ ├── CreatorMinAggregate.ts │ │ │ │ │ ├── CreatorSumAggregate.ts │ │ │ │ │ ├── DirectorCount.ts │ │ │ │ │ ├── DirectorCountAggregate.ts │ │ │ │ │ ├── DirectorGroupBy.ts │ │ │ │ │ ├── DirectorMaxAggregate.ts │ │ │ │ │ ├── DirectorMinAggregate.ts │ │ │ │ │ ├── EquipmentCountAggregate.ts │ │ │ │ │ ├── EquipmentGroupBy.ts │ │ │ │ │ ├── EquipmentMaxAggregate.ts │ │ │ │ │ ├── EquipmentMinAggregate.ts │ │ │ │ │ ├── HiddenCountAggregate.ts │ │ │ │ │ ├── HiddenGroupBy.ts │ │ │ │ │ ├── HiddenMaxAggregate.ts │ │ │ │ │ ├── HiddenMinAggregate.ts │ │ │ │ │ ├── MainUserAvgAggregate.ts │ │ │ │ │ ├── MainUserCount.ts │ │ │ │ │ ├── MainUserCountAggregate.ts │ │ │ │ │ ├── MainUserGroupBy.ts │ │ │ │ │ ├── MainUserMaxAggregate.ts │ │ │ │ │ ├── MainUserMinAggregate.ts │ │ │ │ │ ├── MainUserSumAggregate.ts │ │ │ │ │ ├── MovieCountAggregate.ts │ │ │ │ │ ├── MovieGroupBy.ts │ │ │ │ │ ├── MovieMaxAggregate.ts │ │ │ │ │ ├── MovieMinAggregate.ts │ │ │ │ │ ├── NativeTypeModelAvgAggregate.ts │ │ │ │ │ ├── NativeTypeModelCountAggregate.ts │ │ │ │ │ ├── NativeTypeModelGroupBy.ts │ │ │ │ │ ├── NativeTypeModelMaxAggregate.ts │ │ │ │ │ ├── NativeTypeModelMinAggregate.ts │ │ │ │ │ ├── NativeTypeModelSumAggregate.ts │ │ │ │ │ ├── PatientCountAggregate.ts │ │ │ │ │ ├── PatientGroupBy.ts │ │ │ │ │ ├── PatientMaxAggregate.ts │ │ │ │ │ ├── PatientMinAggregate.ts │ │ │ │ │ ├── PostAvgAggregate.ts │ │ │ │ │ ├── PostCountAggregate.ts │ │ │ │ │ ├── PostGroupBy.ts │ │ │ │ │ ├── PostMaxAggregate.ts │ │ │ │ │ ├── PostMinAggregate.ts │ │ │ │ │ ├── PostSumAggregate.ts │ │ │ │ │ ├── ProblemAvgAggregate.ts │ │ │ │ │ ├── ProblemCount.ts │ │ │ │ │ ├── ProblemCountAggregate.ts │ │ │ │ │ ├── ProblemGroupBy.ts │ │ │ │ │ ├── ProblemMaxAggregate.ts │ │ │ │ │ ├── ProblemMinAggregate.ts │ │ │ │ │ ├── ProblemSumAggregate.ts │ │ │ │ │ ├── args │ │ │ │ │ │ ├── CreateManyAndReturnPostEditorArgs.ts │ │ │ │ │ │ ├── CreateManyAndReturnProblemCreatorArgs.ts │ │ │ │ │ │ ├── CreatorCountLikesArgs.ts │ │ │ │ │ │ ├── CreatorCountProblemsArgs.ts │ │ │ │ │ │ ├── DirectorCountMoviesArgs.ts │ │ │ │ │ │ ├── MainUserCountEditorPostsArgs.ts │ │ │ │ │ │ ├── MainUserCountPostsArgs.ts │ │ │ │ │ │ ├── ProblemCountLikedByArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ └── relations │ │ │ │ │ ├── Creator │ │ │ │ │ ├── CreatorRelationsResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── CreatorLikesArgs.ts │ │ │ │ │ │ ├── CreatorProblemsArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Director │ │ │ │ │ ├── DirectorRelationsResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── DirectorMoviesArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── MainUser │ │ │ │ │ ├── MainUserRelationsResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── MainUserPostsArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── Movie │ │ │ │ │ └── MovieRelationsResolver.ts │ │ │ │ │ ├── Post │ │ │ │ │ └── PostRelationsResolver.ts │ │ │ │ │ ├── Problem │ │ │ │ │ ├── ProblemRelationsResolver.ts │ │ │ │ │ └── args │ │ │ │ │ │ ├── ProblemCreatorArgs.ts │ │ │ │ │ │ ├── ProblemLikedByArgs.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── args.index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── resolvers.index.ts │ │ │ │ └── scalars.ts │ │ ├── migrations │ │ │ ├── 20230419120900_init │ │ │ │ └── migration.sql │ │ │ └── migration_lock.toml │ │ ├── schema.prisma │ │ └── seed.ts │ ├── query.graphql │ ├── tsconfig.json │ └── typings-test.ts └── prisma │ └── generated │ └── photon │ └── index.js ├── img ├── feedback.png └── integration.png ├── jest.config.integration.ts ├── jest.config.ts ├── package-lock.json ├── package.json ├── package.sh ├── src ├── cli │ ├── dev.ts │ ├── generator.ts │ ├── helpers.ts │ └── prisma-generator.ts ├── generator.ts ├── generator │ ├── args-class.ts │ ├── config.ts │ ├── dmmf │ │ ├── dmmf-document.ts │ │ ├── helpers.ts │ │ ├── transform.ts │ │ └── types.ts │ ├── emit-block.ts │ ├── enum.ts │ ├── generate-code.ts │ ├── generate-enhance.ts │ ├── generate-helpers.ts │ ├── generate-scalars.ts │ ├── helpers.ts │ ├── imports.ts │ ├── model-type-class.ts │ ├── options.ts │ ├── resolvers │ │ ├── full-crud.ts │ │ ├── helpers.ts │ │ ├── relations.ts │ │ └── separate-action.ts │ ├── type-class.ts │ └── types.ts └── utils │ ├── prisma-version.ts │ └── removeDir.ts ├── tests ├── functional │ ├── __snapshots__ │ │ ├── crud.ts.snap │ │ ├── custom-resolvers.ts.snap │ │ ├── integration.ts.snap │ │ ├── picking-actions.ts.snap │ │ ├── reference-count.ts.snap │ │ ├── relations.ts.snap │ │ └── renaming-fields.ts.snap │ ├── crud.ts │ ├── custom-resolvers.ts │ ├── enhance.ts │ ├── errors.ts │ ├── integration.ts │ ├── picking-actions.ts │ ├── reference-count.ts │ ├── relations.ts │ └── renaming-fields.ts ├── helpers │ ├── artifacts-dir.ts │ ├── dmmf.ts │ ├── generate-code.ts │ ├── prisma-client-mock.d.ts │ ├── prisma-client-mock.js │ ├── prisma-client-mock.ts │ ├── read-file.ts │ ├── setup-tests.ts │ └── structure.ts ├── regression │ ├── __snapshots__ │ │ ├── crud.ts.snap │ │ ├── emit-only.ts.snap │ │ ├── enhance.ts.snap │ │ ├── enums.ts.snap │ │ ├── generate-helpers.ts.snap │ │ ├── generate-scalars.ts.snap │ │ ├── inputs.ts.snap │ │ ├── models.ts.snap │ │ ├── omit.ts.snap │ │ ├── outputs.ts.snap │ │ ├── relations.ts.snap │ │ └── structure.ts.snap │ ├── crud.ts │ ├── emit-only.ts │ ├── enhance.ts │ ├── enums.ts │ ├── generate-helpers.ts │ ├── generate-scalars.ts │ ├── inputs.ts │ ├── models.ts │ ├── omit.ts │ ├── outputs.ts │ ├── relations.ts │ └── structure.ts └── tsconfig.json ├── tsconfig.json └── website ├── .gitignore ├── README.md ├── babel.config.js ├── docusaurus.config.js ├── package-lock.json ├── package.json ├── sidebars.js ├── src ├── components │ ├── HomepageFeatures.module.css │ ├── HomepageFeatures.tsx │ ├── HomepageHeader.module.css │ ├── HomepageHeader.tsx │ ├── VideoIntroduction.module.css │ └── VideoIntroduction.tsx ├── css │ └── custom.css ├── pages │ └── index.tsx └── theme │ ├── prism-include-languages.js │ └── prism-prisma.js ├── static ├── .nojekyll ├── CNAME └── img │ ├── favicon.ico │ ├── icons │ ├── customize.svg │ ├── maximize.svg │ └── prototyping.svg │ ├── logo.png │ ├── logo_full.png │ ├── prisma_black.svg │ └── prisma_white.svg └── tsconfig.json /.cli.prettierignore: -------------------------------------------------------------------------------- 1 | tsconfig*.json 2 | 3 | build 4 | lib 5 | package 6 | 7 | coverage 8 | tests/artifacts 9 | 10 | .docusaurus 11 | 12 | **/prisma/generated/**/* 13 | **/prisma/migrations/**/* 14 | prisma-client-mock.js 15 | prisma-client-mock.d.ts 16 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /.env.template: -------------------------------------------------------------------------------- 1 | TEST_DATABASE_URL= 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Question or help request 4 | url: https://github.com/MichalLytek/typegraphql-prisma/discussions 5 | about: Github Discussions is the place to ask a question or discuss with other community members 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | dist 4 | package 5 | tests/artifacts 6 | coverage 7 | .env 8 | npm-debug.log* 9 | yarn-debug.log* 10 | yarn-error.log* 11 | 12 | ## prisma engine binary 13 | *.exe 14 | *.x 15 | *.node 16 | 17 | # docusaurus stuff 18 | build 19 | .docusaurus 20 | .cache-loader 21 | .DS_Store 22 | .env.local 23 | .env.development.local 24 | .env.test.local 25 | .env.production.local 26 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 22 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | tsconfig*.json 2 | 3 | build 4 | lib 5 | package 6 | 7 | coverage 8 | # tests/artifacts 9 | 10 | .docusaurus 11 | 12 | **/prisma/generated/**/* 13 | **/prisma/migrations/**/* 14 | prisma-client-mock.js 15 | prisma-client-mock.d.ts 16 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "all", 3 | "tabWidth": 2, 4 | "printWidth": 80, 5 | "bracketSpacing": true, 6 | "semi": true, 7 | "singleQuote": false, 8 | "useTabs": false, 9 | "arrowParens": "avoid" 10 | } 11 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "node", 9 | "request": "launch", 10 | "name": "Run experiments debug", 11 | "runtimeArgs": ["-r", "ts-node/register"], 12 | "args": ["${workspaceFolder}/experiments/debug.ts"], 13 | "internalConsoleOptions": "neverOpen", 14 | "console": "integratedTerminal" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.watcherExclude": { 3 | "**/.git/objects/**": true, 4 | "**/.git/subtree-cache/**": true, 5 | "**/.hg/store/**": true 6 | }, 7 | "typescript.tsdk": "node_modules/typescript/lib", 8 | "workbench.colorCustomizations": { 9 | "activityBar.background": "#2665B9", 10 | "titleBar.activeBackground": "#B02A80", 11 | "titleBar.activeForeground": "#FAFAFC" 12 | }, 13 | "prettier.prettierPath": "node_modules/prettier" 14 | } 15 | -------------------------------------------------------------------------------- /docs/advanced/custom-operations.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Custom operations 3 | --- 4 | 5 | You can also add custom queries and mutations to the schema as always, using the generated `PrismaClient`: 6 | 7 | ```ts 8 | @Resolver() 9 | export class CustomUserResolver { 10 | @Query(returns => User, { nullable: true }) 11 | async bestUser(@Ctx() { prisma }: Context): Promise { 12 | return await prisma.user.findUnique({ 13 | where: { email: "bob@prisma.io" }, 14 | }); 15 | } 16 | } 17 | ``` 18 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EndyKaufman/typegraphql-prisma-nestjs/69d8a83fe7e5f9675057ca263b53748d5a913f20/examples/1-prototyping/prisma/dev.db -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/enums/PostScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum PostScalarFieldEnum { 4 | id = "id", 5 | createdAt = "createdAt", 6 | updatedAt = "updatedAt", 7 | published = "published", 8 | title = "title", 9 | content = "content", 10 | authorId = "authorId" 11 | } 12 | TypeGraphQL.registerEnumType(PostScalarFieldEnum, { 13 | name: "PostScalarFieldEnum", 14 | description: undefined, 15 | }); 16 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/enums/SortOrder.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum SortOrder { 4 | asc = "asc", 5 | desc = "desc" 6 | } 7 | TypeGraphQL.registerEnumType(SortOrder, { 8 | name: "SortOrder", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/enums/TransactionIsolationLevel.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum TransactionIsolationLevel { 4 | Serializable = "Serializable" 5 | } 6 | TypeGraphQL.registerEnumType(TransactionIsolationLevel, { 7 | name: "TransactionIsolationLevel", 8 | description: undefined, 9 | }); 10 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/enums/UserScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum UserScalarFieldEnum { 4 | id = "id", 5 | email = "email", 6 | name = "name" 7 | } 8 | TypeGraphQL.registerEnumType(UserScalarFieldEnum, { 9 | name: "UserScalarFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/enums/index.ts: -------------------------------------------------------------------------------- 1 | export { PostScalarFieldEnum } from "./PostScalarFieldEnum"; 2 | export { SortOrder } from "./SortOrder"; 3 | export { TransactionIsolationLevel } from "./TransactionIsolationLevel"; 4 | export { UserScalarFieldEnum } from "./UserScalarFieldEnum"; 5 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/models/index.ts: -------------------------------------------------------------------------------- 1 | export { Post } from "./Post"; 2 | export { User } from "./User"; 3 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/Post/args/CreateOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostCreateInput } from "../../../inputs/PostCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostCreateInput, { 8 | nullable: false 9 | }) 10 | data!: PostCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteManyPostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereInput } from "../../../inputs/PostWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyPostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereInput, { 8 | nullable: true 9 | }) 10 | where?: PostWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostOrThrowArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/User/args/CreateOneUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserCreateInput } from "../../../inputs/UserCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneUserArgs { 7 | @TypeGraphQL.Field(_type => UserCreateInput, { 8 | nullable: false 9 | }) 10 | data!: UserCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/User/args/DeleteManyUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereInput } from "../../../inputs/UserWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereInput, { 8 | nullable: true 9 | }) 10 | where?: UserWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/User/args/DeleteOneUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/User/args/FindUniqueUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/User/args/FindUniqueUserOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueUserOrThrowArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./Post/args"; 2 | export * from "./User/args"; 3 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers-actions.index"; 2 | export * from "./resolvers-crud.index"; 3 | export * from "./args.index"; 4 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/crud/resolvers-crud.index.ts: -------------------------------------------------------------------------------- 1 | export { PostCrudResolver } from "./Post/PostCrudResolver"; 2 | export { UserCrudResolver } from "./User/UserCrudResolver"; 3 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/inputs/BoolFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("BoolFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class BoolFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => Boolean, { 11 | nullable: true 12 | }) 13 | set?: boolean | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/inputs/DateTimeFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("DateTimeFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class DateTimeFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => Date, { 11 | nullable: true 12 | }) 13 | set?: Date | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/inputs/NullableStringFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("NullableStringFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class NullableStringFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | set?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/inputs/PostWhereUniqueInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("PostWhereUniqueInput", { 7 | isAbstract: true 8 | }) 9 | export class PostWhereUniqueInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | id?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/inputs/StringFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("StringFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class StringFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | set?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/outputs/AffectedRowsOutput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("AffectedRowsOutput", { 7 | isAbstract: true 8 | }) 9 | export class AffectedRowsOutput { 10 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 11 | nullable: false 12 | }) 13 | count!: number; 14 | } 15 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/outputs/UserCount.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("UserCount", { 7 | isAbstract: true 8 | }) 9 | export class UserCount { 10 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 11 | nullable: false 12 | }) 13 | posts!: number; 14 | } 15 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/relations/User/args/index.ts: -------------------------------------------------------------------------------- 1 | export { UserPostsArgs } from "./UserPostsArgs"; 2 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/relations/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./User/args"; 2 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/relations/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers.index"; 2 | export * from "./args.index"; 3 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/generated/type-graphql/resolvers/relations/resolvers.index.ts: -------------------------------------------------------------------------------- 1 | export { PostRelationsResolver } from "./Post/PostRelationsResolver"; 2 | export { UserRelationsResolver } from "./User/UserRelationsResolver"; 3 | -------------------------------------------------------------------------------- /examples/1-prototyping/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- 1 | # Please do not edit this file manually 2 | # It should be added in your version-control system (i.e. Git) 3 | provider = "sqlite" -------------------------------------------------------------------------------- /examples/2-basic/prisma/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EndyKaufman/typegraphql-prisma-nestjs/69d8a83fe7e5f9675057ca263b53748d5a913f20/examples/2-basic/prisma/dev.db -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/enums/PostScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum PostScalarFieldEnum { 4 | id = "id", 5 | createdAt = "createdAt", 6 | updatedAt = "updatedAt", 7 | published = "published", 8 | title = "title", 9 | content = "content", 10 | authorId = "authorId" 11 | } 12 | TypeGraphQL.registerEnumType(PostScalarFieldEnum, { 13 | name: "PostScalarFieldEnum", 14 | description: undefined, 15 | }); 16 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/enums/SortOrder.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum SortOrder { 4 | asc = "asc", 5 | desc = "desc" 6 | } 7 | TypeGraphQL.registerEnumType(SortOrder, { 8 | name: "SortOrder", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/enums/TransactionIsolationLevel.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum TransactionIsolationLevel { 4 | Serializable = "Serializable" 5 | } 6 | TypeGraphQL.registerEnumType(TransactionIsolationLevel, { 7 | name: "TransactionIsolationLevel", 8 | description: undefined, 9 | }); 10 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/enums/UserScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum UserScalarFieldEnum { 4 | id = "id", 5 | email = "email", 6 | name = "name" 7 | } 8 | TypeGraphQL.registerEnumType(UserScalarFieldEnum, { 9 | name: "UserScalarFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/enums/index.ts: -------------------------------------------------------------------------------- 1 | export { PostScalarFieldEnum } from "./PostScalarFieldEnum"; 2 | export { SortOrder } from "./SortOrder"; 3 | export { TransactionIsolationLevel } from "./TransactionIsolationLevel"; 4 | export { UserScalarFieldEnum } from "./UserScalarFieldEnum"; 5 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/models/index.ts: -------------------------------------------------------------------------------- 1 | export { Post } from "./Post"; 2 | export { User } from "./User"; 3 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/Post/args/CreateOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostCreateInput } from "../../../inputs/PostCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostCreateInput, { 8 | nullable: false 9 | }) 10 | data!: PostCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteManyPostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereInput } from "../../../inputs/PostWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyPostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereInput, { 8 | nullable: true 9 | }) 10 | where?: PostWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostOrThrowArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/User/args/CreateOneUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserCreateInput } from "../../../inputs/UserCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneUserArgs { 7 | @TypeGraphQL.Field(_type => UserCreateInput, { 8 | nullable: false 9 | }) 10 | data!: UserCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/User/args/DeleteManyUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereInput } from "../../../inputs/UserWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereInput, { 8 | nullable: true 9 | }) 10 | where?: UserWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/User/args/DeleteOneUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/User/args/FindUniqueUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/User/args/FindUniqueUserOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueUserOrThrowArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./Post/args"; 2 | export * from "./User/args"; 3 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers-actions.index"; 2 | export * from "./resolvers-crud.index"; 3 | export * from "./args.index"; 4 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/crud/resolvers-crud.index.ts: -------------------------------------------------------------------------------- 1 | export { PostCrudResolver } from "./Post/PostCrudResolver"; 2 | export { UserCrudResolver } from "./User/UserCrudResolver"; 3 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/inputs/BoolFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("BoolFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class BoolFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => Boolean, { 11 | nullable: true 12 | }) 13 | set?: boolean | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/inputs/DateTimeFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("DateTimeFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class DateTimeFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => Date, { 11 | nullable: true 12 | }) 13 | set?: Date | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/inputs/NullableStringFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("NullableStringFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class NullableStringFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | set?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/inputs/PostOrderByRelationAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("PostOrderByRelationAggregateInput", { 8 | isAbstract: true 9 | }) 10 | export class PostOrderByRelationAggregateInput { 11 | @TypeGraphQL.Field(_type => SortOrder, { 12 | nullable: true 13 | }) 14 | _count?: "asc" | "desc" | undefined; 15 | } 16 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/inputs/PostWhereUniqueInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("PostWhereUniqueInput", { 7 | isAbstract: true 8 | }) 9 | export class PostWhereUniqueInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | id?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/inputs/StringFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("StringFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class StringFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | set?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/outputs/AffectedRowsOutput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("AffectedRowsOutput", { 7 | isAbstract: true 8 | }) 9 | export class AffectedRowsOutput { 10 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 11 | nullable: false 12 | }) 13 | count!: number; 14 | } 15 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/outputs/UserCount.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("UserCount", { 7 | isAbstract: true 8 | }) 9 | export class UserCount { 10 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 11 | nullable: false 12 | }) 13 | posts!: number; 14 | } 15 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/relations/User/args/index.ts: -------------------------------------------------------------------------------- 1 | export { UserPostsArgs } from "./UserPostsArgs"; 2 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/relations/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./User/args"; 2 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/relations/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers.index"; 2 | export * from "./args.index"; 3 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/generated/type-graphql/resolvers/relations/resolvers.index.ts: -------------------------------------------------------------------------------- 1 | export { PostRelationsResolver } from "./Post/PostRelationsResolver"; 2 | export { UserRelationsResolver } from "./User/UserRelationsResolver"; 3 | -------------------------------------------------------------------------------- /examples/2-basic/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- 1 | # Please do not edit this file manually 2 | # It should be added in your version-control system (i.e. Git) 3 | provider = "sqlite" -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EndyKaufman/typegraphql-prisma-nestjs/69d8a83fe7e5f9675057ca263b53748d5a913f20/examples/3-picking-actions/prisma/dev.db -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/enums/PostScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum PostScalarFieldEnum { 4 | id = "id", 5 | createdAt = "createdAt", 6 | updatedAt = "updatedAt", 7 | published = "published", 8 | title = "title", 9 | content = "content", 10 | authorId = "authorId" 11 | } 12 | TypeGraphQL.registerEnumType(PostScalarFieldEnum, { 13 | name: "PostScalarFieldEnum", 14 | description: undefined, 15 | }); 16 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/enums/SortOrder.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum SortOrder { 4 | asc = "asc", 5 | desc = "desc" 6 | } 7 | TypeGraphQL.registerEnumType(SortOrder, { 8 | name: "SortOrder", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/enums/TransactionIsolationLevel.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum TransactionIsolationLevel { 4 | Serializable = "Serializable" 5 | } 6 | TypeGraphQL.registerEnumType(TransactionIsolationLevel, { 7 | name: "TransactionIsolationLevel", 8 | description: undefined, 9 | }); 10 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/enums/UserScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum UserScalarFieldEnum { 4 | id = "id", 5 | email = "email", 6 | name = "name" 7 | } 8 | TypeGraphQL.registerEnumType(UserScalarFieldEnum, { 9 | name: "UserScalarFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/enums/index.ts: -------------------------------------------------------------------------------- 1 | export { PostScalarFieldEnum } from "./PostScalarFieldEnum"; 2 | export { SortOrder } from "./SortOrder"; 3 | export { TransactionIsolationLevel } from "./TransactionIsolationLevel"; 4 | export { UserScalarFieldEnum } from "./UserScalarFieldEnum"; 5 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/models/index.ts: -------------------------------------------------------------------------------- 1 | export { Post } from "./Post"; 2 | export { User } from "./User"; 3 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/Post/args/CreateOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostCreateInput } from "../../../inputs/PostCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostCreateInput, { 8 | nullable: false 9 | }) 10 | data!: PostCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteManyPostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereInput } from "../../../inputs/PostWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyPostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereInput, { 8 | nullable: true 9 | }) 10 | where?: PostWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostOrThrowArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/User/args/CreateOneUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserCreateInput } from "../../../inputs/UserCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneUserArgs { 7 | @TypeGraphQL.Field(_type => UserCreateInput, { 8 | nullable: false 9 | }) 10 | data!: UserCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/User/args/DeleteManyUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereInput } from "../../../inputs/UserWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereInput, { 8 | nullable: true 9 | }) 10 | where?: UserWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/User/args/DeleteOneUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/User/args/FindUniqueUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/User/args/FindUniqueUserOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueUserOrThrowArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./Post/args"; 2 | export * from "./User/args"; 3 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers-actions.index"; 2 | export * from "./resolvers-crud.index"; 3 | export * from "./args.index"; 4 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/crud/resolvers-crud.index.ts: -------------------------------------------------------------------------------- 1 | export { PostCrudResolver } from "./Post/PostCrudResolver"; 2 | export { UserCrudResolver } from "./User/UserCrudResolver"; 3 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/inputs/BoolFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("BoolFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class BoolFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => Boolean, { 11 | nullable: true 12 | }) 13 | set?: boolean | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/inputs/DateTimeFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("DateTimeFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class DateTimeFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => Date, { 11 | nullable: true 12 | }) 13 | set?: Date | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/inputs/NullableStringFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("NullableStringFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class NullableStringFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | set?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/inputs/PostWhereUniqueInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("PostWhereUniqueInput", { 7 | isAbstract: true 8 | }) 9 | export class PostWhereUniqueInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | id?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/inputs/StringFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("StringFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class StringFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | set?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/outputs/AffectedRowsOutput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("AffectedRowsOutput", { 7 | isAbstract: true 8 | }) 9 | export class AffectedRowsOutput { 10 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 11 | nullable: false 12 | }) 13 | count!: number; 14 | } 15 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/outputs/UserCount.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("UserCount", { 7 | isAbstract: true 8 | }) 9 | export class UserCount { 10 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 11 | nullable: false 12 | }) 13 | posts!: number; 14 | } 15 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/relations/User/args/index.ts: -------------------------------------------------------------------------------- 1 | export { UserPostsArgs } from "./UserPostsArgs"; 2 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/relations/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./User/args"; 2 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/relations/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers.index"; 2 | export * from "./args.index"; 3 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/generated/type-graphql/resolvers/relations/resolvers.index.ts: -------------------------------------------------------------------------------- 1 | export { PostRelationsResolver } from "./Post/PostRelationsResolver"; 2 | export { UserRelationsResolver } from "./User/UserRelationsResolver"; 3 | -------------------------------------------------------------------------------- /examples/3-picking-actions/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- 1 | # Please do not edit this file manually 2 | # It should be added in your version-control system (i.e. Git) 3 | provider = "sqlite" -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EndyKaufman/typegraphql-prisma-nestjs/69d8a83fe7e5f9675057ca263b53748d5a913f20/examples/4-nest-js/prisma/dev.db -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/enums/PostScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum PostScalarFieldEnum { 4 | id = "id", 5 | createdAt = "createdAt", 6 | updatedAt = "updatedAt", 7 | published = "published", 8 | title = "title", 9 | content = "content", 10 | authorId = "authorId" 11 | } 12 | TypeGraphQL.registerEnumType(PostScalarFieldEnum, { 13 | name: "PostScalarFieldEnum", 14 | description: undefined, 15 | }); 16 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/enums/SortOrder.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum SortOrder { 4 | asc = "asc", 5 | desc = "desc" 6 | } 7 | TypeGraphQL.registerEnumType(SortOrder, { 8 | name: "SortOrder", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/enums/TransactionIsolationLevel.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum TransactionIsolationLevel { 4 | Serializable = "Serializable" 5 | } 6 | TypeGraphQL.registerEnumType(TransactionIsolationLevel, { 7 | name: "TransactionIsolationLevel", 8 | description: undefined, 9 | }); 10 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/enums/UserScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum UserScalarFieldEnum { 4 | id = "id", 5 | email = "email", 6 | name = "name" 7 | } 8 | TypeGraphQL.registerEnumType(UserScalarFieldEnum, { 9 | name: "UserScalarFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/enums/index.ts: -------------------------------------------------------------------------------- 1 | export { PostScalarFieldEnum } from "./PostScalarFieldEnum"; 2 | export { SortOrder } from "./SortOrder"; 3 | export { TransactionIsolationLevel } from "./TransactionIsolationLevel"; 4 | export { UserScalarFieldEnum } from "./UserScalarFieldEnum"; 5 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/models/index.ts: -------------------------------------------------------------------------------- 1 | export { Post } from "./Post"; 2 | export { User } from "./User"; 3 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/Post/args/CreateOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostCreateInput } from "../../../inputs/PostCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostCreateInput, { 8 | nullable: false 9 | }) 10 | data!: PostCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteManyPostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereInput } from "../../../inputs/PostWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyPostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereInput, { 8 | nullable: true 9 | }) 10 | where?: PostWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostOrThrowArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/User/args/CreateOneUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserCreateInput } from "../../../inputs/UserCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneUserArgs { 7 | @TypeGraphQL.Field(_type => UserCreateInput, { 8 | nullable: false 9 | }) 10 | data!: UserCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/User/args/DeleteManyUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereInput } from "../../../inputs/UserWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereInput, { 8 | nullable: true 9 | }) 10 | where?: UserWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/User/args/DeleteOneUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/User/args/FindUniqueUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/User/args/FindUniqueUserOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueUserOrThrowArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./Post/args"; 2 | export * from "./User/args"; 3 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers-actions.index"; 2 | export * from "./resolvers-crud.index"; 3 | export * from "./args.index"; 4 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/crud/resolvers-crud.index.ts: -------------------------------------------------------------------------------- 1 | export { PostCrudResolver } from "./Post/PostCrudResolver"; 2 | export { UserCrudResolver } from "./User/UserCrudResolver"; 3 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/inputs/BoolFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("BoolFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class BoolFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => Boolean, { 11 | nullable: true 12 | }) 13 | set?: boolean | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/inputs/DateTimeFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("DateTimeFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class DateTimeFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => Date, { 11 | nullable: true 12 | }) 13 | set?: Date | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/inputs/NullableStringFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("NullableStringFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class NullableStringFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | set?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/inputs/PostOrderByRelationAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("PostOrderByRelationAggregateInput", { 8 | isAbstract: true 9 | }) 10 | export class PostOrderByRelationAggregateInput { 11 | @TypeGraphQL.Field(_type => SortOrder, { 12 | nullable: true 13 | }) 14 | _count?: "asc" | "desc" | undefined; 15 | } 16 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/inputs/PostWhereUniqueInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("PostWhereUniqueInput", { 7 | isAbstract: true 8 | }) 9 | export class PostWhereUniqueInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | id?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/inputs/StringFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("StringFieldUpdateOperationsInput", { 7 | isAbstract: true 8 | }) 9 | export class StringFieldUpdateOperationsInput { 10 | @TypeGraphQL.Field(_type => String, { 11 | nullable: true 12 | }) 13 | set?: string | undefined; 14 | } 15 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/outputs/AffectedRowsOutput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("AffectedRowsOutput", { 7 | isAbstract: true 8 | }) 9 | export class AffectedRowsOutput { 10 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 11 | nullable: false 12 | }) 13 | count!: number; 14 | } 15 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/outputs/UserCount.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "@prisma/client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("UserCount", { 7 | isAbstract: true 8 | }) 9 | export class UserCount { 10 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 11 | nullable: false 12 | }) 13 | posts!: number; 14 | } 15 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/relations/User/args/index.ts: -------------------------------------------------------------------------------- 1 | export { UserPostsArgs } from "./UserPostsArgs"; 2 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/relations/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./User/args"; 2 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/relations/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers.index"; 2 | export * from "./args.index"; 3 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/generated/type-graphql/resolvers/relations/resolvers.index.ts: -------------------------------------------------------------------------------- 1 | export { PostRelationsResolver } from "./Post/PostRelationsResolver"; 2 | export { UserRelationsResolver } from "./User/UserRelationsResolver"; 3 | -------------------------------------------------------------------------------- /examples/4-nest-js/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- 1 | # Please do not edit this file manually 2 | # It should be added in your version-control system (i.e. Git) 3 | provider = "sqlite" -------------------------------------------------------------------------------- /examples/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es2021", 4 | "module": "commonjs", 5 | "lib": ["es2021"], 6 | "strict": true, 7 | "esModuleInterop": true, 8 | "experimentalDecorators": true, 9 | "emitDecoratorMetadata": true 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/.env.template: -------------------------------------------------------------------------------- 1 | DATABASE_URL= 2 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/client/default.d.ts: -------------------------------------------------------------------------------- 1 | export * from './index' -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/client/default.js: -------------------------------------------------------------------------------- 1 | module.exports = { ...require('.') } -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/client/edge.d.ts: -------------------------------------------------------------------------------- 1 | export * from './default' -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/client/wasm.d.ts: -------------------------------------------------------------------------------- 1 | export * from './index' -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/enums/CommentScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum CommentScalarFieldEnum { 4 | id = "id", 5 | postId = "postId", 6 | comment = "comment" 7 | } 8 | TypeGraphQL.registerEnumType(CommentScalarFieldEnum, { 9 | name: "CommentScalarFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/enums/PostScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum PostScalarFieldEnum { 4 | id = "id", 5 | slug = "slug", 6 | title = "title", 7 | body = "body", 8 | authorId = "authorId" 9 | } 10 | TypeGraphQL.registerEnumType(PostScalarFieldEnum, { 11 | name: "PostScalarFieldEnum", 12 | description: undefined, 13 | }); 14 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/enums/QueryMode.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum QueryMode { 4 | "default" = "default", 5 | insensitive = "insensitive" 6 | } 7 | TypeGraphQL.registerEnumType(QueryMode, { 8 | name: "QueryMode", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/enums/SortOrder.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum SortOrder { 4 | asc = "asc", 5 | desc = "desc" 6 | } 7 | TypeGraphQL.registerEnumType(SortOrder, { 8 | name: "SortOrder", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/enums/UserScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum UserScalarFieldEnum { 4 | id = "id", 5 | email = "email", 6 | age = "age" 7 | } 8 | TypeGraphQL.registerEnumType(UserScalarFieldEnum, { 9 | name: "UserScalarFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/enums/index.ts: -------------------------------------------------------------------------------- 1 | export { CommentScalarFieldEnum } from "./CommentScalarFieldEnum"; 2 | export { PostScalarFieldEnum } from "./PostScalarFieldEnum"; 3 | export { QueryMode } from "./QueryMode"; 4 | export { SortOrder } from "./SortOrder"; 5 | export { UserScalarFieldEnum } from "./UserScalarFieldEnum"; 6 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/models/index.ts: -------------------------------------------------------------------------------- 1 | export { Comment } from "./Comment"; 2 | export { Post } from "./Post"; 3 | export { User } from "./User"; 4 | export { UserAddress } from "./UserAddress"; 5 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Comment/args/CreateManyCommentArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CommentCreateManyInput } from "../../../inputs/CommentCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyCommentArgs { 7 | @TypeGraphQL.Field(_type => [CommentCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: CommentCreateManyInput[]; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Comment/args/CreateOneCommentArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CommentCreateInput } from "../../../inputs/CommentCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneCommentArgs { 7 | @TypeGraphQL.Field(_type => CommentCreateInput, { 8 | nullable: false 9 | }) 10 | data!: CommentCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Comment/args/DeleteManyCommentArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CommentWhereInput } from "../../../inputs/CommentWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyCommentArgs { 7 | @TypeGraphQL.Field(_type => CommentWhereInput, { 8 | nullable: true 9 | }) 10 | where?: CommentWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Comment/args/DeleteOneCommentArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CommentWhereUniqueInput } from "../../../inputs/CommentWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneCommentArgs { 7 | @TypeGraphQL.Field(_type => CommentWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: CommentWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Comment/args/FindUniqueCommentArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CommentWhereUniqueInput } from "../../../inputs/CommentWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueCommentArgs { 7 | @TypeGraphQL.Field(_type => CommentWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: CommentWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Comment/args/FindUniqueCommentOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CommentWhereUniqueInput } from "../../../inputs/CommentWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueCommentOrThrowArgs { 7 | @TypeGraphQL.Field(_type => CommentWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: CommentWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Post/args/CreateManyPostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostCreateManyInput } from "../../../inputs/PostCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyPostArgs { 7 | @TypeGraphQL.Field(_type => [PostCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: PostCreateManyInput[]; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Post/args/CreateOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostCreateInput } from "../../../inputs/PostCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostCreateInput, { 8 | nullable: false 9 | }) 10 | data!: PostCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteManyPostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereInput } from "../../../inputs/PostWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyPostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereInput, { 8 | nullable: true 9 | }) 10 | where?: PostWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostOrThrowArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/User/args/CreateManyUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserCreateManyInput } from "../../../inputs/UserCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyUserArgs { 7 | @TypeGraphQL.Field(_type => [UserCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: UserCreateManyInput[]; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/User/args/CreateOneUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserCreateInput } from "../../../inputs/UserCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneUserArgs { 7 | @TypeGraphQL.Field(_type => UserCreateInput, { 8 | nullable: false 9 | }) 10 | data!: UserCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/User/args/DeleteManyUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereInput } from "../../../inputs/UserWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereInput, { 8 | nullable: true 9 | }) 10 | where?: UserWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/User/args/DeleteOneUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/User/args/FindUniqueUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueUserArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/User/args/FindUniqueUserOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { UserWhereUniqueInput } from "../../../inputs/UserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueUserOrThrowArgs { 7 | @TypeGraphQL.Field(_type => UserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: UserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./Comment/args"; 2 | export * from "./Post/args"; 3 | export * from "./User/args"; 4 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers-actions.index"; 2 | export * from "./resolvers-crud.index"; 3 | export * from "./args.index"; 4 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/crud/resolvers-crud.index.ts: -------------------------------------------------------------------------------- 1 | export { CommentCrudResolver } from "./Comment/CommentCrudResolver"; 2 | export { PostCrudResolver } from "./Post/PostCrudResolver"; 3 | export { UserCrudResolver } from "./User/UserCrudResolver"; 4 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/inputs/CommentCreateManyPostInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("CommentCreateManyPostInput", {}) 7 | export class CommentCreateManyPostInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id?: string | undefined; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: false 15 | }) 16 | comment!: string; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/inputs/CommentCreateWithoutPostInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("CommentCreateWithoutPostInput", {}) 7 | export class CommentCreateWithoutPostInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id?: string | undefined; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: false 15 | }) 16 | comment!: string; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/inputs/CommentOrderByRelationAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("CommentOrderByRelationAggregateInput", {}) 8 | export class CommentOrderByRelationAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: true 11 | }) 12 | _count?: "asc" | "desc" | undefined; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/inputs/CommentUpdateManyMutationInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("CommentUpdateManyMutationInput", {}) 7 | export class CommentUpdateManyMutationInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | comment?: string | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/inputs/CommentUpdateWithoutPostInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("CommentUpdateWithoutPostInput", {}) 7 | export class CommentUpdateWithoutPostInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | comment?: string | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/inputs/PostOrderByRelationAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("PostOrderByRelationAggregateInput", {}) 8 | export class PostOrderByRelationAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: false 11 | }) 12 | count!: "asc" | "desc"; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/inputs/StringFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("StringFieldUpdateOperationsInput", {}) 7 | export class StringFieldUpdateOperationsInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | set?: string | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/inputs/UserAvgOrderByAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("UserAvgOrderByAggregateInput", {}) 8 | export class UserAvgOrderByAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: true 11 | }) 12 | age?: "asc" | "desc" | undefined; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/inputs/UserSumOrderByAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("UserSumOrderByAggregateInput", {}) 8 | export class UserSumOrderByAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: true 11 | }) 12 | age?: "asc" | "desc" | undefined; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/outputs/AffectedRowsOutput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("AffectedRowsOutput", {}) 7 | export class AffectedRowsOutput { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 9 | nullable: false 10 | }) 11 | count!: number; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/outputs/UserAvgAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("UserAvgAggregate", {}) 7 | export class UserAvgAggregate { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Float, { 9 | nullable: true 10 | }) 11 | age!: number | null; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/outputs/UserSumAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("UserSumAggregate", {}) 7 | export class UserSumAggregate { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 9 | nullable: true 10 | }) 11 | age!: number | null; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/outputs/args/PostCountCommentsArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CommentWhereInput } from "../../inputs/CommentWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class PostCountCommentsArgs { 7 | @TypeGraphQL.Field(_type => CommentWhereInput, { 8 | nullable: true 9 | }) 10 | where?: CommentWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/outputs/args/UserCountPostsArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereInput } from "../../inputs/PostWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class UserCountPostsArgs { 7 | @TypeGraphQL.Field(_type => PostWhereInput, { 8 | nullable: true 9 | }) 10 | where?: PostWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/outputs/args/index.ts: -------------------------------------------------------------------------------- 1 | export { PostCountCommentsArgs } from "./PostCountCommentsArgs"; 2 | export { UserCountPostsArgs } from "./UserCountPostsArgs"; 3 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/relations/Post/args/index.ts: -------------------------------------------------------------------------------- 1 | export { PostCommentsArgs } from "./PostCommentsArgs"; 2 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/relations/User/args/index.ts: -------------------------------------------------------------------------------- 1 | export { UserPostsArgs } from "./UserPostsArgs"; 2 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/relations/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./Post/args"; 2 | export * from "./User/args"; 3 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/relations/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers.index"; 2 | export * from "./args.index"; 3 | -------------------------------------------------------------------------------- /experiments/mongodb/prisma/generated/type-graphql/resolvers/relations/resolvers.index.ts: -------------------------------------------------------------------------------- 1 | export { CommentRelationsResolver } from "./Comment/CommentRelationsResolver"; 2 | export { PostRelationsResolver } from "./Post/PostRelationsResolver"; 3 | export { UserRelationsResolver } from "./User/UserRelationsResolver"; 4 | -------------------------------------------------------------------------------- /experiments/mongodb/query.graphql: -------------------------------------------------------------------------------- 1 | query GetUsersWithAddressAndPostsAndComments { 2 | users { 3 | id 4 | email 5 | age 6 | address { 7 | city 8 | number 9 | street 10 | } 11 | posts { 12 | id 13 | slug 14 | title 15 | body 16 | comments { 17 | id 18 | comment 19 | } 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /experiments/postgres/debug.ts: -------------------------------------------------------------------------------- 1 | import generateCode from "../../src/generator/generate-code"; 2 | import { Prisma } from "./prisma/generated/client"; 3 | 4 | generateCode( 5 | // @ts-ignore FIXME: use getDMMF 6 | Prisma.dmmf, 7 | { 8 | outputDirPath: __dirname + "/prisma/generated/type-graphql", 9 | relativePrismaOutputPath: "../client", 10 | }, 11 | console.log, 12 | ); 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/.env.template: -------------------------------------------------------------------------------- 1 | DATABASE_URL= 2 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/default.d.ts: -------------------------------------------------------------------------------- 1 | export * from './index' -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/default.js: -------------------------------------------------------------------------------- 1 | module.exports = { ...require('.') } -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/edge.d.ts: -------------------------------------------------------------------------------- 1 | export * from './default' -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/browser-chalk.d.ts: -------------------------------------------------------------------------------- 1 | declare const browserChalk: any; 2 | export default browserChalk; 3 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/browser-terminal-link.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: (text: any, link: any) => any; 2 | export default _default; 3 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/browser.d.ts: -------------------------------------------------------------------------------- 1 | export { DMMF } from './dmmf-types'; 2 | export { DMMFClass } from './dmmf'; 3 | export { deepGet, deepSet } from './utils/deep-set'; 4 | export { makeDocument, transformDocument } from './query'; 5 | export { BrowserEngine as Engine } from '@prisma/engine-core/dist/BrowserEngine'; 6 | export { default as debugLib } from 'debug'; 7 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/externalToInternalDmmf.d.ts: -------------------------------------------------------------------------------- 1 | import { DMMF as ExternalDMMF } from '@prisma/generator-helper'; 2 | import { DMMF } from './dmmf-types'; 3 | /** 4 | * Turns type: string into type: string[] for all args in order to support union input types 5 | * @param document 6 | */ 7 | export declare function externalToInternalDmmf(document: ExternalDMMF.Document): DMMF.Document; 8 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/getLogLevel.d.ts: -------------------------------------------------------------------------------- 1 | declare type LogLevel = 'info' | 'query' | 'warn' | 'error'; 2 | declare type LogDefinition = { 3 | level: LogLevel; 4 | emit: 'stdout' | 'event'; 5 | }; 6 | export declare function getLogLevel(log: LogLevel | Array): LogLevel | undefined; 7 | export {}; 8 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/highlight/highlight.d.ts: -------------------------------------------------------------------------------- 1 | export declare function highlightTS(str: string): any; 2 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/highlight/languages/dml.d.ts: -------------------------------------------------------------------------------- 1 | import { SyntaxDefinition } from '../types'; 2 | export declare const dml: SyntaxDefinition; 3 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/highlight/languages/sql.d.ts: -------------------------------------------------------------------------------- 1 | import { SyntaxDefinition } from '../types'; 2 | export declare const sql: SyntaxDefinition; 3 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/highlight/prism.d.ts: -------------------------------------------------------------------------------- 1 | export declare var Prism: any; 2 | export declare function Token(this: any, type: any, content: any, alias: any, matchedStr?: any, greedy?: any): void; 3 | export declare namespace Token { 4 | var stringify: (o: any, language?: any) => any; 5 | } 6 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/highlight/theme.d.ts: -------------------------------------------------------------------------------- 1 | import chalk from 'chalk'; 2 | import { Theme } from './types'; 3 | export declare const orange: chalk.Chalk; 4 | export declare const darkBrightBlue: chalk.Chalk; 5 | export declare const blue: chalk.Chalk; 6 | export declare const brightBlue: chalk.Chalk; 7 | export declare const identity: (str: any) => any; 8 | export declare const theme: Theme; 9 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/mergeBy.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Merge two arrays, their elements uniqueness decided by the callback. 3 | * In case of a duplicate, elements of `arr2` are taken. 4 | * If there is a duplicate within an array, the last element is being taken. 5 | * @param arr1 Base array 6 | * @param arr2 Array to overwrite the first one if there is a match 7 | * @param cb The function to calculate uniqueness 8 | */ 9 | export declare function mergeBy(arr1: T[], arr2: T[], cb: (element: T) => string): T[]; 10 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/transformDmmf.d.ts: -------------------------------------------------------------------------------- 1 | import { DMMF } from './dmmf-types'; 2 | export declare function transformDmmf(document: DMMF.Document): DMMF.Document; 3 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/utils/dedent.d.ts: -------------------------------------------------------------------------------- 1 | export declare function dedent(str: string): string; 2 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/utils/deep-set.d.ts: -------------------------------------------------------------------------------- 1 | export declare const deepGet: (o: any, kp: string[]) => any; 2 | export declare const deepSet: (o: any, kp: string | string[], v: any) => any; 3 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/utils/filterObject.d.ts: -------------------------------------------------------------------------------- 1 | export declare function filterObject(obj: any, cb: any): any; 2 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/utils/flatMap.d.ts: -------------------------------------------------------------------------------- 1 | export declare function flatMap(array: T[], callbackFn: (value: T, index: number, array: T[]) => U[], thisArg?: any): U[]; 2 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/utils/omit.d.ts: -------------------------------------------------------------------------------- 1 | export declare type Exclude = T extends U ? never : T; 2 | export declare type Omit = { 3 | [P in Exclude]: T[P]; 4 | }; 5 | export declare function omit(object: T, path: K | K[]): Omit; 6 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/utils/printJsonErrors.d.ts: -------------------------------------------------------------------------------- 1 | export interface MissingItem { 2 | path: string; 3 | isRequired: boolean; 4 | type: string | object; 5 | } 6 | export declare type PrintJsonWithErrorsArgs = { 7 | ast: object; 8 | keyPaths: string[]; 9 | valuePaths: string[]; 10 | missingItems: MissingItem[]; 11 | }; 12 | export declare function printJsonWithErrors({ ast, keyPaths, valuePaths, missingItems, }: PrintJsonWithErrorsArgs): any; 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/utils/serializeRawParameters.d.ts: -------------------------------------------------------------------------------- 1 | export declare function serializeRawParameters(data: any): string; 2 | /** 3 | * Replaces Date as needed in https://github.com/prisma/prisma-engines/pull/835 4 | * @param data parameters 5 | */ 6 | export declare function replaceDates(data: any): any; 7 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/utils/stringifyObject.d.ts: -------------------------------------------------------------------------------- 1 | declare const stringifyObject: (input: any, options?: any, pad?: any) => any; 2 | export default stringifyObject; 3 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/utils/uniqueBy.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Returns unique elements of array 3 | * @param arr Array 4 | */ 5 | export declare function uniqueBy(arr: T[], callee: (element: T) => string): T[]; 6 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/runtime/visit.d.ts: -------------------------------------------------------------------------------- 1 | import { Arg, Document } from './query'; 2 | interface Visitor { 3 | Arg: { 4 | enter: (node: Arg) => Arg | undefined; 5 | }; 6 | } 7 | export declare function visit(document: Document, visitor: Visitor): Document; 8 | export {}; 9 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/client/wasm.d.ts: -------------------------------------------------------------------------------- 1 | export * from './index' -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/CategoryOrderByRelevanceFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum CategoryOrderByRelevanceFieldEnum { 4 | name = "name", 5 | slug = "slug" 6 | } 7 | TypeGraphQL.registerEnumType(CategoryOrderByRelevanceFieldEnum, { 8 | name: "CategoryOrderByRelevanceFieldEnum", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/CategoryScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum CategoryScalarFieldEnum { 4 | name = "name", 5 | slug = "slug", 6 | number = "number" 7 | } 8 | TypeGraphQL.registerEnumType(CategoryScalarFieldEnum, { 9 | name: "CategoryScalarFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/CreatorOrderByRelevanceFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum CreatorOrderByRelevanceFieldEnum { 4 | name = "name" 5 | } 6 | TypeGraphQL.registerEnumType(CreatorOrderByRelevanceFieldEnum, { 7 | name: "CreatorOrderByRelevanceFieldEnum", 8 | description: undefined, 9 | }); 10 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/CreatorScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum CreatorScalarFieldEnum { 4 | id = "id", 5 | name = "name" 6 | } 7 | TypeGraphQL.registerEnumType(CreatorScalarFieldEnum, { 8 | name: "CreatorScalarFieldEnum", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/DirectorOrderByRelevanceFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum DirectorOrderByRelevanceFieldEnum { 4 | firstName = "firstName", 5 | lastName = "lastName" 6 | } 7 | TypeGraphQL.registerEnumType(DirectorOrderByRelevanceFieldEnum, { 8 | name: "DirectorOrderByRelevanceFieldEnum", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/DirectorScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum DirectorScalarFieldEnum { 4 | firstName = "firstName", 5 | lastName = "lastName" 6 | } 7 | TypeGraphQL.registerEnumType(DirectorScalarFieldEnum, { 8 | name: "DirectorScalarFieldEnum", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/EquipmentOrderByRelevanceFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum EquipmentOrderByRelevanceFieldEnum { 4 | id = "id", 5 | name = "name" 6 | } 7 | TypeGraphQL.registerEnumType(EquipmentOrderByRelevanceFieldEnum, { 8 | name: "EquipmentOrderByRelevanceFieldEnum", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/EquipmentScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum EquipmentScalarFieldEnum { 4 | id = "id", 5 | name = "name" 6 | } 7 | TypeGraphQL.registerEnumType(EquipmentScalarFieldEnum, { 8 | name: "EquipmentScalarFieldEnum", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/HiddenOrderByRelevanceFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum HiddenOrderByRelevanceFieldEnum { 4 | id = "id", 5 | name = "name" 6 | } 7 | TypeGraphQL.registerEnumType(HiddenOrderByRelevanceFieldEnum, { 8 | name: "HiddenOrderByRelevanceFieldEnum", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/HiddenScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum HiddenScalarFieldEnum { 4 | id = "id", 5 | name = "name" 6 | } 7 | TypeGraphQL.registerEnumType(HiddenScalarFieldEnum, { 8 | name: "HiddenScalarFieldEnum", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/JsonNullValueFilter.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum JsonNullValueFilter { 4 | DbNull = "DbNull", 5 | JsonNull = "JsonNull", 6 | AnyNull = "AnyNull" 7 | } 8 | TypeGraphQL.registerEnumType(JsonNullValueFilter, { 9 | name: "JsonNullValueFilter", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/JsonNullValueInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum JsonNullValueInput { 4 | JsonNull = "JsonNull" 5 | } 6 | TypeGraphQL.registerEnumType(JsonNullValueInput, { 7 | name: "JsonNullValueInput", 8 | description: undefined, 9 | }); 10 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/MainUserOrderByRelevanceFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum MainUserOrderByRelevanceFieldEnum { 4 | email = "email", 5 | firstName = "name", 6 | aliases = "aliases" 7 | } 8 | TypeGraphQL.registerEnumType(MainUserOrderByRelevanceFieldEnum, { 9 | name: "MainUserOrderByRelevanceFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/MainUserScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum MainUserScalarFieldEnum { 4 | id = "id", 5 | email = "email", 6 | firstName = "name", 7 | age = "age", 8 | accountBalance = "balance", 9 | amount = "amount", 10 | role = "role", 11 | grades = "grades", 12 | aliases = "aliases" 13 | } 14 | TypeGraphQL.registerEnumType(MainUserScalarFieldEnum, { 15 | name: "MainUserScalarFieldEnum", 16 | description: undefined, 17 | }); 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/MovieOrderByRelevanceFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum MovieOrderByRelevanceFieldEnum { 4 | directorFirstName = "directorFirstName", 5 | directorLastName = "directorLastName", 6 | title = "title" 7 | } 8 | TypeGraphQL.registerEnumType(MovieOrderByRelevanceFieldEnum, { 9 | name: "MovieOrderByRelevanceFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/MovieScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum MovieScalarFieldEnum { 4 | directorFirstName = "directorFirstName", 5 | directorLastName = "directorLastName", 6 | title = "title" 7 | } 8 | TypeGraphQL.registerEnumType(MovieScalarFieldEnum, { 9 | name: "MovieScalarFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/NativeTypeModelScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum NativeTypeModelScalarFieldEnum { 4 | id = "id", 5 | bigInt = "bigInt", 6 | byteA = "byteA", 7 | decimal = "decimal" 8 | } 9 | TypeGraphQL.registerEnumType(NativeTypeModelScalarFieldEnum, { 10 | name: "NativeTypeModelScalarFieldEnum", 11 | description: undefined, 12 | }); 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/NullsOrder.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum NullsOrder { 4 | first = "first", 5 | last = "last" 6 | } 7 | TypeGraphQL.registerEnumType(NullsOrder, { 8 | name: "NullsOrder", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/PatientOrderByRelevanceFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum PatientOrderByRelevanceFieldEnum { 4 | firstName = "firstName", 5 | lastName = "lastName", 6 | email = "email" 7 | } 8 | TypeGraphQL.registerEnumType(PatientOrderByRelevanceFieldEnum, { 9 | name: "PatientOrderByRelevanceFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/PatientScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum PatientScalarFieldEnum { 4 | firstName = "firstName", 5 | lastName = "lastName", 6 | email = "email" 7 | } 8 | TypeGraphQL.registerEnumType(PatientScalarFieldEnum, { 9 | name: "PatientScalarFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/PostKind.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum PostKind { 4 | BLOG = "BLOG", 5 | ADVERT = "ADVERT" 6 | } 7 | TypeGraphQL.registerEnumType(PostKind, { 8 | name: "PostKind", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/PostOrderByRelevanceFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum PostOrderByRelevanceFieldEnum { 4 | uuid = "uuid", 5 | title = "title", 6 | subtitle = "subtitle", 7 | content = "content" 8 | } 9 | TypeGraphQL.registerEnumType(PostOrderByRelevanceFieldEnum, { 10 | name: "PostOrderByRelevanceFieldEnum", 11 | description: undefined, 12 | }); 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/PostScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum PostScalarFieldEnum { 4 | uuid = "uuid", 5 | createdAt = "createdAt", 6 | updatedAt = "updatedAt", 7 | published = "published", 8 | title = "title", 9 | subtitle = "subtitle", 10 | content = "content", 11 | authorId = "authorId", 12 | editorId = "editorId", 13 | kind = "kind", 14 | metadata = "metadata" 15 | } 16 | TypeGraphQL.registerEnumType(PostScalarFieldEnum, { 17 | name: "PostScalarFieldEnum", 18 | description: undefined, 19 | }); 20 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/ProblemOrderByRelevanceFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum ProblemOrderByRelevanceFieldEnum { 4 | problemText = "problemText" 5 | } 6 | TypeGraphQL.registerEnumType(ProblemOrderByRelevanceFieldEnum, { 7 | name: "ProblemOrderByRelevanceFieldEnum", 8 | description: undefined, 9 | }); 10 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/ProblemScalarFieldEnum.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum ProblemScalarFieldEnum { 4 | id = "id", 5 | problemText = "problemText", 6 | creatorId = "creatorId" 7 | } 8 | TypeGraphQL.registerEnumType(ProblemScalarFieldEnum, { 9 | name: "ProblemScalarFieldEnum", 10 | description: undefined, 11 | }); 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/QueryMode.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum QueryMode { 4 | "default" = "default", 5 | insensitive = "insensitive" 6 | } 7 | TypeGraphQL.registerEnumType(QueryMode, { 8 | name: "QueryMode", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/Role.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | /** Role enum doc */ 4 | export enum Role { 5 | USER = "USER", 6 | ADMIN = "ADMIN" 7 | } 8 | TypeGraphQL.registerEnumType(Role, { 9 | name: "Role", 10 | description: "Role enum doc", 11 | }); 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/SortOrder.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum SortOrder { 4 | asc = "asc", 5 | desc = "desc" 6 | } 7 | TypeGraphQL.registerEnumType(SortOrder, { 8 | name: "SortOrder", 9 | description: undefined, 10 | }); 11 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/enums/TransactionIsolationLevel.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | 3 | export enum TransactionIsolationLevel { 4 | ReadUncommitted = "ReadUncommitted", 5 | ReadCommitted = "ReadCommitted", 6 | RepeatableRead = "RepeatableRead", 7 | Serializable = "Serializable" 8 | } 9 | TypeGraphQL.registerEnumType(TransactionIsolationLevel, { 10 | name: "TransactionIsolationLevel", 11 | description: undefined, 12 | }); 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/models/Equipment.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../client"; 4 | import { DecimalJSScalar } from "../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("Equipment", {}) 7 | export class Equipment { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.ID, { 9 | nullable: false 10 | }) 11 | id!: string; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name?: string | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/models/Hidden.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../client"; 4 | import { DecimalJSScalar } from "../scalars"; 5 | 6 | export class Hidden { 7 | @TypeGraphQL.Field(_type => TypeGraphQL.ID, { 8 | nullable: false 9 | }) 10 | id!: string; 11 | 12 | @TypeGraphQL.Field(_type => String, { 13 | nullable: true 14 | }) 15 | name?: string | null; 16 | } 17 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/models/index.ts: -------------------------------------------------------------------------------- 1 | export { Category } from "./Category"; 2 | export { Creator } from "./Creator"; 3 | export { Director } from "./Director"; 4 | export { Equipment } from "./Equipment"; 5 | export { Hidden } from "./Hidden"; 6 | export { MainUser } from "./MainUser"; 7 | export { Movie } from "./Movie"; 8 | export { NativeTypeModel } from "./NativeTypeModel"; 9 | export { Patient } from "./Patient"; 10 | export { Post } from "./Post"; 11 | export { Problem } from "./Problem"; 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Category/args/CreateManyCategoryArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CategoryCreateManyInput } from "../../../inputs/CategoryCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyCategoryArgs { 7 | @TypeGraphQL.Field(_type => [CategoryCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: CategoryCreateManyInput[]; 11 | 12 | @TypeGraphQL.Field(_type => Boolean, { 13 | nullable: true 14 | }) 15 | skipDuplicates?: boolean | undefined; 16 | } 17 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Category/args/CreateOneCategoryArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CategoryCreateInput } from "../../../inputs/CategoryCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneCategoryArgs { 7 | @TypeGraphQL.Field(_type => CategoryCreateInput, { 8 | nullable: false 9 | }) 10 | data!: CategoryCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Category/args/DeleteManyCategoryArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CategoryWhereInput } from "../../../inputs/CategoryWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyCategoryArgs { 7 | @TypeGraphQL.Field(_type => CategoryWhereInput, { 8 | nullable: true 9 | }) 10 | where?: CategoryWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Category/args/DeleteOneCategoryArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CategoryWhereUniqueInput } from "../../../inputs/CategoryWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneCategoryArgs { 7 | @TypeGraphQL.Field(_type => CategoryWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: CategoryWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Category/args/FindUniqueCategoryArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CategoryWhereUniqueInput } from "../../../inputs/CategoryWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueCategoryArgs { 7 | @TypeGraphQL.Field(_type => CategoryWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: CategoryWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Category/args/FindUniqueCategoryOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CategoryWhereUniqueInput } from "../../../inputs/CategoryWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueCategoryOrThrowArgs { 7 | @TypeGraphQL.Field(_type => CategoryWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: CategoryWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Creator/args/CreateManyCreatorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CreatorCreateManyInput } from "../../../inputs/CreatorCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyCreatorArgs { 7 | @TypeGraphQL.Field(_type => [CreatorCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: CreatorCreateManyInput[]; 11 | 12 | @TypeGraphQL.Field(_type => Boolean, { 13 | nullable: true 14 | }) 15 | skipDuplicates?: boolean | undefined; 16 | } 17 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Creator/args/CreateOneCreatorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CreatorCreateInput } from "../../../inputs/CreatorCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneCreatorArgs { 7 | @TypeGraphQL.Field(_type => CreatorCreateInput, { 8 | nullable: false 9 | }) 10 | data!: CreatorCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Creator/args/DeleteManyCreatorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CreatorWhereInput } from "../../../inputs/CreatorWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyCreatorArgs { 7 | @TypeGraphQL.Field(_type => CreatorWhereInput, { 8 | nullable: true 9 | }) 10 | where?: CreatorWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Creator/args/DeleteOneCreatorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CreatorWhereUniqueInput } from "../../../inputs/CreatorWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneCreatorArgs { 7 | @TypeGraphQL.Field(_type => CreatorWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: CreatorWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Creator/args/FindUniqueCreatorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CreatorWhereUniqueInput } from "../../../inputs/CreatorWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueCreatorArgs { 7 | @TypeGraphQL.Field(_type => CreatorWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: CreatorWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Creator/args/FindUniqueCreatorOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CreatorWhereUniqueInput } from "../../../inputs/CreatorWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueCreatorOrThrowArgs { 7 | @TypeGraphQL.Field(_type => CreatorWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: CreatorWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Director/args/CreateOneDirectorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { DirectorCreateInput } from "../../../inputs/DirectorCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneDirectorArgs { 7 | @TypeGraphQL.Field(_type => DirectorCreateInput, { 8 | nullable: false 9 | }) 10 | data!: DirectorCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Director/args/DeleteManyDirectorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { DirectorWhereInput } from "../../../inputs/DirectorWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyDirectorArgs { 7 | @TypeGraphQL.Field(_type => DirectorWhereInput, { 8 | nullable: true 9 | }) 10 | where?: DirectorWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Director/args/DeleteOneDirectorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { DirectorWhereUniqueInput } from "../../../inputs/DirectorWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneDirectorArgs { 7 | @TypeGraphQL.Field(_type => DirectorWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: DirectorWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Director/args/FindUniqueDirectorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { DirectorWhereUniqueInput } from "../../../inputs/DirectorWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueDirectorArgs { 7 | @TypeGraphQL.Field(_type => DirectorWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: DirectorWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Director/args/FindUniqueDirectorOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { DirectorWhereUniqueInput } from "../../../inputs/DirectorWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueDirectorOrThrowArgs { 7 | @TypeGraphQL.Field(_type => DirectorWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: DirectorWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Equipment/args/CreateOneEquipmentArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { EquipmentCreateInput } from "../../../inputs/EquipmentCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneEquipmentArgs { 7 | @TypeGraphQL.Field(_type => EquipmentCreateInput, { 8 | nullable: true 9 | }) 10 | data?: EquipmentCreateInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Equipment/args/DeleteManyEquipmentArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { EquipmentWhereInput } from "../../../inputs/EquipmentWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyEquipmentArgs { 7 | @TypeGraphQL.Field(_type => EquipmentWhereInput, { 8 | nullable: true 9 | }) 10 | where?: EquipmentWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Equipment/args/DeleteOneEquipmentArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { EquipmentWhereUniqueInput } from "../../../inputs/EquipmentWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneEquipmentArgs { 7 | @TypeGraphQL.Field(_type => EquipmentWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: EquipmentWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Equipment/args/FindUniqueEquipmentArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { EquipmentWhereUniqueInput } from "../../../inputs/EquipmentWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueEquipmentArgs { 7 | @TypeGraphQL.Field(_type => EquipmentWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: EquipmentWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Equipment/args/FindUniqueEquipmentOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { EquipmentWhereUniqueInput } from "../../../inputs/EquipmentWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueEquipmentOrThrowArgs { 7 | @TypeGraphQL.Field(_type => EquipmentWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: EquipmentWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Hidden/args/CreateManyHiddenArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { HiddenCreateManyInput } from "../../../inputs/HiddenCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyHiddenArgs { 7 | @TypeGraphQL.Field(_type => [HiddenCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: HiddenCreateManyInput[]; 11 | 12 | @TypeGraphQL.Field(_type => Boolean, { 13 | nullable: true 14 | }) 15 | skipDuplicates?: boolean | undefined; 16 | } 17 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Hidden/args/CreateOneHiddenArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { HiddenCreateInput } from "../../../inputs/HiddenCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneHiddenArgs { 7 | @TypeGraphQL.Field(_type => HiddenCreateInput, { 8 | nullable: true 9 | }) 10 | data?: HiddenCreateInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Hidden/args/DeleteManyHiddenArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { HiddenWhereInput } from "../../../inputs/HiddenWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyHiddenArgs { 7 | @TypeGraphQL.Field(_type => HiddenWhereInput, { 8 | nullable: true 9 | }) 10 | where?: HiddenWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Hidden/args/DeleteOneHiddenArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { HiddenWhereUniqueInput } from "../../../inputs/HiddenWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneHiddenArgs { 7 | @TypeGraphQL.Field(_type => HiddenWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: HiddenWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Hidden/args/FindUniqueHiddenArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { HiddenWhereUniqueInput } from "../../../inputs/HiddenWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueHiddenArgs { 7 | @TypeGraphQL.Field(_type => HiddenWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: HiddenWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Hidden/args/FindUniqueHiddenOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { HiddenWhereUniqueInput } from "../../../inputs/HiddenWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueHiddenOrThrowArgs { 7 | @TypeGraphQL.Field(_type => HiddenWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: HiddenWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/MainUser/args/CreateOneMainUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MainUserCreateInput } from "../../../inputs/MainUserCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneMainUserArgs { 7 | @TypeGraphQL.Field(_type => MainUserCreateInput, { 8 | nullable: false 9 | }) 10 | data!: MainUserCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/MainUser/args/DeleteManyMainUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MainUserWhereInput } from "../../../inputs/MainUserWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyMainUserArgs { 7 | @TypeGraphQL.Field(_type => MainUserWhereInput, { 8 | nullable: true 9 | }) 10 | where?: MainUserWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/MainUser/args/DeleteOneMainUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MainUserWhereUniqueInput } from "../../../inputs/MainUserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneMainUserArgs { 7 | @TypeGraphQL.Field(_type => MainUserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: MainUserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/MainUser/args/FindUniqueMainUserArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MainUserWhereUniqueInput } from "../../../inputs/MainUserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueMainUserArgs { 7 | @TypeGraphQL.Field(_type => MainUserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: MainUserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/MainUser/args/FindUniqueMainUserOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MainUserWhereUniqueInput } from "../../../inputs/MainUserWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueMainUserOrThrowArgs { 7 | @TypeGraphQL.Field(_type => MainUserWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: MainUserWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Movie/args/CreateManyAndReturnMovieArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MovieCreateManyInput } from "../../../inputs/MovieCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyAndReturnMovieArgs { 7 | @TypeGraphQL.Field(_type => [MovieCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: MovieCreateManyInput[]; 11 | 12 | @TypeGraphQL.Field(_type => Boolean, { 13 | nullable: true 14 | }) 15 | skipDuplicates?: boolean | undefined; 16 | } 17 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Movie/args/CreateManyMovieArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MovieCreateManyInput } from "../../../inputs/MovieCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyMovieArgs { 7 | @TypeGraphQL.Field(_type => [MovieCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: MovieCreateManyInput[]; 11 | 12 | @TypeGraphQL.Field(_type => Boolean, { 13 | nullable: true 14 | }) 15 | skipDuplicates?: boolean | undefined; 16 | } 17 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Movie/args/CreateOneMovieArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MovieCreateInput } from "../../../inputs/MovieCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneMovieArgs { 7 | @TypeGraphQL.Field(_type => MovieCreateInput, { 8 | nullable: false 9 | }) 10 | data!: MovieCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Movie/args/DeleteManyMovieArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MovieWhereInput } from "../../../inputs/MovieWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyMovieArgs { 7 | @TypeGraphQL.Field(_type => MovieWhereInput, { 8 | nullable: true 9 | }) 10 | where?: MovieWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Movie/args/DeleteOneMovieArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MovieWhereUniqueInput } from "../../../inputs/MovieWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneMovieArgs { 7 | @TypeGraphQL.Field(_type => MovieWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: MovieWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Movie/args/FindUniqueMovieArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MovieWhereUniqueInput } from "../../../inputs/MovieWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueMovieArgs { 7 | @TypeGraphQL.Field(_type => MovieWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: MovieWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Movie/args/FindUniqueMovieOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MovieWhereUniqueInput } from "../../../inputs/MovieWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueMovieOrThrowArgs { 7 | @TypeGraphQL.Field(_type => MovieWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: MovieWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/NativeTypeModel/args/CreateOneNativeTypeModelArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { NativeTypeModelCreateInput } from "../../../inputs/NativeTypeModelCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneNativeTypeModelArgs { 7 | @TypeGraphQL.Field(_type => NativeTypeModelCreateInput, { 8 | nullable: true 9 | }) 10 | data?: NativeTypeModelCreateInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/NativeTypeModel/args/DeleteManyNativeTypeModelArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { NativeTypeModelWhereInput } from "../../../inputs/NativeTypeModelWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyNativeTypeModelArgs { 7 | @TypeGraphQL.Field(_type => NativeTypeModelWhereInput, { 8 | nullable: true 9 | }) 10 | where?: NativeTypeModelWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/NativeTypeModel/args/DeleteOneNativeTypeModelArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { NativeTypeModelWhereUniqueInput } from "../../../inputs/NativeTypeModelWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneNativeTypeModelArgs { 7 | @TypeGraphQL.Field(_type => NativeTypeModelWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: NativeTypeModelWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/NativeTypeModel/args/FindUniqueNativeTypeModelArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { NativeTypeModelWhereUniqueInput } from "../../../inputs/NativeTypeModelWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueNativeTypeModelArgs { 7 | @TypeGraphQL.Field(_type => NativeTypeModelWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: NativeTypeModelWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/NativeTypeModel/args/FindUniqueNativeTypeModelOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { NativeTypeModelWhereUniqueInput } from "../../../inputs/NativeTypeModelWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueNativeTypeModelOrThrowArgs { 7 | @TypeGraphQL.Field(_type => NativeTypeModelWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: NativeTypeModelWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Patient/args/CreateManyPatientArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PatientCreateManyInput } from "../../../inputs/PatientCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyPatientArgs { 7 | @TypeGraphQL.Field(_type => [PatientCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: PatientCreateManyInput[]; 11 | 12 | @TypeGraphQL.Field(_type => Boolean, { 13 | nullable: true 14 | }) 15 | skipDuplicates?: boolean | undefined; 16 | } 17 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Patient/args/CreateOnePatientArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PatientCreateInput } from "../../../inputs/PatientCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOnePatientArgs { 7 | @TypeGraphQL.Field(_type => PatientCreateInput, { 8 | nullable: false 9 | }) 10 | data!: PatientCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Patient/args/DeleteManyPatientArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PatientWhereInput } from "../../../inputs/PatientWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyPatientArgs { 7 | @TypeGraphQL.Field(_type => PatientWhereInput, { 8 | nullable: true 9 | }) 10 | where?: PatientWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Patient/args/DeleteOnePatientArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PatientWhereUniqueInput } from "../../../inputs/PatientWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOnePatientArgs { 7 | @TypeGraphQL.Field(_type => PatientWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PatientWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Patient/args/FindUniquePatientArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PatientWhereUniqueInput } from "../../../inputs/PatientWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePatientArgs { 7 | @TypeGraphQL.Field(_type => PatientWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PatientWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Patient/args/FindUniquePatientOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PatientWhereUniqueInput } from "../../../inputs/PatientWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePatientOrThrowArgs { 7 | @TypeGraphQL.Field(_type => PatientWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PatientWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Post/args/CreateManyAndReturnPostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostCreateManyInput } from "../../../inputs/PostCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyAndReturnPostArgs { 7 | @TypeGraphQL.Field(_type => [PostCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: PostCreateManyInput[]; 11 | 12 | @TypeGraphQL.Field(_type => Boolean, { 13 | nullable: true 14 | }) 15 | skipDuplicates?: boolean | undefined; 16 | } 17 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Post/args/CreateManyPostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostCreateManyInput } from "../../../inputs/PostCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyPostArgs { 7 | @TypeGraphQL.Field(_type => [PostCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: PostCreateManyInput[]; 11 | 12 | @TypeGraphQL.Field(_type => Boolean, { 13 | nullable: true 14 | }) 15 | skipDuplicates?: boolean | undefined; 16 | } 17 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Post/args/CreateOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostCreateInput } from "../../../inputs/PostCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostCreateInput, { 8 | nullable: false 9 | }) 10 | data!: PostCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteManyPostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereInput } from "../../../inputs/PostWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyPostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereInput, { 8 | nullable: true 9 | }) 10 | where?: PostWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Post/args/DeleteOnePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOnePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Post/args/FindUniquePostOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereUniqueInput } from "../../../inputs/PostWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniquePostOrThrowArgs { 7 | @TypeGraphQL.Field(_type => PostWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: PostWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Problem/args/CreateManyProblemArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { ProblemCreateManyInput } from "../../../inputs/ProblemCreateManyInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyProblemArgs { 7 | @TypeGraphQL.Field(_type => [ProblemCreateManyInput], { 8 | nullable: false 9 | }) 10 | data!: ProblemCreateManyInput[]; 11 | 12 | @TypeGraphQL.Field(_type => Boolean, { 13 | nullable: true 14 | }) 15 | skipDuplicates?: boolean | undefined; 16 | } 17 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Problem/args/CreateOneProblemArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { ProblemCreateInput } from "../../../inputs/ProblemCreateInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateOneProblemArgs { 7 | @TypeGraphQL.Field(_type => ProblemCreateInput, { 8 | nullable: false 9 | }) 10 | data!: ProblemCreateInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Problem/args/DeleteManyProblemArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { ProblemWhereInput } from "../../../inputs/ProblemWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteManyProblemArgs { 7 | @TypeGraphQL.Field(_type => ProblemWhereInput, { 8 | nullable: true 9 | }) 10 | where?: ProblemWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Problem/args/DeleteOneProblemArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { ProblemWhereUniqueInput } from "../../../inputs/ProblemWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DeleteOneProblemArgs { 7 | @TypeGraphQL.Field(_type => ProblemWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: ProblemWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Problem/args/FindUniqueProblemArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { ProblemWhereUniqueInput } from "../../../inputs/ProblemWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueProblemArgs { 7 | @TypeGraphQL.Field(_type => ProblemWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: ProblemWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/Problem/args/FindUniqueProblemOrThrowArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { ProblemWhereUniqueInput } from "../../../inputs/ProblemWhereUniqueInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class FindUniqueProblemOrThrowArgs { 7 | @TypeGraphQL.Field(_type => ProblemWhereUniqueInput, { 8 | nullable: false 9 | }) 10 | where!: ProblemWhereUniqueInput; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./Category/args"; 2 | export * from "./Creator/args"; 3 | export * from "./Director/args"; 4 | export * from "./Equipment/args"; 5 | export * from "./Hidden/args"; 6 | export * from "./MainUser/args"; 7 | export * from "./Movie/args"; 8 | export * from "./NativeTypeModel/args"; 9 | export * from "./Patient/args"; 10 | export * from "./Post/args"; 11 | export * from "./Problem/args"; 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/crud/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers-actions.index"; 2 | export * from "./resolvers-crud.index"; 3 | export * from "./args.index"; 4 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/BoolFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("BoolFieldUpdateOperationsInput", {}) 7 | export class BoolFieldUpdateOperationsInput { 8 | @TypeGraphQL.Field(_type => Boolean, { 9 | nullable: true 10 | }) 11 | set?: boolean | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/CategoryAvgOrderByAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("CategoryAvgOrderByAggregateInput", {}) 8 | export class CategoryAvgOrderByAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: true 11 | }) 12 | number?: "asc" | "desc" | undefined; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/CategorySumOrderByAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("CategorySumOrderByAggregateInput", {}) 8 | export class CategorySumOrderByAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: true 11 | }) 12 | number?: "asc" | "desc" | undefined; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/CreatorAvgOrderByAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("CreatorAvgOrderByAggregateInput", {}) 8 | export class CreatorAvgOrderByAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: true 11 | }) 12 | id?: "asc" | "desc" | undefined; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/CreatorCreateManyInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("CreatorCreateManyInput", {}) 7 | export class CreatorCreateManyInput { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 9 | nullable: true 10 | }) 11 | id?: number | undefined; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: false 15 | }) 16 | name!: string; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/CreatorOrderByRelationAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("CreatorOrderByRelationAggregateInput", {}) 8 | export class CreatorOrderByRelationAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: false 11 | }) 12 | count!: "asc" | "desc"; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/CreatorSumOrderByAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("CreatorSumOrderByAggregateInput", {}) 8 | export class CreatorSumOrderByAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: true 11 | }) 12 | id?: "asc" | "desc" | undefined; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/CreatorUpdateManyMutationInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("CreatorUpdateManyMutationInput", {}) 7 | export class CreatorUpdateManyMutationInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | name?: string | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/DateTimeFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("DateTimeFieldUpdateOperationsInput", {}) 7 | export class DateTimeFieldUpdateOperationsInput { 8 | @TypeGraphQL.Field(_type => Date, { 9 | nullable: true 10 | }) 11 | set?: Date | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/DirectorCreateManyInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("DirectorCreateManyInput", {}) 7 | export class DirectorCreateManyInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: false 10 | }) 11 | firstName!: string; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: false 15 | }) 16 | lastName!: string; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/EnumRoleFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { Role } from "../../enums/Role"; 6 | 7 | @TypeGraphQL.InputType("EnumRoleFieldUpdateOperationsInput", {}) 8 | export class EnumRoleFieldUpdateOperationsInput { 9 | @TypeGraphQL.Field(_type => Role, { 10 | nullable: true 11 | }) 12 | set?: "USER" | "ADMIN" | undefined; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/EquipmentCreateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("EquipmentCreateInput", {}) 7 | export class EquipmentCreateInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id?: string | undefined; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name?: string | undefined; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/EquipmentCreateManyInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("EquipmentCreateManyInput", {}) 7 | export class EquipmentCreateManyInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id?: string | undefined; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name?: string | undefined; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/EquipmentUpdateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("EquipmentUpdateInput", {}) 7 | export class EquipmentUpdateInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id?: string | undefined; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name?: string | undefined; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/HiddenCreateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("HiddenCreateInput", {}) 7 | export class HiddenCreateInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id?: string | undefined; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name?: string | undefined; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/HiddenCreateManyInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("HiddenCreateManyInput", {}) 7 | export class HiddenCreateManyInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id?: string | undefined; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name?: string | undefined; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/HiddenUpdateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("HiddenUpdateInput", {}) 7 | export class HiddenUpdateInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id?: string | undefined; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name?: string | undefined; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/MainUserCreatealiasesInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("MainUserCreatealiasesInput", {}) 7 | export class MainUserCreatealiasesInput { 8 | @TypeGraphQL.Field(_type => [String], { 9 | nullable: false 10 | }) 11 | set!: string[]; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/MainUserCreategradesInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("MainUserCreategradesInput", {}) 7 | export class MainUserCreategradesInput { 8 | @TypeGraphQL.Field(_type => [TypeGraphQL.Int], { 9 | nullable: false 10 | }) 11 | set!: number[]; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/MovieCreateManyDirectorInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("MovieCreateManyDirectorInput", {}) 7 | export class MovieCreateManyDirectorInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: false 10 | }) 11 | title!: string; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/MovieCreateWithoutDirectorInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("MovieCreateWithoutDirectorInput", {}) 7 | export class MovieCreateWithoutDirectorInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: false 10 | }) 11 | title!: string; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/MovieOrderByRelationAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("MovieOrderByRelationAggregateInput", {}) 8 | export class MovieOrderByRelationAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: false 11 | }) 12 | count!: "asc" | "desc"; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/MovieUpdateManyMutationInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("MovieUpdateManyMutationInput", {}) 7 | export class MovieUpdateManyMutationInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | title?: string | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/MovieUpdateWithoutDirectorInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("MovieUpdateWithoutDirectorInput", {}) 7 | export class MovieUpdateWithoutDirectorInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | title?: string | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/NestedBoolFilter.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("NestedBoolFilter", {}) 7 | export class NestedBoolFilter { 8 | @TypeGraphQL.Field(_type => Boolean, { 9 | nullable: true 10 | }) 11 | equals?: boolean | undefined; 12 | 13 | @TypeGraphQL.Field(_type => NestedBoolFilter, { 14 | nullable: true 15 | }) 16 | not?: NestedBoolFilter | undefined; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/NullableBytesFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("NullableBytesFieldUpdateOperationsInput", {}) 7 | export class NullableBytesFieldUpdateOperationsInput { 8 | @TypeGraphQL.Field(_type => GraphQLScalars.ByteResolver, { 9 | nullable: true 10 | }) 11 | set?: Buffer | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/NullableStringFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("NullableStringFieldUpdateOperationsInput", {}) 7 | export class NullableStringFieldUpdateOperationsInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | set?: string | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/PostOrderByRelationAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("PostOrderByRelationAggregateInput", {}) 8 | export class PostOrderByRelationAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: true 11 | }) 12 | _count?: "asc" | "desc" | undefined; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/ProblemOrderByRelationAggregateInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | import { SortOrder } from "../../enums/SortOrder"; 6 | 7 | @TypeGraphQL.InputType("ProblemOrderByRelationAggregateInput", {}) 8 | export class ProblemOrderByRelationAggregateInput { 9 | @TypeGraphQL.Field(_type => SortOrder, { 10 | nullable: false 11 | }) 12 | count!: "asc" | "desc"; 13 | } 14 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/ProblemUpdateManyMutationInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("ProblemUpdateManyMutationInput", {}) 7 | export class ProblemUpdateManyMutationInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | problemText?: string | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/inputs/StringFieldUpdateOperationsInput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.InputType("StringFieldUpdateOperationsInput", {}) 7 | export class StringFieldUpdateOperationsInput { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | set?: string | undefined; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/AffectedRowsOutput.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("AffectedRowsOutput", {}) 7 | export class AffectedRowsOutput { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 9 | nullable: false 10 | }) 11 | count!: number; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/CategoryAvgAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("CategoryAvgAggregate", {}) 7 | export class CategoryAvgAggregate { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Float, { 9 | nullable: true 10 | }) 11 | number!: number | null; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/CategorySumAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("CategorySumAggregate", {}) 7 | export class CategorySumAggregate { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 9 | nullable: true 10 | }) 11 | number!: number | null; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/CreateManyAndReturnCreator.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("CreateManyAndReturnCreator", {}) 7 | export class CreateManyAndReturnCreator { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 9 | nullable: false 10 | }) 11 | id!: number; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: false 15 | }) 16 | name!: string; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/CreateManyAndReturnDirector.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("CreateManyAndReturnDirector", {}) 7 | export class CreateManyAndReturnDirector { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: false 10 | }) 11 | firstName!: string; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: false 15 | }) 16 | lastName!: string; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/CreateManyAndReturnEquipment.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("CreateManyAndReturnEquipment", {}) 7 | export class CreateManyAndReturnEquipment { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: false 10 | }) 11 | id!: string; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name!: string | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/CreateManyAndReturnHidden.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("CreateManyAndReturnHidden", {}) 7 | export class CreateManyAndReturnHidden { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: false 10 | }) 11 | id!: string; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name!: string | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/CreatorAvgAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("CreatorAvgAggregate", {}) 7 | export class CreatorAvgAggregate { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Float, { 9 | nullable: true 10 | }) 11 | id!: number | null; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/CreatorMaxAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("CreatorMaxAggregate", {}) 7 | export class CreatorMaxAggregate { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 9 | nullable: true 10 | }) 11 | id!: number | null; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name!: string | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/CreatorMinAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("CreatorMinAggregate", {}) 7 | export class CreatorMinAggregate { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 9 | nullable: true 10 | }) 11 | id!: number | null; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name!: string | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/CreatorSumAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("CreatorSumAggregate", {}) 7 | export class CreatorSumAggregate { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 9 | nullable: true 10 | }) 11 | id!: number | null; 12 | } 13 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/DirectorMaxAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("DirectorMaxAggregate", {}) 7 | export class DirectorMaxAggregate { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | firstName!: string | null; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | lastName!: string | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/DirectorMinAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("DirectorMinAggregate", {}) 7 | export class DirectorMinAggregate { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | firstName!: string | null; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | lastName!: string | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/EquipmentMaxAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("EquipmentMaxAggregate", {}) 7 | export class EquipmentMaxAggregate { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id!: string | null; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name!: string | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/EquipmentMinAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("EquipmentMinAggregate", {}) 7 | export class EquipmentMinAggregate { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id!: string | null; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name!: string | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/HiddenMaxAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("HiddenMaxAggregate", {}) 7 | export class HiddenMaxAggregate { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id!: string | null; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name!: string | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/HiddenMinAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("HiddenMinAggregate", {}) 7 | export class HiddenMinAggregate { 8 | @TypeGraphQL.Field(_type => String, { 9 | nullable: true 10 | }) 11 | id!: string | null; 12 | 13 | @TypeGraphQL.Field(_type => String, { 14 | nullable: true 15 | }) 16 | name!: string | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/PostAvgAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("PostAvgAggregate", {}) 7 | export class PostAvgAggregate { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Float, { 9 | nullable: true 10 | }) 11 | authorId!: number | null; 12 | 13 | @TypeGraphQL.Field(_type => TypeGraphQL.Float, { 14 | nullable: true 15 | }) 16 | editorId!: number | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/PostSumAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("PostSumAggregate", {}) 7 | export class PostSumAggregate { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 9 | nullable: true 10 | }) 11 | authorId!: number | null; 12 | 13 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 14 | nullable: true 15 | }) 16 | editorId!: number | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/ProblemSumAggregate.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { Prisma } from "../../../client"; 4 | import { DecimalJSScalar } from "../../scalars"; 5 | 6 | @TypeGraphQL.ObjectType("ProblemSumAggregate", {}) 7 | export class ProblemSumAggregate { 8 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 9 | nullable: true 10 | }) 11 | id!: number | null; 12 | 13 | @TypeGraphQL.Field(_type => TypeGraphQL.Int, { 14 | nullable: true 15 | }) 16 | creatorId!: number | null; 17 | } 18 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/args/CreateManyAndReturnPostEditorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MainUserWhereInput } from "../../inputs/MainUserWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyAndReturnPostEditorArgs { 7 | @TypeGraphQL.Field(_type => MainUserWhereInput, { 8 | nullable: true 9 | }) 10 | where?: MainUserWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/args/CreateManyAndReturnProblemCreatorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CreatorWhereInput } from "../../inputs/CreatorWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreateManyAndReturnProblemCreatorArgs { 7 | @TypeGraphQL.Field(_type => CreatorWhereInput, { 8 | nullable: true 9 | }) 10 | where?: CreatorWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/args/CreatorCountLikesArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { ProblemWhereInput } from "../../inputs/ProblemWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreatorCountLikesArgs { 7 | @TypeGraphQL.Field(_type => ProblemWhereInput, { 8 | nullable: true 9 | }) 10 | where?: ProblemWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/args/CreatorCountProblemsArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { ProblemWhereInput } from "../../inputs/ProblemWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class CreatorCountProblemsArgs { 7 | @TypeGraphQL.Field(_type => ProblemWhereInput, { 8 | nullable: true 9 | }) 10 | where?: ProblemWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/args/DirectorCountMoviesArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { MovieWhereInput } from "../../inputs/MovieWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class DirectorCountMoviesArgs { 7 | @TypeGraphQL.Field(_type => MovieWhereInput, { 8 | nullable: true 9 | }) 10 | where?: MovieWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/args/MainUserCountEditorPostsArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereInput } from "../../inputs/PostWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class MainUserCountEditorPostsArgs { 7 | @TypeGraphQL.Field(_type => PostWhereInput, { 8 | nullable: true 9 | }) 10 | where?: PostWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/args/MainUserCountPostsArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { PostWhereInput } from "../../inputs/PostWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class MainUserCountPostsArgs { 7 | @TypeGraphQL.Field(_type => PostWhereInput, { 8 | nullable: true 9 | }) 10 | where?: PostWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/outputs/args/ProblemCountLikedByArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CreatorWhereInput } from "../../inputs/CreatorWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class ProblemCountLikedByArgs { 7 | @TypeGraphQL.Field(_type => CreatorWhereInput, { 8 | nullable: true 9 | }) 10 | where?: CreatorWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/relations/Creator/args/index.ts: -------------------------------------------------------------------------------- 1 | export { CreatorLikesArgs } from "./CreatorLikesArgs"; 2 | export { CreatorProblemsArgs } from "./CreatorProblemsArgs"; 3 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/relations/Director/args/index.ts: -------------------------------------------------------------------------------- 1 | export { DirectorMoviesArgs } from "./DirectorMoviesArgs"; 2 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/relations/MainUser/args/index.ts: -------------------------------------------------------------------------------- 1 | export { MainUserPostsArgs } from "./MainUserPostsArgs"; 2 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/relations/Problem/args/ProblemCreatorArgs.ts: -------------------------------------------------------------------------------- 1 | import * as TypeGraphQL from "type-graphql"; 2 | import * as GraphQLScalars from "graphql-scalars"; 3 | import { CreatorWhereInput } from "../../../inputs/CreatorWhereInput"; 4 | 5 | @TypeGraphQL.ArgsType() 6 | export class ProblemCreatorArgs { 7 | @TypeGraphQL.Field(_type => CreatorWhereInput, { 8 | nullable: true 9 | }) 10 | where?: CreatorWhereInput | undefined; 11 | } 12 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/relations/Problem/args/index.ts: -------------------------------------------------------------------------------- 1 | export { ProblemCreatorArgs } from "./ProblemCreatorArgs"; 2 | export { ProblemLikedByArgs } from "./ProblemLikedByArgs"; 3 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/relations/args.index.ts: -------------------------------------------------------------------------------- 1 | export * from "./Creator/args"; 2 | export * from "./Director/args"; 3 | export * from "./MainUser/args"; 4 | export * from "./Problem/args"; 5 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/relations/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resolvers.index"; 2 | export * from "./args.index"; 3 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/generated/type-graphql/resolvers/relations/resolvers.index.ts: -------------------------------------------------------------------------------- 1 | export { CreatorRelationsResolver } from "./Creator/CreatorRelationsResolver"; 2 | export { DirectorRelationsResolver } from "./Director/DirectorRelationsResolver"; 3 | export { MainUserRelationsResolver } from "./MainUser/MainUserRelationsResolver"; 4 | export { MovieRelationsResolver } from "./Movie/MovieRelationsResolver"; 5 | export { PostRelationsResolver } from "./Post/PostRelationsResolver"; 6 | export { ProblemRelationsResolver } from "./Problem/ProblemRelationsResolver"; 7 | -------------------------------------------------------------------------------- /experiments/postgres/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- 1 | # Please do not edit this file manually 2 | # It should be added in your version-control system (i.e. Git) 3 | provider = "postgresql" -------------------------------------------------------------------------------- /img/feedback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EndyKaufman/typegraphql-prisma-nestjs/69d8a83fe7e5f9675057ca263b53748d5a913f20/img/feedback.png -------------------------------------------------------------------------------- /img/integration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EndyKaufman/typegraphql-prisma-nestjs/69d8a83fe7e5f9675057ca263b53748d5a913f20/img/integration.png -------------------------------------------------------------------------------- /jest.config.integration.ts: -------------------------------------------------------------------------------- 1 | import type { Config } from "@jest/types"; 2 | import baseConfig from "./jest.config"; 3 | 4 | const config: Config.InitialOptions = { 5 | ...baseConfig, 6 | testMatch: ["/tests/**/*integration.ts"], 7 | testPathIgnorePatterns: baseConfig.testPathIgnorePatterns?.filter( 8 | it => it !== "/tests/.*integration.*", 9 | ), 10 | }; 11 | 12 | export default config; 13 | -------------------------------------------------------------------------------- /package.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | START_TIME=$SECONDS 3 | 4 | echo "Buidling package..." 5 | rm -r lib 6 | tsc 7 | rm -r package 8 | mkdir package 9 | 10 | echo "Copying files..." 11 | cp -r lib package/lib 12 | cp package.json Readme.md LICENSE package 13 | 14 | echo "Adjusting package.json..." 15 | sed -i 's/"private": true/"private": false/' ./package/package.json 16 | npm pkg delete scripts.prepare --prefix ./package 17 | 18 | ELAPSED_TIME=$(($SECONDS - $START_TIME)) 19 | echo "Done in $ELAPSED_TIME seconds!" 20 | -------------------------------------------------------------------------------- /src/cli/dev.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require("ts-node/register/transpile-only"); 3 | require("./generator"); 4 | -------------------------------------------------------------------------------- /src/cli/generator.ts: -------------------------------------------------------------------------------- 1 | import { generatorHandler } from "@prisma/generator-helper"; 2 | 3 | import { generate } from "./prisma-generator"; 4 | 5 | generatorHandler({ 6 | onManifest: () => ({ 7 | defaultOutput: "node_modules/@generated/type-graphql-nestjs", 8 | prettyName: "TypeGraphQL + NestJS integration", 9 | requiresGenerators: ["prisma-client-js"], 10 | }), 11 | onGenerate: generate, 12 | }); 13 | -------------------------------------------------------------------------------- /src/generator.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | import "./cli/generator"; 3 | -------------------------------------------------------------------------------- /src/generator/types.ts: -------------------------------------------------------------------------------- 1 | export interface GenerateMappingData { 2 | modelName: string; 3 | resolverName: string; 4 | actionResolverNames?: string[]; 5 | } 6 | -------------------------------------------------------------------------------- /src/utils/removeDir.ts: -------------------------------------------------------------------------------- 1 | import path from "path"; 2 | import { promises as fs } from "fs"; 3 | 4 | export default async function removeDir(dirPath: string, onlyContent: boolean) { 5 | const dirEntries = await fs.readdir(dirPath, { withFileTypes: true }); 6 | await Promise.all( 7 | dirEntries.map(async dirEntry => { 8 | const fullPath = path.join(dirPath, dirEntry.name); 9 | return dirEntry.isDirectory() 10 | ? await removeDir(fullPath, false) 11 | : await fs.unlink(fullPath); 12 | }), 13 | ); 14 | if (!onlyContent) { 15 | await fs.rmdir(dirPath); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/helpers/artifacts-dir.ts: -------------------------------------------------------------------------------- 1 | import path from "path"; 2 | 3 | export default function generateArtifactsDirPath(folderSuffix: string): string { 4 | const randomNumber = Math.random().toFixed(18).slice(2); 5 | return path.join( 6 | __dirname, 7 | "../artifacts", 8 | `${randomNumber}-${folderSuffix}`, 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /tests/helpers/prisma-client-mock.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.Prisma = void 0; 4 | var Prisma; 5 | (function (Prisma) { 6 | /** 7 | * Utility Types 8 | */ 9 | // Decimal.js mock 10 | class Decimal { 11 | constructor(...arg) { } 12 | static isDecimal(object) { 13 | return true; 14 | } 15 | } 16 | Prisma.Decimal = Decimal; 17 | })(Prisma || (exports.Prisma = Prisma = {})); 18 | -------------------------------------------------------------------------------- /tests/helpers/read-file.ts: -------------------------------------------------------------------------------- 1 | import { promises as fs } from "fs"; 2 | 3 | export type ReadGeneratedFile = (filePath: string) => Promise; 4 | 5 | export default function createReadGeneratedFile( 6 | baseDirPath: string, 7 | ): ReadGeneratedFile { 8 | return (filePath: string) => 9 | fs.readFile(baseDirPath + filePath, { encoding: "utf8" }); 10 | } 11 | -------------------------------------------------------------------------------- /tests/helpers/setup-tests.ts: -------------------------------------------------------------------------------- 1 | import path from "path"; 2 | import fs from "fs"; 3 | 4 | import removeDir from "../../src/utils/removeDir"; 5 | 6 | async function setupTests() { 7 | const artifactsDirPath = path.join(__dirname, "../artifacts"); 8 | 9 | if (fs.existsSync(artifactsDirPath)) { 10 | console.log("cleaning artifacts dir..."); 11 | await removeDir(path.join(__dirname, "../artifacts"), true); 12 | console.log("cleaned!"); 13 | } 14 | } 15 | 16 | setupTests() 17 | .then(() => process.exit(0)) 18 | .catch(err => { 19 | console.error(err); 20 | process.exit(1); 21 | }); 22 | -------------------------------------------------------------------------------- /tests/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "rootDir": "../" 5 | }, 6 | "include": ["./artifacts", "./functional", "./helpers", "./regression", "../src"] 7 | } 8 | -------------------------------------------------------------------------------- /website/.gitignore: -------------------------------------------------------------------------------- 1 | # Dependencies 2 | /node_modules 3 | 4 | # Production 5 | /build 6 | 7 | # Generated files 8 | .docusaurus 9 | .cache-loader 10 | 11 | # Misc 12 | .DS_Store 13 | .env.local 14 | .env.development.local 15 | .env.test.local 16 | .env.production.local 17 | 18 | npm-debug.log* 19 | yarn-debug.log* 20 | yarn-error.log* 21 | -------------------------------------------------------------------------------- /website/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [require.resolve("@docusaurus/core/lib/babel/preset")], 3 | }; 4 | -------------------------------------------------------------------------------- /website/src/components/HomepageFeatures.module.css: -------------------------------------------------------------------------------- 1 | .features { 2 | display: flex; 3 | align-items: center; 4 | padding: 2rem 0; 5 | width: 100%; 6 | } 7 | 8 | .featureImage { 9 | box-sizing: border-box; 10 | max-height: 150px; 11 | max-width: 150px; 12 | padding: 0 0 1rem 0; 13 | } 14 | 15 | @media screen and (max-width: 512px) { 16 | .featureImage { 17 | max-height: 100px; 18 | max-width: 100px; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /website/src/components/VideoIntroduction.module.css: -------------------------------------------------------------------------------- 1 | .wrapper { 2 | position: relative; 3 | width: 966px; 4 | padding-bottom: 543px; /* 16:9 ratio */ 5 | height: 0; 6 | overflow: hidden; 7 | margin: 0 auto 4rem; 8 | } 9 | 10 | .player { 11 | position: absolute; 12 | top: 0; 13 | left: 0; 14 | width: 100%; 15 | height: 100%; 16 | } 17 | 18 | @media screen and (max-width: 966px) { 19 | .wrapper { 20 | width: 100%; 21 | padding-bottom: 56.25%; 22 | margin-bottom: 2rem; 23 | } 24 | } 25 | 26 | @media screen and (max-width: 512px) { 27 | .wrapper { 28 | margin-bottom: 1.5rem; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /website/static/.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EndyKaufman/typegraphql-prisma-nestjs/69d8a83fe7e5f9675057ca263b53748d5a913f20/website/static/.nojekyll -------------------------------------------------------------------------------- /website/static/CNAME: -------------------------------------------------------------------------------- 1 | prisma.typegraphql.com 2 | -------------------------------------------------------------------------------- /website/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EndyKaufman/typegraphql-prisma-nestjs/69d8a83fe7e5f9675057ca263b53748d5a913f20/website/static/img/favicon.ico -------------------------------------------------------------------------------- /website/static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EndyKaufman/typegraphql-prisma-nestjs/69d8a83fe7e5f9675057ca263b53748d5a913f20/website/static/img/logo.png -------------------------------------------------------------------------------- /website/static/img/logo_full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EndyKaufman/typegraphql-prisma-nestjs/69d8a83fe7e5f9675057ca263b53748d5a913f20/website/static/img/logo_full.png -------------------------------------------------------------------------------- /website/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | // This file is not used in compilation. It is here just for a nice editor experience. 3 | "extends": "@tsconfig/docusaurus/tsconfig.json", 4 | "compilerOptions": { 5 | "baseUrl": "." 6 | } 7 | } 8 | --------------------------------------------------------------------------------