Files
InvenTree/src/frontend/lib/enums/ModelFeature.tsx
T
Matthias Mair adfd393c92 refactor(frontend): use generic features for actions (#13343)
* remove hardcoded support fields

* add generic lookup hook

* use new generic modelfeature

* remove redundant permission

* fix memo

* remove enabled -> add labels to company
2026-11-24 07:49:52 +11:00

15 lines
622 B
TypeScript

/*
* Enumeration of builtin model features (as reported by the server)
*/
export enum ModelFeature {
attachments = 'org.inventree.i.modelfeatures.attachments',
notes = 'org.inventree.i.modelfeatures.notes',
parameters = 'org.inventree.i.modelfeatures.parameters',
barcode = 'org.inventree.i.modelfeatures.barcode',
tags = 'org.inventree.i.modelfeatures.tags',
image = 'org.inventree.i.modelfeatures.image',
report = 'org.inventree.i.modelfeatures.report',
label = 'org.inventree.i.modelfeatures.label', // for now this is frontend only for overrides
history = 'org.inventree.i.modelfeatures.history'
}