forked from cerc-io/laconic-console
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39ec9a2e31 | ||
|
|
6f77228f73 |
@@ -27,7 +27,7 @@ jobs:
|
|||||||
- run: yarn
|
- run: yarn
|
||||||
- name: Run yarn build
|
- name: Run yarn build
|
||||||
run: |
|
run: |
|
||||||
yarn dist
|
LACONIC_HOSTED_CONFIG_FILE=config-hosted.yml yarn dist
|
||||||
- name: Configure git.vdb.to npm registry
|
- name: Configure git.vdb.to npm registry
|
||||||
run: |
|
run: |
|
||||||
npm config set registry https://git.vdb.to/api/packages/cerc-io/npm/
|
npm config set registry https://git.vdb.to/api/packages/cerc-io/npm/
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cerc-io/console-app",
|
"name": "@cerc-io/console-app",
|
||||||
"version": "1.3.5",
|
"version": "1.3.7",
|
||||||
"description": "Laconic Console",
|
"description": "Laconic Console",
|
||||||
"repository": "https://github.com/cerc-io/laconic-console",
|
"repository": "https://github.com/cerc-io/laconic-console",
|
||||||
"main": "dist/es/index.js",
|
"main": "dist/es/index.js",
|
||||||
|
|||||||
@@ -10,8 +10,41 @@ import LinkIcon from '@material-ui/icons/ExitToApp';
|
|||||||
import { getServiceUrl } from '../util/config';
|
import { getServiceUrl } from '../util/config';
|
||||||
|
|
||||||
const QUERY = `
|
const QUERY = `
|
||||||
query {
|
fragment ValueParts on Value {
|
||||||
getRecordsByIds(ids: [ "%ID%" ]) {
|
... on BooleanValue {
|
||||||
|
bool: value
|
||||||
|
}
|
||||||
|
... on IntValue {
|
||||||
|
int: value
|
||||||
|
}
|
||||||
|
... on FloatValue {
|
||||||
|
float: value
|
||||||
|
}
|
||||||
|
... on StringValue {
|
||||||
|
string: value
|
||||||
|
}
|
||||||
|
... on BytesValue {
|
||||||
|
bytes: value
|
||||||
|
}
|
||||||
|
... on LinkValue {
|
||||||
|
link: value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fragment AttrParts on Attribute {
|
||||||
|
key
|
||||||
|
value {
|
||||||
|
...ValueParts
|
||||||
|
... on ArrayValue {
|
||||||
|
value {
|
||||||
|
...ValueParts
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
getRecordsByIds(ids: ["%ID%"]) {
|
||||||
id
|
id
|
||||||
names
|
names
|
||||||
bondId
|
bondId
|
||||||
@@ -19,12 +52,12 @@ const QUERY = `
|
|||||||
expiryTime
|
expiryTime
|
||||||
owners
|
owners
|
||||||
attributes {
|
attributes {
|
||||||
key
|
...AttrParts
|
||||||
value {
|
value {
|
||||||
string
|
... on MapValue {
|
||||||
json
|
map: value {
|
||||||
reference {
|
...AttrParts
|
||||||
id
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user