Skip to content

Commit

Permalink
Removed now unused types/apis
Browse files Browse the repository at this point in the history
  • Loading branch information
lancegliser committed Sep 18, 2024
1 parent 7834d6a commit 4c0fad8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 124 deletions.
11 changes: 4 additions & 7 deletions src/client/wasm/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { v4 as uuid } from "uuid";
import {
AnalyzeRequest,
AnalyzeRequestToJSON,
AutoAblationParams,
CaseCountResponse,
Cases,
CasesRequest,
Expand Down Expand Up @@ -45,7 +46,6 @@ import {
Session,
SessionIdentity,
SessionToJSON,
SetAutoAblationParamsRequest,
SetAutoAnalyzeParamsRequest,
SetAutoAnalyzeParamsRequestToJSON,
Trainee,
Expand Down Expand Up @@ -650,20 +650,17 @@ export class WasmClient extends BaseClient implements ITraineeClient, ISessionCl
/**
* Set the parameters use by auto analyze.
* @param traineeId The trainee identifier.
* @param request The analysis parameters.
* @param params The analysis parameters.
*/
public async setAutoAblationParams(
traineeId: string,
request: Omit<SetAutoAblationParamsRequest, "trainee_id">,
): Promise<void> {
public async setAutoAblationParams(traineeId: string, params: AutoAblationParams): Promise<void> {
await this.autoResolveTrainee(traineeId);

await this.execute(
traineeId,
"set_auto_ablation_params",
JSON.stringify({
trainee_id: traineeId,
...request,
...params,
}),
);
await this.autoPersistTrainee(traineeId);
Expand Down
115 changes: 0 additions & 115 deletions src/types/apis/TraineeOperationsApi.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/types/apis/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from "./apis";
export * from "./models";

0 comments on commit 4c0fad8

Please sign in to comment.