14 lines
282 B
TypeScript
14 lines
282 B
TypeScript
import { Action } from "@/state/actions/base";
|
|
import { Student } from "@/data";
|
|
|
|
export enum StudentActions {
|
|
Set = 'SET_STUDENT',
|
|
}
|
|
|
|
export interface SetStudentAction extends Action<StudentActions.Set> {
|
|
student: Student,
|
|
}
|
|
|
|
export type StudentAction = SetStudentAction;
|
|
|