mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
Allow deleting countdowns via right click context menu on the main panel (#2090)
This commit is contained in:
parent
effab8db0c
commit
3efdcb6c9a
7 changed files with 118 additions and 36 deletions
13
daggerheart.d.ts
vendored
13
daggerheart.d.ts
vendored
|
|
@ -11,6 +11,9 @@ import * as documents from './module/documents/_module.mjs';
|
|||
import { macros } from './module/_module.mjs';
|
||||
import * as dice from './module/dice/_module.mjs';
|
||||
import * as fields from './module/data/fields/_module.mjs';
|
||||
import { gameSettings } from './module/config/settingsConfig.mjs';
|
||||
import DhCountdowns from './module/data/countdowns.mjs';
|
||||
import DhAutomation from './module/data/settings/Automation.mjs';
|
||||
|
||||
|
||||
// Foundry's use of `Object.assign(globalThis) means many globally available objects are not read as such
|
||||
|
|
@ -103,3 +106,13 @@ declare module '@client/packages/system.mjs' {
|
|||
};
|
||||
}
|
||||
}
|
||||
|
||||
declare module '@client/helpers/client-settings.mjs' {
|
||||
// Add explicit typed overrides for auto complete. These require /** @type {"string"} on the vars themselves to work */
|
||||
export default interface ClientSettings {
|
||||
get(namespace: 'daggerheart', key: typeof gameSettings.Automation): DhAutomation;
|
||||
get(namespace: 'daggerheart', key: typeof gameSettings.Homebrew): DhHomebrew;
|
||||
get(namespace: 'daggerheart', key: typeof gameSettings.Countdowns): DhCountdowns;
|
||||
get(namespace: 'daggerheart', key: string): unknown;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue