Compare commits

...
3 Commits
Author SHA1 Message Date
telackey 39ec9a2e31 Fix GQL QueryLink (#45)
Reviewed-on: #45
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-01-16 23:40:42 +00:00
telackey 6f77228f73 v1.3.6 2024-01-15 15:46:05 -06:00
telackey 475f53cdcf v1.3.5 2024-01-15 15:29:37 -06:00
3 changed files with 45 additions and 9 deletions
+4 -1
View File
@@ -17,6 +17,9 @@ jobs:
run: |
curl -fsSL -o /usr/local/bin/yarn https://github.com/yarnpkg/yarn/releases/download/v1.22.21/yarn-1.22.21.js
chmod +x /usr/local/bin/yarn
- name: Install jq
run: |
apt update && apt install -y jq
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
@@ -24,7 +27,7 @@ jobs:
- run: yarn
- name: Run yarn build
run: |
yarn dist
LACONIC_HOSTED_CONFIG_FILE=config-hosted.yml yarn dist
- name: Configure git.vdb.to npm registry
run: |
npm config set registry https://git.vdb.to/api/packages/cerc-io/npm/
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@cerc-io/console-app",
"version": "1.3.3",
"version": "1.3.7",
"description": "Laconic Console",
"repository": "https://github.com/cerc-io/laconic-console",
"main": "dist/es/index.js",
+40 -7
View File
@@ -10,8 +10,41 @@ import LinkIcon from '@material-ui/icons/ExitToApp';
import { getServiceUrl } from '../util/config';
const QUERY = `
query {
getRecordsByIds(ids: [ "%ID%" ]) {
fragment ValueParts on Value {
... 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
names
bondId
@@ -19,12 +52,12 @@ const QUERY = `
expiryTime
owners
attributes {
key
...AttrParts
value {
string
json
reference {
id
... on MapValue {
map: value {
...AttrParts
}
}
}
}