@robert-brightline/auth-db - v0.0.21
    Preparing search index...

    Variable PermissionUpdateConst

    PermissionUpdate: ZodObject<
        {
            accessTokenPermissions: ZodOptional<
                ZodUnion<
                    readonly [
                        ZodObject<
                            {
                                connect: ZodArray<
                                    ZodObject<{ id: ZodCoercedNumber<(...)> }, $strip>,
                                >;
                            },
                            $strip,
                        >,
                        ZodObject<
                            {
                                createMany: ZodObject<
                                    { data: ZodArray<ZodObject<(...), (...)>> },
                                    $strip,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
            app: ZodOptional<
                ZodUnion<
                    readonly [
                        ZodObject<
                            { connect: ZodObject<{ id: ZodCoercedNumber<unknown> }, $strip> },
                            $strip,
                        >,
                        ZodObject<{ create: ZodObject<{ name: ZodString }, $strip> }, $strip>,
                    ],
                >,
            >;
            operation: ZodOptional<
                ZodEnum<
                    {
                        APPROVE: "APPROVE";
                        ARCHIVE: "ARCHIVE";
                        DELETE: "DELETE";
                        DEPLOY: "DEPLOY";
                        EXPORT: "EXPORT";
                        GRANT: "GRANT";
                        IMPORT: "IMPORT";
                        LOCK: "LOCK";
                        MANAGE: "MANAGE";
                        NOTIFY: "NOTIFY";
                        READ: "READ";
                        REJECT: "REJECT";
                        RESTART: "RESTART";
                        RESTORE: "RESTORE";
                        REVOKE: "REVOKE";
                        ROLLBACK: "ROLLBACK";
                        START: "START";
                        STOP: "STOP";
                        SUBMIT: "SUBMIT";
                        SYNC: "SYNC";
                        TRIGGER: "TRIGGER";
                        UNLOCK: "UNLOCK";
                        UPDATE: "UPDATE";
                        WRITE: "WRITE";
                    },
                >,
            >;
            resource: ZodOptional<
                ZodUnion<
                    readonly [
                        ZodObject<
                            { connect: ZodObject<{ id: ZodCoercedNumber<unknown> }, $strip> },
                            $strip,
                        >,
                        ZodObject<{ create: ZodObject<{ name: ZodString }, $strip> }, $strip>,
                    ],
                >,
            >;
            rolePermissions: ZodOptional<
                ZodUnion<
                    readonly [
                        ZodObject<
                            {
                                connect: ZodArray<
                                    ZodObject<{ id: ZodCoercedNumber<(...)> }, $strip>,
                                >;
                            },
                            $strip,
                        >,
                        ZodObject<
                            {
                                createMany: ZodObject<
                                    { data: ZodArray<ZodObject<(...), (...)>> },
                                    $strip,
                                >;
                            },
                            $strip,
                        >,
                    ],
                >,
            >;
        },
        $strip,
    > = ...