mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
feat(editor): Show data table storage limit banners (no-changelog) (#19175)
Co-authored-by: Ricardo Espinoza <ricardo@n8n.io> Co-authored-by: Charlie Kolb <charlie@n8n.io>
This commit is contained in:
@@ -56,6 +56,8 @@ describe('DismissBannerRequestDto', () => {
|
||||
'TRIAL',
|
||||
'NON_PRODUCTION_LICENSE',
|
||||
'EMAIL_CONFIRMATION',
|
||||
'DATA_STORE_STORAGE_LIMIT_WARNING',
|
||||
'DATA_STORE_STORAGE_LIMIT_ERROR',
|
||||
];
|
||||
|
||||
expect(bannerNameSchema.options).toEqual(expectedBanners);
|
||||
|
||||
@@ -83,7 +83,6 @@ export interface FrontendSettings {
|
||||
};
|
||||
dataTables: {
|
||||
maxSize: number;
|
||||
warningThreshold: number;
|
||||
};
|
||||
personalizationSurveyEnabled: boolean;
|
||||
defaultLocale: string;
|
||||
|
||||
@@ -6,6 +6,8 @@ export const bannerNameSchema = z.enum([
|
||||
'TRIAL',
|
||||
'NON_PRODUCTION_LICENSE',
|
||||
'EMAIL_CONFIRMATION',
|
||||
'DATA_STORE_STORAGE_LIMIT_WARNING',
|
||||
'DATA_STORE_STORAGE_LIMIT_ERROR',
|
||||
]);
|
||||
|
||||
export type BannerName = z.infer<typeof bannerNameSchema>;
|
||||
|
||||
Reference in New Issue
Block a user