@housekit/kit 0.1.9 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -8631,7 +8631,7 @@ import { t, defineTable, Engine } from '@housekit/orm';
8631
8631
  export const logs = defineTable('logs', (t) => ({
8632
8632
  id: t.uuid('id').autoGenerate().primaryKey(),
8633
8633
  message: t.text('message').comment('Log message content'),
8634
- level: t.enumType('level', ['info', 'warning', 'error']).default('info').comment('Log severity level'),
8634
+ level: t.enum('level', ['info', 'warning', 'error']).default('info').comment('Log severity level'),
8635
8635
  tags: t.array(t.text('tag')).nullable().comment('Array of tags for categorizing logs'),
8636
8636
  metadata: t.json('metadata').nullable().comment('Additional log metadata'),
8637
8637
  createdAt: t.timestamp('created_at').default('now()'),
@@ -8971,3 +8971,4 @@ program.command("reset").description("Reset database by dropping all tables (req
8971
8971
  program.command("list").description("List all tables in the database with basic information").option("-d, --database <name>", "Database to use").action(withErrorHandling(listCommand));
8972
8972
  program.command("validate").description("Validate that code schema matches the database schema").option("-d, --database <name>", "Database to use").option("--auto-upgrade-metadata", "Automatically upgrade housekit metadata to the version declared in code").action(withErrorHandling(validateCommand));
8973
8973
  program.command("help").description("Show help").action(() => program.outputHelp());
8974
+ await program.parseAsync(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@housekit/kit",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "CLI tool for HouseKit - manage ClickHouse schemas, migrations, and database operations with type-safe workflows.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@clickhouse/client": "^1.14.0",
51
- "@housekit/orm": "^0.1.9",
51
+ "@housekit/orm": "^0.1.11",
52
52
  "chalk": "^5.6.2",
53
53
  "cli-table3": "^0.6.5",
54
54
  "commander": "^12.0.0",