Skip to content

Commit

Permalink
19887: Remove Howso layer adjustments (#4)
Browse files Browse the repository at this point in the history
This work removes the rest api package, and updates the wasm engine for trainee direct usages.
  • Loading branch information
lancegliser authored Apr 25, 2024
1 parent b1c5f07 commit f5efa2b
Show file tree
Hide file tree
Showing 8 changed files with 253 additions and 629 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ Desktop.ini

# Node
**/node_modules
*.tgz
28 changes: 14 additions & 14 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"prebuild": "rimraf ./lib",
"build": "tsc --build",
"lint": "tsc --noEmit && eslint 'src/**'",
"lint:fix": "eslint --fix 'src/**'"
"lint:fix": "eslint --fix 'src/**'",
"prepack": "npm run build"
},
"files": [
"LICENSE.txt",
Expand All @@ -35,8 +36,8 @@
"./package.json": "./package.json"
},
"dependencies": {
"@howso/amalgam-lang": "^0.0.6",
"@howso/openapi-client": "^0.0.4",
"@howso/amalgam-lang": "^0.0.7",
"@howso/openapi-client": "^0.0.5",
"@microsoft/fetch-event-source": "^2.0.1",
"uuid": "^9.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/client/capabilities/base.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Trainee } from "../../trainees/index.js";
import type { CacheMap } from "../utilities/cache.js";
import { Trainee } from "../../trainees/index";
import type { CacheMap } from "../utilities/cache";

export interface Capabilities {
supportsTrainees?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/client/capabilities/trainees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import type {
SetAutoAnalyzeParamsRequest,
TraineeIdentity,
} from "@howso/openapi-client/models";
import { Trainee } from "../../trainees/index.js";
import { Trainee } from "../../trainees/index";

export interface ITraineeClient {
acquireTraineeResources(traineeId: string): Promise<void>;
Expand Down
Loading

0 comments on commit f5efa2b

Please sign in to comment.