orchid-orm 1.21.1 → 1.21.2

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/dist/index.d.ts CHANGED
@@ -540,6 +540,7 @@ interface BaseTableInstance<ColumnTypes> {
540
540
  interface BaseTableClass<SchemaConfig extends ColumnSchemaConfig, ColumnTypes> {
541
541
  nowSQL: string | undefined;
542
542
  exportAs: string;
543
+ columnTypes: ColumnTypes;
543
544
  getFilePath(): string;
544
545
  new (): BaseTableInstance<ColumnTypes>;
545
546
  instance(): BaseTableInstance<ColumnTypes>;
package/dist/index.js CHANGED
@@ -121,7 +121,7 @@ function createBaseTable({
121
121
  options
122
122
  };
123
123
  }
124
- }, _a.nowSQL = nowSQL, _a.exportAs = exportAs, _a);
124
+ }, _a.nowSQL = nowSQL, _a.exportAs = exportAs, _a.columnTypes = columnTypes, _a);
125
125
  orchidCore.applyMixins(base, [pqb.QueryHooks]);
126
126
  base.prototype.types = columnTypes;
127
127
  return base;