Variable MJExternalDataSourceSchemaConst
MJExternalDataSourceSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ConnectionConfig: ZodNullable<ZodString>;
Credential: ZodNullable<ZodString>;
CredentialID: ZodNullable<ZodString>;
DefaultCacheTTLSeconds: ZodNumber;
DefaultDatabase: ZodNullable<ZodString>;
DefaultSchema: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
ID: ZodString;
LastConnectionTestAt: ZodNullable<ZodDate>;
LastConnectionTestResult: ZodNullable<ZodString>;
Name: ZodString;
Status: ZodUnion<
[
ZodLiteral<"Active">,
ZodLiteral<"Disabled">,
ZodLiteral<"TestFailed">,
],
>;
Type: ZodString;
TypeID: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ConnectionConfig?: string;
Credential?: string;
CredentialID?: string;
DefaultCacheTTLSeconds?: number;
DefaultDatabase?: string;
DefaultSchema?: string;
Description?: string;
ID?: string;
LastConnectionTestAt?: Date;
LastConnectionTestResult?: string;
Name?: string;
Status?: "Active"
| "Disabled"
| "TestFailed";
Type?: string;
TypeID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ConnectionConfig?: string;
Credential?: string;
CredentialID?: string;
DefaultCacheTTLSeconds?: number;
DefaultDatabase?: string;
DefaultSchema?: string;
Description?: string;
ID?: string;
LastConnectionTestAt?: Date;
LastConnectionTestResult?: string;
Name?: string;
Status?: "Active"
| "Disabled"
| "TestFailed";
Type?: string;
TypeID?: string;
},
> = ...
zod schema definition for the entity MJ: External Data Sources