You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
363 B
21 lines
363 B
3 years ago
|
import { Currency } from '@prisma/client';
|
||
|
|
||
|
import { Access } from './access.interface';
|
||
|
|
||
|
export interface User {
|
||
|
access: Access[];
|
||
|
alias?: string;
|
||
|
id: string;
|
||
|
permissions: string[];
|
||
|
settings: UserSettings;
|
||
|
subscription: {
|
||
|
expiresAt: Date;
|
||
|
type: 'Diamond';
|
||
|
};
|
||
|
}
|
||
|
|
||
|
export interface UserSettings {
|
||
|
baseCurrency: Currency;
|
||
|
locale: string;
|
||
|
}
|