Configure browsing session pacing and size
This commit is contained in:
1 parent
1fd154e1eb
commit
e890f74478
14 files changed
+201
-56
No files matched your search
@@ -24,6 +24,7 @@ export const BrowsingSettingsSchema = z.strictObject({
|
||||
quietHours: GrowthQuietHoursSchema,
|
||||
minimumGapMs: z.number().int(),
|
||||
jitterMs: z.number().int(),
|
||||
selectionsPerSession: z.number().int(),
|
||||
allowNsfw: z.boolean(),
|
||||
autoVoteEnabled: z.boolean(),
|
||||
nextDueAt: z.number().nullable(),
|
||||
@@ -163,6 +164,7 @@ export const BrowsingSettingsUpdateRequestSchema = z.strictObject({
|
||||
quietHours: GrowthQuietHoursSchema.optional(),
|
||||
minimumGapMs: z.number().int().min(45 * 60_000).max(24 * 60 * 60_000).optional(),
|
||||
jitterMs: z.number().int().min(0).max(6 * 60 * 60_000).optional(),
|
||||
selectionsPerSession: z.number().int().min(1).max(12).optional(),
|
||||
allowNsfw: z.boolean().optional(),
|
||||
autoVoteEnabled: z.boolean().optional(),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user