orchid-orm 1.5.38 → 1.5.39

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.d.ts +2 -0
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -150,6 +150,7 @@ declare const createBaseTable: <CT extends ColumnTypesBase>(options?: {
150
150
  columns: TableConfig;
151
151
  schema?: string | undefined;
152
152
  columnTypes: ColumnTypesBase extends CT ? {
153
+ raw: (sql: string, values?: false | Record<string, unknown> | undefined) => pqb.RawExpression<pqb.ColumnTypeBase<unknown, pqb.BaseOperators, unknown, pqb.ColumnDataBase>>;
153
154
  smallint: () => pqb.SmallIntColumn;
154
155
  integer: () => pqb.IntegerColumn;
155
156
  bigint: () => pqb.BigIntColumn;
@@ -246,6 +247,7 @@ declare const createBaseTable: <CT extends ColumnTypesBase>(options?: {
246
247
  } : CT;
247
248
  noPrimaryKey?: boolean | undefined;
248
249
  setColumns: <T_15 extends ColumnsShape>(fn: (t: ColumnTypesBase extends CT ? {
250
+ raw: (sql: string, values?: false | Record<string, unknown> | undefined) => pqb.RawExpression<pqb.ColumnTypeBase<unknown, pqb.BaseOperators, unknown, pqb.ColumnDataBase>>;
249
251
  smallint: () => pqb.SmallIntColumn;
250
252
  integer: () => pqb.IntegerColumn;
251
253
  bigint: () => pqb.BigIntColumn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orchid-orm",
3
- "version": "1.5.38",
3
+ "version": "1.5.39",
4
4
  "description": "Postgres ORM",
5
5
  "homepage": "https://orchid-orm.netlify.app/guide/orm-setup-and-overview.html",
6
6
  "repository": {
@@ -44,13 +44,13 @@
44
44
  "author": "Roman Kushyn",
45
45
  "license": "ISC",
46
46
  "dependencies": {
47
- "pqb": "0.9.26",
47
+ "pqb": "0.9.27",
48
48
  "prompts": "^2.4.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/prompts": "^2.4.2",
52
- "orchid-orm-schema-to-zod": "0.2.32",
53
- "rake-db": "2.3.42"
52
+ "orchid-orm-schema-to-zod": "0.2.33",
53
+ "rake-db": "2.3.43"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "typescript": "*"