Skip to content

five-on-it / apps/client/src/ui/mission-format / ShownNotice

Interface: ShownNotice ​

Defined in: apps/client/src/ui/mission-format.ts:14

A notice on screen: the server's line, an id for React and when it goes (ms, the page's clock).

Extends ​

Properties ​

from? ​

optional from?: string

Defined in: packages/protocol/src/messages.ts:713

Inherited from ​

IncomingNotice.from


id ​

id: number

Defined in: apps/client/src/ui/mission-format.ts:16

Unique on this page.


kind ​

kind: "message" | "start" | "text" | "complete" | "fail"

Defined in: packages/protocol/src/messages.ts:711

Inherited from ​

IncomingNotice.kind


text ​

text: string

Defined in: packages/protocol/src/messages.ts:712

Inherited from ​

IncomingNotice.text


until ​

until: number

Defined in: apps/client/src/ui/mission-format.ts:18

When it leaves the screen (ms, performance.now()).