@league-of-foundry-developers/foundry-vtt-types 0.8.9-6 → 9.238.0
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/README.md +44 -27
- package/index-lenient.d.ts +10 -0
- package/index.d.ts +2 -2
- package/package.json +43 -15
- package/src/foundry/common/abstract/backend.mjs.d.ts +14 -15
- package/src/foundry/common/abstract/document.mjs.d.ts +30 -12
- package/src/foundry/common/config.mjs/index.d.ts +1 -0
- package/src/foundry/common/config.mjs/releaseData.d.ts +98 -0
- package/src/foundry/common/constants.mjs.d.ts +402 -213
- package/src/foundry/common/data/data.mjs/activeEffectData.d.ts +36 -29
- package/src/foundry/common/data/data.mjs/actorData.d.ts +32 -21
- package/src/foundry/common/data/data.mjs/adventureData.d.ts +165 -0
- package/src/foundry/common/data/data.mjs/ambientLightData.d.ts +45 -124
- package/src/foundry/common/data/data.mjs/ambientSoundData.d.ts +49 -77
- package/src/foundry/common/data/data.mjs/animationData.d.ts +17 -9
- package/src/foundry/common/data/data.mjs/cardData.d.ts +265 -0
- package/src/foundry/common/data/data.mjs/cardFaceData.d.ts +66 -0
- package/src/foundry/common/data/data.mjs/cardsData.d.ts +238 -0
- package/src/foundry/common/data/data.mjs/chatMessageData.d.ts +51 -39
- package/src/foundry/common/data/data.mjs/chatSpeakerData.d.ts +18 -11
- package/src/foundry/common/data/data.mjs/combatData.d.ts +51 -25
- package/src/foundry/common/data/data.mjs/combatantData.d.ts +48 -30
- package/src/foundry/common/data/data.mjs/darknessActivation.d.ts +8 -7
- package/src/foundry/common/data/data.mjs/drawingData.d.ts +72 -66
- package/src/foundry/common/data/data.mjs/effectChangeData.d.ts +21 -25
- package/src/foundry/common/data/data.mjs/effectDurationData.d.ts +24 -23
- package/src/foundry/common/data/data.mjs/fogExplorationData.d.ts +23 -16
- package/src/foundry/common/data/data.mjs/folderData.d.ts +28 -25
- package/src/foundry/common/data/data.mjs/index.d.ts +5 -0
- package/src/foundry/common/data/data.mjs/itemData.d.ts +26 -18
- package/src/foundry/common/data/data.mjs/journalEntryData.d.ts +21 -20
- package/src/foundry/common/data/data.mjs/lightData.d.ts +228 -0
- package/src/foundry/common/data/data.mjs/macroData.d.ts +52 -35
- package/src/foundry/common/data/data.mjs/measuredTemplateData.d.ts +41 -38
- package/src/foundry/common/data/data.mjs/noteData.d.ts +47 -37
- package/src/foundry/common/data/data.mjs/playlistData.d.ts +55 -26
- package/src/foundry/common/data/data.mjs/playlistSoundData.d.ts +32 -16
- package/src/foundry/common/data/data.mjs/prototypeTokenData.d.ts +7 -11
- package/src/foundry/common/data/data.mjs/rollTableData.d.ts +30 -24
- package/src/foundry/common/data/data.mjs/sceneData.d.ts +132 -111
- package/src/foundry/common/data/data.mjs/settingData.d.ts +11 -8
- package/src/foundry/common/data/data.mjs/tableResultData.d.ts +30 -26
- package/src/foundry/common/data/data.mjs/tileData.d.ts +43 -36
- package/src/foundry/common/data/data.mjs/tileOcclusion.d.ts +10 -9
- package/src/foundry/common/data/data.mjs/tokenBarData.d.ts +6 -3
- package/src/foundry/common/data/data.mjs/tokenData.d.ts +105 -157
- package/src/foundry/common/data/data.mjs/userData.d.ts +111 -33
- package/src/foundry/common/data/data.mjs/videoData.d.ts +9 -8
- package/src/foundry/common/data/data.mjs/wallData.d.ts +67 -39
- package/src/foundry/common/data/fields.mjs.d.ts +180 -83
- package/src/foundry/common/documents.mjs/baseActiveEffect.d.ts +9 -3
- package/src/foundry/common/documents.mjs/baseActor.d.ts +17 -45
- package/src/foundry/common/documents.mjs/baseAdventure.d.ts +38 -0
- package/src/foundry/common/documents.mjs/baseAmbientLight.d.ts +3 -0
- package/src/foundry/common/documents.mjs/baseAmbientSound.d.ts +3 -1
- package/src/foundry/common/documents.mjs/baseCard.d.ts +62 -0
- package/src/foundry/common/documents.mjs/baseCards.d.ts +39 -0
- package/src/foundry/common/documents.mjs/baseChatMessage.d.ts +3 -0
- package/src/foundry/common/documents.mjs/baseCombat.d.ts +5 -2
- package/src/foundry/common/documents.mjs/baseCombatant.d.ts +10 -1
- package/src/foundry/common/documents.mjs/baseDrawing.d.ts +11 -1
- package/src/foundry/common/documents.mjs/baseFogExploration.d.ts +4 -3
- package/src/foundry/common/documents.mjs/baseFolder.d.ts +10 -1
- package/src/foundry/common/documents.mjs/baseItem.d.ts +11 -29
- package/src/foundry/common/documents.mjs/baseJournalEntry.d.ts +3 -0
- package/src/foundry/common/documents.mjs/baseMacro.d.ts +16 -14
- package/src/foundry/common/documents.mjs/baseMeasuredTemplate.d.ts +4 -1
- package/src/foundry/common/documents.mjs/baseNote.d.ts +2 -2
- package/src/foundry/common/documents.mjs/basePlaylist.d.ts +1 -0
- package/src/foundry/common/documents.mjs/basePlaylistSound.d.ts +2 -1
- package/src/foundry/common/documents.mjs/baseRollTable.d.ts +3 -0
- package/src/foundry/common/documents.mjs/baseScene.d.ts +1 -0
- package/src/foundry/common/documents.mjs/baseSetting.d.ts +1 -0
- package/src/foundry/common/documents.mjs/baseTableResult.d.ts +10 -3
- package/src/foundry/common/documents.mjs/baseTile.d.ts +1 -0
- package/src/foundry/common/documents.mjs/baseToken.d.ts +3 -0
- package/src/foundry/common/documents.mjs/baseUser.d.ts +7 -1
- package/src/foundry/common/documents.mjs/baseWall.d.ts +7 -10
- package/src/foundry/common/documents.mjs/index.d.ts +3 -0
- package/src/foundry/common/module.mjs.d.ts +3 -0
- package/src/foundry/common/packages.mjs/moduleData.d.ts +12 -9
- package/src/foundry/common/packages.mjs/packageAuthorData.d.ts +24 -24
- package/src/foundry/common/packages.mjs/packageCompendiumData.d.ts +27 -21
- package/src/foundry/common/packages.mjs/packageData.d.ts +108 -82
- package/src/foundry/common/packages.mjs/packageDependencyData.d.ts +18 -11
- package/src/foundry/common/packages.mjs/packageLanguageData.d.ts +16 -15
- package/src/foundry/common/packages.mjs/systemData.d.ts +21 -20
- package/src/foundry/common/packages.mjs/tagPackageAvailability.d.ts +3 -3
- package/src/foundry/common/packages.mjs/worldData.d.ts +29 -18
- package/src/foundry/common/types.mjs.d.ts +100 -0
- package/src/foundry/common/utils/helpers.mjs.d.ts +27 -2
- package/src/foundry/common/utils/primitives.mjs.d.ts +99 -16
- package/src/foundry/foundry.js/application.d.ts +4 -7
- package/src/foundry/foundry.js/applications/cameraViews.d.ts +36 -31
- package/src/foundry/foundry.js/applications/compendium.d.ts +5 -2
- package/src/foundry/foundry.js/applications/filePicker.d.ts +116 -116
- package/src/foundry/foundry.js/applications/formApplication.d.ts +2 -2
- package/src/foundry/foundry.js/applications/formApplications/combatTrackerConfig.d.ts +20 -27
- package/src/foundry/foundry.js/applications/formApplications/defaultTokenConfig.d.ts +66 -0
- package/src/foundry/foundry.js/applications/formApplications/documentSheet.d.ts +1 -1
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/activeEffectConfig.d.ts +2 -2
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/actorSheet.d.ts +6 -3
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/ambientLightConfig.d.ts +104 -0
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/ambientSoundConfig.d.ts +1 -1
- package/src/foundry/foundry.js/applications/formApplications/{folderConfig.d.ts → documentSheets/folderConfig.d.ts} +3 -3
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/index.d.ts +4 -0
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/lightConfig.d.ts +5 -79
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/measuredTemplateConfig.d.ts +60 -0
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/noteConfig.d.ts +72 -0
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/permissionControl.d.ts +5 -5
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/playlistConfig.d.ts +1 -1
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/rollTableConfig.d.ts +187 -148
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/sceneConfig.d.ts +133 -110
- package/src/foundry/foundry.js/applications/formApplications/documentSheets/tileConfig.d.ts +1 -1
- package/src/foundry/foundry.js/applications/formApplications/drawingConfig.d.ts +93 -95
- package/src/foundry/foundry.js/applications/formApplications/entitySheetConfig.d.ts +163 -147
- package/src/foundry/foundry.js/applications/formApplications/gridConfig.d.ts +1 -1
- package/src/foundry/foundry.js/applications/formApplications/imagePopout.d.ts +1 -1
- package/src/foundry/foundry.js/applications/formApplications/index.d.ts +2 -3
- package/src/foundry/foundry.js/applications/formApplications/keybindingsConfig.d.ts +257 -0
- package/src/foundry/foundry.js/applications/formApplications/moduleManagement.d.ts +41 -23
- package/src/foundry/foundry.js/applications/formApplications/settingsConfig.d.ts +95 -86
- package/src/foundry/foundry.js/applications/formApplications/tokenConfig.d.ts +142 -155
- package/src/foundry/foundry.js/applications/formApplications/wallConfig.d.ts +60 -70
- package/src/foundry/foundry.js/applications/formApplications/worldConfig.d.ts +25 -17
- package/src/foundry/foundry.js/applications/hotbar.d.ts +5 -4
- package/src/foundry/foundry.js/applications/sceneControls.d.ts +13 -3
- package/src/foundry/foundry.js/applications/sceneNavigation.d.ts +90 -71
- package/src/foundry/foundry.js/applications/sidebarTab.d.ts +1 -1
- package/src/foundry/foundry.js/applications/sidebarTabs/chatLog.d.ts +7 -6
- package/src/foundry/foundry.js/applications/sidebarTabs/compendiumDirectory.d.ts +2 -2
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/actorDirectory.d.ts +13 -56
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/cardsDirectory.d.ts +7 -0
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/index.d.ts +1 -0
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/itemDirectory.d.ts +7 -30
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/journalDirectory.d.ts +14 -34
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/macroDirectory.d.ts +6 -52
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/playlistDirectory.d.ts +2 -2
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectories/sceneDirectory.d.ts +6 -23
- package/src/foundry/foundry.js/applications/sidebarTabs/sidebarDirectory.d.ts +4 -6
- package/src/foundry/foundry.js/avSettings.d.ts +7 -7
- package/src/foundry/foundry.js/cameraPopoutAppWrapper.d.ts +12 -7
- package/src/foundry/foundry.js/canvas.d.ts +150 -47
- package/src/foundry/foundry.js/canvasAnimation.d.ts +1 -1
- package/src/foundry/foundry.js/canvasDocumentMixin.d.ts +7 -0
- package/src/foundry/foundry.js/clientDatabaseBackend.d.ts +210 -0
- package/src/foundry/foundry.js/clientDocumentMixin.d.ts +45 -91
- package/src/foundry/foundry.js/clientDocuments/activeEffect.d.ts +3 -2
- package/src/foundry/foundry.js/clientDocuments/actor.d.ts +3 -7
- package/src/foundry/foundry.js/clientDocuments/canvasDocuments/ambientSoundDocument.d.ts +1 -6
- package/src/foundry/foundry.js/clientDocuments/canvasDocuments/tokenDocument.d.ts +1 -1
- package/src/foundry/foundry.js/clientDocuments/card.d.ts +133 -0
- package/src/foundry/foundry.js/clientDocuments/cards.d.ts +384 -0
- package/src/foundry/foundry.js/clientDocuments/chatMessage.d.ts +11 -10
- package/src/foundry/foundry.js/clientDocuments/combat.d.ts +4 -8
- package/src/foundry/foundry.js/clientDocuments/combatant.d.ts +1 -1
- package/src/foundry/foundry.js/clientDocuments/folder.d.ts +4 -6
- package/src/foundry/foundry.js/clientDocuments/index.d.ts +3 -0
- package/src/foundry/foundry.js/clientDocuments/item.d.ts +3 -4
- package/src/foundry/foundry.js/clientDocuments/playlist.d.ts +4 -3
- package/src/foundry/foundry.js/clientDocuments/prototypeToken.d.ts +15 -0
- package/src/foundry/foundry.js/clientDocuments/rollTable.d.ts +1 -1
- package/src/foundry/foundry.js/clientDocuments/scene.d.ts +30 -23
- package/src/foundry/foundry.js/clientKeybindings.d.ts +299 -0
- package/src/foundry/foundry.js/clientSettings.d.ts +21 -6
- package/src/foundry/foundry.js/collections/documentCollections/compendiumCollection.d.ts +45 -12
- package/src/foundry/foundry.js/collections/documentCollections/worldCollections/cardStacks.d.ts +9 -0
- package/src/foundry/foundry.js/collections/documentCollections/worldCollections/index.d.ts +1 -0
- package/src/foundry/foundry.js/collections/documentCollections/worldCollections/playlists.d.ts +3 -2
- package/src/foundry/foundry.js/config.d.ts +494 -902
- package/src/foundry/foundry.js/dragDrop.d.ts +17 -14
- package/src/foundry/foundry.js/game.d.ts +86 -11
- package/src/foundry/foundry.js/gamepadManager.d.ts +41 -0
- package/src/foundry/foundry.js/globalVariables.d.ts +7 -4
- package/src/foundry/foundry.js/handlebarsHelpers.d.ts +4 -4
- package/src/foundry/foundry.js/hooks.d.ts +57 -0
- package/src/foundry/foundry.js/keyboardManager.d.ts +165 -213
- package/src/foundry/foundry.js/mouseInteractionManager.d.ts +78 -34
- package/src/foundry/foundry.js/mouseManager.d.ts +18 -0
- package/src/foundry/foundry.js/newUserExperience.d.ts +34 -0
- package/src/foundry/foundry.js/pixi/containers/cachedContainer.d.ts +8 -0
- package/src/foundry/foundry.js/pixi/containers/cachedContainers/index.d.ts +1 -0
- package/src/foundry/foundry.js/pixi/containers/cachedContainers/primaryCanvasGroup.d.ts +42 -0
- package/src/foundry/foundry.js/pixi/containers/canvasLayer.d.ts +2 -1
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/gridLayer.d.ts +2 -2
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/index.d.ts +1 -1
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayer.d.ts +10 -19
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/mapLayers/backgroundLayer.d.ts +6 -2
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/mapLayers/foregroundLayer.d.ts +2 -2
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/placeablesLayers/wallsLayer.d.ts +4 -4
- package/src/foundry/foundry.js/pixi/containers/canvasLayers/{effectsLayer.d.ts → weatherLayer.d.ts} +7 -7
- package/src/foundry/foundry.js/pixi/containers/effectsCanvasGroup.d.ts +29 -0
- package/src/foundry/foundry.js/pixi/containers/index.d.ts +3 -0
- package/src/foundry/foundry.js/pixi/containers/interfaceCanvasGroup.d.ts +27 -0
- package/src/foundry/foundry.js/pixi/containers/placeableObject.d.ts +4 -1
- package/src/foundry/foundry.js/pixi/containers/placeableObjects/token.d.ts +1 -1
- package/src/foundry/foundry.js/pixi/containers/placeableObjects/wall.d.ts +1 -1
- package/src/foundry/foundry.js/pointSource.d.ts +174 -86
- package/src/foundry/foundry.js/roll.d.ts +25 -36
- package/src/foundry/foundry.js/rollTerm.d.ts +7 -4
- package/src/foundry/foundry.js/rollTerms/diceTerm.d.ts +4 -22
- package/src/foundry/foundry.js/rollTerms/mathTerm.d.ts +3 -0
- package/src/foundry/foundry.js/rollTerms/parentheticalTerm.d.ts +3 -0
- package/src/foundry/foundry.js/rollTerms/poolTerm.d.ts +3 -5
- package/src/foundry/foundry.js/rollTerms/stringTerm.d.ts +4 -1
- package/src/foundry/foundry.js/searchFilter.d.ts +1 -1
- package/src/foundry/foundry.js/textEditor.d.ts +40 -9
- package/src/foundry/index.d.ts +5 -0
- package/src/types/utils.d.ts +11 -3
- package/src/foundry/foundry.js/applications/formApplications/measuredTemplateConfig.d.ts +0 -61
- package/src/foundry/foundry.js/applications/formApplications/noteConfig.d.ts +0 -77
@@ -1,39 +1,49 @@
|
|
1
|
-
import {
|
1
|
+
import {
|
2
|
+
ConfiguredDocumentClass,
|
3
|
+
ConfiguredFlags,
|
4
|
+
FieldReturnType,
|
5
|
+
PropertiesToSource
|
6
|
+
} from '../../../../types/helperTypes';
|
2
7
|
import { DocumentData } from '../../abstract/module.mjs';
|
3
|
-
import {
|
8
|
+
import { documents } from '../../module.mjs';
|
4
9
|
import * as fields from '../fields.mjs';
|
5
10
|
import { ChatSpeakerData, ChatSpeakerDataConstructorData } from './chatSpeakerData';
|
6
11
|
|
7
12
|
interface ChatMessageDataSchema extends DocumentSchema {
|
8
|
-
_id:
|
9
|
-
type: DocumentField<CONST.
|
13
|
+
_id: fields.DocumentId;
|
14
|
+
type: DocumentField<foundry.CONST.CHAT_MESSAGE_TYPES> & {
|
10
15
|
type: typeof Number;
|
11
16
|
required: true;
|
12
|
-
default: typeof CONST.CHAT_MESSAGE_TYPES.OTHER;
|
17
|
+
default: typeof foundry.CONST.CHAT_MESSAGE_TYPES.OTHER;
|
13
18
|
validate: typeof _validateChatMessageType;
|
14
19
|
validationError: 'The provided ChatMessage type must be in CONST.CHAT_MESSAGE_TYPES';
|
15
20
|
};
|
16
21
|
user: fields.ForeignDocumentField<{ type: typeof documents.BaseUser; required: true }>;
|
17
|
-
timestamp: FieldReturnType<
|
18
|
-
flavor:
|
19
|
-
content:
|
20
|
-
speaker: DocumentField<ChatSpeakerData> & {
|
22
|
+
timestamp: FieldReturnType<fields.TimestampField, { required: true }>;
|
23
|
+
flavor: fields.StringField;
|
24
|
+
content: fields.BlankString;
|
25
|
+
speaker: DocumentField<ChatSpeakerData> & {
|
26
|
+
type: typeof ChatSpeakerData;
|
27
|
+
required: true;
|
28
|
+
default: Record<string, never>;
|
29
|
+
};
|
21
30
|
whisper: DocumentField<string[]> & {
|
22
|
-
type: typeof String
|
31
|
+
type: [typeof String];
|
23
32
|
clean: (users: Array<{ id: string } | string>) => string[];
|
24
33
|
required: true;
|
25
34
|
default: string[];
|
26
35
|
};
|
27
|
-
blind:
|
28
|
-
roll:
|
29
|
-
sound:
|
30
|
-
emote:
|
31
|
-
flags:
|
36
|
+
blind: fields.BooleanField;
|
37
|
+
roll: fields.JsonField;
|
38
|
+
sound: fields.AudioField;
|
39
|
+
emote: fields.BooleanField;
|
40
|
+
flags: fields.ObjectField;
|
32
41
|
}
|
33
42
|
|
34
43
|
interface ChatMessageDataProperties {
|
35
44
|
/**
|
36
45
|
* The _id which uniquely identifies this ChatMessage document
|
46
|
+
* @defaultValue `null`
|
37
47
|
*/
|
38
48
|
_id: string | null;
|
39
49
|
|
@@ -41,10 +51,11 @@ interface ChatMessageDataProperties {
|
|
41
51
|
* The message type from CONST.CHAT_MESSAGE_TYPES
|
42
52
|
* @defaultValue `CONST.CHAT_MESSAGE_TYPES.OTHER`
|
43
53
|
*/
|
44
|
-
type: CONST.
|
54
|
+
type: foundry.CONST.CHAT_MESSAGE_TYPES;
|
45
55
|
|
46
56
|
/**
|
47
57
|
* The _id of the User document who generated this message
|
58
|
+
* @defaultValue `null`
|
48
59
|
*/
|
49
60
|
user: string | null;
|
50
61
|
|
@@ -57,7 +68,7 @@ interface ChatMessageDataProperties {
|
|
57
68
|
/**
|
58
69
|
* An optional flavor text message which summarizes this message
|
59
70
|
*/
|
60
|
-
flavor
|
71
|
+
flavor: string | undefined;
|
61
72
|
|
62
73
|
/**
|
63
74
|
* The HTML content of this chat message
|
@@ -67,6 +78,7 @@ interface ChatMessageDataProperties {
|
|
67
78
|
|
68
79
|
/**
|
69
80
|
* A ChatSpeakerData object which describes the origin of the ChatMessage
|
81
|
+
* @defaultValue `new ChatSpeakerData({})`
|
70
82
|
*/
|
71
83
|
speaker: ChatSpeakerData;
|
72
84
|
|
@@ -84,15 +96,13 @@ interface ChatMessageDataProperties {
|
|
84
96
|
|
85
97
|
/**
|
86
98
|
* The serialized content of a Roll instance which belongs to the ChatMessage
|
87
|
-
* @defaultValue `undefined`
|
88
99
|
*/
|
89
|
-
roll
|
100
|
+
roll: string | undefined;
|
90
101
|
|
91
102
|
/**
|
92
103
|
* The URL of an audio file which plays when this message is received
|
93
|
-
* @defaultValue `undefined`
|
94
104
|
*/
|
95
|
-
sound
|
105
|
+
sound: string | null | undefined;
|
96
106
|
|
97
107
|
/**
|
98
108
|
* Is this message styled as an emote?
|
@@ -107,97 +117,99 @@ interface ChatMessageDataProperties {
|
|
107
117
|
flags: ConfiguredFlags<'ChatMessage'>;
|
108
118
|
}
|
109
119
|
|
110
|
-
|
120
|
+
interface ChatMessageDataConstructorData {
|
111
121
|
/**
|
112
122
|
* The _id which uniquely identifies this ChatMessage document
|
123
|
+
* @defaultValue `null`
|
113
124
|
*/
|
114
|
-
_id?: string | null;
|
125
|
+
_id?: string | null | undefined;
|
115
126
|
|
116
127
|
/**
|
117
128
|
* The message type from CONST.CHAT_MESSAGE_TYPES
|
118
129
|
* @defaultValue `CONST.CHAT_MESSAGE_TYPES.OTHER`
|
119
130
|
*/
|
120
|
-
type?: CONST.
|
131
|
+
type?: foundry.CONST.CHAT_MESSAGE_TYPES | null | undefined;
|
121
132
|
|
122
133
|
/**
|
123
134
|
* The _id of the User document who generated this message
|
135
|
+
* @defaultValue `null`
|
124
136
|
*/
|
125
|
-
user?: string | null;
|
137
|
+
user?: InstanceType<ConfiguredDocumentClass<typeof documents.BaseUser>> | string | null | undefined;
|
126
138
|
|
127
139
|
/**
|
128
140
|
* The timestamp at which point this message was generated
|
129
141
|
* @defaultValue `Date.now()`
|
130
142
|
*/
|
131
|
-
timestamp?: number | null;
|
143
|
+
timestamp?: number | null | undefined;
|
132
144
|
|
133
145
|
/**
|
134
146
|
* An optional flavor text message which summarizes this message
|
135
147
|
*/
|
136
|
-
flavor?: string | null;
|
148
|
+
flavor?: string | null | undefined;
|
137
149
|
|
138
150
|
/**
|
139
151
|
* The HTML content of this chat message
|
140
152
|
* @defaultValue `""`
|
141
153
|
*/
|
142
|
-
content?: string | null;
|
154
|
+
content?: string | null | undefined;
|
143
155
|
|
144
156
|
/**
|
145
157
|
* A ChatSpeakerData object which describes the origin of the ChatMessage
|
158
|
+
* @defaultValue `new ChatSpeakerData({})`
|
146
159
|
*/
|
147
|
-
speaker?: ChatSpeakerDataConstructorData | null;
|
160
|
+
speaker?: ChatSpeakerDataConstructorData | null | undefined;
|
148
161
|
|
149
162
|
/**
|
150
163
|
* An array of User _id values to whom this message is privately whispered
|
151
164
|
* @defaultValue `[]`
|
152
165
|
*/
|
153
|
-
whisper?: Array<{ id: string } | string> | null;
|
166
|
+
whisper?: Array<{ id: string } | string> | null | undefined;
|
154
167
|
|
155
168
|
/**
|
156
169
|
* Is this message sent blindly where the creating User cannot see it?
|
157
170
|
* @defaultValue `false`
|
158
171
|
*/
|
159
|
-
blind?: boolean | null;
|
172
|
+
blind?: boolean | null | undefined;
|
160
173
|
|
161
174
|
/**
|
162
175
|
* The serialized content of a Roll instance which belongs to the ChatMessage
|
163
|
-
* @defaultValue `undefined`
|
164
176
|
*/
|
165
|
-
roll?: string | null;
|
177
|
+
roll?: string | object | null | undefined;
|
166
178
|
|
167
179
|
/**
|
168
180
|
* The URL of an audio file which plays when this message is received
|
169
|
-
* @defaultValue `undefined`
|
170
181
|
*/
|
171
|
-
sound?: string | null;
|
182
|
+
sound?: string | null | undefined;
|
172
183
|
|
173
184
|
/**
|
174
185
|
* Is this message styled as an emote?
|
175
186
|
* @defaultValue `false`
|
176
187
|
*/
|
177
|
-
emote?: boolean | null;
|
188
|
+
emote?: boolean | null | undefined;
|
178
189
|
|
179
190
|
/**
|
180
191
|
* An object of optional key/value flags
|
181
192
|
* @defaultValue `{}`
|
182
193
|
*/
|
183
|
-
flags?: ConfiguredFlags<'ChatMessage'> | null;
|
194
|
+
flags?: ConfiguredFlags<'ChatMessage'> | null | undefined;
|
184
195
|
}
|
185
196
|
|
186
197
|
/**
|
187
198
|
* An embedded data object which defines the properties of a light source animation
|
188
199
|
*/
|
189
|
-
export
|
200
|
+
export class ChatMessageData extends DocumentData<
|
190
201
|
ChatMessageDataSchema,
|
191
202
|
ChatMessageDataProperties,
|
192
203
|
PropertiesToSource<ChatMessageDataProperties>,
|
193
204
|
ChatMessageDataConstructorData,
|
194
205
|
documents.BaseChatMessage
|
195
206
|
> {
|
207
|
+
/** @override */
|
196
208
|
static defineSchema(): ChatMessageDataSchema;
|
197
209
|
}
|
198
210
|
|
199
211
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
200
|
-
export
|
212
|
+
export interface ChatMessageData extends ChatMessageDataProperties {}
|
201
213
|
|
202
214
|
/**
|
203
215
|
* Validate that a ChatMessage has a valid type
|
@@ -1,72 +1,79 @@
|
|
1
|
-
import { FieldReturnType, PropertiesToSource } from '../../../../types/helperTypes';
|
1
|
+
import { ConfiguredDocumentClass, FieldReturnType, PropertiesToSource } from '../../../../types/helperTypes';
|
2
2
|
import { DocumentData } from '../../abstract/module.mjs';
|
3
3
|
import { BaseActor, BaseChatMessage, BaseScene } from '../../documents.mjs';
|
4
|
-
import { ForeignDocumentField } from '../fields.mjs';
|
5
4
|
import * as fields from '../fields.mjs';
|
5
|
+
import { ForeignDocumentField } from '../fields.mjs';
|
6
6
|
|
7
7
|
interface ChatSpeakerDataSchema extends DocumentSchema {
|
8
8
|
scene: ForeignDocumentField<{ type: typeof BaseScene; required: false }>;
|
9
9
|
actor: ForeignDocumentField<{ type: typeof BaseActor; required: false }>;
|
10
|
-
token: FieldReturnType<
|
11
|
-
alias:
|
10
|
+
token: FieldReturnType<fields.DocumentId, { required: false }>;
|
11
|
+
alias: fields.StringField;
|
12
12
|
}
|
13
13
|
|
14
14
|
interface ChatSpeakerDataProperties {
|
15
15
|
/**
|
16
16
|
* The _id of the Scene where this message was created
|
17
|
+
* @defaultValue `null`
|
17
18
|
*/
|
18
19
|
scene: string | null;
|
19
20
|
|
20
21
|
/**
|
21
22
|
* The _id of the Actor who generated this message
|
23
|
+
* @defaultValue `null`
|
22
24
|
*/
|
23
25
|
actor: string | null;
|
24
26
|
|
25
27
|
/**
|
26
28
|
* The _id of the Token who generated this message
|
29
|
+
* @defaultValue `null`
|
27
30
|
*/
|
28
31
|
token: string | null;
|
29
32
|
|
30
33
|
/**
|
31
34
|
* An overridden alias name used instead of the Actor or Token name
|
32
35
|
*/
|
33
|
-
alias
|
36
|
+
alias: string | undefined;
|
34
37
|
}
|
35
38
|
|
36
39
|
interface ChatSpeakerDataConstructorData {
|
37
40
|
/**
|
38
41
|
* The _id of the Scene where this message was created
|
42
|
+
* @defaultValue `null`
|
39
43
|
*/
|
40
|
-
scene?: string | null;
|
44
|
+
scene?: InstanceType<ConfiguredDocumentClass<typeof foundry.documents.BaseScene>> | string | null | undefined;
|
41
45
|
|
42
46
|
/**
|
43
47
|
* The _id of the Actor who generated this message
|
48
|
+
* @defaultValue `null`
|
44
49
|
*/
|
45
|
-
actor?: string | null;
|
50
|
+
actor?: InstanceType<ConfiguredDocumentClass<typeof foundry.documents.BaseActor>> | string | null | undefined;
|
46
51
|
|
47
52
|
/**
|
48
53
|
* The _id of the Token who generated this message
|
54
|
+
* @defaultValue `null`
|
49
55
|
*/
|
50
|
-
token?: string | null;
|
56
|
+
token?: string | null | undefined;
|
51
57
|
|
52
58
|
/**
|
53
59
|
* An overridden alias name used instead of the Actor or Token name
|
54
60
|
*/
|
55
|
-
alias?: string | null;
|
61
|
+
alias?: string | null | undefined;
|
56
62
|
}
|
57
63
|
|
58
64
|
/**
|
59
65
|
* An embedded data object which defines the properties of a light source animation
|
60
66
|
*/
|
61
|
-
export
|
67
|
+
export class ChatSpeakerData extends DocumentData<
|
62
68
|
ChatSpeakerDataSchema,
|
63
69
|
ChatSpeakerDataProperties,
|
64
70
|
PropertiesToSource<ChatSpeakerDataProperties>,
|
65
71
|
ChatSpeakerDataConstructorData,
|
66
72
|
BaseChatMessage
|
67
73
|
> {
|
74
|
+
/** @override */
|
68
75
|
static defineSchema(): ChatSpeakerDataSchema;
|
69
76
|
}
|
70
77
|
|
71
78
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
72
|
-
export
|
79
|
+
export interface ChatSpeakerData extends ChatSpeakerDataProperties {}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
ConfiguredDocumentClass,
|
3
3
|
ConfiguredFlags,
|
4
|
-
ConstructorDataType,
|
5
4
|
FieldReturnType,
|
6
5
|
PropertiesToSource
|
7
6
|
} from '../../../../types/helperTypes';
|
@@ -9,27 +8,44 @@ import EmbeddedCollection from '../../abstract/embedded-collection.mjs';
|
|
9
8
|
import { DocumentData } from '../../abstract/module.mjs';
|
10
9
|
import * as documents from '../../documents.mjs';
|
11
10
|
import * as fields from '../fields.mjs';
|
12
|
-
import {
|
11
|
+
import { CombatantDataConstructorData } from './combatantData';
|
13
12
|
|
14
13
|
interface CombatDataSchema extends DocumentSchema {
|
15
|
-
_id:
|
14
|
+
_id: fields.DocumentId;
|
16
15
|
scene: fields.ForeignDocumentField<{ type: typeof documents.BaseScene }>;
|
17
16
|
combatants: fields.EmbeddedCollectionField<typeof documents.BaseCombatant>;
|
18
|
-
active:
|
19
|
-
round: FieldReturnType<
|
20
|
-
turn: FieldReturnType<
|
21
|
-
|
22
|
-
|
17
|
+
active: fields.BooleanField;
|
18
|
+
round: FieldReturnType<fields.NonnegativeIntegerField, { default: 0; required: true }>;
|
19
|
+
turn: FieldReturnType<
|
20
|
+
fields.NonnegativeIntegerField,
|
21
|
+
{
|
22
|
+
default: 0;
|
23
|
+
required: true;
|
24
|
+
nullable: true;
|
25
|
+
validate: (n: unknown) => boolean;
|
26
|
+
}
|
27
|
+
>;
|
28
|
+
sort: fields.IntegerSortField;
|
29
|
+
flags: fields.ObjectField;
|
23
30
|
}
|
24
31
|
|
25
32
|
interface CombatDataProperties {
|
26
|
-
/**
|
33
|
+
/**
|
34
|
+
* The _id which uniquely identifies this Combat document
|
35
|
+
* @defaultValue `null`
|
36
|
+
*/
|
27
37
|
_id: string | null;
|
28
38
|
|
29
|
-
/**
|
39
|
+
/**
|
40
|
+
* The _id of a Scene within which this Combat occurs
|
41
|
+
* @defaultValue `null`
|
42
|
+
*/
|
30
43
|
scene: string | null;
|
31
44
|
|
32
|
-
/**
|
45
|
+
/**
|
46
|
+
* A Collection of Combatant embedded Documents
|
47
|
+
* @defaultValue `new EmbeddedCollection(CombatantData, [], BaseCombatant.implementation)`
|
48
|
+
*/
|
33
49
|
combatants: EmbeddedCollection<ConfiguredDocumentClass<typeof documents.BaseCombatant>, CombatData>;
|
34
50
|
|
35
51
|
/**
|
@@ -48,7 +64,7 @@ interface CombatDataProperties {
|
|
48
64
|
* The current turn in the Combat round
|
49
65
|
* @defaultValue `0`
|
50
66
|
*/
|
51
|
-
turn: number;
|
67
|
+
turn: number | null;
|
52
68
|
|
53
69
|
/**
|
54
70
|
* The current sort order of this Combat relative to others in the same Scene
|
@@ -64,59 +80,69 @@ interface CombatDataProperties {
|
|
64
80
|
}
|
65
81
|
|
66
82
|
interface CombatDataConstructorData {
|
67
|
-
/**
|
68
|
-
|
83
|
+
/**
|
84
|
+
* The _id which uniquely identifies this Combat document
|
85
|
+
* @defaultValue `null`
|
86
|
+
*/
|
87
|
+
_id?: string | null | undefined;
|
69
88
|
|
70
|
-
/**
|
71
|
-
|
89
|
+
/**
|
90
|
+
* The _id of a Scene within which this Combat occurs
|
91
|
+
* @defaultValue `null`
|
92
|
+
*/
|
93
|
+
scene?: InstanceType<ConfiguredDocumentClass<typeof documents.BaseScene>> | string | null | undefined;
|
72
94
|
|
73
|
-
/**
|
74
|
-
|
95
|
+
/**
|
96
|
+
* A Collection of Combatant embedded Documents
|
97
|
+
* @defaultValue `new EmbeddedCollection(CombatantData, [], BaseCombatant.implementation)`
|
98
|
+
*/
|
99
|
+
combatants?: CombatantDataConstructorData[] | null | undefined;
|
75
100
|
|
76
101
|
/**
|
77
102
|
* Is the Combat encounter currently active?
|
78
103
|
* @defaultValue `false`
|
79
104
|
*/
|
80
|
-
active?: boolean | null;
|
105
|
+
active?: boolean | null | undefined;
|
81
106
|
|
82
107
|
/**
|
83
108
|
* The current round of the Combat encounter
|
84
109
|
* @defaultValue `0`
|
85
110
|
*/
|
86
|
-
round?: number | null;
|
111
|
+
round?: number | null | undefined;
|
87
112
|
|
88
113
|
/**
|
89
114
|
* The current turn in the Combat round
|
90
115
|
* @defaultValue `0`
|
91
116
|
*/
|
92
|
-
turn?: number | null;
|
117
|
+
turn?: number | null | undefined;
|
93
118
|
|
94
119
|
/**
|
95
120
|
* The current sort order of this Combat relative to others in the same Scene
|
96
121
|
* @defaultValue `0`
|
97
122
|
*/
|
98
|
-
sort?: number | null;
|
123
|
+
sort?: number | null | undefined;
|
99
124
|
|
100
125
|
/**
|
101
126
|
* An object of optional key/value flags
|
102
127
|
* @defaultValue `{}`
|
103
128
|
*/
|
104
|
-
flags?: ConfiguredFlags<'Combat'> | null;
|
129
|
+
flags?: ConfiguredFlags<'Combat'> | null | undefined;
|
105
130
|
}
|
106
131
|
|
107
132
|
/**
|
108
133
|
* The data schema for an Combat document.
|
109
134
|
* @see BaseCombat
|
110
135
|
*/
|
111
|
-
export
|
136
|
+
export class CombatData extends DocumentData<
|
112
137
|
CombatDataSchema,
|
113
138
|
CombatDataProperties,
|
114
139
|
PropertiesToSource<CombatDataProperties>,
|
115
140
|
CombatDataConstructorData,
|
116
141
|
documents.BaseCombat
|
117
142
|
> {
|
143
|
+
/** @override */
|
118
144
|
static defineSchema(): CombatDataSchema;
|
119
145
|
}
|
120
146
|
|
121
147
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
122
|
-
export
|
148
|
+
export interface CombatData extends CombatDataProperties {}
|
@@ -1,40 +1,51 @@
|
|
1
|
-
import { ConfiguredFlags, PropertiesToSource } from '../../../../types/helperTypes';
|
1
|
+
import { ConfiguredDocumentClass, ConfiguredFlags, PropertiesToSource } from '../../../../types/helperTypes';
|
2
2
|
import { DocumentData } from '../../abstract/module.mjs';
|
3
3
|
import * as documents from '../../documents.mjs';
|
4
4
|
import * as fields from '../fields.mjs';
|
5
5
|
|
6
6
|
interface CombatantDataSchema extends DocumentSchema {
|
7
|
-
_id:
|
7
|
+
_id: fields.DocumentId;
|
8
8
|
actorId: fields.ForeignDocumentField<{ type: typeof documents.BaseActor }>;
|
9
9
|
tokenId: fields.ForeignDocumentField<{ type: typeof documents.BaseToken }>;
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
10
|
+
sceneId: fields.ForeignDocumentField<{ type: typeof documents.BaseScene }>;
|
11
|
+
name: fields.StringField;
|
12
|
+
img: fields.ImageField;
|
13
|
+
initiative: fields.NumericField;
|
14
|
+
hidden: fields.BooleanField;
|
15
|
+
defeated: fields.BooleanField;
|
16
|
+
flags: fields.ObjectField;
|
16
17
|
}
|
17
18
|
|
18
19
|
interface CombatantDataProperties {
|
19
|
-
/**
|
20
|
+
/**
|
21
|
+
* The _id which uniquely identifies this Combatant embedded document
|
22
|
+
* @defaultValue `null`
|
23
|
+
*/
|
20
24
|
_id: string | null;
|
21
25
|
|
22
26
|
/**
|
23
27
|
* The _id of an Actor associated with this Combatant
|
28
|
+
* @defaultValue `null`
|
24
29
|
*/
|
25
30
|
actorId: string | null;
|
26
31
|
|
27
|
-
/**
|
32
|
+
/**
|
33
|
+
* The _id of a Token associated with this Combatant
|
34
|
+
* @defaultValue `null`
|
35
|
+
*/
|
28
36
|
tokenId: string | null;
|
29
37
|
|
38
|
+
/** @defaultValue `null` */
|
39
|
+
sceneId: string | null;
|
40
|
+
|
30
41
|
/** A customized name which replaces the name of the Token in the tracker */
|
31
42
|
name: string | undefined;
|
32
43
|
|
33
44
|
/** A customized image which replaces the Token image in the tracker */
|
34
|
-
img: string |
|
45
|
+
img: string | null | undefined;
|
35
46
|
|
36
47
|
/** The initiative score for the Combatant which determines its turn order */
|
37
|
-
initiative: number |
|
48
|
+
initiative: number | null | undefined;
|
38
49
|
|
39
50
|
/**
|
40
51
|
* Is this Combatant currently hidden?
|
@@ -55,63 +66,70 @@ interface CombatantDataProperties {
|
|
55
66
|
flags: ConfiguredFlags<'Combatant'>;
|
56
67
|
}
|
57
68
|
|
58
|
-
|
59
|
-
/**
|
60
|
-
|
69
|
+
interface CombatantDataConstructorData {
|
70
|
+
/**
|
71
|
+
* The _id which uniquely identifies this Combatant embedded document
|
72
|
+
* @defaultValue `null`
|
73
|
+
*/
|
74
|
+
_id?: string | null | undefined;
|
61
75
|
|
62
76
|
/**
|
63
77
|
* The _id of an Actor associated with this Combatant
|
78
|
+
* @defaultValue `null`
|
79
|
+
*/
|
80
|
+
actorId?: InstanceType<ConfiguredDocumentClass<typeof documents.BaseActor>> | string | null | undefined;
|
81
|
+
|
82
|
+
/**
|
83
|
+
* The _id of a Token associated with this Combatant
|
84
|
+
* @defaultValue `null`
|
64
85
|
*/
|
65
|
-
|
86
|
+
tokenId?: InstanceType<ConfiguredDocumentClass<typeof documents.BaseToken>> | string | null | undefined;
|
66
87
|
|
67
|
-
/**
|
68
|
-
|
88
|
+
/** @defaultValue `null` */
|
89
|
+
sceneId?: InstanceType<ConfiguredDocumentClass<typeof documents.BaseScene>> | string | null | undefined;
|
69
90
|
|
70
91
|
/** A customized name which replaces the name of the Token in the tracker */
|
71
|
-
name?: string | null;
|
92
|
+
name?: string | null | undefined;
|
72
93
|
|
73
94
|
/** A customized image which replaces the Token image in the tracker */
|
74
|
-
img?: string | null;
|
95
|
+
img?: string | null | undefined;
|
75
96
|
|
76
97
|
/** The initiative score for the Combatant which determines its turn order */
|
77
|
-
initiative?: number | null;
|
98
|
+
initiative?: number | null | undefined;
|
78
99
|
|
79
100
|
/**
|
80
101
|
* Is this Combatant currently hidden?
|
81
102
|
* @defaultValue `false`
|
82
103
|
*/
|
83
|
-
hidden?: boolean | null;
|
104
|
+
hidden?: boolean | null | undefined;
|
84
105
|
|
85
106
|
/**
|
86
107
|
* Has this Combatant been defeated?
|
87
108
|
* @defaultValue `false`
|
88
109
|
*/
|
89
|
-
defeated?: boolean | null;
|
110
|
+
defeated?: boolean | null | undefined;
|
90
111
|
|
91
112
|
/**
|
92
113
|
* An object of optional key/value flags
|
93
114
|
* @defaultValue `{}`
|
94
115
|
*/
|
95
|
-
flags?: ConfiguredFlags<'Combatant'> | null;
|
116
|
+
flags?: ConfiguredFlags<'Combatant'> | null | undefined;
|
96
117
|
}
|
97
118
|
|
98
119
|
/**
|
99
120
|
* The data schema for a Combatant embedded document within a CombatEncounter document.
|
100
121
|
* @see CombatantData
|
101
122
|
*/
|
102
|
-
export
|
123
|
+
export class CombatantData extends DocumentData<
|
103
124
|
CombatantDataSchema,
|
104
125
|
CombatantDataProperties,
|
105
126
|
PropertiesToSource<CombatantDataProperties>,
|
106
127
|
CombatantDataConstructorData,
|
107
128
|
documents.BaseCombatant
|
108
129
|
> {
|
109
|
-
/**
|
110
|
-
* @remarks
|
111
|
-
* This constructor only exists to restrict the type
|
112
|
-
*/
|
130
|
+
/** @override */
|
113
131
|
static defineSchema(): CombatantDataSchema;
|
114
132
|
}
|
115
133
|
|
116
134
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
117
|
-
export
|
135
|
+
export interface CombatantData extends CombatantDataProperties {}
|
@@ -4,8 +4,8 @@ import { BaseAmbientLight } from '../../documents.mjs';
|
|
4
4
|
import * as fields from '../fields.mjs';
|
5
5
|
|
6
6
|
interface DarknessActivationSchema extends DocumentSchema {
|
7
|
-
min: FieldReturnType<
|
8
|
-
max:
|
7
|
+
min: FieldReturnType<fields.AlphaField, { default: 0 }>;
|
8
|
+
max: fields.AlphaField;
|
9
9
|
}
|
10
10
|
|
11
11
|
interface DarknessActivationProperties {
|
@@ -22,32 +22,33 @@ interface DarknessActivationProperties {
|
|
22
22
|
max: number;
|
23
23
|
}
|
24
24
|
|
25
|
-
|
25
|
+
interface DarknessActivationConstructorData {
|
26
26
|
/**
|
27
27
|
* The minimum darkness level for which activation occurs
|
28
28
|
* @defaultValue `0`
|
29
29
|
*/
|
30
|
-
min?: number | null;
|
30
|
+
min?: number | null | undefined;
|
31
31
|
|
32
32
|
/**
|
33
33
|
* The maximum darkness level for which activation occurs
|
34
34
|
* @defaultValue `1`
|
35
35
|
*/
|
36
|
-
max?: number | null;
|
36
|
+
max?: number | null | undefined;
|
37
37
|
}
|
38
38
|
|
39
39
|
/**
|
40
40
|
* An embedded data object which defines the darkness range during which some attribute is active
|
41
41
|
*/
|
42
|
-
export
|
42
|
+
export class DarknessActivation extends DocumentData<
|
43
43
|
DarknessActivationSchema,
|
44
44
|
DarknessActivationProperties,
|
45
45
|
PropertiesToSource<DarknessActivationProperties>,
|
46
46
|
DarknessActivationConstructorData,
|
47
47
|
BaseAmbientLight
|
48
48
|
> {
|
49
|
+
/** @override */
|
49
50
|
static defineSchema(): DarknessActivationSchema;
|
50
51
|
}
|
51
52
|
|
52
53
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
53
|
-
export
|
54
|
+
export interface DarknessActivation extends DarknessActivationProperties {}
|