18 lines
419 B
TypeScript
18 lines
419 B
TypeScript
// 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;
|
|
} |