/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// import { FSDBEntity } from '@becomes/purple-cheetah-mod-fsdb/types'; import type { ObjectSchema } from '@becomes/purple-cheetah/types'; import { Schema } from 'mongoose'; import { BCMSApiKeyAccess } from './access'; export interface BCMSApiKey extends FSDBEntity { userId: string; name: string; desc: string; blocked: boolean; secret: string; access: BCMSApiKeyAccess; } export declare const BCMSApiKeyFSDBSchema: ObjectSchema; export declare const BCMSApiKeyMongoDBSchema: Schema, {}, {}, {}, {}, "type", { name: string; blocked: boolean; access: { templates: any[]; functions: { name: string; }[]; plugins: { name: string; }[]; }; userId: string; secret: string; _id?: string | undefined; desc?: string | undefined; createdAt?: number | undefined; updatedAt?: number | undefined; }>;