mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-27 02:56:45 -05:00
chore: fix type errors
This commit is contained in:
@@ -25,7 +25,10 @@ definePageMeta({
|
||||
|
||||
<template>
|
||||
<div class="content-inner">
|
||||
<ContentRenderer :value="doc" />
|
||||
<ContentRenderer
|
||||
v-if="doc"
|
||||
:value="doc"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
49
src/plugins/types.d.ts
vendored
49
src/plugins/types.d.ts
vendored
@@ -4,53 +4,4 @@ declare module '#app' {
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'nuxt/schema' {
|
||||
interface RuntimeConfig {
|
||||
trustProxy: boolean;
|
||||
|
||||
githubApiToken: string;
|
||||
|
||||
stripeSecretKey: string;
|
||||
stripeWebhookSecret: string;
|
||||
stripeNotificationEmail: string;
|
||||
|
||||
hcaptchaSecretKey: string;
|
||||
|
||||
grpcHost: string;
|
||||
grpcApiKey: string;
|
||||
|
||||
mongoConnectionString: string;
|
||||
|
||||
smtpHost: string;
|
||||
smtpPort: number;
|
||||
smtpUser: string;
|
||||
smtpPassword: string;
|
||||
smtpSecure: true;
|
||||
smtpFromEmail: string;
|
||||
smtpFromName: string;
|
||||
|
||||
discordBotToken: string;
|
||||
discordClientId: string;
|
||||
discordClientSecret: string;
|
||||
discordGuildId: string;
|
||||
discordTesterRoleId: string;
|
||||
discordSupporterRoleId: string;
|
||||
|
||||
discourseSsoSecret: string;
|
||||
|
||||
apiBase: string;
|
||||
apiBaseHost: string;
|
||||
|
||||
redisUrl: string;
|
||||
}
|
||||
|
||||
interface PublicRuntimeConfig {
|
||||
baseUrl: string;
|
||||
cdnBaseUrl: string;
|
||||
redirectHosts: string;
|
||||
cookieSecure: boolean;
|
||||
hcaptchaSiteKey: string;
|
||||
}
|
||||
}
|
||||
|
||||
export { };
|
||||
|
||||
Reference in New Issue
Block a user