This commit is contained in:
syuilo 2019-02-24 17:28:51 +09:00
parent 012d744f4c
commit 563d604812
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
9 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
import { Context } from 'cafy';
import * as path from 'path';
import * as glob from 'glob';
import { Schema } from '../../prelude/schema';
import { Schema } from '../../misc/schema';
export type Param = {
validator: Context<any>;

View File

@ -4,7 +4,7 @@ import config from '../../../config';
import { errors as basicErrors } from './errors';
import { schemas } from './schemas';
import { description } from './description';
import { convertOpenApiSchema } from '../../../prelude/schema';
import { convertOpenApiSchema } from '../../../misc/schema';
export function genOpenapiSpec(lang = 'ja-JP') {
const spec = {

View File

@ -2,7 +2,7 @@ import autobind from 'autobind-decorator';
import Chart, { Obj } from './';
import DriveFile, { IDriveFile } from '../../models/drive-file';
import { isLocalUser } from '../../models/user';
import { SchemaType } from '../../prelude/schema';
import { SchemaType } from '../../misc/schema';
const logSchema = {
/**

View File

@ -9,7 +9,7 @@ import * as mongo from 'mongodb';
import db from '../../db/mongodb';
import { ICollection } from 'monk';
import Logger from '../../misc/logger';
import { Schema } from '../../prelude/schema';
import { Schema } from '../../misc/schema';
const logger = new Logger('chart');

View File

@ -2,7 +2,7 @@ import autobind from 'autobind-decorator';
import Chart, { Obj } from '.';
import Note, { INote } from '../../models/note';
import { isLocalUser } from '../../models/user';
import { SchemaType } from '../../prelude/schema';
import { SchemaType } from '../../misc/schema';
const logSchema = {
total: {

View File

@ -1,7 +1,7 @@
import autobind from 'autobind-decorator';
import Chart, { Obj } from './';
import DriveFile, { IDriveFile } from '../../models/drive-file';
import { SchemaType } from '../../prelude/schema';
import { SchemaType } from '../../misc/schema';
export const perUserDriveLogSchema = {
type: 'object' as 'object',

View File

@ -2,7 +2,7 @@ import autobind from 'autobind-decorator';
import Chart, { Obj } from './';
import Note, { INote } from '../../models/note';
import { IUser } from '../../models/user';
import { SchemaType } from '../../prelude/schema';
import { SchemaType } from '../../misc/schema';
export const perUserNotesLogSchema = {
type: 'object' as 'object',

View File

@ -1,7 +1,7 @@
import autobind from 'autobind-decorator';
import Chart, { Obj } from './';
import User, { IUser, isLocalUser } from '../../models/user';
import { SchemaType } from '../../prelude/schema';
import { SchemaType } from '../../misc/schema';
const logSchema = {
/**