feat: add 2FA, secure cookies and publishing tools
This commit is contained in:
2
types.ts
2
types.ts
@@ -60,6 +60,7 @@ export interface Course {
|
||||
tips?: string[]; // Key takeaways / instructor tips
|
||||
attachments?: Attachment[]; // Downloadable materials across entire course
|
||||
status?: 'draft' | 'published';
|
||||
scheduledPublishAt?: string | null;
|
||||
lastActivity?: string;
|
||||
}
|
||||
|
||||
@@ -77,6 +78,7 @@ export interface User {
|
||||
name: string;
|
||||
role: UserRole;
|
||||
avatar?: string;
|
||||
impersonatedBy?: string;
|
||||
}
|
||||
|
||||
export interface Comment {
|
||||
|
||||
Reference in New Issue
Block a user