mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* FEAT: add baseDataModel logic * FEAT: new PseudoDocumentsField FIX: BasePseudoDocument 's getEmbeddedDocument * FEAT: PseudoDocument class * FEAT: add TypedPseudoDocument REFACTOR: PreudoDocument FIX: Typos Bug * FIX: CONFIG types * FEAT: basic PseudoDocumentSheet * FIX: remove schema ADD: input of example --------- Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com> Co-authored-by: WBHarry <williambjrklund@gmail.com>
20 lines
758 B
TypeScript
20 lines
758 B
TypeScript
import '@client/global.mjs';
|
|
import Canvas from '@client/canvas/board.mjs';
|
|
|
|
// Foundry's use of `Object.assign(globalThis) means many globally available objects are not read as such
|
|
// This declare global hopefully fixes that
|
|
declare global {
|
|
/**
|
|
* A simple event framework used throughout Foundry Virtual Tabletop.
|
|
* When key actions or events occur, a "hook" is defined where user-defined callback functions can execute.
|
|
* This class manages the registration and execution of hooked callback functions.
|
|
*/
|
|
class Hooks extends foundry.helpers.Hooks {}
|
|
const fromUuid = foundry.utils.fromUuid;
|
|
const fromUuidSync = foundry.utils.fromUuidSync;
|
|
|
|
/**
|
|
* The singleton game canvas
|
|
*/
|
|
const canvas: Canvas;
|
|
}
|