Skip to content

Commit bfc38a2

Browse files
committed
refactor: update to use kv-utils
1 parent 43b3bf3 commit bfc38a2

29 files changed

+59
-65
lines changed

components/BlobViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type BlobMeta } from "@kitsonk/kv-toolbox/blob";
2-
import { type KvKeyJSON } from "@kitsonk/kv-toolbox/json";
2+
import { type KvKeyJSON } from "@deno/kv-utils/json";
33
import { matches } from "@oak/commons/media_types";
44
import { format } from "@std/fmt/bytes";
55
import { keyJsonToPath } from "$utils/kv.ts";

components/DialogAddEntry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type KvKeyJSON } from "@kitsonk/kv-toolbox/json";
1+
import { type KvKeyJSON } from "@deno/kv-utils/json";
22
import { type ComponentChildren } from "preact";
33
import { type Signal, useSignal } from "@preact/signals";
44
import { useRef } from "preact/hooks";

components/DialogDeleteEntries.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type KvKeyJSON } from "@kitsonk/kv-toolbox/json";
1+
import { type KvKeyJSON } from "@deno/kv-utils/json";
22
import { type ComponentChildren } from "preact";
33
import { useRef } from "preact/hooks";
44
import {

components/DialogDeleteEntry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { asset } from "$fresh/runtime.ts";
22
import { type BlobMeta } from "@kitsonk/kv-toolbox/blob";
3-
import { type KvEntryJSON, type KvKeyJSON } from "@kitsonk/kv-toolbox/json";
3+
import { type KvEntryJSON, type KvKeyJSON } from "@deno/kv-utils/json";
44
import { type Signal } from "@preact/signals";
55
import { keyJsonToPath } from "$utils/kv.ts";
66
import { assert } from "@std/assert/assert";

components/DialogEditValue.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type BlobMeta } from "@kitsonk/kv-toolbox/blob";
2-
import { type KvEntryJSON, type KvKeyJSON } from "@kitsonk/kv-toolbox/json";
2+
import { type KvEntryJSON, type KvKeyJSON } from "@deno/kv-utils/json";
33
import { type ComponentChildren } from "preact";
44
import { type Signal, useComputed, useSignal } from "@preact/signals";
55
import { useRef } from "preact/hooks";

components/DialogExport.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type KvKeyJSON } from "@kitsonk/kv-toolbox/json";
1+
import { type KvKeyJSON } from "@deno/kv-utils/json";
22
import { type Signal, useComputed } from "@preact/signals";
33
import { keyJsonToPath } from "$utils/kv.ts";
44

components/DialogImport.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type KvKeyJSON } from "@kitsonk/kv-toolbox/json";
1+
import { type KvKeyJSON } from "@deno/kv-utils/json";
22
import { type ComponentChildren } from "preact";
33
import { type Signal, useComputed, useSignal } from "@preact/signals";
44
import { keyJsonToPath } from "$utils/kv.ts";

components/Jobs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { KvKey } from "./KvKey.tsx";
22
import { format } from "@std/fmt/duration";
33

4-
import { keyToJSON } from "@kitsonk/kv-toolbox/json";
4+
import { keyToJSON } from "@deno/kv-utils/json";
55
import { getJobs, type Job, type JobState } from "$utils/kv_bulk.ts";
66

77
function JobState({ state }: { state: JobState }) {

components/KvEntry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type BlobMeta } from "@kitsonk/kv-toolbox/blob";
2-
import { type KvEntryJSON, type KvKeyJSON } from "@kitsonk/kv-toolbox/json";
2+
import { type KvEntryJSON, type KvKeyJSON } from "@deno/kv-utils/json";
33
import { type Signal, useComputed, useSignal } from "@preact/signals";
44
import { isEditable } from "$utils/kv.ts";
55
import { addNotification } from "$utils/state.ts";

components/KvKey.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type KvKeyJSON } from "@kitsonk/kv-toolbox/json";
1+
import { type KvKeyJSON } from "@deno/kv-utils/json";
22
import { type ComponentChildren } from "preact";
33
import { type Signal } from "@preact/signals";
44

0 commit comments

Comments
 (0)