Update frontend-core constants to TS

This commit is contained in:
Andrew Kingston 2024-11-27 16:23:51 +00:00
parent aeb0af6c88
commit c9daead1b1
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View File

@ -76,9 +76,9 @@ export const ExtendedBudibaseRoleOptions = [
value: BudibaseRoles.Owner, value: BudibaseRoles.Owner,
sortOrder: 0, sortOrder: 0,
}, },
...BudibaseRoleOptions,
...BudibaseRoleOptionsOld,
] ]
.concat(BudibaseRoleOptions)
.concat(BudibaseRoleOptionsOld)
export const PlanType = { export const PlanType = {
FREE: "free", FREE: "free",

View File

@ -1,5 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ESNext",
"moduleResolution": "bundler",
"paths": { "paths": {
"@budibase/types": ["../types/src"], "@budibase/types": ["../types/src"],
"@budibase/shared-core": ["../shared-core/src"], "@budibase/shared-core": ["../shared-core/src"],