Update import path for SubCard component in AddressCard to improve module structure and maintainability.
This commit is contained in:
parent
9751278a4e
commit
4447278b2c
@ -0,0 +1,33 @@
|
||||
export interface WhmcsApiConfig {
|
||||
baseUrl: string;
|
||||
identifier: string;
|
||||
secret: string;
|
||||
timeout?: number;
|
||||
retryAttempts?: number;
|
||||
retryDelay?: number;
|
||||
// Optional elevated admin credentials for privileged actions (eg. AcceptOrder)
|
||||
adminUsername?: string;
|
||||
adminPasswordHash?: string; // MD5 hash of admin password
|
||||
}
|
||||
|
||||
export interface WhmcsRequestOptions {
|
||||
useAdminAuth?: boolean;
|
||||
timeout?: number;
|
||||
retryAttempts?: number;
|
||||
}
|
||||
|
||||
export interface WhmcsRetryConfig {
|
||||
maxAttempts: number;
|
||||
baseDelay: number;
|
||||
maxDelay: number;
|
||||
backoffMultiplier: number;
|
||||
}
|
||||
|
||||
export interface WhmcsConnectionStats {
|
||||
totalRequests: number;
|
||||
successfulRequests: number;
|
||||
failedRequests: number;
|
||||
averageResponseTime: number;
|
||||
lastRequestTime?: Date;
|
||||
lastErrorTime?: Date;
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { SubCard } from "@/components/molecules/SubCard";
|
||||
import { SubCard } from "@/components/molecules/SubCard/SubCard";
|
||||
import { MapPinIcon, PencilIcon, CheckIcon, XMarkIcon } from "@heroicons/react/24/outline";
|
||||
import { AddressForm, type AddressFormProps } from "@/features/catalog/components";
|
||||
import type { Address } from "@customer-portal/domain";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user