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