Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mike182uk committed Sep 22, 2024
1 parent 9e9321f commit 79483a1
Show file tree
Hide file tree
Showing 6 changed files with 929 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/knex.kvstore.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { KvKey, KvStore, KvStoreSetOptions } from '@fedify/fedify';
import Knex from 'knex';
import { handleKvSet } from './migrate/utils';

export class KnexKvStore implements KvStore {
private constructor(
Expand Down Expand Up @@ -52,6 +53,7 @@ export class KnexKvStore implements KvStore {
...values,
});
}
await handleKvSet(key, value, this.knex);
}

async delete(key: KvKey) {
Expand Down
Loading

0 comments on commit 79483a1

Please sign in to comment.