use ajv/dist/core

This commit is contained in:
tamaina 2022-02-20 01:57:15 +09:00
parent 78ad95d3ad
commit beb451fd19

View File

@ -6,7 +6,7 @@ import { ApiError } from './error';
import { Schema, SchemaType } from '@/misc/schema'; import { Schema, SchemaType } from '@/misc/schema';
import { AccessToken } from '@/models/entities/access-token'; import { AccessToken } from '@/models/entities/access-token';
import { ValidateFunction } from 'ajv'; import { ValidateFunction } from 'ajv';
import { JTDDataType } from 'ajv/dist/types/jtd-schema'; import { JTDDataType } from 'ajv/dist/core';
import { apiLogger } from './logger'; import { apiLogger } from './logger';
type SimpleUserInfo = { type SimpleUserInfo = {