Skip to content

Commit

Permalink
remove path alias
Browse files Browse the repository at this point in the history
  • Loading branch information
fulpm committed Sep 30, 2024
1 parent 24161b6 commit 66b0dea
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
6 changes: 3 additions & 3 deletions codegen/templates/client/trainee.njk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* NOTE: This file is auto generated, do not modify manually.
*/
import type { Session, Trainee } from "@/types";
import type * as schemas from "@/types/schemas";
import type * as shims from "@/types/shims";
import type { Session, Trainee } from "../types";
import type * as schemas from "../types/schemas";
import type * as shims from "../types/shims";
import { AbstractHowsoClient } from "./base";

export interface LabelResponse<R = unknown> {
Expand Down
2 changes: 1 addition & 1 deletion src/client/base.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { FeatureAttributesIndex, Trainee } from "@/types";
import type { FeatureAttributesIndex, Trainee } from "../types";
import { DEFAULT_ERROR_MESSAGE, HowsoError, HowsoValidationError } from "./errors";
import type { CacheMap } from "./utilities/cache";

Expand Down
6 changes: 3 additions & 3 deletions src/client/trainee.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* NOTE: This file is auto generated, do not modify manually.
*/
import type { Session, Trainee } from "@/types";
import type * as schemas from "@/types/schemas";
import type * as shims from "@/types/shims";
import type { Session, Trainee } from "../types";
import type * as schemas from "../types/schemas";
import type * as shims from "../types/shims";
import { AbstractHowsoClient } from "./base";

export interface LabelResponse<R = unknown> {
Expand Down
4 changes: 2 additions & 2 deletions src/client/worker/client.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { FeatureAttributesIndex, Session, Trainee, TrainResponse } from "@/types";
import type * as schemas from "@/types/schemas";
import {
AmalgamError,
type AmalgamCommand,
Expand All @@ -8,6 +6,8 @@ import {
type AmalgamResponseBody,
} from "@howso/amalgam-lang";
import { v4 as uuid } from "uuid";
import type { FeatureAttributesIndex, Session, Trainee, TrainResponse } from "../../types";
import type * as schemas from "../../types/schemas";
import { ClientCache, ExecuteResponse } from "../base";
import { HowsoError, RequiredError } from "../errors";
import { TraineeClient } from "../trainee";
Expand Down
5 changes: 1 addition & 4 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
"skipLibCheck": true,
"strict": true,
"target": "ESNext",
"useDefineForClassFields": true,
"paths": {
"@/*": ["./src/*"]
}
"useDefineForClassFields": true
},
"references": [{ "path": "./tsconfig.node.json" }]
}

0 comments on commit 66b0dea

Please sign in to comment.