Browse Source

chore(gui): lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3796/head
Pranav C 2 years ago
parent
commit
f74ea9c044
  1. 8
      packages/nc-gui/composables/useUIPermission/rolePermissions.ts
  2. 2
      packages/nc-gui/nuxt-shim.d.ts

8
packages/nc-gui/composables/useUIPermission/rolePermissions.ts

@ -12,15 +12,15 @@ const rolePermissions = {
projectCreate: true,
projectActions: true,
projectSettings: true,
}
},
},
// Project role permissions
[ProjectRole.Creator]: {
exclude: ["appStore"]
exclude: ['appStore'],
},
[ProjectRole.Owner]: {
exclude: ["appStore"]
exclude: ['appStore'],
},
[ProjectRole.Editor]: {
include: {
@ -40,7 +40,7 @@ const rolePermissions = {
apiDocs: true,
projectSettings: true,
newUser: false,
}
},
},
[ProjectRole.Commenter]: {
include: {

2
packages/nc-gui/nuxt-shim.d.ts vendored

@ -1,6 +1,6 @@
import type { Api as BaseAPI } from 'nocodb-sdk'
import type { UseGlobalReturn } from './composables/useGlobal/types'
import type { NocoI18n, Roles } from './lib'
import type { NocoI18n } from './lib'
import type { TabType } from './composables'
declare module '#app/nuxt' {

Loading…
Cancel
Save