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:
parent
f7e1176554
commit
dc8e38f410
1 changed files with 3 additions and 0 deletions
|
@ -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(),
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue