mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
[web] last infrastructure conversions GitOrigin-RevId: ad1aff9b7df0610ed0303157d9e2c8032f32c02b
16 lines
330 B
JavaScript
16 lines
330 B
JavaScript
import mongoose from '../infrastructure/Mongoose.mjs'
|
|
const { Schema } = mongoose
|
|
|
|
export const SamlCacheSchema = new Schema(
|
|
{
|
|
createdAt: { type: Date },
|
|
requestId: { type: String },
|
|
},
|
|
{
|
|
collection: 'samlCache',
|
|
minimize: false,
|
|
}
|
|
)
|
|
|
|
export const SamlCache = mongoose.model('SamlCache', SamlCacheSchema)
|