-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d90d87f
commit 5fda698
Showing
15 changed files
with
315 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
client/internal/meta/operation/snowflakeoutboundshare.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
fragment SnowflakeOutboundShare on SnowflakeOutboundShare { | ||
id | ||
name | ||
description | ||
workspaceId | ||
|
||
shareName | ||
|
||
# @genqlient(flatten: true) | ||
accounts { | ||
...SnowflakeAccount | ||
} | ||
} | ||
|
||
fragment SnowflakeAccount on SnowflakeAccount { | ||
organization | ||
account | ||
} | ||
|
||
query getSnowflakeOutboundShare($id: ObjectId!) { | ||
# @genqlient(flatten: true) | ||
share: snowflakeOutboundShare(id: $id) { | ||
...SnowflakeOutboundShare | ||
} | ||
} | ||
|
||
query lookupSnowflakeOutboundShare($name: String!, $workspaceId: ObjectId!) { | ||
shares: searchSnowflakeOutboundShare(nameExact: $name, workspaceId: $workspaceId) { | ||
# @genqlient(flatten: true) | ||
results { | ||
...SnowflakeOutboundShare | ||
} | ||
} | ||
} | ||
|
||
mutation createSnowflakeOutboundShare($workspaceId: ObjectId!, $input: SnowflakeOutboundShareInput!) { | ||
# @genqlient(flatten: true) | ||
share: createSnowflakeOutboundShare(workspaceId: $workspaceId, input: $input) { | ||
...SnowflakeOutboundShare | ||
} | ||
} | ||
|
||
mutation updateSnowflakeOutboundShare($id: ObjectId!, $input: SnowflakeOutboundShareInput!) { | ||
# @genqlient(flatten: true) | ||
share: updateSnowflakeOutboundShare(id: $id, input: $input) { | ||
...SnowflakeOutboundShare | ||
} | ||
} | ||
|
||
mutation deleteSnowflakeOutboundShare($id: ObjectId!) { | ||
# @genqlient(flatten: true) | ||
resultStatus: deleteSnowflakeOutboundShare(id: $id) { | ||
...ResultStatus | ||
} | ||
} |
55 changes: 0 additions & 55 deletions
55
client/internal/meta/operation/snowflakeshareoutbound.graphql
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.