Wires Core's identity and authorization domains into apps/api over one shared, validated PostgreSQL pool; adds an explicit, single-use, concurrency-safe platform-owner bootstrap CLI; adds a smallest-possible immutable permission registry with one Core-owned restricted permission (core.authorization.grants.manage); and adds reusable Hono authorization enforcement plus a narrowly scoped /api/v1/grants HTTP API for managing explicit grants only, gated by an exact trusted Origin on every mutation.
17 lines
440 B
TypeScript
17 lines
440 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
fileParallelism: false,
|
|
hookTimeout: 30_000,
|
|
include: [
|
|
"core/tests/postgres-migration.integration.ts",
|
|
"core/tests/authorization-store.integration.ts",
|
|
"core/tests/authorization-bootstrap.integration.ts",
|
|
"apps/api/tests/api-http.integration.ts",
|
|
],
|
|
passWithNoTests: false,
|
|
testTimeout: 30_000,
|
|
},
|
|
});
|