State for assignment metadata fields.
Represents the current state of all assignment metadata fields managed by the AssignmentEditor component. This is used internally by the persistence hook to include metadata in saved files.
const metadata: AssignmentMetadataState = { dueDate: '2024-04-01T23:59:59.000Z', timeHours: 2, timeMinutes: 30, status: 'in_progress', assignedTo: ['user-1', 'user-2'], fileReferences: [], userActivities: {},}; Copy
const metadata: AssignmentMetadataState = { dueDate: '2024-04-01T23:59:59.000Z', timeHours: 2, timeMinutes: 30, status: 'in_progress', assignedTo: ['user-1', 'user-2'], fileReferences: [], userActivities: {},};
List of assigned user IDs
ISO timestamp for the due date (null if no due date)
Attached file references
Overall assignment status
Estimated hours component
Estimated minutes component
Per-user activity tracking data
State for assignment metadata fields.
Remarks
Represents the current state of all assignment metadata fields managed by the AssignmentEditor component. This is used internally by the persistence hook to include metadata in saved files.
Example