feat: scaffold yonexus MVP core with storage, auth, query, and scope memory

This commit is contained in:
2026-03-07 05:21:25 +00:00
parent e7f4aeae1a
commit 1436d63a8c
18 changed files with 600 additions and 29 deletions

18
src/config/defaults.ts Normal file
View File

@@ -0,0 +1,18 @@
import type { StoreState, YonexusSchema } from "../models/types";
export const DEFAULT_STATE: StoreState = {
organizations: [],
departments: [],
teams: [],
agents: [],
identities: [],
supervisors: []
};
export const DEFAULT_SCHEMA: YonexusSchema = {
position: { type: "string", queryable: true },
discord_user_id: { type: "string", queryable: true },
git_user_name: { type: "string", queryable: true },
department: { type: "string", queryable: false },
team: { type: "string", queryable: false }
};