@adminforth/auto-remove 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -1
- package/package.json +14 -4
package/README.md
CHANGED
|
@@ -1,7 +1,35 @@
|
|
|
1
|
-
# Auto Remove Plugin
|
|
1
|
+
# AdminForth Auto Remove Plugin
|
|
2
|
+
|
|
3
|
+
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT" /> <img src="https://woodpecker.devforth.io/api/badges/3848/status.svg" alt="Build Status" /> <a href="https://www.npmjs.com/package/@adminforth/auto-remove"><img src="https://img.shields.io/npm/dm/@adminforth/auto-remove" alt="npm downloads" /></a> <a href="https://www.npmjs.com/package/@adminforth/auto-remove"><img src="https://img.shields.io/npm/v/@adminforth/auto-remove" alt="npm version" /></a>
|
|
4
|
+
|
|
5
|
+
[](https://tluma.ai/ask-ai/devforth/adminforth)
|
|
2
6
|
|
|
3
7
|
This plugin removes records from resources based on **count-based** or **time-based** rules.
|
|
4
8
|
|
|
9
|
+
## Features
|
|
10
|
+
|
|
11
|
+
- Remove old records automatically from AdminForth resources.
|
|
12
|
+
- Support both count-based and time-based cleanup rules.
|
|
13
|
+
- Keep logs, demo data, and temporary entities under control.
|
|
14
|
+
- Run cleanup on a configurable schedule.
|
|
15
|
+
|
|
16
|
+
## Documentation
|
|
17
|
+
|
|
18
|
+
Full setup and configuration guide:
|
|
19
|
+
|
|
20
|
+
[AdminForth Auto Remove Documentation](https://adminforth.dev/docs/tutorial/Plugins/auto-remove/)
|
|
21
|
+
|
|
22
|
+
## About AdminForth
|
|
23
|
+
|
|
24
|
+
AdminForth is an open-source, agent-first admin framework for building robust admin panels and back-office applications faster.
|
|
25
|
+
|
|
26
|
+
## Related links
|
|
27
|
+
|
|
28
|
+
- [AdminForth website](https://adminforth.dev)
|
|
29
|
+
- [npm package](https://www.npmjs.com/package/@adminforth/auto-remove)
|
|
30
|
+
- [More AdminForth plugins](https://adminforth.dev/docs/tutorial/ListOfPlugins/)
|
|
31
|
+
- [Built by DevForth](https://devforth.io)
|
|
32
|
+
|
|
5
33
|
It is designed for cleaning up:
|
|
6
34
|
|
|
7
35
|
* old records
|
package/package.json
CHANGED
|
@@ -1,27 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminforth/auto-remove",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
+
"homepage": "https://adminforth.dev/docs/tutorial/Plugins/auto-remove/",
|
|
7
8
|
"publishConfig": {
|
|
8
9
|
"access": "public"
|
|
9
10
|
},
|
|
10
11
|
"scripts": {
|
|
11
12
|
"build": "tsc && rsync -av --exclude 'node_modules' custom dist/"
|
|
12
13
|
},
|
|
13
|
-
"keywords": [
|
|
14
|
+
"keywords": [
|
|
15
|
+
"adminforth",
|
|
16
|
+
"data-retention",
|
|
17
|
+
"record-cleanup",
|
|
18
|
+
"ttl",
|
|
19
|
+
"pruning",
|
|
20
|
+
"housekeeping",
|
|
21
|
+
"record-expiration"
|
|
22
|
+
],
|
|
14
23
|
"author": "",
|
|
15
24
|
"license": "MIT",
|
|
16
|
-
"description": "",
|
|
25
|
+
"description": "Automatic record cleanup plugin for AdminForth with age-based and count-based retention rules",
|
|
17
26
|
"devDependencies": {
|
|
18
27
|
"@types/node": "latest",
|
|
28
|
+
"adminforth": "^2.42.0",
|
|
19
29
|
"semantic-release": "^24.2.1",
|
|
20
30
|
"semantic-release-slack-bot": "^4.0.2",
|
|
21
31
|
"typescript": "^5.7.3"
|
|
22
32
|
},
|
|
23
33
|
"peerDependencies": {
|
|
24
|
-
"adminforth": "2.
|
|
34
|
+
"adminforth": "^2.42.0"
|
|
25
35
|
},
|
|
26
36
|
"release": {
|
|
27
37
|
"plugins": [
|