|
@@ -1,11 +1,12 @@
|
|
|
|
|
+import { getOrCreateModel } from '@growi/core';
|
|
|
import mongoose, {
|
|
import mongoose, {
|
|
|
Schema, Model, Document, QueryOptions, FilterQuery,
|
|
Schema, Model, Document, QueryOptions, FilterQuery,
|
|
|
} from 'mongoose';
|
|
} from 'mongoose';
|
|
|
-import { getOrCreateModel } from '@growi/core';
|
|
|
|
|
|
|
|
|
|
import {
|
|
import {
|
|
|
IPageForResuming, IUserForResuming, IOptionsForResuming,
|
|
IPageForResuming, IUserForResuming, IOptionsForResuming,
|
|
|
-} from '~/server/interfaces/page-operation';
|
|
|
|
|
|
|
+} from '~/server/models/interfaces/page-operation';
|
|
|
|
|
+
|
|
|
import { ObjectIdLike } from '../interfaces/mongoose-utils';
|
|
import { ObjectIdLike } from '../interfaces/mongoose-utils';
|
|
|
|
|
|
|
|
type IObjectId = mongoose.Types.ObjectId;
|
|
type IObjectId = mongoose.Types.ObjectId;
|