Variable accessIdentitySchemaConst
accessIdentitySchema: ZodDiscriminatedUnion<
[
ZodObject<
{
appId: ZodString;
identityPubKey: ZodString;
kind: ZodLiteral<"USER_APP">;
userId: ZodString;
},
$strip,
>,
ZodObject<
{
groupId: ZodString;
groupOwnerPubKey: ZodString;
groupRole: ZodEnum<{ ADMIN: "ADMIN"; MEMBER: "MEMBER" }>;
identityPubKey: ZodString;
kind: ZodLiteral<"GROUP">;
sharedByPubKey: ZodString;
sharedToPubKey: ZodString;
},
$strip,
>,
],
"kind",
> = ...