mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-29 04:00:09 +00:00
Initial commit of eigent-main
This commit is contained in:
commit
723df5a03e
1144 changed files with 103478 additions and 0 deletions
84
package/@stackframe/stack-shared/dist/interface/crud/email-templates.d.mts
vendored
Normal file
84
package/@stackframe/stack-shared/dist/interface/crud/email-templates.d.mts
vendored
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
import { CrudSchemaFromOptions, CrudTypeOf } from '../../crud.mjs';
|
||||
import * as yup from 'yup';
|
||||
import '../../utils/types.mjs';
|
||||
|
||||
type EmailTemplateType = typeof emailTemplateTypes[number];
|
||||
declare const emailTemplateTypes: readonly ["email_verification", "password_reset", "magic_link", "team_invitation"];
|
||||
declare const emailTemplateAdminReadSchema: yup.ObjectSchema<{
|
||||
type: "email_verification" | "password_reset" | "magic_link" | "team_invitation";
|
||||
subject: string;
|
||||
content: {} | null;
|
||||
is_default: boolean;
|
||||
}, yup.AnyObject, {
|
||||
type: undefined;
|
||||
subject: undefined;
|
||||
content: undefined;
|
||||
is_default: undefined;
|
||||
}, "">;
|
||||
declare const emailTemplateCrudAdminUpdateSchema: yup.ObjectSchema<{
|
||||
content: {} | undefined;
|
||||
subject: string | undefined;
|
||||
}, yup.AnyObject, {
|
||||
content: undefined;
|
||||
subject: undefined;
|
||||
}, "">;
|
||||
declare const emailTemplateCrudAdminDeleteSchema: yup.MixedSchema<{} | undefined, yup.AnyObject, undefined, "">;
|
||||
declare const emailTemplateCrudAdminCreateSchema: yup.ObjectSchema<{
|
||||
type: "email_verification" | "password_reset" | "magic_link" | "team_invitation";
|
||||
content: {} | null;
|
||||
subject: string;
|
||||
}, yup.AnyObject, {
|
||||
type: undefined;
|
||||
content: undefined;
|
||||
subject: undefined;
|
||||
}, "">;
|
||||
declare const emailTemplateCrud: CrudSchemaFromOptions<{
|
||||
adminReadSchema: yup.ObjectSchema<{
|
||||
type: "email_verification" | "password_reset" | "magic_link" | "team_invitation";
|
||||
subject: string;
|
||||
content: {} | null;
|
||||
is_default: boolean;
|
||||
}, yup.AnyObject, {
|
||||
type: undefined;
|
||||
subject: undefined;
|
||||
content: undefined;
|
||||
is_default: undefined;
|
||||
}, "">;
|
||||
adminUpdateSchema: yup.ObjectSchema<{
|
||||
content: {} | undefined;
|
||||
subject: string | undefined;
|
||||
}, yup.AnyObject, {
|
||||
content: undefined;
|
||||
subject: undefined;
|
||||
}, "">;
|
||||
adminCreateSchema: yup.ObjectSchema<{
|
||||
type: "email_verification" | "password_reset" | "magic_link" | "team_invitation";
|
||||
content: {} | null;
|
||||
subject: string;
|
||||
}, yup.AnyObject, {
|
||||
type: undefined;
|
||||
content: undefined;
|
||||
subject: undefined;
|
||||
}, "">;
|
||||
adminDeleteSchema: yup.MixedSchema<{} | undefined, yup.AnyObject, undefined, "">;
|
||||
docs: {
|
||||
adminRead: {
|
||||
hidden: true;
|
||||
};
|
||||
adminCreate: {
|
||||
hidden: true;
|
||||
};
|
||||
adminUpdate: {
|
||||
hidden: true;
|
||||
};
|
||||
adminDelete: {
|
||||
hidden: true;
|
||||
};
|
||||
adminList: {
|
||||
hidden: true;
|
||||
};
|
||||
};
|
||||
}>;
|
||||
type EmailTemplateCrud = CrudTypeOf<typeof emailTemplateCrud>;
|
||||
|
||||
export { type EmailTemplateCrud, type EmailTemplateType, emailTemplateAdminReadSchema, emailTemplateCrud, emailTemplateCrudAdminCreateSchema, emailTemplateCrudAdminDeleteSchema, emailTemplateCrudAdminUpdateSchema, emailTemplateTypes };
|
||||
Loading…
Add table
Add a link
Reference in a new issue