Skip to content

Commit d4ead3e

Browse files
committed
.
1 parent c200710 commit d4ead3e

File tree

118 files changed

+3564
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+3564
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mutation CreateCategory($category: CategoryInput!) {
2+
createCategory(category: $category) {
3+
id
4+
name
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mutation DeleteCategories($ids: [ID!]!) {
2+
deleteCategories(ids: $ids) {
3+
id
4+
state
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mutation DeleteCategory($id: ID!) {
2+
deleteCategory(id: $id) {
3+
id
4+
state
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
query GetCategory($id: ID!) {
2+
category(id: $id) {
3+
id
4+
name
5+
}
6+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
query QueryCategories($filter: CategoryFilter!) {
2+
categories(filter: $filter) {
3+
results {
4+
id
5+
name
6+
}
7+
}
8+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mutation UpdateCategory($category: CategoryUpdateInput!) {
2+
updateCategory(category: $category) {
3+
id
4+
name
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mutation CreateEvent($event: EventInput!) {
2+
createEvent(event: $event) {
3+
id
4+
name
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mutation DeleteEvent($id: ID!) {
2+
deleteEvent(id: $id) {
3+
id
4+
state
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mutation DeleteEvents($ids: [ID!]!) {
2+
deleteEvents(ids: $ids) {
3+
id
4+
state
5+
}
6+
}

documents/event/GetEvent.graphql

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
query GetEvent($id: ID!) {
2+
event(id: $id) {
3+
id
4+
name
5+
alternateNames
6+
creationDate
7+
startDate
8+
endDate
9+
price
10+
}
11+
}

0 commit comments

Comments
 (0)