mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Continue work on updating identifier
This commit is contained in:
parent
d2ec5283a0
commit
20f42e8a0d
12 changed files with 122 additions and 69 deletions
|
|
@ -28,7 +28,11 @@ export default class DHSubclass extends BaseDataItem {
|
|||
features: new ItemLinkFields(),
|
||||
featureState: new fields.NumberField({ required: true, initial: 1, min: 1 }),
|
||||
isMulticlass: new fields.BooleanField({ initial: false }),
|
||||
classIdentifiers: new fields.ArrayField(new fields.StringField({ nullable: false })),
|
||||
classLink: new fields.SchemaField({
|
||||
identifier: new fields.StringField({ nullable: true, initial: null }),
|
||||
name: new fields.StringField(),
|
||||
img: new fields.StringField()
|
||||
}),
|
||||
/* Linked class is legacy. If we can safetely migrate it away at some point we could remove it */
|
||||
linkedClass: new ForeignDocumentUUIDField({ type: 'Item', nullable: true, initial: null })
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue