mirror of
https://github.com/logto-io/logto.git
synced 2025-01-13 21:30:30 -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 dayjs from 'dayjs';
|
||||||
|
|
||||||
import { type TenantResponse } from '@/cloud/types/router';
|
import { type TenantResponse } from '@/cloud/types/router';
|
||||||
|
import { RegionName } from '@/components/Region';
|
||||||
import { type SubscriptionPlan } from '@/types/subscriptions';
|
import { type SubscriptionPlan } from '@/types/subscriptions';
|
||||||
|
|
||||||
import { adminEndpoint, isCloud } from './env';
|
import { adminEndpoint, isCloud } from './env';
|
||||||
|
@ -33,6 +34,8 @@ export const defaultTenantResponse: TenantResponse = {
|
||||||
openInvoices: [],
|
openInvoices: [],
|
||||||
isSuspended: false,
|
isSuspended: false,
|
||||||
planId: defaultSubscriptionPlanId, // Reserved for compatibility with cloud
|
planId: defaultSubscriptionPlanId, // Reserved for compatibility with cloud
|
||||||
|
regionName: RegionName.EU, // Reserved for compatibility with cloud
|
||||||
|
createdAt: new Date(),
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue