Skip to content

Commit 3d61b98

Browse files
committed
Refactor auth primitives with typed context-specific checkers
- Add generic, strongly typed query/mutation/action builders and context resolvers - Introduce per-context permission/capability checkers and shared runtime helpers - Add runtime module and type tests, and run them via `pnpm run ts`
1 parent d6211a7 commit 3d61b98

File tree

10 files changed

+1497
-347
lines changed

10 files changed

+1497
-347
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"prepare": "tsc",
2121
"prepublishOnly": "pnpm run build",
2222
"lint": "eslint src/",
23-
"ts": "tsc --noEmit --incremental false",
23+
"ts": "tsc --noEmit --incremental false && tsc -p tsconfig.type-tests.json --noEmit",
2424
"prettier:check": "prettier --check .",
2525
"prettier:write": "prettier --write .",
2626
"check-spelling": "cspell '**/*.*' --no-progress",

0 commit comments

Comments
 (0)