diff-check
Diff checking event class.
Eventsβ
DiffCheckEventβ
Defined in: core/src/events/diff-check.ts:15
Event emitted before/after checking schema differences.
Extendsβ
DataEvent<{outputDir?:string;schema?:unknown;schemaHasChanges?:boolean; }>
Constructorsβ
Constructorβ
new DiffCheckEvent(data, options?): DiffCheckEvent;
Defined in: core/src/events/diff-check.ts:20
Parametersβ
dataβ
outputDir?β
string
schema?β
unknown
schemaHasChanges?β
boolean
options?β
Returnsβ
Overridesβ
Propertiesβ
dataβ
readonly data: object;
Defined in: utils/dist/events.d.ts:111
Read-only event data payload.
outputDir?β
optional outputDir?: string;
schema?β
optional schema?: unknown;
schemaHasChanges?β
optional schemaHasChanges?: boolean;
Inherited fromβ
Accessorsβ
defaultActionβ
Get Signatureβ
get defaultAction(): DefaultAction | undefined;
Defined in: utils/dist/events.d.ts:78
Gets the default action function if one was provided.
Returnsβ
DefaultAction | undefined
Inherited fromβ
defaultPreventedβ
Get Signatureβ
get defaultPrevented(): boolean;
Defined in: utils/dist/events.d.ts:70
Gets whether the default action has been prevented.
Returnsβ
boolean
Set Signatureβ
set defaultPrevented(value): void;
Defined in: utils/dist/events.d.ts:82
Allows setting defaultPrevented to true directly.
Parametersβ
valueβ
boolean
Returnsβ
void
Inherited fromβ
propagationStoppedβ
Get Signatureβ
get propagationStopped(): boolean;
Defined in: utils/dist/events.d.ts:74
Gets whether propagation has been stopped.
Returnsβ
boolean
Set Signatureβ
set propagationStopped(value): void;
Defined in: utils/dist/events.d.ts:86
Allows setting propagationStopped to true directly.
Parametersβ
valueβ
boolean
Returnsβ
void
Inherited fromβ
Methodsβ
preventDefault()β
preventDefault(): void;
Defined in: utils/dist/events.d.ts:91
Prevents the default action from executing. Only works if the event is cancellable.
Returnsβ
void
Inherited fromβ
runDefaultAction()β
runDefaultAction(): Promise<void>;
Defined in: utils/dist/events.d.ts:100
Executes the default action for an event if it hasn't been prevented.
Returnsβ
Promise<void>
Inherited fromβ
stopPropagation()β
stopPropagation(): void;
Defined in: utils/dist/events.d.ts:96
Stops propagation to remaining event handlers. Handlers registered after the current one will not execute.
Returnsβ
void