UNPKG

type-graphql

Version:

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

7 lines (6 loc) 180 B
export interface AuthorizedMetadata { target: Function; fieldName: string; roles: any[]; } export type AuthorizedClassMetadata = Omit<AuthorizedMetadata, "fieldName">;