message: Update ActiveEffect for v9
  Closes
diff: @@ -31,6 +31,11 @@ declare global {
  */
  protected _sheet: FormApplication | null; // TODO: Actually an ActiveEffectConfig according to foundry but this is a problem with ClientDocumentMixins _sheet, this should actually be inferred from the CONFIG
  + /**
  + * Is there some system logic that makes this active effect ineligible for application?
  + */
  + get isSuppressed(): boolean;
  +
  /**
  * Summarize the active effect duration
  */
  @@ -63,12 +68,6 @@ declare global {
  */
  get sourceName(): string;
  - /**
  - * An instance of the ActiveEffectConfig sheet to use for this ActiveEffect instance.
  - * The reference to the sheet is cached so the same sheet instance is reused.
  - */
  - get sheet(): FormApplication; // TODO: Actually an ActiveEffectConfig according to foundry but this is a problem with ClientDocumentMixin's sheet, this should actually be inferred from the CONFIG
  -
  /**
  * Apply this ActiveEffect to a provided Actor.
  * @param actor - The Actor to whom this effect should be applied
  @@ -138,6 +137,29 @@ declare global {
  options: DocumentModificationOptions,
  user: foundry.documents.BaseUser
  ): Promise<void>;
  +
  + /** @override */
  + protected _onCreate(
  + data: foundry.data.ActiveEffectData['_source'],
  + options: DocumentModificationOptions,
  + userId: string
  + ): void;
  +
  + /** @override */
  + protected _onUpdate(
  + data: DeepPartial<foundry.data.ActiveEffectData['_source']>,
  + options: DocumentModificationOptions,
  + userId: string
  + ): void;
  +
  + /** @override */
  + protected _onDelete(options: DocumentModificationOptions, userId: string): void;
  +
  + /**
  + * Display changes to active effects as scrolling Token status text.
  + * @internal
  + */
  + protected _displayScrollingStatus(enabled: boolean): void;
  }
  }
  