@rackbops/plugin-tracker 0.2.0 → 0.4.0

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.
Files changed (3) hide show
  1. package/README.md +83 -10
  2. package/dist/plugin.js +2715 -244
  3. package/package.json +12 -4
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rackbops/plugin-tracker",
3
- "version": "0.2.0",
4
- "description": "The task tracker for Rackbops Clerk: reminders by slash command, delivered by DM with done, snooze and reply buttons, on docket's SQLite store (/allow, /register, /remind, /tasks, /task, /settings)",
3
+ "version": "0.4.0",
4
+ "description": "The task tracker for Rackbops Clerk: reminders, renewals and price drops by slash command, delivered by DM with buttons, on docket's SQLite store (/allow, /register, /remind, /renewal, /price, /tasks, /task, /settings, /web), with a web area for your tasks, history and settings",
5
5
  "type": "module",
6
6
  "main": "dist/plugin.js",
7
7
  "files": ["dist"],
@@ -12,7 +12,8 @@
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rackbops/docket-core": "^0.3.0",
15
- "@rackbops/docket-types": "^0.3.0"
15
+ "@rackbops/docket-types": "^0.3.0",
16
+ "@rackbops/styles": "^0.2.42"
16
17
  },
17
18
  "peerDependencies": {
18
19
  "discord.js": "^14.27.0"
@@ -20,7 +21,7 @@
20
21
  "botPlugin": {
21
22
  "hostApiVersion": 1,
22
23
  "intents": [],
23
- "commands": ["allow", "register", "remind", "tasks", "task", "settings"],
24
+ "commands": ["allow", "register", "remind", "renewal", "price", "tasks", "task", "settings", "web"],
24
25
  "env": [
25
26
  {
26
27
  "key": "TRACKER_ADMIN_DISCORD_IDS",
@@ -35,6 +36,13 @@
35
36
  "required": false,
36
37
  "secret": false,
37
38
  "description": "The Discord server id whose members may use the tracker (the membership gate), checked on every command and button, in DMs too. Unset = no membership gate: only the admission list (/allow) applies."
39
+ },
40
+ {
41
+ "key": "TRACKER_WEB_URL",
42
+ "format": "^https://[A-Za-z0-9.-]+(:[0-9]{1,5})?/?$",
43
+ "required": false,
44
+ "secret": false,
45
+ "description": "The https origin the bot's HTTP is reached at through its tunnel, e.g. https://clerk.example.com (no path). /web links to <this>/tracker/login, and a form post from any other origin is refused. Unset = no web area: /web says so and its pages answer 404."
38
46
  }
39
47
  ]
40
48
  }