mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
Initial version
This commit is contained in:
parent
c1f7866594
commit
b053af21c6
13 changed files with 325 additions and 5 deletions
|
|
@ -3,6 +3,7 @@ export { default as DhCombatant } from './combatant.mjs';
|
|||
export { default as DhTagTeamRoll } from './tagTeamRoll.mjs';
|
||||
export { default as DhRollTable } from './rollTable.mjs';
|
||||
export { default as RegisteredTriggers } from './registeredTriggers.mjs';
|
||||
export { default as CompendiumBrowserSettings } from './compendiumBrowserSettings.mjs';
|
||||
|
||||
export * as countdowns from './countdowns.mjs';
|
||||
export * as actions from './action/_module.mjs';
|
||||
|
|
|
|||
16
module/data/compendiumBrowserSettings.mjs
Normal file
16
module/data/compendiumBrowserSettings.mjs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
export default class CompendiumBrowserSettings extends foundry.abstract.DataModel {
|
||||
static defineSchema() {
|
||||
const fields = foundry.data.fields;
|
||||
|
||||
return {
|
||||
excludedCompendiumPacks: new fields.TypedObjectField(
|
||||
new fields.TypedObjectField(new fields.BooleanField({ required: true, initial: true }))
|
||||
)
|
||||
// excludedSources: new fields.ArrayField(new fields.StringField({ required: true, nullable: false })),
|
||||
// excludedPacks: new fields.TypedObjectField(new fields.SchemaField({
|
||||
// attributionKeys: new fields.ArrayField(new fields.StringField({ required: true, nullable: false })),
|
||||
// excluded: new fields.BooleanField({ required: true, initial: false }),
|
||||
// })),
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue