fix(core): Remove Data Table experimental warning log (#19978)

This commit is contained in:
Charlie Kolb 2025-09-25 09:00:05 +02:00 committed by GitHub
parent 669a7b5a9d
commit 7273d41500
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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');