@blitznocode/blitz-orm 0.4.5 → 0.4.6

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 +7 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -270,6 +270,13 @@ declare class BormClient {
270
270
  init: () => Promise<void>;
271
271
  introspect: () => Promise<BormSchema>;
272
272
  define: () => Promise<void>;
273
+ query<T extends Record<string, any>>(query: RawBQLQuery & {
274
+ $filter: Record<string, any>;
275
+ } & ({
276
+ $entity: string;
277
+ } | {
278
+ $relation: string;
279
+ }), queryConfig?: any): Promise<(BQLResponseSingle & T)[] | (BQLResponseSingle & T)>;
273
280
  query<T extends Record<string, any>>(query: RawBQLQuery & {
274
281
  $id: string;
275
282
  }, queryConfig?: any): Promise<BQLResponseSingle & T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blitznocode/blitz-orm",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "private": false,