orchid-orm 1.6.11 → 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 +4 -0
  2. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -251,6 +251,8 @@ 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;
255
+ domain(this: ColumnTypesBase, dataType: string): pqb.DomainColumn;
254
256
  primaryKey(columns: string[], options?: {
255
257
  name?: string | undefined;
256
258
  } | undefined): {};
@@ -361,6 +363,8 @@ declare const createBaseTable: <CT extends ColumnTypesBase>(options?: {
361
363
  }) => Type)): pqb.JSONColumn<Type>;
362
364
  jsonText(this: ColumnTypesBase): pqb.JSONTextColumn;
363
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;
367
+ domain(this: ColumnTypesBase, dataType: string): pqb.DomainColumn;
364
368
  primaryKey(columns: string[], options?: {
365
369
  name?: string | undefined;
366
370
  } | undefined): {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orchid-orm",
3
- "version": "1.6.11",
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": {
@@ -44,14 +44,14 @@
44
44
  "author": "Roman Kushyn",
45
45
  "license": "ISC",
46
46
  "dependencies": {
47
- "orchid-core": "0.1.3",
48
- "pqb": "0.10.7",
47
+ "orchid-core": "0.1.4",
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.7",
54
- "rake-db": "2.4.8"
53
+ "orchid-orm-schema-to-zod": "0.3.9",
54
+ "rake-db": "2.4.10"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "typescript": "*"