Variable AppSyncResolverSchemaConst
AppSyncResolverSchema: ZodObject<
{
arguments: ZodRecord<ZodString, ZodAny>;
identity: ZodOptional<
ZodUnion<
readonly [
ZodObject<
{
claims: ZodRecord<ZodString, ZodUnknown>;
defaultAuthStrategy: ZodNullable<ZodString>;
groups: ZodNullable<ZodArray<ZodString>>;
issuer: ZodString;
sourceIp: ZodArray<ZodIPv4>;
sub: ZodString;
username: ZodString;
},
$strip,
>,
ZodObject<
{
accountId: ZodString;
cognitoIdentityAuthProvider: ZodNullable<ZodString>;
cognitoIdentityAuthType: ZodNullable<ZodString>;
cognitoIdentityId: ZodNullable<ZodString>;
cognitoIdentityPoolId: ZodNullable<ZodString>;
sourceIp: ZodArray<ZodString>;
userArn: ZodString;
username: ZodString;
},
$strip,
>,
ZodObject<
{ claims: ZodAny; issuer: ZodString; sub: ZodString },
$strip,
>,
ZodObject<{ resolverContext: ZodAny }, $strip>,
],
>,
>;
info: ZodObject<
{
fieldName: ZodString;
parentTypeName: ZodString;
selectionSetGraphQL: ZodString;
selectionSetList: ZodArray<ZodString>;
variables: ZodRecord<ZodString, ZodAny>;
},
$strip,
>;
prev: ZodNullable<
ZodObject<{ result: ZodRecord<ZodString, ZodAny> }, $strip>,
>;
request: ZodObject<
{
domainName: ZodNullable<ZodString>;
headers: ZodRecord<ZodString, ZodString>;
},
$strip,
>;
source: ZodNullable<ZodRecord<ZodString, ZodAny>>;
stash: ZodRecord<ZodString, ZodAny>;
},
$strip,
> = ...
A zod schema for an AppSync resolver event