mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 08:46:58 +02:00
fix(core): Remove Data Table experimental warning log (#19978)
This commit is contained in:
parent
669a7b5a9d
commit
7273d41500
|
|
@ -1,19 +1,10 @@
|
|||
import { Logger } from '@n8n/backend-common';
|
||||
import type { ModuleInterface } from '@n8n/decorators';
|
||||
import { BackendModule, OnShutdown } from '@n8n/decorators';
|
||||
import { Container } from '@n8n/di';
|
||||
|
||||
const YELLOW = '\x1b[33m';
|
||||
const CLEAR = '\x1b[0m';
|
||||
const DATA_TABLE_WARNING_MESSAGE = `[Data table] The Data table module is experimental and subject to change.
|
||||
Any tables added before the official release may become inaccessible at any point. Use at your own risk.`;
|
||||
|
||||
@BackendModule({ name: 'data-table' })
|
||||
export class DataStoreModule implements ModuleInterface {
|
||||
async init() {
|
||||
const logger = Container.get(Logger).scoped('data-table');
|
||||
logger.warn(`${YELLOW}${DATA_TABLE_WARNING_MESSAGE}${CLEAR}`);
|
||||
|
||||
await import('./data-store.controller');
|
||||
await import('./data-store-aggregate.controller');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user