Change to use dpdm for circular import scanning (#5788)

Co-authored-by: Anthony Stirling <[email protected]>
This commit is contained in:
James Brunton
2026-02-24 23:05:23 +00:00
committed by GitHub
co-authored by Anthony Stirling
parent 1b3bfaec20
commit eab84a13d0
17 changed files with 200 additions and 2230 deletions
@@ -1,4 +1,4 @@
import { PlanFeature } from '@app/services/licenseService';
import type { PlanFeature } from '@app/types/license';
/**
* Shared plan feature definitions for Stirling PDF Self-Hosted
@@ -2,11 +2,7 @@ import apiClient from '@app/services/apiClient';
import { supabase, isSupabaseConfigured } from '@app/services/supabaseClient';
import { getCheckoutMode } from '@app/utils/protocolDetection';
import { PLAN_FEATURES, PLAN_HIGHLIGHTS } from '@app/constants/planConstants';
export interface PlanFeature {
name: string;
included: boolean;
}
import type { LicenseInfo, PlanFeature } from '@app/types/license';
export interface PlanTier {
id: string;
@@ -69,13 +65,7 @@ export interface LicenseKeyResponse {
plan?: string;
}
export interface LicenseInfo {
licenseType: 'NORMAL' | 'SERVER' | 'ENTERPRISE';
enabled: boolean;
maxUsers: number;
hasKey: boolean;
licenseKey?: string; // The actual license key (for upgrades)
}
export type { LicenseInfo, PlanFeature };
export interface LicenseSaveResponse {
success: boolean;
@@ -1,5 +1,5 @@
import type { AppConfig } from '@app/contexts/AppConfigContext';
import type { LicenseInfo } from '@app/services/licenseService';
import type { AppConfig } from '@app/types/appConfig';
import type { LicenseInfo } from '@app/types/license';
interface WauResponse {
trackingSince: string;
@@ -208,4 +208,3 @@ export function getSimulatedLicenseInfo(): LicenseInfo | null {
}
export const DEV_TESTING_ENABLED = DEV_TESTING_MODE;
+12
View File
@@ -0,0 +1,12 @@
export interface PlanFeature {
name: string;
included: boolean;
}
export interface LicenseInfo {
licenseType: 'NORMAL' | 'SERVER' | 'ENTERPRISE';
enabled: boolean;
maxUsers: number;
hasKey: boolean;
licenseKey?: string;
}