Skip to content

Commit

Permalink
chore: add report to const (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
allardy authored Mar 22, 2024
1 parent a9322a6 commit 5443e74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions const/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bpinternal/const",
"version": "0.0.31",
"version": "0.0.32",
"description": "Constant utilities for Botpress",
"main": "./dist/index.cjs",
"browser": "./dist/index.mjs",
Expand All @@ -21,4 +21,4 @@
"typescript": "5.4.2",
"vitest": "1.4.0"
}
}
}
3 changes: 3 additions & 0 deletions const/src/prefixes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export const prefixToObjectMap = {
pat: 'personalAccessToken',
quota: 'quota',
recevt: 'recurringEvent',
report: 'report',
sandbox: 'sandbox',
schema: 'schema',
script: 'script',
Expand Down Expand Up @@ -75,6 +76,7 @@ export const objectToPrefixMap: Reverser<typeof prefixToObjectMap> = {
personalAccessToken: 'pat',
quota: 'quota',
recurringEvent: 'recevt',
report: 'report',
sandbox: 'sandbox',
schema: 'schema',
script: 'script',
Expand Down Expand Up @@ -121,6 +123,7 @@ export type NodeId = Ids['NodeId']
export type PersonalAccessTokenId = Ids['PersonalAccessTokenId']
export type QuotaId = Ids['QuotaId']
export type RecurringEventId = Ids['RecurringEventId']
export type ReportId = Ids['ReportId']
export type SandboxId = Ids['SandboxId']
export type SchemaId = Ids['SchemaId']
export type ScriptId = Ids['ScriptId']
Expand Down

0 comments on commit 5443e74

Please sign in to comment.