// declare module 'nuxt/schema' { // interface RuntimeConfig { // // 私有配置(仅服务端) // jwt: { // secret: string, // accessExpiresIn: string, // refreshExpiresIn: string, // whitelist: string[] // }, // } // } export type HeaderAuth = { username: string; nickname: string; userId: string; isTrue: boolean; }