0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

refactor: fix type issues

This commit is contained in:
Gao Sun 2024-05-28 16:44:00 +08:00
parent f7e1176554
commit dc8e38f410
No known key found for this signature in database
GPG key ID: 13EBE123E4773688

View file

@ -2,6 +2,7 @@ import { ReservedPlanId, TenantTag, defaultManagementApi } from '@logto/schemas'
import dayjs from 'dayjs';
import { type TenantResponse } from '@/cloud/types/router';
import { RegionName } from '@/components/Region';
import { type SubscriptionPlan } from '@/types/subscriptions';
import { adminEndpoint, isCloud } from './env';
@ -33,6 +34,8 @@ export const defaultTenantResponse: TenantResponse = {
openInvoices: [],
isSuspended: false,
planId: defaultSubscriptionPlanId, // Reserved for compatibility with cloud
regionName: RegionName.EU, // Reserved for compatibility with cloud
createdAt: new Date(),
};
/**