mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-12 08:42:18 +00:00
fix: remove stale Lens build and type-test dependencies
This commit is contained in:
parent
a1aa619625
commit
22010faf03
5 changed files with 0 additions and 22 deletions
|
|
@ -39,7 +39,6 @@ ENV NEXT_TELEMETRY_DISABLED=1 \
|
|||
WORKDIR /ui
|
||||
|
||||
COPY ui/litellm-dashboard/package.json ui/litellm-dashboard/package-lock.json ./
|
||||
COPY ui/litellm-dashboard/vendor/ ./vendor/
|
||||
RUN --mount=type=cache,target=/root/.npm npm ci --prefer-offline
|
||||
|
||||
COPY ui/litellm-dashboard/ ./
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ ENV NEXT_TELEMETRY_DISABLED=1 \
|
|||
WORKDIR /ui
|
||||
|
||||
COPY ui/litellm-dashboard/package.json ui/litellm-dashboard/package-lock.json ./
|
||||
COPY ui/litellm-dashboard/vendor/ ./vendor/
|
||||
RUN --mount=type=cache,target=/root/.npm npm ci --prefer-offline
|
||||
|
||||
COPY ui/litellm-dashboard/ ./
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ ENV NEXT_TELEMETRY_DISABLED=1 \
|
|||
WORKDIR /ui
|
||||
|
||||
COPY ui/litellm-dashboard/package.json ui/litellm-dashboard/package-lock.json ./
|
||||
COPY ui/litellm-dashboard/vendor/ ./vendor/
|
||||
RUN --mount=type=cache,target=/root/.npm npm ci --prefer-offline
|
||||
|
||||
COPY ui/litellm-dashboard/ ./
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ WORKDIR /app
|
|||
# Layer the lockfile-only install above the source copy so source-only
|
||||
# edits don't bust the install cache.
|
||||
COPY ui/litellm-dashboard/package.json ui/litellm-dashboard/package-lock.json ./
|
||||
COPY ui/litellm-dashboard/vendor/ ./vendor/
|
||||
RUN --mount=type=cache,target=/root/.npm \
|
||||
npm ci --prefer-offline
|
||||
|
||||
|
|
|
|||
|
|
@ -1,18 +0,0 @@
|
|||
import { expectTypeOf, test } from "vitest";
|
||||
|
||||
import type { components, paths } from "@/lib/http/schema";
|
||||
|
||||
type SQLResponse = paths["/v1/traces/query"]["post"]["responses"][200]["content"]["application/json"];
|
||||
type QueryHelp = paths["/v1/traces/query/help"]["get"]["responses"][200]["content"]["application/json"];
|
||||
|
||||
test("SQL results expose only row data and JSON values", () => {
|
||||
expectTypeOf<keyof SQLResponse>().toEqualTypeOf<"data">();
|
||||
expectTypeOf<SQLResponse["data"][number][string]>().toEqualTypeOf<components["schemas"]["JsonValue"]>();
|
||||
});
|
||||
|
||||
test("query help exposes schema discovery, examples and discovery failures", () => {
|
||||
expectTypeOf<QueryHelp["tables"][number]["columns"][number]["type"]>().toEqualTypeOf<string>();
|
||||
expectTypeOf<QueryHelp["metadata"]["error"]>().toEqualTypeOf<string | null | undefined>();
|
||||
expectTypeOf<QueryHelp["examples"][number]["sql"]>().toEqualTypeOf<string>();
|
||||
expectTypeOf<QueryHelp["guide"]>().toEqualTypeOf<string>();
|
||||
});
|
||||
Loading…
Add table
Reference in a new issue