Skip to content

Commit

Permalink
Updated ingest script (#60)
Browse files Browse the repository at this point in the history
* ingest script updated

* lint

* version bump

* package update

* package update
  • Loading branch information
hero101 authored Jun 10, 2024
1 parent 8f32bf6 commit a5d8d09
Show file tree
Hide file tree
Showing 11 changed files with 1,194 additions and 866 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"error",
"single"
],
"curly": ["warn", "all"],
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
Expand Down
7 changes: 7 additions & 0 deletions graphql/queries/task.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
query task($taskId: UUID!) {
task(id: $taskId) {
status
results
errors
}
}
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alkemio/cli",
"version": "0.7.0",
"version": "0.8.0",
"author": "Alkemio Foundation",
"private": false,
"license": "EUPL-1.2",
Expand Down Expand Up @@ -63,7 +63,7 @@
"ts-node-dev": "^2.0.0"
},
"dependencies": {
"@alkemio/client-lib": "^0.29.1",
"@alkemio/client-lib": "^0.30.4",
"@graphql-codegen/typescript-graphql-request": "^4.5.3",
"@graphql-codegen/typescript-operations": "^2.5.3",
"@types/graphql-upload": "^8.0.11",
Expand Down
4 changes: 2 additions & 2 deletions src/digital-twin-demo/digital-twin-demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export const digitalTwinDemo = async () => {

const space = spacesQueryResult.data.space;

const challenges = space.challenges || [];
const subspaces = space.subspaces || [];

logger.info(`...total number of challeges: ${challenges.length}`);
logger.info(`...total number of subspaces: ${subspaces.length}`);
logger.info(`...${JSON.stringify(space)}`);
};

Expand Down
Loading

0 comments on commit a5d8d09

Please sign in to comment.