orchid-orm 1.6.12 → 1.6.13

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
@@ -251,6 +251,7 @@ declare const createBaseTable: <CT extends ColumnTypesBase>(options?: {
251
251
  }) => Type)): pqb.JSONColumn<Type>;
252
252
  jsonText(this: ColumnTypesBase): pqb.JSONTextColumn;
253
253
  array<Item extends pqb.ColumnType<unknown, orchid_core.BaseOperators, unknown>>(this: ColumnTypesBase, item: Item): pqb.ArrayColumn<Item>;
254
+ type(this: ColumnTypesBase, dataType: string): pqb.CustomTypeColumn;
254
255
  domain(this: ColumnTypesBase, dataType: string): pqb.DomainColumn;
255
256
  primaryKey(columns: string[], options?: {
256
257
  name?: string | undefined;
@@ -362,6 +363,7 @@ declare const createBaseTable: <CT extends ColumnTypesBase>(options?: {
362
363
  }) => Type)): pqb.JSONColumn<Type>;
363
364
  jsonText(this: ColumnTypesBase): pqb.JSONTextColumn;
364
365
  array<Item extends pqb.ColumnType<unknown, orchid_core.BaseOperators, unknown>>(this: ColumnTypesBase, item: Item): pqb.ArrayColumn<Item>;
366
+ type(this: ColumnTypesBase, dataType: string): pqb.CustomTypeColumn;
365
367
  domain(this: ColumnTypesBase, dataType: string): pqb.DomainColumn;
366
368
  primaryKey(columns: string[], options?: {
367
369
  name?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orchid-orm",
3
- "version": "1.6.12",
3
+ "version": "1.6.13",
4
4
  "description": "Postgres ORM",
5
5
  "homepage": "https://orchid-orm.netlify.app/guide/orm-setup-and-overview.html",
6
6
  "repository": {
@@ -45,13 +45,13 @@
45
45
  "license": "ISC",
46
46
  "dependencies": {
47
47
  "orchid-core": "0.1.4",
48
- "pqb": "0.10.8",
48
+ "pqb": "0.10.9",
49
49
  "prompts": "^2.4.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/prompts": "^2.4.2",
53
- "orchid-orm-schema-to-zod": "0.3.8",
54
- "rake-db": "2.4.9"
53
+ "orchid-orm-schema-to-zod": "0.3.9",
54
+ "rake-db": "2.4.10"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "typescript": "*"