Skip to content

Commit dfede82

Browse files
author
Shaw
committed
fix(app-core): disambiguate auth route imports
1 parent 6951692 commit dfede82

13 files changed

Lines changed: 13 additions & 13 deletions

packages/app-core/src/api/auth-bootstrap-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import crypto from "node:crypto";
1616
import type http from "node:http";
1717
import type { DrizzleDatabase } from "@elizaos/plugin-sql";
1818
import { AuthStore } from "../services/auth-store";
19-
import { extractHeaderValue } from "./auth";
19+
import { extractHeaderValue } from "./auth.ts";
2020
import {
2121
appendAuditEvent,
2222
bootstrapExchangeLimiter,

packages/app-core/src/api/auth-pairing-compat-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
getCompatApiToken,
88
getProvidedApiToken,
99
tokenMatches,
10-
} from "./auth";
10+
} from "./auth.ts";
1111
import { findActiveSession, parseSessionCookie } from "./auth/sessions";
1212
import {
1313
type CompatRuntimeState,

packages/app-core/src/api/auth-session-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import crypto from "node:crypto";
2121
import type http from "node:http";
2222
import type { DrizzleDatabase } from "@elizaos/plugin-sql";
2323
import { AuthStore } from "../services/auth-store";
24-
import { extractHeaderValue, getProvidedApiToken } from "./auth";
24+
import { extractHeaderValue, getProvidedApiToken } from "./auth.ts";
2525
import {
2626
appendAuditEvent,
2727
assertPasswordStrong,

packages/app-core/src/api/automations-compat-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import type {
2020
AutomationNodeCatalogResponse,
2121
AutomationNodeDescriptor,
2222
} from "@elizaos/ui";
23-
import { ensureRouteAuthorized } from "./auth";
23+
import { ensureRouteAuthorized } from "./auth.ts";
2424
import { listAutomationNodeContributors } from "./automation-node-contributors";
2525
import type { CompatRuntimeState } from "./compat-route-shared";
2626
import {

packages/app-core/src/api/catalog-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import type http from "node:http";
1313
import { resolveAppHeroImage } from "@elizaos/agent";
1414
import type { RegistryAppInfo } from "@elizaos/shared";
1515
import { type AppEntry, getApps, loadRegistry } from "../registry";
16-
import { ensureRouteAuthorized } from "./auth";
16+
import { ensureRouteAuthorized } from "./auth.ts";
1717
import type { CompatRuntimeState } from "./compat-route-shared";
1818
import { sendJson as sendJsonResponse } from "./response";
1919

packages/app-core/src/api/database-rows-compat-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
sanitizeIdentifier,
66
sqlLiteral,
77
} from "@elizaos/shared";
8-
import { ensureRouteAuthorized } from "./auth";
8+
import { ensureRouteAuthorized } from "./auth.ts";
99
import {
1010
type CompatRuntimeState,
1111
DATABASE_UNAVAILABLE_MESSAGE,

packages/app-core/src/api/dev-compat-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type http from "node:http";
2-
import { ensureRouteAuthorized } from "./auth";
2+
import { ensureRouteAuthorized } from "./auth.ts";
33
import {
44
type CompatRuntimeState,
55
isLoopbackRemoteAddress,

packages/app-core/src/api/local-inference-compat-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import {
4141
getCompatApiToken,
4242
getProvidedApiToken,
4343
tokenMatches,
44-
} from "./auth";
44+
} from "./auth.ts";
4545
import {
4646
type CompatRuntimeState,
4747
readCompatJsonBody,

packages/app-core/src/api/onboarding-compat-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
normalizeOnboardingProviderId,
1414
normalizeServiceRoutingConfig,
1515
} from "@elizaos/shared";
16-
import { ensureRouteAuthorized } from "./auth";
16+
import { ensureRouteAuthorized } from "./auth.ts";
1717
import type { CompatRuntimeState } from "./compat-route-shared";
1818
import { sendJson as sendJsonResponse } from "./response";
1919
import {

packages/app-core/src/api/plugins-compat-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import {
3535
import {
3636
ensureCompatSensitiveRouteAuthorized,
3737
ensureRouteAuthorized,
38-
} from "./auth";
38+
} from "./auth.ts";
3939
import {
4040
type CompatRuntimeState,
4141
readCompatJsonBody,

0 commit comments

Comments
 (0)