Commit adc3c697 authored by nanahira's avatar nanahira

optimize

parent 368f4ff1
Pipeline #6287 passed with stages
in 43 seconds
{
"name": "koishi-utils-schemagen",
"version": "1.1.0",
"version": "1.1.1",
"description": "在 Koishi.js 中,使用类装饰器定义 Schema",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
......
import { Schema } from 'koishi';
import {
ClassConstructor,
plainToClass,
TransformOptions,
} from 'class-transformer';
import { ClassConstructor, plainToClass } from 'class-transformer';
import { SchemaClassOptions, SchemaOptions, SchemaOptionsDict } from './def';
import 'reflect-metadata';
import { SchemaClassKey, SchemaKeysMetaKey, SchemaMetaKey } from './constants';
......
import {
DefineSchema,
SchemaConf,
schemaFromClass,
schemaTransform,
} from '..';
import { DefineSchema, SchemaConf, schemaFromClass, schemaTransform } from '..';
import { Schema } from 'koishi';
@SchemaConf({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment