Skip to content

Commit

Permalink
Remove IPubTask interface from PubDriverTask and
Browse files Browse the repository at this point in the history
PubTaskBase
  • Loading branch information
WMXPY committed Nov 4, 2023
1 parent f14d806 commit d69ff55
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
10 changes: 0 additions & 10 deletions src/task/definition/task.ts

This file was deleted.

3 changes: 1 addition & 2 deletions src/task/implementation/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
*/

import { PUB_PROCEDURE_TYPE, PubProcedureConfiguration } from "../../procedure/definition/configuration";
import { IPubTask } from "../definition/task";
import { PubTaskBase } from "../task-base";

export class PubDriverTask extends PubTaskBase implements IPubTask {
export class PubDriverTask extends PubTaskBase {

public static fromProcedure(
procedure: PubProcedureConfiguration<PUB_PROCEDURE_TYPE.DRIVER>,
Expand Down
3 changes: 1 addition & 2 deletions src/task/task-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
*/

import { UUIDVersion1 } from "@sudoo/uuid";
import { IPubTask } from "./definition/task";

export abstract class PubTaskBase implements IPubTask {
export abstract class PubTaskBase {

protected readonly _taskIdentifier: string;

Expand Down

0 comments on commit d69ff55

Please sign in to comment.