|
@@ -1,5 +1,3 @@
|
|
|
-import { ObjectIdLike } from '~/server/interfaces/mongoose-utils';
|
|
|
|
|
-
|
|
|
|
|
import { Ref, Nullable } from './common';
|
|
import { Ref, Nullable } from './common';
|
|
|
import { HasObjectId } from './has-object-id';
|
|
import { HasObjectId } from './has-object-id';
|
|
|
import { IRevision, HasRevisionShortbody } from './revision';
|
|
import { IRevision, HasRevisionShortbody } from './revision';
|
|
@@ -13,7 +11,7 @@ export interface IPage {
|
|
|
status: string,
|
|
status: string,
|
|
|
revision: Ref<IRevision>,
|
|
revision: Ref<IRevision>,
|
|
|
tags: Ref<ITag>[],
|
|
tags: Ref<ITag>[],
|
|
|
- creator: Ref<IUser> | ObjectIdLike,
|
|
|
|
|
|
|
+ creator: any,
|
|
|
createdAt: Date,
|
|
createdAt: Date,
|
|
|
updatedAt: Date,
|
|
updatedAt: Date,
|
|
|
seenUsers: Ref<IUser>[],
|
|
seenUsers: Ref<IUser>[],
|