For example: ```model Inout { id Int ... name ...
# orm-help
o
For example:
Copy code
model Inout {
  id Int ...
  name String
  muxType ???
}
and I have this type definition for MuxType:
Copy code
enum MuxType {
    Sdi = <any> 'sdi',
    Ts = <any> 'ts',
    Essence = <any> 'essence'
}
(Btw, how to set proper language for the code block?)
n
Hey Onkel 👋, Welcome to Prisma's Slack. You can define enums in
schema.prisma
file as below:
Copy code
enum muxType {
  sdi
  ts
  essense
}

model Inout {
  id      Int     @id
  name    String
  muxType muxType
}
You could use Slack's
/snippet
functionality to use proper language.
o
@Nurul I see thanks. But I already has enum definition in TypeScript. I need to include that spec into .prisma file. How to do that?