Skip to content

Commit 6b2a013

Browse files
authored
Made same-module imports use explicit paths
1 parent 40ac892 commit 6b2a013

17 files changed

+24
-17
lines changed

endpoints/EntryEndpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Endpoint } from ".";
1+
import { Endpoint } from "./Endpoint";
22
import { HttpMethod, HttpClient, FetchHttpClient, HttpHeader } from "../http";
33
import { Serializer, JsonSerializer } from "../serializers";
44
import { ErrorHandler, DefaultErrorHandler } from "../errors";

endpoints/generic/CollectionEndpoint.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { GenericCollectionEndpoint, ElementEndpoint } from ".";
1+
import { GenericCollectionEndpoint } from "./GenericCollectionEndpoint";
2+
import { ElementEndpoint } from "./ElementEndpoint";
23
import { Endpoint } from "../Endpoint";
34

45
/**

endpoints/generic/ElementEndpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ETagEndpointBase } from ".";
1+
import { ETagEndpointBase } from "./ETagEndpointBase";
22
import { Endpoint } from "../Endpoint";
33
import { HttpMethod, HttpHeader, HttpStatusCode } from "../../http";
44
import { ConcurrencyError } from "../../errors";

endpoints/generic/GenericCollectionEndpoint.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { ETagEndpointBase, ElementEndpoint } from ".";
1+
import { ETagEndpointBase } from "./ETagEndpointBase";
2+
import { ElementEndpoint } from "./ElementEndpoint";
23
import { Endpoint } from "../Endpoint";
34
import { CachingEndpoint } from "../CachingEndpoint";
45
import { HttpMethod, HttpHeader, ResponseCache } from "../../http";

endpoints/rpc/ActionEndpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RpcEndpointBase } from ".";
1+
import { RpcEndpointBase } from "./RpcEndpointBase";
22
import { Endpoint } from "../Endpoint";
33
import { HttpMethod } from "../../http";
44

endpoints/rpc/ConsumerEndpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RpcEndpointBase } from ".";
1+
import { RpcEndpointBase } from "./RpcEndpointBase";
22
import { Endpoint } from "../Endpoint";
33
import { HttpMethod, HttpHeader } from "../../http";
44

endpoints/rpc/FunctionEndpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RpcEndpointBase } from ".";
1+
import { RpcEndpointBase } from "./RpcEndpointBase";
22
import { Endpoint } from "../Endpoint";
33
import { HttpMethod, HttpHeader } from "../../http";
44

endpoints/rpc/ProducerEndpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { RpcEndpointBase } from ".";
1+
import { RpcEndpointBase } from "./RpcEndpointBase";
22
import { Endpoint } from "../Endpoint";
33
import { HttpMethod } from "../../http";
44

errors/DefaultErrorHandler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { ErrorHandler, HttpError, BadRequestError, AuthenticationError, AuthorizationError, NotFoundError, TimeoutError, ConflictError, ConcurrencyError } from ".";
1+
import { ErrorHandler } from "./ErrorHandler";
2+
import { HttpError, BadRequestError, AuthenticationError, AuthorizationError, NotFoundError, TimeoutError, ConflictError, ConcurrencyError } from "./Errors";
23
import { HttpStatusCode, HttpHeader } from "../http";
34

45
/**

http/FetchHttpClient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { HttpMethod, HttpClient } from ".";
1+
import { HttpMethod } from "./HttpMethod";
2+
import { HttpClient } from "./HttpClient";
23

34
/**
45
* Communicates with remote resources using JavaScript's standard Fetch API.

0 commit comments

Comments
 (0)