1import { OrgRole } from './acl'; 2 3export interface ApiKey { 4 id?: number; 5 name: string; 6 role: OrgRole; 7 secondsToLive: number | null; 8 expiration?: string; 9} 10 11export interface NewApiKey { 12 name: string; 13 role: OrgRole; 14 secondsToLive: string; 15} 16 17export interface ApiKeysState { 18 includeExpired: boolean; 19 keys: ApiKey[]; 20 keysIncludingExpired: ApiKey[]; 21 searchQuery: string; 22 hasFetched: boolean; 23} 24