studiocms
Version:
Astro Native CMS for AstroDB. Built from the ground up by the Astro community.
45 lines (44 loc) • 1.82 kB
TypeScript
import { Schema } from '../../../effect.js';
declare const SmtpConfigSchema_base: Schema.Class<SmtpConfigSchema, {
port: typeof Schema.Number;
host: typeof Schema.String;
secure: typeof Schema.Boolean;
proxy: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
auth_user: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
auth_pass: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
tls_rejectUnauthorized: Schema.Union<[typeof Schema.Boolean, typeof Schema.Null]>;
tls_servername: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
default_sender: typeof Schema.String;
}, Schema.Struct.Encoded<{
port: typeof Schema.Number;
host: typeof Schema.String;
secure: typeof Schema.Boolean;
proxy: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
auth_user: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
auth_pass: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
tls_rejectUnauthorized: Schema.Union<[typeof Schema.Boolean, typeof Schema.Null]>;
tls_servername: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
default_sender: typeof Schema.String;
}>, never, {
readonly host: string;
} & {
readonly port: number;
} & {
readonly secure: boolean;
} & {
readonly proxy: string | null;
} & {
readonly auth_user: string | null;
} & {
readonly auth_pass: string | null;
} & {
readonly tls_rejectUnauthorized: boolean | null;
} & {
readonly tls_servername: string | null;
} & {
readonly default_sender: string;
}, {}, {}>;
export declare class SmtpConfigSchema extends SmtpConfigSchema_base {
}
export declare const POST: import("astro").APIRoute, PATCH: import("astro").APIRoute, OPTIONS: import("astro").APIRoute, ALL: import("astro").APIRoute;
export {};