Move the magic string into an enum
This commit is contained in:
parent
95443d3709
commit
bfddf855a4
4 changed files with 15 additions and 5 deletions
4
module/flags/item.mjs
Normal file
4
module/flags/item.mjs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export const ItemFlags = Object.freeze({
|
||||
/** The boolean value to indicate if an item is considered favourited/starred or not */
|
||||
FAVOURITE: `favourited`,
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue