-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update typegraphql-prisma-nestjs to 0.2600.0
- Loading branch information
Your Name
committed
Jul 9, 2023
1 parent
6f4475b
commit 6199eb6
Showing
11 changed files
with
483 additions
and
271 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Args, ArgsType, Context, Field, Float, ID, Info, InputType, Int, Mutation, ObjectType, Query, ResolveField, Resolver, Root, registerEnumType } from "@nestjs/graphql"; | ||
|
||
export enum NullsOrder { | ||
first = "first", | ||
last = "last" | ||
} | ||
registerEnumType(NullsOrder, { | ||
name: "NullsOrder", | ||
description: undefined, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export { NullsOrder } from "./NullsOrder"; | ||
export { SortOrder } from "./SortOrder"; | ||
export { TransactionIsolationLevel } from "./TransactionIsolationLevel"; | ||
export { UserScalarFieldEnum } from "./UserScalarFieldEnum"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Args, ArgsType, Context, Field, Float, ID, Info, InputType, Int, Mutation, ObjectType, Query, ResolveField, Resolver, Root, registerEnumType } from "@nestjs/graphql"; | ||
import * as GraphQLScalars from "graphql-scalars"; | ||
import { Prisma } from "@prisma/client"; | ||
import { DecimalJSScalar } from "../../scalars"; | ||
import { NullsOrder } from "../../enums/NullsOrder"; | ||
import { SortOrder } from "../../enums/SortOrder"; | ||
|
||
@InputType("SortOrderInput", { | ||
isAbstract: true | ||
}) | ||
export class SortOrderInput { | ||
@Field(_type => SortOrder, { | ||
nullable: false | ||
}) | ||
sort!: "asc" | "desc"; | ||
|
||
@Field(_type => NullsOrder, { | ||
nullable: true | ||
}) | ||
nulls?: "first" | "last" | undefined; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters