@blitznocode/blitz-orm 0.4.1 → 0.4.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -250,7 +250,7 @@ type TQLEntityMutation = {
250
250
  type BQLResponseSingle = (({
251
251
  $entity: string;
252
252
  $id: string;
253
- } | undefined) & Record<string, any>) | string | null;
253
+ } | undefined) & Record<string, any>) | null;
254
254
  type BQLResponseMulti = BQLResponseSingle[];
255
255
  type BQLResponse = BQLResponseSingle | BQLResponseMulti;
256
256
 
@@ -268,7 +268,7 @@ declare class BormClient {
268
268
  introspect: () => Promise<BormSchema>;
269
269
  define: () => Promise<void>;
270
270
  query: (query: RawBQLQuery, queryConfig?: any) => Promise<void | BQLResponse>;
271
- mutate: (mutation: RawBQLMutation | RawBQLMutation[], mutationConfig?: any) => Promise<BQLResponseMulti>;
271
+ mutate: (mutation: RawBQLMutation | RawBQLMutation[], mutationConfig?: any) => Promise<void | BQLResponse>;
272
272
  close: () => Promise<void>;
273
273
  }
274
274
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blitznocode/blitz-orm",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "private": false,