From 35aca2b3b22ac9881eea36f4c013b9523005a1f0 Mon Sep 17 00:00:00 2001 From: imperosol Date: Mon, 11 May 2026 11:49:45 +0200 Subject: [PATCH] refactor: move nested-key.d.ts --- core/static/bundled/{utils/types.d.ts => types/nested-key.d.ts} | 0 core/static/bundled/utils/csv.ts | 2 +- counter/static/bundled/counter/product-list-index.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename core/static/bundled/{utils/types.d.ts => types/nested-key.d.ts} (100%) diff --git a/core/static/bundled/utils/types.d.ts b/core/static/bundled/types/nested-key.d.ts similarity index 100% rename from core/static/bundled/utils/types.d.ts rename to core/static/bundled/types/nested-key.d.ts diff --git a/core/static/bundled/utils/csv.ts b/core/static/bundled/utils/csv.ts index d7356bfc..3172c525 100644 --- a/core/static/bundled/utils/csv.ts +++ b/core/static/bundled/utils/csv.ts @@ -1,4 +1,4 @@ -import type { NestedKeyOf } from "#core:utils/types.ts"; +import type { NestedKeyOf } from "#core:types/nested-key"; interface StringifyOptions { /** The columns to include in the resulting CSV. */ diff --git a/counter/static/bundled/counter/product-list-index.ts b/counter/static/bundled/counter/product-list-index.ts index 30d26b9a..1486c766 100644 --- a/counter/static/bundled/counter/product-list-index.ts +++ b/counter/static/bundled/counter/product-list-index.ts @@ -1,9 +1,9 @@ import { showSaveFilePicker } from "native-file-system-adapter"; import type TomSelect from "tom-select"; +import type { NestedKeyOf } from "#core:types/nested-key"; import { paginated } from "#core:utils/api"; import { csv } from "#core:utils/csv"; import { getCurrentUrlParams, History, updateQueryString } from "#core:utils/history"; -import type { NestedKeyOf } from "#core:utils/types"; import { type ProductSchema, type ProductSearchProductsDetailedData,