feat(center): enforce API key on all APIs except node register

This commit is contained in:
nav
2026-05-13 08:17:42 +00:00
parent a924bf656d
commit cfa5ccdfaf
4 changed files with 63 additions and 1 deletions

View File

@@ -20,6 +20,9 @@ export class GuildNode {
@Column()
endpoint!: string;
@Column({ type: 'varchar', length: 255, nullable: true })
apiKeyHash!: string | null;
@Column({
type: 'enum',
enum: ['active', 'offline', 'revoked'],