mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
12 lines
283 B
TypeScript
12 lines
283 B
TypeScript
import { Schema } from 'mongoose'
|
|
import {
|
|
commandResponderSchema,
|
|
ICommandResponder,
|
|
} from './commandResponder.js'
|
|
|
|
export interface IException extends ICommandResponder {}
|
|
|
|
export const exceptionSchema = new Schema<IException>({})
|
|
|
|
exceptionSchema.add(commandResponderSchema)
|