feat: Enforce data-stores limits (no-changelog) (#19116)

Co-authored-by: Charlie Kolb <charlie@n8n.io>
This commit is contained in:
Ricardo Espinoza
2025-09-10 09:39:41 -04:00
committed by GitHub
parent 815ecfe680
commit eb389a787b
17 changed files with 559 additions and 27 deletions

View File

@@ -98,6 +98,12 @@ export type DataTableInsertRowsResult<
? Array<Pick<DataStoreRowReturn, 'id'>>
: DataTableInsertRowsBulkResult;
export type DataTableSizeStatus = 'ok' | 'warn' | 'error';
export type DataTablesSizeResult = {
sizeBytes: number;
sizeState: DataTableSizeStatus;
};
// APIs for a data store service operating on a specific projectId
export interface IDataStoreProjectAggregateService {
getProjectId(): string;