Skip to content

Commit

Permalink
Merge pull request #92 from skgndi12/feature/issue-88/define-key-valu…
Browse files Browse the repository at this point in the history
…e-repository

[#88] Define key-value repository
  • Loading branch information
skgndi12 authored Dec 26, 2023
2 parents 2c920c5 + 4c87a91 commit c9791d8
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 c9791d8

Please sign in to comment.