Initial thoughts

This commit is contained in:
WBHarry 2026-04-30 20:32:57 +02:00
parent 20056cd950
commit cbce821f4d
5 changed files with 46 additions and 16 deletions

View file

@ -28,6 +28,8 @@ 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 })),
/* 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 })
};
}