diff --git a/client-api/package.json b/client-api/package.json new file mode 100644 index 00000000000..bf3b1ca47f4 --- /dev/null +++ b/client-api/package.json @@ -0,0 +1,15 @@ +{ + "name": "@galaxyproject/client-api", + "version": "1.0.0", + "description": "A client library for the Galaxy API", + "main": "src/index.ts", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "Galaxy Community", + "license": "MIT", + "dependencies": { + "openapi-fetch": "^0.12.0" + } +} diff --git a/client-api/pnpm-lock.yaml b/client-api/pnpm-lock.yaml new file mode 100644 index 00000000000..faa8f3f0644 --- /dev/null +++ b/client-api/pnpm-lock.yaml @@ -0,0 +1,29 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + openapi-fetch: + specifier: ^0.12.0 + version: 0.12.0 + +packages: + + openapi-fetch@0.12.0: + resolution: {integrity: sha512-D/g5BUGiOAKqivR5s02veJ2+cMHzrkFJKberKP4Z8Vl2VhE6MMirI6wWOgpp8wlsYCRRK7CX0NCGVL/mt6l1fA==} + + openapi-typescript-helpers@0.0.13: + resolution: {integrity: sha512-z44WK2e7ygW3aUtAtiurfEACohf/Qt9g6BsejmIYgEoY4REHeRzgFJmO3ium0libsuzPc145I+8lE9aiiZrQvQ==} + +snapshots: + + openapi-fetch@0.12.0: + dependencies: + openapi-typescript-helpers: 0.0.13 + + openapi-typescript-helpers@0.0.13: {} diff --git a/client-api/src/api b/client-api/src/api new file mode 120000 index 00000000000..e6fdfd11d72 --- /dev/null +++ b/client-api/src/api @@ -0,0 +1 @@ +../../client/src/api \ No newline at end of file diff --git a/client-api/src/utils/simple-error.ts b/client-api/src/utils/simple-error.ts new file mode 120000 index 00000000000..10a1e168aa3 --- /dev/null +++ b/client-api/src/utils/simple-error.ts @@ -0,0 +1 @@ +../../../client/src/utils/simple-error.ts \ No newline at end of file diff --git a/client-api/tsconfig.json b/client-api/tsconfig.json new file mode 100644 index 00000000000..71546ed958a --- /dev/null +++ b/client-api/tsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "paths": { + "@/*": ["src/*"] + } + } + } \ No newline at end of file