Untitled
unknown
typescript
2 years ago
429 B
10
Indexable
export const FiscalDocumentLogSchema = createSchema<IFiscalDocumentLog>({
message: { type: String, required: true },
date: { type: Date, required: true },
method: { type: String, required: true },
isError: { type: Boolean, require: true }
})
export const FiscalDocumentSchema = createSchema<IFiscalDocument>({
fiscalDocumentLog: { type: [FiscalDocumentLogSchema], default:[], required: false },
})Editor is loading...