mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
13 lines
179 B
TypeScript
13 lines
179 B
TypeScript
import { Schema } from 'mongoose'
|
|
|
|
export interface IHint {
|
|
hints: string[]
|
|
}
|
|
|
|
export const hintSchema = new Schema({
|
|
hints: {
|
|
type: [String],
|
|
required: true,
|
|
},
|
|
})
|