

type Profile {
    id: String,
    uuid: String,
    userId: String,
    firstName: String,
    lastName: String,
    username: String,
    profileUrl: String,
    email: String,
    phone: String,
    isAdmin: Boolean,
    isManager: Boolean,
    owner: Boolean,
    role: Int,
    token: String,
    status: Int,
    accountId: String,
    accountName: String,
    accountRole: String,
    createdAt: String,
    updatedAt: String,
}

input LoginInput {
    username: String!,
    password: String!,
    type: String,
}

type Query {
    _profile: Profile,
}

type Mutation {
    _login ( input: LoginInput! ): Profile,
}

schema {
    query: Query,
    mutation: Mutation,
}