Skip to content

Commit 3f2fa5d

Browse files
committed
fix: update listByPrefix return format
AdminForth/1703/make-s3-adapter-support-url-pa
1 parent 3cc8293 commit 3f2fa5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adminforth/types/adapters/KeyValueAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export interface KeyValueAdapter {
77

88
get(key: string): Promise<string | null>;
99

10-
listByPrefix(prefix: string, limit: number): Promise<Record<string, string>>;
10+
listByPrefix(prefix: string, limit: number): Promise<Record<string, string>[]>;
1111

1212
set(key: string, value: string, expiresInSeconds?: number): Promise<void>;
1313

0 commit comments

Comments
 (0)