@aiquants/enrichment-drizzle 0.2.2 → 0.2.3

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.
package/README.md CHANGED
@@ -30,6 +30,19 @@ Provides strictly typed Drizzle models for the 21 enrichment tables:
30
30
 
31
31
  The pipeline history (14, 15) and the integrity audit's records (19-21) are written by the run itself and carry no audit columns (`created_*` / `updated_*`); every other model carries all four.
32
32
 
33
+ ## Prerequisites
34
+
35
+ - Node.js >= 18.0.0
36
+ - `drizzle-orm` `>=1.0.0-beta.4 <2.0.0` and `@aiquants/enrichment-core` (peer dependencies; every model is built on `drizzle-orm/mssql-core`, the 1.0 MSSQL dialect, and `@aiquants/enrichment-core` itself peers `zod` `^3.25.0`)
37
+
38
+ ## Installation
39
+
40
+ ```bash
41
+ pnpm add @aiquants/enrichment-drizzle @aiquants/enrichment-core 'drizzle-orm@>=1.0.0-beta.4 <2.0.0' 'zod@^3.25.0'
42
+ ```
43
+
44
+ A bare `drizzle-orm` installs the registry's `latest` tag (0.x) and a bare `zod` installs 4.x; both are outside the peer ranges.
45
+
33
46
  ## Vocabulary types
34
47
 
35
48
  The vocabulary columns of the pipeline history and of the integrity audit's records are typed (`$type<>`) with the closed vocabularies of `@aiquants/enrichment-core`, which this package re-exports instead of declaring its own unions:
package/dist/index.d.cts CHANGED
@@ -3055,7 +3055,7 @@ declare const TdIntegrityAuditFinding: drizzle_orm_mssql_core.MsSqlTableWithColu
3055
3055
  name: string;
3056
3056
  tableName: "td_integrity_audit_finding";
3057
3057
  dataType: "string";
3058
- data: "TOMBSTONE" | "AWAITING_SUCCESSOR" | "IN_FLIGHT" | "UNPLACED" | "UNRECORDED" | "UNREFERENCED" | "CHANGED_AFTER_START" | "PIPELINE_FAILED" | "PROJECTION_REFUSED" | "ORPHAN" | "TOMBSTONE_EXPIRED" | "UNPROPAGATED_DELETE" | "STALE_REVISION" | "MISPLACED" | "OUT_OF_TIER" | "UNMARKED_SUPERSEDED" | "FLAG_DRIFT" | "VARIANT_FLAG_DRIFT" | "DETACHED" | "UNKEYED" | "MISSING" | "COUNT_MISMATCH";
3058
+ data: "TOMBSTONE" | "AWAITING_SUCCESSOR" | "IN_FLIGHT" | "UNPLACED" | "UNRECORDED" | "UNREFERENCED" | "CHANGED_AFTER_START" | "PIPELINE_FAILED" | "PROJECTION_REFUSED" | "ORPHAN" | "TOMBSTONE_EXPIRED" | "UNPROPAGATED_DELETE" | "STALE_REVISION" | "MISPLACED" | "OUT_OF_TIER" | "UNMARKED_SUPERSEDED" | "FLAG_DRIFT" | "VARIANT_FLAG_DRIFT" | "DETACHED" | "UNKEYED" | "MISSING" | "COUNT_MISMATCH" | "UNPROJECTED" | "UNKEYED_ENTITY";
3059
3059
  driverParam: string | number;
3060
3060
  notNull: true;
3061
3061
  hasDefault: false;
@@ -3350,7 +3350,7 @@ declare const TdIntegrityAuditQuantity: drizzle_orm_mssql_core.MsSqlTableWithCol
3350
3350
  name: string;
3351
3351
  tableName: "td_integrity_audit_quantity";
3352
3352
  dataType: "string";
3353
- data: "TOMBSTONE" | "AWAITING_SUCCESSOR" | "IN_FLIGHT" | "UNPLACED" | "UNRECORDED" | "UNREFERENCED" | "CHANGED_AFTER_START" | "PIPELINE_FAILED" | "PROJECTION_REFUSED" | "ORPHAN" | "TOMBSTONE_EXPIRED" | "UNPROPAGATED_DELETE" | "STALE_REVISION" | "MISPLACED" | "OUT_OF_TIER" | "UNMARKED_SUPERSEDED" | "FLAG_DRIFT" | "VARIANT_FLAG_DRIFT" | "DETACHED" | "UNKEYED" | "MISSING" | "COUNT_MISMATCH" | "EXPECTED" | "LIVE" | "HISTORY";
3353
+ data: "TOMBSTONE" | "AWAITING_SUCCESSOR" | "IN_FLIGHT" | "UNPLACED" | "UNRECORDED" | "UNREFERENCED" | "CHANGED_AFTER_START" | "PIPELINE_FAILED" | "PROJECTION_REFUSED" | "ORPHAN" | "TOMBSTONE_EXPIRED" | "UNPROPAGATED_DELETE" | "STALE_REVISION" | "MISPLACED" | "OUT_OF_TIER" | "UNMARKED_SUPERSEDED" | "FLAG_DRIFT" | "VARIANT_FLAG_DRIFT" | "DETACHED" | "UNKEYED" | "MISSING" | "COUNT_MISMATCH" | "UNPROJECTED" | "UNKEYED_ENTITY" | "EXPECTED" | "LIVE" | "HISTORY";
3354
3354
  driverParam: string | number;
3355
3355
  notNull: true;
3356
3356
  hasDefault: false;
package/dist/index.d.ts CHANGED
@@ -3055,7 +3055,7 @@ declare const TdIntegrityAuditFinding: drizzle_orm_mssql_core.MsSqlTableWithColu
3055
3055
  name: string;
3056
3056
  tableName: "td_integrity_audit_finding";
3057
3057
  dataType: "string";
3058
- data: "TOMBSTONE" | "AWAITING_SUCCESSOR" | "IN_FLIGHT" | "UNPLACED" | "UNRECORDED" | "UNREFERENCED" | "CHANGED_AFTER_START" | "PIPELINE_FAILED" | "PROJECTION_REFUSED" | "ORPHAN" | "TOMBSTONE_EXPIRED" | "UNPROPAGATED_DELETE" | "STALE_REVISION" | "MISPLACED" | "OUT_OF_TIER" | "UNMARKED_SUPERSEDED" | "FLAG_DRIFT" | "VARIANT_FLAG_DRIFT" | "DETACHED" | "UNKEYED" | "MISSING" | "COUNT_MISMATCH";
3058
+ data: "TOMBSTONE" | "AWAITING_SUCCESSOR" | "IN_FLIGHT" | "UNPLACED" | "UNRECORDED" | "UNREFERENCED" | "CHANGED_AFTER_START" | "PIPELINE_FAILED" | "PROJECTION_REFUSED" | "ORPHAN" | "TOMBSTONE_EXPIRED" | "UNPROPAGATED_DELETE" | "STALE_REVISION" | "MISPLACED" | "OUT_OF_TIER" | "UNMARKED_SUPERSEDED" | "FLAG_DRIFT" | "VARIANT_FLAG_DRIFT" | "DETACHED" | "UNKEYED" | "MISSING" | "COUNT_MISMATCH" | "UNPROJECTED" | "UNKEYED_ENTITY";
3059
3059
  driverParam: string | number;
3060
3060
  notNull: true;
3061
3061
  hasDefault: false;
@@ -3350,7 +3350,7 @@ declare const TdIntegrityAuditQuantity: drizzle_orm_mssql_core.MsSqlTableWithCol
3350
3350
  name: string;
3351
3351
  tableName: "td_integrity_audit_quantity";
3352
3352
  dataType: "string";
3353
- data: "TOMBSTONE" | "AWAITING_SUCCESSOR" | "IN_FLIGHT" | "UNPLACED" | "UNRECORDED" | "UNREFERENCED" | "CHANGED_AFTER_START" | "PIPELINE_FAILED" | "PROJECTION_REFUSED" | "ORPHAN" | "TOMBSTONE_EXPIRED" | "UNPROPAGATED_DELETE" | "STALE_REVISION" | "MISPLACED" | "OUT_OF_TIER" | "UNMARKED_SUPERSEDED" | "FLAG_DRIFT" | "VARIANT_FLAG_DRIFT" | "DETACHED" | "UNKEYED" | "MISSING" | "COUNT_MISMATCH" | "EXPECTED" | "LIVE" | "HISTORY";
3353
+ data: "TOMBSTONE" | "AWAITING_SUCCESSOR" | "IN_FLIGHT" | "UNPLACED" | "UNRECORDED" | "UNREFERENCED" | "CHANGED_AFTER_START" | "PIPELINE_FAILED" | "PROJECTION_REFUSED" | "ORPHAN" | "TOMBSTONE_EXPIRED" | "UNPROPAGATED_DELETE" | "STALE_REVISION" | "MISPLACED" | "OUT_OF_TIER" | "UNMARKED_SUPERSEDED" | "FLAG_DRIFT" | "VARIANT_FLAG_DRIFT" | "DETACHED" | "UNKEYED" | "MISSING" | "COUNT_MISMATCH" | "UNPROJECTED" | "UNKEYED_ENTITY" | "EXPECTED" | "LIVE" | "HISTORY";
3354
3354
  driverParam: string | number;
3355
3355
  notNull: true;
3356
3356
  hasDefault: false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiquants/enrichment-drizzle",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Drizzle ORM (mssql) models and types for storage metadata AI enrichment, chunks, system configurations, and the tri-store integrity audit's records.",
5
5
  "keywords": [
6
6
  "drizzle",
@@ -40,7 +40,7 @@
40
40
  "LICENSE"
41
41
  ],
42
42
  "devDependencies": {
43
- "@aiquants/enrichment-core": "0.3.2",
43
+ "@aiquants/enrichment-core": "0.3.3",
44
44
  "@vitest/coverage-v8": "^4.1.8",
45
45
  "drizzle-orm": "1.0.0-rc.4",
46
46
  "rimraf": "^6.1.2",
@@ -49,7 +49,7 @@
49
49
  "vitest": "^4.1.8"
50
50
  },
51
51
  "peerDependencies": {
52
- "@aiquants/enrichment-core": "^0.3.2",
52
+ "@aiquants/enrichment-core": "^0.3.3",
53
53
  "drizzle-orm": ">=1.0.0-beta.4 <2.0.0"
54
54
  },
55
55
  "engines": {