refactor(editor): Move cloudPlans api to @n8n/rest-api-client (no-changelog) (#16182)

This commit is contained in:
Alex Grozav
2025-06-10 18:03:24 +02:00
committed by GitHub
parent b7c9d4e3b2
commit a54f0c8af7
9 changed files with 73 additions and 68 deletions

View File

@@ -5,7 +5,11 @@ import { useRootStore } from '@n8n/stores/useRootStore';
import { useSettingsStore } from '@/stores/settings.store';
import { useUIStore } from '@/stores/ui.store';
import { useUsersStore } from '@/stores/users.store';
import { getAdminPanelLoginCode, getCurrentPlan, getCurrentUsage } from '@/api/cloudPlans';
import {
getAdminPanelLoginCode,
getCurrentPlan,
getCurrentUsage,
} from '@n8n/rest-api-client/api/cloudPlans';
import { DateTime } from 'luxon';
import { CLOUD_TRIAL_CHECK_INTERVAL } from '@/constants';
import { STORES } from '@n8n/stores';