@bpinternal/const 0.0.25 → 0.0.27

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/dist/index.cjs CHANGED
@@ -145,6 +145,7 @@ var prefixToObjectMap = {
145
145
  state: "state",
146
146
  table: "table",
147
147
  tag: "tag",
148
+ task: "task",
148
149
  usage: "usage",
149
150
  user: "user",
150
151
  webhook: "webhook",
@@ -187,6 +188,7 @@ var objectToPrefixMap = {
187
188
  state: "state",
188
189
  table: "table",
189
190
  tag: "tag",
191
+ task: "task",
190
192
  usage: "usage",
191
193
  user: "user",
192
194
  webhook: "webhook",
@@ -214,7 +216,7 @@ var quotaConfigs = {
214
216
  name: "Invocation Timeout",
215
217
  description: "Maximum time in milliseconds a bot can run before timing out.",
216
218
  default: 6e4,
217
- kind: "bot",
219
+ kind: "workspace",
218
220
  category: "timeout",
219
221
  trackUsagePerBot: false
220
222
  },
package/dist/index.mjs CHANGED
@@ -115,6 +115,7 @@ var prefixToObjectMap = {
115
115
  state: "state",
116
116
  table: "table",
117
117
  tag: "tag",
118
+ task: "task",
118
119
  usage: "usage",
119
120
  user: "user",
120
121
  webhook: "webhook",
@@ -157,6 +158,7 @@ var objectToPrefixMap = {
157
158
  state: "state",
158
159
  table: "table",
159
160
  tag: "tag",
161
+ task: "task",
160
162
  usage: "usage",
161
163
  user: "user",
162
164
  webhook: "webhook",
@@ -184,7 +186,7 @@ var quotaConfigs = {
184
186
  name: "Invocation Timeout",
185
187
  description: "Maximum time in milliseconds a bot can run before timing out.",
186
188
  default: 6e4,
187
- kind: "bot",
189
+ kind: "workspace",
188
190
  category: "timeout",
189
191
  trackUsagePerBot: false
190
192
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "description": "Constant utilities for Botpress",
5
5
  "main": "./dist/index.cjs",
6
6
  "browser": "./dist/index.mjs",
package/src/prefixes.ts CHANGED
@@ -35,6 +35,7 @@ export const prefixToObjectMap = {
35
35
  state: 'state',
36
36
  table: 'table',
37
37
  tag: 'tag',
38
+ task: 'task',
38
39
  usage: 'usage',
39
40
  user: 'user',
40
41
  webhook: 'webhook',
@@ -78,6 +79,7 @@ export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
78
79
  state: 'state',
79
80
  table: 'table',
80
81
  tag: 'tag',
82
+ task: 'task',
81
83
  usage: 'usage',
82
84
  user: 'user',
83
85
  webhook: 'webhook',
package/src/quotas.ts CHANGED
@@ -54,7 +54,7 @@ export const quotaConfigs = {
54
54
  name: 'Invocation Timeout',
55
55
  description: 'Maximum time in milliseconds a bot can run before timing out.',
56
56
  default: 60_000,
57
- kind: 'bot',
57
+ kind: 'workspace',
58
58
  category: 'timeout',
59
59
  trackUsagePerBot: false
60
60
  },