backend-app-api: fix typings

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2024-03-26 20:02:55 +01:00
parent 6e611a7977
commit 8c861be144
4 changed files with 6 additions and 8 deletions
@@ -20,7 +20,7 @@ import { JsonObject } from '@backstage/types';
* @public
*/
export interface PublicKeyStoreService {
listKeys(): Promise<{ keys: JsonObject[] }>;
listKeys(): Promise<{ keys: { key: JsonObject; expiresAt: Date }[] }>;
addKey(options: {
id: string;
key: JsonObject;