mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-12 17:28:31 +03:00
feat: start actionising on the west coast
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": "tap",
|
||||
"test": "vitest",
|
||||
"build": "tsgo -p tsconfig.build.json",
|
||||
"prepublishOnly": "tsgo -p tsconfig.build.json",
|
||||
"lint": "eslint .",
|
||||
@@ -43,9 +43,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript/native-preview": "catalog:",
|
||||
"@types/tap": "catalog:",
|
||||
"eslint-config-tachi": "workspace:*",
|
||||
"tap": "workspace:*",
|
||||
"typescript": "catalog:"
|
||||
},
|
||||
"nyc": {
|
||||
|
||||
@@ -8,6 +8,7 @@ export * from "./constants/grade-boundaries";
|
||||
export * as StaticConfig from "./constants/import-types";
|
||||
export * from "./constants/permissions";
|
||||
export * as Schemas from "./lib/schemas";
|
||||
export * from "./lib/zod-schemas";
|
||||
export * from "./seeds/types";
|
||||
export * from "./types";
|
||||
export * from "./utils/util";
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
import { ALL_PERMISSIONS } from "#constants/permissions.js";
|
||||
import z from "zod";
|
||||
|
||||
export const zodPermission = z.enum(Object.keys(ALL_PERMISSIONS));
|
||||
Reference in New Issue
Block a user