Changing the method name from "triggerMessage" to "displayActionMessage".
Generally speaking, I like to call the message at the bottom an "action message". And things can "trigger" it, but in the case of a method that actually proactively displays the message, I find "displayActionMessage" to be a better name. Also, removing package-lock files and improving code style
This commit is contained in:
parent
82832b7055
commit
d1e5d57459
12 changed files with 81 additions and 9020 deletions
|
@ -1,21 +0,0 @@
|
|||
import * as tg from 'generic-type-guard';
|
||||
|
||||
export const triggerMessage = 'triggerMessage';
|
||||
export const removeTriggerMessage = 'removeTriggerMessage';
|
||||
|
||||
export const isTriggerMessageEvent = new tg.IsInterface()
|
||||
.withProperties({
|
||||
message: tg.isString,
|
||||
uuid: tg.isString,
|
||||
})
|
||||
.get();
|
||||
|
||||
export type TriggerMessageEvent = tg.GuardedType<typeof isTriggerMessageEvent>;
|
||||
|
||||
export const isMessageReferenceEvent = new tg.IsInterface()
|
||||
.withProperties({
|
||||
uuid: tg.isString,
|
||||
})
|
||||
.get();
|
||||
|
||||
export type MessageReferenceEvent = tg.GuardedType<typeof isMessageReferenceEvent>;
|
Loading…
Add table
Add a link
Reference in a new issue