Variable: createGrantInputSchema
const createGrantInputSchema: ZodObject<{
condition: ZodOptional<ZodType<ConditionLogicNode, unknown, $ZodTypeInternals<ConditionLogicNode, unknown>>>;
effectiveEnd: ZodOptional<ZodNullable<ZodCoercedDate<unknown>>>;
effectiveStart: ZodOptional<ZodNullable<ZodCoercedDate<unknown>>>;
id: ZodOptional<ZodUUID>;
roleId: ZodUUID;
scope: ZodDiscriminatedUnion<[ZodObject<{
organizationId: ZodString;
type: ZodLiteral<"organization">;
}, $strip>, ZodObject<{
type: ZodLiteral<"platform">;
}, $strip>], "type">;
selector: ZodOptional<ZodObject<{
resourceType: ZodString;
where: ZodRecord<ZodString, ZodUnion<readonly [ZodString, ZodNumber, ZodBoolean, ZodNull, ZodArray<ZodString>]>>;
}, $strip>>;
subject: ZodObject<{
id: ZodString;
type: ZodEnum<{
group: "group";
service_account: "service_account";
user: "user";
}>;
}, $strip>;
}, $strip>;Defined in: shared/access/schemas.ts:90