mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-10 07:27:57 -05:00
* improvement(code-structure): move db into separate package * make db separate package * remake bun lock * update imports to not maintain two separate ones * fix CI for tests by adding dummy url * vercel build fix attempt * update bun lock * regenerate bun lock * fix mocks * remove db commands from apps/sim package json
20 lines
527 B
TypeScript
20 lines
527 B
TypeScript
/**
|
|
* Database-only constants used in schema definitions and migrations.
|
|
* These constants are independent of application logic to keep migrations container lightweight.
|
|
*/
|
|
|
|
/**
|
|
* Default free credits (in dollars) for new users
|
|
*/
|
|
export const DEFAULT_FREE_CREDITS = 10
|
|
|
|
/**
|
|
* Tag slots available for knowledge base documents and embeddings
|
|
*/
|
|
export const TAG_SLOTS = ['tag1', 'tag2', 'tag3', 'tag4', 'tag5', 'tag6', 'tag7'] as const
|
|
|
|
/**
|
|
* Type for tag slot names
|
|
*/
|
|
export type TagSlot = (typeof TAG_SLOTS)[number]
|