Skip to content

Commit

Permalink
feat: define key-value repository
Browse files Browse the repository at this point in the history
  • Loading branch information
skgndi12 committed Dec 26, 2023
1 parent 2c920c5 commit 4c87a91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/src/core/ports/keyValue.repository.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export interface KeyValueRepository {
set(key: string, value: string, expirationSeconds: number): Promise<void>;
get(key: string): Promise<string>;
}

0 comments on commit 4c87a91

Please sign in to comment.