mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 20:21:06 +01:00
Feature/116-implementation-of-pseudo-documents (#125)
* 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>
This commit is contained in:
parent
3a0a4673ad
commit
f840dc2553
41 changed files with 844 additions and 190 deletions
17
module/config/pseudoConfig.mjs
Normal file
17
module/config/pseudoConfig.mjs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { pseudoDocuments } from "../data/_module.mjs";
|
||||
import { pseudoDocumentSheet } from "../applications/_module.mjs";
|
||||
|
||||
//CONFIG.daggerheart.pseudoDocuments
|
||||
export default {
|
||||
sheetClass: pseudoDocumentSheet.PseudoDocumentSheet,
|
||||
feature: {
|
||||
label: "DAGGERHEART.Feature.Label",
|
||||
documentClass: pseudoDocuments.feature.BaseFeatureData,
|
||||
types: {
|
||||
weapon: {
|
||||
label: "DAGGERHEART.Feature.Weapon.Label",
|
||||
documentClass: pseudoDocuments.feature.WeaponFeature,
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue