// app/models/lib/user-apis.ts // Copyright (C) 2025 DTP Technologies, LLC // All Rights Reserved import { Schema } from "mongoose"; export interface IUserApiGoogle { accessToken: string; refreshToken: string; } export const UserApiGoogleSchema = new Schema( { accessToken: { type: String, required: true }, refreshToken: { type: String, required: true }, }, { _id: false } ); export interface IUserApis { google: IUserApiGoogle; } export const UserApisSchema = new Schema({ google: { type: UserApiGoogleSchema }, });