Update the privacy handling for the rows to be more dynamic and support more than just private or public rolls

This commit is contained in:
Oliver-Akins 2025-05-18 20:52:32 -06:00
parent f66510c811
commit 6dbc0a817f
9 changed files with 103 additions and 57 deletions

View file

@ -5,8 +5,8 @@ import { TableManager } from "./Apps/TableManager.mjs";
import { TestApp } from "./Apps/TestApp.mjs";
// Utils
import { filterPrivateRows, PrivacyMode } from "./utils/privacy.mjs";
import { validateBucketConfig, validateValue } from "./utils/buckets.mjs";
import { filterPrivateRows } from "./utils/privacy.mjs";
const { deepFreeze } = foundry.utils;
@ -26,6 +26,9 @@ Object.defineProperty(
validateValue,
validateBucketConfig,
},
enums: {
PrivacyMode,
},
}),
writable: false,
},