Add new DB schemas: companies, agent_api_keys, approvals, cost_events, heartbeat_runs, issue_comments. Add corresponding shared types and validators. Update existing schemas (agents, goals, issues, projects) with new fields for company association, budgets, and richer metadata. Generate initial Drizzle migration. Update seed data. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
55 lines
972 B
TypeScript
55 lines
972 B
TypeScript
export {
|
|
createCompanySchema,
|
|
updateCompanySchema,
|
|
type CreateCompany,
|
|
type UpdateCompany,
|
|
} from "./company.js";
|
|
|
|
export {
|
|
createAgentSchema,
|
|
updateAgentSchema,
|
|
createAgentKeySchema,
|
|
type CreateAgent,
|
|
type UpdateAgent,
|
|
type CreateAgentKey,
|
|
} from "./agent.js";
|
|
|
|
export {
|
|
createProjectSchema,
|
|
updateProjectSchema,
|
|
type CreateProject,
|
|
type UpdateProject,
|
|
} from "./project.js";
|
|
|
|
export {
|
|
createIssueSchema,
|
|
updateIssueSchema,
|
|
checkoutIssueSchema,
|
|
addIssueCommentSchema,
|
|
type CreateIssue,
|
|
type UpdateIssue,
|
|
type CheckoutIssue,
|
|
type AddIssueComment,
|
|
} from "./issue.js";
|
|
|
|
export {
|
|
createGoalSchema,
|
|
updateGoalSchema,
|
|
type CreateGoal,
|
|
type UpdateGoal,
|
|
} from "./goal.js";
|
|
|
|
export {
|
|
createApprovalSchema,
|
|
resolveApprovalSchema,
|
|
type CreateApproval,
|
|
type ResolveApproval,
|
|
} from "./approval.js";
|
|
|
|
export {
|
|
createCostEventSchema,
|
|
updateBudgetSchema,
|
|
type CreateCostEvent,
|
|
type UpdateBudget,
|
|
} from "./cost.js";
|