feat: desktop app
Co-authored-by: Vivek R <123vivekr@gmail.com> Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
mutation CreateUserEnvironment($name: String!, $variables: String!) {
|
||||
createUserEnvironment(name: $name, variables: $variables) {
|
||||
id
|
||||
userUid
|
||||
name
|
||||
variables
|
||||
isGlobal
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
query ExportUserCollectionsToJSON(
|
||||
$collectionID: ID
|
||||
$collectionType: ReqType!
|
||||
) {
|
||||
exportUserCollectionsToJSON(
|
||||
collectionID: $collectionID
|
||||
collectionType: $collectionType
|
||||
) {
|
||||
collectionType
|
||||
exportedCollection
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
query GetCurrentRESTSession {
|
||||
me {
|
||||
currentRESTSession
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
query GetGlobalEnvironments {
|
||||
me {
|
||||
globalEnvironments {
|
||||
id
|
||||
isGlobal
|
||||
name
|
||||
userUid
|
||||
variables
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
query GetRESTUserHistory {
|
||||
me {
|
||||
RESTHistory {
|
||||
id
|
||||
userUid
|
||||
reqType
|
||||
request
|
||||
responseMetadata
|
||||
isStarred
|
||||
executedOn
|
||||
}
|
||||
|
||||
GQLHistory {
|
||||
id
|
||||
userUid
|
||||
reqType
|
||||
request
|
||||
responseMetadata
|
||||
isStarred
|
||||
executedOn
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
query GetGQLRootUserCollections {
|
||||
# the frontend doesnt paginate right now, so giving take a big enough value to get all collections at once
|
||||
rootGQLUserCollections(take: 99999) {
|
||||
id
|
||||
title
|
||||
type
|
||||
childrenGQL {
|
||||
id
|
||||
title
|
||||
type
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
query GetUserEnvironments {
|
||||
me {
|
||||
environments {
|
||||
id
|
||||
isGlobal
|
||||
name
|
||||
userUid
|
||||
variables
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
query GetUserRootCollections {
|
||||
# the frontend doesnt paginate right now, so giving take a big enough value to get all collections at once
|
||||
rootRESTUserCollections(take: 99999) {
|
||||
id
|
||||
title
|
||||
type
|
||||
childrenREST {
|
||||
id
|
||||
title
|
||||
type
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
query GetUserSettings {
|
||||
me {
|
||||
settings {
|
||||
id
|
||||
properties
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user