Created
October 17, 2019 04:43
-
-
Save cometkim/d21e46b01eaed40095ae8d9f277cbc9f to your computer and use it in GitHub Desktop.
Prisma 1 directive mock declarations
This file contains hidden or 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
directive @db(name: String!) on FIELD_DEFINITION | OBJECT | |
directive @relationTable on OBJECT | |
directive @id on FIELD_DEFINITION | |
directive @unique on FIELD_DEFINITION | |
directive @createdAt on FIELD_DEFINITION | |
directive @updatedAt on FIELD_DEFINITION | |
directive @default(value: Any) on FIELD_DEFINITION | |
directive @relation(link: RelationLink! = TABLE, name: String) on FIELD_DEFINITION | |
enum RelationLink { | |
INLINE | |
TABLE | |
} | |
scalar Any | |
scalar DateTime | |
scalar Json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment