All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.message.graphqls Maven / Gradle / Ivy

The newest version!
extend type Query {
    message(id: ID!):                         Message!
    myMessages(read: Boolean, range: Range!): [Message!]!
    myMessagesCount(read: Boolean):           Int
}

extend type Mutation {
    markMessageRead(id: ID!, read: Boolean!): Int!
    deleteMessage(id: ID!): Int!
}

extend type Subscription {
    messages: Message!
}

type Message {
    id:                  ID!
    sender:              User
    recipient:           User!
    subject:             String!
    body:                String!
    attachments:         [ContentRef!]!
    readAt:              DateTime
    publishedAt:         DateTime
    processKey:          String
    processDefinition:   ProcessDefinition
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy