All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 39s
19 lines
278 B
TypeScript
Executable File
19 lines
278 B
TypeScript
Executable File
export const schema = gql`
|
|
type Titles {
|
|
id: Int!
|
|
titles: [String]!
|
|
}
|
|
|
|
type Query {
|
|
titles: Titles! @skipAuth
|
|
}
|
|
|
|
input UpdateTitlesInput {
|
|
titles: [String]!
|
|
}
|
|
|
|
type Mutation {
|
|
updateTitles(input: UpdateTitlesInput!): Titles! @requireAuth
|
|
}
|
|
`
|