@league-of-foundry-developers/foundry-vtt-types 13.346.0-beta.20251002185327 → 13.346.0-beta.20251004213306
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/configuration/globals.d.mts +221 -0
- package/src/foundry/client/canvas/groups/canvas-group-mixin.d.mts +1 -0
- package/src/foundry/client/canvas/loader.d.mts +5 -3
- package/src/foundry/client/canvas/perception/vision-mode.d.mts +5 -1
- package/src/foundry/client/client.d.mts +394 -0
- package/src/foundry/client/config.d.mts +1 -1
- package/src/foundry/client/helpers/client-settings.d.mts +2 -0
- package/src/foundry/client/utils/_module.d.mts +1 -0
- package/src/foundry/common/abstract/document.d.mts +3 -0
- package/src/foundry/common/documents/active-effect.d.mts +1 -0
- package/src/foundry/common/documents/actor-delta.d.mts +1 -0
- package/src/foundry/common/documents/actor.d.mts +1 -0
- package/src/foundry/common/documents/adventure.d.mts +1 -0
- package/src/foundry/common/documents/ambient-light.d.mts +1 -0
- package/src/foundry/common/documents/ambient-sound.d.mts +1 -0
- package/src/foundry/common/documents/card.d.mts +1 -0
- package/src/foundry/common/documents/cards.d.mts +1 -0
- package/src/foundry/common/documents/chat-message.d.mts +1 -0
- package/src/foundry/common/documents/combat.d.mts +1 -0
- package/src/foundry/common/documents/combatant-group.d.mts +1 -0
- package/src/foundry/common/documents/combatant.d.mts +1 -0
- package/src/foundry/common/documents/drawing.d.mts +1 -0
- package/src/foundry/common/documents/fog-exploration.d.mts +1 -0
- package/src/foundry/common/documents/folder.d.mts +1 -0
- package/src/foundry/common/documents/item.d.mts +1 -0
- package/src/foundry/common/documents/journal-entry-category.d.mts +1 -0
- package/src/foundry/common/documents/journal-entry-page.d.mts +1 -0
- package/src/foundry/common/documents/journal-entry.d.mts +1 -0
- package/src/foundry/common/documents/macro.d.mts +3 -0
- package/src/foundry/common/documents/measured-template.d.mts +1 -0
- package/src/foundry/common/documents/note.d.mts +1 -0
- package/src/foundry/common/documents/playlist-sound.d.mts +1 -0
- package/src/foundry/common/documents/playlist.d.mts +1 -0
- package/src/foundry/common/documents/region-behavior.d.mts +1 -0
- package/src/foundry/common/documents/region.d.mts +1 -0
- package/src/foundry/common/documents/roll-table.d.mts +1 -0
- package/src/foundry/common/documents/scene.d.mts +1 -0
- package/src/foundry/common/documents/setting.d.mts +1 -0
- package/src/foundry/common/documents/table-result.d.mts +3 -0
- package/src/foundry/common/documents/tile.d.mts +1 -0
- package/src/foundry/common/documents/token.d.mts +1 -0
- package/src/foundry/common/documents/user.d.mts +1 -0
- package/src/foundry/common/documents/wall.d.mts +1 -0
- package/src/foundry/common/grid/base.d.mts +1 -1
- package/src/foundry/common/grid/grid-hex.d.mts +1 -1
- package/src/foundry/common/grid/hexagonal.d.mts +1 -1
- package/src/foundry/common/packages/base-module.d.mts +2 -0
- package/src/foundry/common/packages/base-system.d.mts +2 -0
- package/src/foundry/common/packages/base-world.d.mts +2 -0
@@ -2535,7 +2535,7 @@ declare global {
|
|
2535
2535
|
}
|
2536
2536
|
|
2537
2537
|
/**
|
2538
|
-
* @privateRemarks Foundry types this as {@linkcode geometry.PointSourcePolygon |
|
2538
|
+
* @privateRemarks Foundry types this as {@linkcode geometry.PointSourcePolygon | \@enum PointSourcePolygon}, but all the runtime defaults are
|
2539
2539
|
* {@linkcode geometry.ClockwiseSweepPolygon | ClockwiseSweepPolygon}, and CSP types and methods are assumed in other canvas classes, so entries
|
2540
2540
|
* have been constrained to it instead of `PointSourcePolygon`.
|
2541
2541
|
*
|
@@ -418,11 +418,13 @@ declare namespace ClientSettings {
|
|
418
418
|
/**
|
419
419
|
* @deprecated Replaced with {@linkcode ClientSettings.SettingInitializedType}.
|
420
420
|
*/
|
421
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
421
422
|
export import SettingAssignmentType = ClientSettings.SettingInitializedType;
|
422
423
|
|
423
424
|
/**
|
424
425
|
* @deprecated Replaced with {@linkcode ClientSettings.ToSettingInitializedType}.
|
425
426
|
*/
|
427
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
426
428
|
export import ToSettingAssignmentType = ClientSettings.ToSettingInitializedType;
|
427
429
|
}
|
428
430
|
|
@@ -2664,16 +2664,19 @@ declare namespace Document {
|
|
2664
2664
|
/**
|
2665
2665
|
* @deprecated Replaced with {@linkcode Document.SheetClassFor}
|
2666
2666
|
*/
|
2667
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
2667
2668
|
export import ConfiguredSheetClassFor = Document.SheetClassFor;
|
2668
2669
|
|
2669
2670
|
/**
|
2670
2671
|
* @deprecated Replaced with {@linkcode Document.ObjectClassFor}
|
2671
2672
|
*/
|
2673
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
2672
2674
|
export import ConfiguredObjectClassFor = Document.ObjectClassFor;
|
2673
2675
|
|
2674
2676
|
/**
|
2675
2677
|
* @deprecated Replaced with {@linkcode Document.LayerClassFor}
|
2676
2678
|
*/
|
2679
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
2677
2680
|
export import ConfiguredLayerClassFor = Document.LayerClassFor;
|
2678
2681
|
|
2679
2682
|
/**
|
@@ -315,6 +315,7 @@ export default BaseActiveEffect;
|
|
315
315
|
declare namespace BaseActiveEffect {
|
316
316
|
export import Name = ActiveEffect.Name;
|
317
317
|
export import ConstructionContext = ActiveEffect.ConstructionContext;
|
318
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
318
319
|
export import ConstructorArgs = ActiveEffect.ConstructorArgs;
|
319
320
|
export import Hierarchy = ActiveEffect.Hierarchy;
|
320
321
|
export import Metadata = ActiveEffect.Metadata;
|
@@ -380,6 +380,7 @@ declare namespace BaseActorDelta {
|
|
380
380
|
|
381
381
|
export import Name = ActorDelta.Name;
|
382
382
|
export import ConstructionContext = ActorDelta.ConstructionContext;
|
383
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
383
384
|
export import ConstructorArgs = ActorDelta.ConstructorArgs;
|
384
385
|
export import Hierarchy = ActorDelta.Hierarchy;
|
385
386
|
export import Metadata = ActorDelta.Metadata;
|
@@ -350,6 +350,7 @@ declare abstract class BaseActor<out SubType extends Actor.SubType = Actor.SubTy
|
|
350
350
|
declare namespace BaseActor {
|
351
351
|
export import Name = Actor.Name;
|
352
352
|
export import ConstructionContext = Actor.ConstructionContext;
|
353
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
353
354
|
export import ConstructorArgs = Actor.ConstructorArgs;
|
354
355
|
export import Hierarchy = Actor.Hierarchy;
|
355
356
|
export import Metadata = Actor.Metadata;
|
@@ -291,6 +291,7 @@ export default BaseAdventure;
|
|
291
291
|
declare namespace BaseAdventure {
|
292
292
|
export import Name = Adventure.Name;
|
293
293
|
export import ConstructionContext = Adventure.ConstructionContext;
|
294
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
294
295
|
export import ConstructorArgs = Adventure.ConstructorArgs;
|
295
296
|
export import Hierarchy = Adventure.Hierarchy;
|
296
297
|
export import Metadata = Adventure.Metadata;
|
@@ -277,6 +277,7 @@ export default BaseAmbientLight;
|
|
277
277
|
declare namespace BaseAmbientLight {
|
278
278
|
export import Name = AmbientLightDocument.Name;
|
279
279
|
export import ConstructionContext = AmbientLightDocument.ConstructionContext;
|
280
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
280
281
|
export import ConstructorArgs = AmbientLightDocument.ConstructorArgs;
|
281
282
|
export import Hierarchy = AmbientLightDocument.Hierarchy;
|
282
283
|
export import Metadata = AmbientLightDocument.Metadata;
|
@@ -278,6 +278,7 @@ export default BaseAmbientSound;
|
|
278
278
|
declare namespace BaseAmbientSound {
|
279
279
|
export import Name = AmbientSoundDocument.Name;
|
280
280
|
export import ConstructionContext = AmbientSoundDocument.ConstructionContext;
|
281
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
281
282
|
export import ConstructorArgs = AmbientSoundDocument.ConstructorArgs;
|
282
283
|
export import Hierarchy = AmbientSoundDocument.Hierarchy;
|
283
284
|
export import Metadata = AmbientSoundDocument.Metadata;
|
@@ -296,6 +296,7 @@ export default BaseCard;
|
|
296
296
|
declare namespace BaseCard {
|
297
297
|
export import Name = Card.Name;
|
298
298
|
export import ConstructionContext = Card.ConstructionContext;
|
299
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
299
300
|
export import ConstructorArgs = Card.ConstructorArgs;
|
300
301
|
export import Hierarchy = Card.Hierarchy;
|
301
302
|
export import Metadata = Card.Metadata;
|
@@ -338,6 +338,7 @@ export default BaseCards;
|
|
338
338
|
declare namespace BaseCards {
|
339
339
|
export import Name = Cards.Name;
|
340
340
|
export import ConstructionContext = Cards.ConstructionContext;
|
341
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
341
342
|
export import ConstructorArgs = Cards.ConstructorArgs;
|
342
343
|
export import Hierarchy = Cards.Hierarchy;
|
343
344
|
export import Metadata = Cards.Metadata;
|
@@ -312,6 +312,7 @@ export default BaseChatMessage;
|
|
312
312
|
declare namespace BaseChatMessage {
|
313
313
|
export import Name = ChatMessage.Name;
|
314
314
|
export import ConstructionContext = ChatMessage.ConstructionContext;
|
315
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
315
316
|
export import ConstructorArgs = ChatMessage.ConstructorArgs;
|
316
317
|
export import Hierarchy = ChatMessage.Hierarchy;
|
317
318
|
export import Metadata = ChatMessage.Metadata;
|
@@ -341,6 +341,7 @@ export default BaseCombat;
|
|
341
341
|
declare namespace BaseCombat {
|
342
342
|
export import Name = Combat.Name;
|
343
343
|
export import ConstructionContext = Combat.ConstructionContext;
|
344
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
344
345
|
export import ConstructorArgs = Combat.ConstructorArgs;
|
345
346
|
export import Hierarchy = Combat.Hierarchy;
|
346
347
|
export import Metadata = Combat.Metadata;
|
@@ -283,6 +283,7 @@ declare abstract class BaseCombatantGroup<
|
|
283
283
|
declare namespace BaseCombatantGroup {
|
284
284
|
export import Name = CombatantGroup.Name;
|
285
285
|
export import ConstructionContext = Item.ConstructionContext;
|
286
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
286
287
|
export import ConstructorArgs = CombatantGroup.ConstructorArgs;
|
287
288
|
export import Hierarchy = CombatantGroup.Hierarchy;
|
288
289
|
export import Metadata = CombatantGroup.Metadata;
|
@@ -301,6 +301,7 @@ export default BaseCombatant;
|
|
301
301
|
declare namespace BaseCombatant {
|
302
302
|
export import Name = Combatant.Name;
|
303
303
|
export import ConstructionContext = Combatant.ConstructionContext;
|
304
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
304
305
|
export import ConstructorArgs = Combatant.ConstructorArgs;
|
305
306
|
export import Hierarchy = Combatant.Hierarchy;
|
306
307
|
export import Metadata = Combatant.Metadata;
|
@@ -321,6 +321,7 @@ export default BaseDrawing;
|
|
321
321
|
declare namespace BaseDrawing {
|
322
322
|
export import Name = DrawingDocument.Name;
|
323
323
|
export import ConstructionContext = DrawingDocument.ConstructionContext;
|
324
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
324
325
|
export import ConstructorArgs = DrawingDocument.ConstructorArgs;
|
325
326
|
export import Hierarchy = DrawingDocument.Hierarchy;
|
326
327
|
export import Metadata = DrawingDocument.Metadata;
|
@@ -287,6 +287,7 @@ export default BaseFogExploration;
|
|
287
287
|
declare namespace BaseFogExploration {
|
288
288
|
export import Name = FogExploration.Name;
|
289
289
|
export import ConstructionContext = FogExploration.ConstructionContext;
|
290
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
290
291
|
export import ConstructorArgs = FogExploration.ConstructorArgs;
|
291
292
|
export import Hierarchy = FogExploration.Hierarchy;
|
292
293
|
export import Metadata = FogExploration.Metadata;
|
@@ -296,6 +296,7 @@ export default BaseFolder;
|
|
296
296
|
declare namespace BaseFolder {
|
297
297
|
export import Name = Folder.Name;
|
298
298
|
export import ConstructionContext = Folder.ConstructionContext;
|
299
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
299
300
|
export import ConstructorArgs = Folder.ConstructorArgs;
|
300
301
|
export import Hierarchy = Folder.Hierarchy;
|
301
302
|
export import Metadata = Folder.Metadata;
|
@@ -347,6 +347,7 @@ export default BaseItem;
|
|
347
347
|
declare namespace BaseItem {
|
348
348
|
export import Name = Item.Name;
|
349
349
|
export import ConstructionContext = Item.ConstructionContext;
|
350
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
350
351
|
export import ConstructorArgs = Item.ConstructorArgs;
|
351
352
|
export import Hierarchy = Item.Hierarchy;
|
352
353
|
export import Metadata = Item.Metadata;
|
@@ -281,6 +281,7 @@ declare abstract class BaseJournalEntryCategory extends Document<
|
|
281
281
|
declare namespace BaseJournalEntryCategory {
|
282
282
|
export import Name = JournalEntry.Name;
|
283
283
|
export import ConstructionContext = Item.ConstructionContext;
|
284
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
284
285
|
export import ConstructorArgs = JournalEntry.ConstructorArgs;
|
285
286
|
export import Hierarchy = JournalEntry.Hierarchy;
|
286
287
|
export import Metadata = JournalEntry.Metadata;
|
@@ -290,6 +290,7 @@ export default BaseJournalEntryPage;
|
|
290
290
|
declare namespace BaseJournalEntryPage {
|
291
291
|
export import Name = JournalEntryPage.Name;
|
292
292
|
export import ConstructionContext = JournalEntryPage.ConstructionContext;
|
293
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
293
294
|
export import ConstructorArgs = JournalEntryPage.ConstructorArgs;
|
294
295
|
export import Hierarchy = JournalEntryPage.Hierarchy;
|
295
296
|
export import Metadata = JournalEntryPage.Metadata;
|
@@ -331,6 +331,7 @@ export default BaseJournalEntry;
|
|
331
331
|
declare namespace BaseJournalEntry {
|
332
332
|
export import Name = JournalEntry.Name;
|
333
333
|
export import ConstructionContext = JournalEntry.ConstructionContext;
|
334
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
334
335
|
export import ConstructorArgs = JournalEntry.ConstructorArgs;
|
335
336
|
export import Hierarchy = JournalEntry.Hierarchy;
|
336
337
|
export import Metadata = JournalEntry.Metadata;
|
@@ -311,11 +311,14 @@ export default BaseMacro;
|
|
311
311
|
declare namespace BaseMacro {
|
312
312
|
export import Name = Macro.Name;
|
313
313
|
export import ConstructionContext = Macro.ConstructionContext;
|
314
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
314
315
|
export import ConstructorArgs = Macro.ConstructorArgs;
|
315
316
|
export import Hierarchy = Macro.Hierarchy;
|
316
317
|
export import Metadata = Macro.Metadata;
|
317
318
|
export import SubType = Macro.SubType;
|
319
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
318
320
|
export import ConfiguredSubType = Macro.ConfiguredSubType;
|
321
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
319
322
|
export import Known = Macro.Known;
|
320
323
|
export import OfType = Macro.OfType;
|
321
324
|
export import Parent = Macro.Parent;
|
@@ -310,6 +310,7 @@ export default BaseMeasuredTemplate;
|
|
310
310
|
declare namespace BaseMeasuredTemplate {
|
311
311
|
export import Name = MeasuredTemplateDocument.Name;
|
312
312
|
export import ConstructionContext = MeasuredTemplateDocument.ConstructionContext;
|
313
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
313
314
|
export import ConstructorArgs = MeasuredTemplateDocument.ConstructorArgs;
|
314
315
|
export import Hierarchy = MeasuredTemplateDocument.Hierarchy;
|
315
316
|
export import Metadata = MeasuredTemplateDocument.Metadata;
|
@@ -297,6 +297,7 @@ export default BaseNote;
|
|
297
297
|
declare namespace BaseNote {
|
298
298
|
export import Name = NoteDocument.Name;
|
299
299
|
export import ConstructionContext = NoteDocument.ConstructionContext;
|
300
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
300
301
|
export import ConstructorArgs = NoteDocument.ConstructorArgs;
|
301
302
|
export import Hierarchy = NoteDocument.Hierarchy;
|
302
303
|
export import Metadata = NoteDocument.Metadata;
|
@@ -290,6 +290,7 @@ export default BasePlaylistSound;
|
|
290
290
|
declare namespace BasePlaylistSound {
|
291
291
|
export import Name = PlaylistSound.Name;
|
292
292
|
export import ConstructionContext = PlaylistSound.ConstructionContext;
|
293
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
293
294
|
export import ConstructorArgs = PlaylistSound.ConstructorArgs;
|
294
295
|
export import Hierarchy = PlaylistSound.Hierarchy;
|
295
296
|
export import Metadata = PlaylistSound.Metadata;
|
@@ -328,6 +328,7 @@ export default BasePlaylist;
|
|
328
328
|
declare namespace BasePlaylist {
|
329
329
|
export import Name = Playlist.Name;
|
330
330
|
export import ConstructionContext = Playlist.ConstructionContext;
|
331
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
331
332
|
export import ConstructorArgs = Playlist.ConstructorArgs;
|
332
333
|
export import Hierarchy = Playlist.Hierarchy;
|
333
334
|
export import Metadata = Playlist.Metadata;
|
@@ -307,6 +307,7 @@ export default BaseRegionBehavior;
|
|
307
307
|
declare namespace BaseRegionBehavior {
|
308
308
|
export import Name = RegionBehavior.Name;
|
309
309
|
export import ConstructionContext = RegionBehavior.ConstructionContext;
|
310
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
310
311
|
export import ConstructorArgs = RegionBehavior.ConstructorArgs;
|
311
312
|
export import Hierarchy = RegionBehavior.Hierarchy;
|
312
313
|
export import Metadata = RegionBehavior.Metadata;
|
@@ -310,6 +310,7 @@ export default BaseRegion;
|
|
310
310
|
declare namespace BaseRegion {
|
311
311
|
export import Name = RegionDocument.Name;
|
312
312
|
export import ConstructionContext = RegionDocument.ConstructionContext;
|
313
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
313
314
|
export import ConstructorArgs = RegionDocument.ConstructorArgs;
|
314
315
|
export import Hierarchy = RegionDocument.Hierarchy;
|
315
316
|
export import Metadata = RegionDocument.Metadata;
|
@@ -328,6 +328,7 @@ export default BaseRollTable;
|
|
328
328
|
declare namespace BaseRollTable {
|
329
329
|
export import Name = RollTable.Name;
|
330
330
|
export import ConstructionContext = RollTable.ConstructionContext;
|
331
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
331
332
|
export import ConstructorArgs = RollTable.ConstructorArgs;
|
332
333
|
export import Hierarchy = RollTable.Hierarchy;
|
333
334
|
export import Metadata = RollTable.Metadata;
|
@@ -429,6 +429,7 @@ export default BaseScene;
|
|
429
429
|
declare namespace BaseScene {
|
430
430
|
export import Name = Scene.Name;
|
431
431
|
export import ConstructionContext = Scene.ConstructionContext;
|
432
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
432
433
|
export import ConstructorArgs = Scene.ConstructorArgs;
|
433
434
|
export import Hierarchy = Scene.Hierarchy;
|
434
435
|
export import Metadata = Scene.Metadata;
|
@@ -267,6 +267,7 @@ export default BaseSetting;
|
|
267
267
|
declare namespace BaseSetting {
|
268
268
|
export import Name = Setting.Name;
|
269
269
|
export import ConstructionContext = Setting.ConstructionContext;
|
270
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
270
271
|
export import ConstructorArgs = Setting.ConstructorArgs;
|
271
272
|
export import Hierarchy = Setting.Hierarchy;
|
272
273
|
export import Metadata = Setting.Metadata;
|
@@ -316,11 +316,14 @@ export default BaseTableResult;
|
|
316
316
|
declare namespace BaseTableResult {
|
317
317
|
export import Name = TableResult.Name;
|
318
318
|
export import ConstructionContext = TableResult.ConstructionContext;
|
319
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
319
320
|
export import ConstructorArgs = TableResult.ConstructorArgs;
|
320
321
|
export import Hierarchy = TableResult.Hierarchy;
|
321
322
|
export import Metadata = TableResult.Metadata;
|
322
323
|
export import SubType = TableResult.SubType;
|
324
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
323
325
|
export import ConfiguredSubType = TableResult.ConfiguredSubType;
|
326
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
324
327
|
export import Known = TableResult.Known;
|
325
328
|
export import OfType = TableResult.OfType;
|
326
329
|
export import Parent = TableResult.Parent;
|
@@ -322,6 +322,7 @@ export default BaseTile;
|
|
322
322
|
declare namespace BaseTile {
|
323
323
|
export import Name = TileDocument.Name;
|
324
324
|
export import ConstructionContext = TileDocument.ConstructionContext;
|
325
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
325
326
|
export import ConstructorArgs = TileDocument.ConstructorArgs;
|
326
327
|
export import Hierarchy = TileDocument.Hierarchy;
|
327
328
|
export import Metadata = TileDocument.Metadata;
|
@@ -493,6 +493,7 @@ export default BaseToken;
|
|
493
493
|
declare namespace BaseToken {
|
494
494
|
export import Name = TokenDocument.Name;
|
495
495
|
export import ConstructionContext = TokenDocument.ConstructionContext;
|
496
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
496
497
|
export import ConstructorArgs = TokenDocument.ConstructorArgs;
|
497
498
|
export import Hierarchy = TokenDocument.Hierarchy;
|
498
499
|
export import Metadata = TokenDocument.Metadata;
|
@@ -316,6 +316,7 @@ export default BaseUser;
|
|
316
316
|
declare namespace BaseUser {
|
317
317
|
export import Name = User.Name;
|
318
318
|
export import ConstructionContext = User.ConstructionContext;
|
319
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
319
320
|
export import ConstructorArgs = User.ConstructorArgs;
|
320
321
|
export import Hierarchy = User.Hierarchy;
|
321
322
|
export import Metadata = User.Metadata;
|
@@ -284,6 +284,7 @@ export default BaseWall;
|
|
284
284
|
declare namespace BaseWall {
|
285
285
|
export import Name = WallDocument.Name;
|
286
286
|
export import ConstructionContext = WallDocument.ConstructionContext;
|
287
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
287
288
|
export import ConstructorArgs = WallDocument.ConstructorArgs;
|
288
289
|
export import Hierarchy = WallDocument.Hierarchy;
|
289
290
|
export import Metadata = WallDocument.Metadata;
|
@@ -126,7 +126,7 @@ declare abstract class BaseGrid {
|
|
126
126
|
* Returns the center point of the grid space corresponding to the given coordinates.
|
127
127
|
* If given a point, the center point of the grid space that contains it is returned.
|
128
128
|
* In gridless grids a point with the same coordinates as the given point is returned.
|
129
|
-
* @param coords- The coordinates
|
129
|
+
* @param coords - The coordinates
|
130
130
|
* @returns The center point
|
131
131
|
*/
|
132
132
|
abstract getCenterPoint(coords: BaseGrid.Coordinates): Canvas.Point;
|
@@ -45,7 +45,7 @@ declare class GridHex {
|
|
45
45
|
|
46
46
|
/**
|
47
47
|
* Return whether this GridHex equals the same position as some other GridHex instance.
|
48
|
-
* @param other- Some other GridHex
|
48
|
+
* @param other - Some other GridHex
|
49
49
|
* @returns Are the positions equal?
|
50
50
|
*/
|
51
51
|
equals(other: GridHex): boolean;
|
@@ -105,7 +105,7 @@ declare class HexagonalGrid extends BaseGrid {
|
|
105
105
|
/**
|
106
106
|
* Round the fractional cube coordinates (q, r, s).
|
107
107
|
* @see {@link https://www.redblobgames.com/grids/hexagons/}
|
108
|
-
* @param cube- The fractional cube coordinates
|
108
|
+
* @param cube - The fractional cube coordinates
|
109
109
|
* @returns The rounded integer cube coordinates
|
110
110
|
*/
|
111
111
|
static cubeRound(cube: HexagonalGrid.Cube): HexagonalGrid.Cube;
|
@@ -2,6 +2,8 @@ import type { AnyMutableObject } from "../../../utils/index.d.mts";
|
|
2
2
|
import type DataModel from "../abstract/data.d.mts";
|
3
3
|
import type BasePackage from "./base-package.d.mts";
|
4
4
|
|
5
|
+
import System = foundry.packages.System;
|
6
|
+
|
5
7
|
declare namespace BaseSystem {
|
6
8
|
export import Source = System.Source;
|
7
9
|
export import CreateData = System.CreateData;
|
@@ -2,6 +2,8 @@ import type BasePackage from "./base-package.d.mts";
|
|
2
2
|
import type { AnyMutableObject, InexactPartial } from "#utils";
|
3
3
|
import type { ReleaseData } from "../config.d.mts";
|
4
4
|
|
5
|
+
import World = foundry.packages.World;
|
6
|
+
|
5
7
|
declare namespace BaseWorld {
|
6
8
|
export import Source = World.Source;
|
7
9
|
export import CreateData = World.CreateData;
|