Variable AppSyncEventsInfoSchemaConst
AppSyncEventsInfoSchema: ZodObject<
{
channel: ZodObject<
{ path: ZodString; segments: ZodArray<ZodString, "many"> },
"strip",
ZodTypeAny,
{ path: string; segments: string[] },
{ path: string; segments: string[] },
>;
channelNamespace: ZodObject<
{ name: ZodString },
"strip",
ZodTypeAny,
{ name: string },
{ name: string },
>;
operation: ZodUnion<[ZodLiteral<"PUBLISH">, ZodLiteral<"SUBSCRIBE">]>;
},
"strip",
ZodTypeAny,
{
channel: { path: string; segments: string[] };
channelNamespace: { name: string };
operation: "PUBLISH" | "SUBSCRIBE";
},
{
channel: { path: string; segments: string[] };
channelNamespace: { name: string };
operation: "PUBLISH" | "SUBSCRIBE";
},
> = ...
A zod schema for AppSync Events info object.
This schema is used when extending subscribe and publish events.