Feature(Item) now has subtype instead of primary as a field

This commit is contained in:
WBHarry 2025-07-11 14:18:19 +02:00
parent e9967a27ca
commit e2ca4506cd
5 changed files with 28 additions and 10 deletions

View file

@ -17,10 +17,10 @@ export default class DHFeature extends BaseDataItem {
return {
...super.defineSchema(),
type: new fields.StringField({ choices: CONFIG.DH.ITEM.featureTypes, nullable: true, initial: null }),
subType: new fields.StringField({ choices: CONFIG.DH.ITEM.featureSubTypes, nullable: true, initial: null }),
originId: new fields.StringField({ nullable: true, initial: null }),
identifier: new fields.StringField(),
actions: new fields.ArrayField(new ActionField()),
primary: new fields.BooleanField({ nullable: true, initial: null })
actions: new fields.ArrayField(new ActionField())
};
}
}