0
0
Fork 0
This commit is contained in:
xeltica 2021-09-24 14:39:06 +09:00
parent 4cfe4993a1
commit d8e1caa6cf
7 changed files with 185 additions and 38 deletions

View file

@ -1,5 +1,4 @@
import { config } from '../../config';
import { User } from '../../backend/models/entities/user';
import { Score } from '../types/score';
import { defaultTemplate } from '../../backend/const';
import { IUser } from '../types/user';
@ -8,7 +7,7 @@ import { IUser } from '../types/user';
*
*/
export type Variable = {
replace?: string | ((score: Score, user: User) => string);
replace?: string | ((score: Score, user: IUser) => string);
};
/**