morristech
5/14/2019 - 8:22 PM

annotated-schema.graphql

type Note
  @model
  @auth(rules: [
    { allow: owner },
    { allow: groups, groups: ["managers"], queries: ["get","list"] }
  ])
{
    id: ID!
    title: String!
    content: String!
}