@webiny/db 5.40.6 → 5.41.0-beta.1

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/index.d.ts +4 -4
  2. package/package.json +5 -5
package/index.d.ts CHANGED
@@ -24,7 +24,7 @@ export interface Args {
24
24
  query?: Record<string, any>;
25
25
  keys?: Key[];
26
26
  }
27
- export declare type Result<T = any> = [T, Record<string, any>];
27
+ export type Result<T = any> = [T, Record<string, any>];
28
28
  export interface DbDriver {
29
29
  create: (args: Args) => Promise<Result<true>>;
30
30
  read: <T = Record<string, any>>(args: Args) => Promise<Result<T[]>>;
@@ -40,9 +40,9 @@ export interface DbDriver {
40
40
  table: string;
41
41
  }) => Promise<Result<T[]>>;
42
42
  }
43
- export declare type OperationType = "create" | "read" | "update" | "delete";
44
- export declare type Operation = [OperationType, Args];
45
- export declare type ConstructorArgs = {
43
+ export type OperationType = "create" | "read" | "update" | "delete";
44
+ export type Operation = [OperationType, Args];
45
+ export type ConstructorArgs = {
46
46
  driver: DbDriver;
47
47
  table?: string;
48
48
  logTable?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/db",
3
- "version": "5.40.6",
3
+ "version": "5.41.0-beta.1",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,14 +15,14 @@
15
15
  "devDependencies": {
16
16
  "@babel/cli": "7.24.1",
17
17
  "@babel/core": "7.24.3",
18
- "@webiny/cli": "5.40.6",
19
- "@webiny/project-utils": "5.40.6",
18
+ "@webiny/cli": "5.41.0-beta.1",
19
+ "@webiny/project-utils": "5.41.0-beta.1",
20
20
  "rimraf": "5.0.5",
21
- "typescript": "4.7.4"
21
+ "typescript": "4.9.5"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "yarn webiny run build",
25
25
  "watch": "yarn webiny run watch"
26
26
  },
27
- "gitHead": "f9da84b373e62f9f269599c4301e5e4418a98d51"
27
+ "gitHead": "2035c6fdbac9f52545b5024a381bc568c66ca899"
28
28
  }