0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore(console): bump @logto/cloud version (#4237)

This commit is contained in:
Xiao Yijun 2023-07-25 21:14:06 +08:00 committed by GitHub
parent 64b7aed4bd
commit d7cb628366
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 20 additions and 20 deletions

View file

@ -26,7 +26,7 @@
"@fontsource/roboto-mono": "^5.0.0",
"@jest/types": "^29.5.0",
"@logto/app-insights": "workspace:^1.3.1",
"@logto/cloud": "0.2.5-8065345",
"@logto/cloud": "0.2.5-1795c3d",
"@logto/connector-kit": "workspace:^1.1.1",
"@logto/core-kit": "workspace:^2.0.1",
"@logto/language-kit": "workspace:^1.0.0",

View file

@ -80,7 +80,7 @@ function Footer({
: t(
planId === ReservedPlanId.pro ? 'standard_connectors_pro' : 'standard_connectors',
{
count: quota.standardConnectorsLimit,
count: quota.standardConnectorsLimit ?? 0,
}
)}
</Trans>

View file

@ -83,7 +83,7 @@ function CreatePermissionModal({ resourceId, totalResourceCount, onClose }: Prop
}}
>
{t('upsell.paywall.scopes_per_resource', {
count: currentPlan.quota.scopesPerResourceLimit,
count: currentPlan.quota.scopesPerResourceLimit ?? 0,
})}
</Trans>
</QuotaGuardFooter>

View file

@ -76,7 +76,7 @@ function CreateForm({ onClose }: Props) {
}}
>
{t('upsell.paywall.resources', {
count: currentPlan.quota.resourcesLimit,
count: currentPlan.quota.resourcesLimit ?? 0,
})}
</Trans>
</QuotaGuardFooter>

View file

@ -65,7 +65,7 @@ function Footer({ selectedType, isLoading, onClickCreate }: Props) {
planName: <PlanName name={planName} />,
}}
>
{t('machine_to_machine', { count: quota.machineToMachineLimit })}
{t('machine_to_machine', { count: quota.machineToMachineLimit ?? 0 })}
</Trans>
)}
</QuotaGuardFooter>
@ -81,7 +81,7 @@ function Footer({ selectedType, isLoading, onClickCreate }: Props) {
planName: <PlanName name={planName} />,
}}
>
{t('applications', { count: quota.applicationsLimit })}
{t('applications', { count: quota.applicationsLimit ?? 0 })}
</Trans>
</QuotaGuardFooter>
);

View file

@ -101,7 +101,7 @@ function CreateRoleForm({ totalRoleCount, onClose }: Props) {
planName: <PlanName name={currentPlan.name} />,
}}
>
{t('upsell.paywall.roles', { count: currentPlan.quota.rolesLimit })}
{t('upsell.paywall.roles', { count: currentPlan.quota.rolesLimit ?? 0 })}
</Trans>
</QuotaGuardFooter>
)}

View file

@ -77,7 +77,7 @@ function CreateForm({ totalWebhookCount, onClose }: Props) {
planName: <PlanName name={currentPlan.name} />,
}}
>
{t('upsell.paywall.hooks', { count: currentPlan.quota.hooksLimit })}
{t('upsell.paywall.hooks', { count: currentPlan.quota.hooksLimit ?? 0 })}
</Trans>
</QuotaGuardFooter>
) : (

View file

@ -2755,8 +2755,8 @@ importers:
specifier: workspace:^1.3.1
version: link:../app-insights
'@logto/cloud':
specifier: 0.2.5-8065345
version: 0.2.5-8065345(zod@3.20.2)
specifier: 0.2.5-1795c3d
version: 0.2.5-1795c3d(zod@3.20.2)
'@logto/connector-kit':
specifier: workspace:^1.1.1
version: link:../toolkit/connector-kit
@ -7224,6 +7224,16 @@ packages:
jose: 4.14.4
dev: true
/@logto/cloud@0.2.5-1795c3d(zod@3.20.2):
resolution: {integrity: sha512-zxy9zr5swOxbzYJNYtKXofj2tSIS9565d+1pT6RSbmx3Hn+JG6uzsb75PZXW9vlmmm7p1sGZeTQ+xVzKNFPsMg==}
engines: {node: ^18.12.0}
dependencies:
'@silverhand/essentials': 2.7.0
'@withtyped/server': 0.12.8(zod@3.20.2)
transitivePeerDependencies:
- zod
dev: true
/@logto/cloud@0.2.5-4d5e389(zod@3.20.2):
resolution: {integrity: sha512-vRJZGc0WvjE1rFJ0DNLaOHkhpe4TMdui/pvcTwGb/bDKzw/NM+4HtUoZj1a1DZ8Qqn24ex1WkTjxY8XGd3EruQ==}
engines: {node: ^18.12.0}
@ -7234,16 +7244,6 @@ packages:
- zod
dev: true
/@logto/cloud@0.2.5-8065345(zod@3.20.2):
resolution: {integrity: sha512-qZWtGd2InkSddNPt3lKO0Ti/UZtQvzul5R7uJbnZgl0xiIpoMYEiHVI9gXQ8O+V47qtPpkS3ykTb2zj4K4Sk+w==}
engines: {node: ^18.12.0}
dependencies:
'@silverhand/essentials': 2.7.0
'@withtyped/server': 0.12.8(zod@3.20.2)
transitivePeerDependencies:
- zod
dev: true
/@logto/js@2.1.1:
resolution: {integrity: sha512-PHikheavVK+l4ivgtzi14p184hEPgXjqQEAom1Gme1MZoopx+WlwxvHSEQBsmyvVqRtI0oiojhoU5tgYi1FKJw==}
dependencies: