This commit is contained in:
Dapoolp 2025-09-02 11:54:31 +02:00
parent 7cbe4b7580
commit 4bdafeff6d
10 changed files with 89 additions and 36 deletions

View file

@ -1,4 +1,5 @@
import { range } from '../config/generalConfig.mjs';
import { capitalize } from '../helpers/utils.mjs';
export const valueTypes = {
numberString: {
@ -62,3 +63,9 @@ export const effectTypes = {
}
}
};
export const conditionalTypes = () => {
const operators = {};
Object.entries(foundry.applications.ux.SearchFilter.OPERATORS).forEach(([key, value]) => operators[value] = key.replaceAll('_', ' ').toLowerCase().capitalize());
return operators;
}