Browse Source

feat(nc-gui): add automationLogLevel

pull/5349/head
Wing-Kam Wong 2 years ago
parent
commit
027b059397
  1. 1
      packages/nc-gui/composables/useGlobal/state.ts
  2. 1
      packages/nc-gui/composables/useGlobal/types.ts

1
packages/nc-gui/composables/useGlobal/state.ts

@ -101,6 +101,7 @@ export function useGlobalState(storageKey = 'nocodb-gui-v2'): State {
ncAttachmentFieldSize: 20, ncAttachmentFieldSize: 20,
ncMaxAttachmentsAllowed: 10, ncMaxAttachmentsAllowed: 10,
isCloud: false, isCloud: false,
automationLogLevel: 'OFF',
}) })
/** reactive token payload */ /** reactive token payload */

1
packages/nc-gui/composables/useGlobal/types.ts

@ -23,6 +23,7 @@ export interface AppInfo {
ncAttachmentFieldSize: number ncAttachmentFieldSize: number
ncMaxAttachmentsAllowed: number ncMaxAttachmentsAllowed: number
isCloud: boolean isCloud: boolean
automationLogLevel: 'OFF' | 'ERROR' | 'ALL'
} }
export interface StoredState { export interface StoredState {

Loading…
Cancel
Save