From c4462aae480ea2f69600884053a591b72097fc61 Mon Sep 17 00:00:00 2001 From: Diogo Gaspar Date: Tue, 7 Oct 2025 12:08:51 +0100 Subject: [PATCH] Fixed README with automation configuration example Updated the configuration example to include automation settings for log cleanup. --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fde1590..374214c 100644 --- a/README.md +++ b/README.md @@ -51,11 +51,17 @@ Customize the plugin with the following configuration(for example): ```ts auditorPlugin({ - autoDeleteInterval: '1d', + automation: { + logCleanup: { + strategy: { + olderThan: "1d", + }, + }, + }, collection: { trackCollections: [ { - slug: 'media', + slug: "media", hooks: { afterChange: { update: { @@ -66,7 +72,8 @@ auditorPlugin({ }, ], }, -}), +}); + ``` ## ✨ **Things you can customize:**