You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
willaengine/graphql/schema.graphql

31 lines
754 B

"A datetime string with format `Y-m-d H:i:s`, e.g. `2018-01-01 13:00:00`."
scalar DateTime @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\Scalars\\DateTime")
"A date string with format `Y-m-d`, e.g. `2011-05-23`."
scalar Date @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\Scalars\\Date")
type Mutation
type Query {
users: [User!]! @paginate(type: "paginator" model: "App\\User" defaultCount: 15)
user(id: ID @eq): User @find(model: "App\\User")
}
type User {
id: ID!
name: String!
email: String!
created_at: DateTime!
updated_at: DateTime!
cell_number: String
}
input DateRange {
from: Date!
to: Date!
}
#import ../modules/wm-crm/graphql/CRM.graphql
#import ../modules/wm-core/graphql/Core.graphql