Database Adapter : CondensedUserFlagDatabase #18

Open
opened 2025-05-28 04:58:52 +00:00 by Eldritch-Oliver · 2 comments
Eldritch-Oliver commented 2025-05-28 04:58:52 +00:00 (Migrated from github.com)

This database adapter is intended to be used by people who are planning on running a long campaign and want to help keep load times shorter.

The structure of this data should be of type Record<PrivacyMode, Record<BucketValue, number | undefined>> where the inner object is only an object of the bucket values that have had a count in the past (e.g. when it hasn't had a count previously, it should be undefined, but once it gets a single value, it becomes 1, then if that gets reduced to 0, it stays as 0 (or maybe it becomes undefined, not sure yet))

This database adapter is intended to be used by people who are planning on running a long campaign and want to help keep load times shorter. The structure of this data should be of type `Record<PrivacyMode, Record<BucketValue, number | undefined>>` where the inner object is only an object of the bucket values that have had a count in the past (e.g. when it hasn't had a count previously, it should be undefined, but once it gets a single value, it becomes 1, then if that gets reduced to 0, it stays as `0` (or maybe it becomes undefined, not sure yet))
Eldritch-Oliver commented 2025-05-30 05:46:03 +00:00 (Migrated from github.com)

This should store the UTC date as well somewhere so that we can still do date-wise filtering with much less data required to be stored.

This should store the UTC date as well somewhere so that we can still do date-wise filtering with much less data required to be stored.
Eldritch-Oliver commented 2025-05-30 06:07:50 +00:00 (Migrated from github.com)

Blocked by #20

Blocked by #20
Oliver added the
Kind
Feature
label 2025-11-11 06:26:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Foundry/stat-tracker#18
No description provided.