-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from jhnnsrs/moving-to-lok-next
Moving to lok next
- Loading branch information
Showing
66 changed files
with
1,940 additions
and
444 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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,16 @@ | ||
fragment ListDataset on Dataset { | ||
id | ||
name | ||
description | ||
} | ||
|
||
|
||
fragment Dataset on Dataset { | ||
id | ||
name | ||
description | ||
images { | ||
...ListImage | ||
} | ||
tags | ||
} |
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,13 @@ | ||
fragment ListImage on Image { | ||
id | ||
name | ||
description | ||
} | ||
|
||
|
||
fragment Image on Image { | ||
id | ||
name | ||
acquisitionDate | ||
tags | ||
} |
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,16 @@ | ||
fragment ListProject on Project { | ||
id | ||
name | ||
description | ||
} | ||
|
||
|
||
fragment Project on Project { | ||
id | ||
name | ||
description | ||
datasets { | ||
...ListDataset | ||
} | ||
tags | ||
} |
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,6 @@ | ||
mutation CreateDataset($name: String!, $description: String, $projectId: ID!) { | ||
createDataset(input: {name: $name, description: $description, projectId: $projectId}) { | ||
id | ||
name | ||
} | ||
} |
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,5 @@ | ||
mutation DeleteImage($id: ID!) { | ||
deleteImage(input: {id: $id}) { | ||
id | ||
} | ||
} |
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,6 @@ | ||
mutation CreateProject($name: String!, $description: String) { | ||
createProject(input: {name: $name, description: $description}) { | ||
id | ||
name | ||
} | ||
} |
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,19 @@ | ||
mutation EnsureOmeroUser($username: String!, $password: String!, $host: String, $port: Int) { | ||
ensureOmeroUser(input: {username: $username, password: $password, host: $host, port: $port}) { | ||
id | ||
omeroUsername | ||
omeroPassword | ||
user { | ||
id | ||
sub | ||
} | ||
} | ||
|
||
} | ||
|
||
mutation DeleteMe { | ||
deleteMe { | ||
id | ||
sub | ||
} | ||
} |
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,11 @@ | ||
query ListDatasets { | ||
datasets { | ||
...ListDataset | ||
} | ||
} | ||
|
||
query GetDataset($id: ID!) { | ||
dataset(id: $id) { | ||
...Dataset | ||
} | ||
} |
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,12 @@ | ||
query ListImages { | ||
images { | ||
...ListImage | ||
} | ||
} | ||
|
||
|
||
query GetImage($id: ID!) { | ||
image(id: $id) { | ||
...Image | ||
} | ||
} |
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,8 @@ | ||
query Me { | ||
me { | ||
omeroUser { | ||
id | ||
omeroUsername | ||
} | ||
} | ||
} |
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,13 @@ | ||
query ListProjects { | ||
projects { | ||
...ListProject | ||
} | ||
} | ||
|
||
|
||
query GetProject($id: ID!) { | ||
project(id: $id) { | ||
...Project | ||
} | ||
} | ||
|
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
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,20 @@ | ||
overwrite: true | ||
schema: "http://localhost:8888/graphql" | ||
documents: "graphql/omero-ark/**/*.graphql" | ||
generates: | ||
src/omero-ark/api/fragments.ts: | ||
plugins: | ||
- "fragment-matcher" | ||
src/omero-ark/api/graphql.ts: | ||
plugins: | ||
- "typescript" | ||
- "typescript-operations" | ||
- "typescript-react-apollo" | ||
config: | ||
withHooks: true | ||
reactApolloVersion: 3 | ||
arrayInputCoercion: false | ||
|
||
src/omero-ark/graphql.schema.json: | ||
plugins: | ||
- "introspection" |
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
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.