UNPKG

pl4y-data-library

Version:

This library contains the dtos, enums, schemas, and other data objects needed in the pl4y ecosystem.

22 lines (20 loc) 418 B
import * as mongoose from "mongoose"; export const SecretsSchema = new mongoose.Schema( { jwtSecret: { type: String, required: true, }, jwtRefreshSecret: { type: String, required: true, }, }, { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true, }, }, );