From 3087b87dc8789d92bf1bdc4ed81e24d3010bdc95 Mon Sep 17 00:00:00 2001 From: farid saravi Date: Mon, 29 Jul 2019 20:51:42 +0430 Subject: [PATCH] take user into core module --- graphql/schema.graphql | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/graphql/schema.graphql b/graphql/schema.graphql index 633626a..ed0b051 100644 --- a/graphql/schema.graphql +++ b/graphql/schema.graphql @@ -4,31 +4,15 @@ scalar DateTime @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\Scalars\\Date "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 CreateUserRelationInput { - connect: ID! -} - input DateRange { from: Date! to: Date! } +type Mutation +type Query + + #import ../modules/wm-crm/graphql/CRM.graphql #import ../modules/wm-core/graphql/Core.graphql #import ../modules/wm-common/graphql/Common.graphql