mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-12 07:42:40 +10:00
fix: inital eslint errors
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { systemACLs, userACLs } from ".";
|
||||
import type { systemACLs, userACLs } from ".";
|
||||
|
||||
type ObjectFromList<T extends ReadonlyArray<string>, V = string> = {
|
||||
[K in T extends ReadonlyArray<infer U> ? U : never]: V;
|
||||
|
||||
@ -2,7 +2,7 @@ import { APITokenMode, User } from "@prisma/client";
|
||||
import { H3Context, H3Event } from "h3";
|
||||
import prisma from "../db/database";
|
||||
import sessionHandler from "../session";
|
||||
import { MinimumRequestObject } from "~/server/h3";
|
||||
import type { MinimumRequestObject } from "~/server/h3";
|
||||
|
||||
export const userACLs = [
|
||||
"read",
|
||||
|
||||
Reference in New Issue
Block a user