17 lines
363 B
TypeScript
17 lines
363 B
TypeScript
import { Tenant } from './tenant.entity';
|
|
export declare class ApiKey {
|
|
id: string;
|
|
key: string;
|
|
secretHash: string;
|
|
name: string;
|
|
isActive: boolean;
|
|
rateLimit: number;
|
|
allowedOrigins: string[];
|
|
allowedReferrers: string[];
|
|
tenant: Tenant;
|
|
tenantId: string;
|
|
lastUsedAt: Date;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
}
|