feat: implement collections syncing for selfhosted (#42)

This commit is contained in:
Akash K
2023-04-01 17:22:42 +05:30
committed by GitHub
parent 9d7509b4dd
commit 86a12e2d28
38 changed files with 4190 additions and 27 deletions

View File

@@ -0,0 +1,10 @@
subscription UserCollectionCreated {
userCollectionCreated {
parent {
id
}
id
title
type
}
}

View File

@@ -0,0 +1,9 @@
subscription UserCollectionMoved {
userCollectionMoved {
id
parent {
id
}
type
}
}

View File

@@ -0,0 +1,17 @@
subscription UserCollectionOrderUpdated {
userCollectionOrderUpdated {
userCollection {
id
parent {
id
}
}
nextUserCollection {
id
parent {
id
}
}
}
}

View File

@@ -0,0 +1,6 @@
subscription UserCollectionRemoved {
userCollectionRemoved {
id
type
}
}

View File

@@ -0,0 +1,10 @@
subscription userCollectionUpdated {
userCollectionUpdated {
id
title
type
parent {
id
}
}
}

View File

@@ -0,0 +1,9 @@
subscription UserRequestCreated {
userRequestCreated {
id
collectionID
title
request
type
}
}

View File

@@ -0,0 +1,9 @@
subscription UserRequestDeleted {
userRequestDeleted {
id
collectionID
title
request
type
}
}

View File

@@ -0,0 +1,13 @@
subscription UserRequestMoved {
userRequestMoved {
request {
id
collectionID
type
}
nextRequest {
id
collectionID
}
}
}

View File

@@ -0,0 +1,9 @@
subscription UserRequestUpdated {
userRequestUpdated {
id
collectionID
title
request
type
}
}