Initial commit with Email Import Wizard and Task Processor updates

This commit is contained in:
2026-05-04 08:02:11 +02:00
commit effdc5d59f
170 changed files with 67739 additions and 0 deletions
@@ -0,0 +1,28 @@
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn } from 'typeorm';
@Entity('api_keys')
export class ApiKey {
@PrimaryGeneratedColumn('uuid')
id!: string;
@Column({ type: 'varchar', length: 100 })
name!: string;
@Column({ type: 'varchar', length: 10 })
keyPrefix!: string;
@Column({ type: 'varchar', length: 64, unique: true })
keyHash!: string;
@CreateDateColumn()
createdAt!: Date;
@UpdateDateColumn()
updatedAt!: Date;
@Column({ type: 'datetime', nullable: true })
lastUsedAt!: Date | null;
@Column({ type: 'datetime', nullable: true })
expiresAt!: Date | null;
}