Initial commit of eigent-main

This commit is contained in:
puzhen 2025-08-12 01:16:39 +02:00
commit 723df5a03e
1144 changed files with 103478 additions and 0 deletions

View file

@ -0,0 +1,69 @@
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.js';
import * as yup from 'yup';
import '../../utils/types.js';
declare const sentEmailReadSchema: yup.ObjectSchema<{
id: string;
subject: string;
sent_at_millis: number;
to: string[] | undefined;
sender_config: {
host?: string | undefined;
port?: number | undefined;
username?: string | undefined;
sender_name?: string | undefined;
sender_email?: string | undefined;
type: "shared" | "standard";
};
error: {} | null | undefined;
}, yup.AnyObject, {
id: undefined;
subject: undefined;
sent_at_millis: undefined;
to: undefined;
sender_config: {
type: undefined;
host: undefined;
port: undefined;
username: undefined;
password: undefined;
sender_name: undefined;
sender_email: undefined;
};
error: undefined;
}, "">;
declare const internalEmailsCrud: CrudSchemaFromOptions<{
adminReadSchema: yup.ObjectSchema<{
id: string;
subject: string;
sent_at_millis: number;
to: string[] | undefined;
sender_config: {
host?: string | undefined;
port?: number | undefined;
username?: string | undefined;
sender_name?: string | undefined;
sender_email?: string | undefined;
type: "shared" | "standard";
};
error: {} | null | undefined;
}, yup.AnyObject, {
id: undefined;
subject: undefined;
sent_at_millis: undefined;
to: undefined;
sender_config: {
type: undefined;
host: undefined;
port: undefined;
username: undefined;
password: undefined;
sender_name: undefined;
sender_email: undefined;
};
error: undefined;
}, "">;
}>;
type InternalEmailsCrud = CrudTypeOf<typeof internalEmailsCrud>;
export { type InternalEmailsCrud, internalEmailsCrud, sentEmailReadSchema };