Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

StateHistory

import type { StateHistory } from "https://googleapis.deno.dev/v1/classroom:v1.ts";

The history of each state this submission has been in.

interface StateHistory {
actorUserId?: string;
state?:
| "STATE_UNSPECIFIED"
| "CREATED"
| "TURNED_IN"
| "RETURNED"
| "RECLAIMED_BY_STUDENT"
| "STUDENT_EDITED_AFTER_TURN_IN";
stateTimestamp?: Date;
}

§Properties

§
actorUserId?: string
[src]

The teacher or student who made the change.

§
state?: "STATE_UNSPECIFIED" | "CREATED" | "TURNED_IN" | "RETURNED" | "RECLAIMED_BY_STUDENT" | "STUDENT_EDITED_AFTER_TURN_IN"
[src]

The workflow pipeline stage.

§
stateTimestamp?: Date
[src]

When the submission entered this state.