forked from mirrors/misskey
refactor
This commit is contained in:
@@ -78,7 +78,7 @@ const timeline = computed(() => {
|
|||||||
return paginator.items.value.map(x => ({
|
return paginator.items.value.map(x => ({
|
||||||
id: x.id,
|
id: x.id,
|
||||||
timestamp: new Date(x.createdAt).getTime(),
|
timestamp: new Date(x.createdAt).getTime(),
|
||||||
data: x,
|
data: x as Misskey.entities.ModerationLog,
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ export type ModerationLog = {
|
|||||||
id: ID;
|
id: ID;
|
||||||
createdAt: DateString;
|
createdAt: DateString;
|
||||||
userId: User['id'];
|
userId: User['id'];
|
||||||
user: UserDetailedNotMe | null;
|
user: UserDetailedNotMe;
|
||||||
} & ({
|
} & ({
|
||||||
type: 'updateServerSettings';
|
type: 'updateServerSettings';
|
||||||
info: ModerationLogPayloads['updateServerSettings'];
|
info: ModerationLogPayloads['updateServerSettings'];
|
||||||
|
|||||||
Reference in New Issue
Block a user