@webiny/api-websockets 5.43.2 → 6.0.0-alpha.0

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.
@@ -3,5 +3,5 @@ export declare const emptyResolver: () => {};
3
3
  interface ResolveCallable<T = any> {
4
4
  (): Promise<T>;
5
5
  }
6
- export declare const resolve: <T = any>(fn: ResolveCallable<T>) => Promise<Response<T> | ErrorResponse>;
6
+ export declare const resolve: <T = any>(fn: ResolveCallable<T>) => Promise<ErrorResponse | Response<T>>;
7
7
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api-websockets",
3
- "version": "5.43.2",
3
+ "version": "6.0.0-alpha.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,26 +12,26 @@
12
12
  ],
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@webiny/api": "5.43.2",
16
- "@webiny/api-i18n": "5.43.2",
17
- "@webiny/api-security": "5.43.2",
18
- "@webiny/api-tenancy": "5.43.2",
19
- "@webiny/aws-sdk": "5.43.2",
20
- "@webiny/db-dynamodb": "5.43.2",
21
- "@webiny/error": "5.43.2",
22
- "@webiny/handler": "5.43.2",
23
- "@webiny/handler-aws": "5.43.2",
24
- "@webiny/plugins": "5.43.2",
25
- "@webiny/utils": "5.43.2",
15
+ "@webiny/api": "6.0.0-alpha.0",
16
+ "@webiny/api-i18n": "6.0.0-alpha.0",
17
+ "@webiny/api-security": "6.0.0-alpha.0",
18
+ "@webiny/api-tenancy": "6.0.0-alpha.0",
19
+ "@webiny/aws-sdk": "6.0.0-alpha.0",
20
+ "@webiny/db-dynamodb": "6.0.0-alpha.0",
21
+ "@webiny/error": "6.0.0-alpha.0",
22
+ "@webiny/handler": "6.0.0-alpha.0",
23
+ "@webiny/handler-aws": "6.0.0-alpha.0",
24
+ "@webiny/plugins": "6.0.0-alpha.0",
25
+ "@webiny/utils": "6.0.0-alpha.0",
26
26
  "type-fest": "4.14.0",
27
27
  "zod": "3.23.8"
28
28
  },
29
29
  "devDependencies": {
30
- "@webiny/api-headless-cms": "5.43.2",
31
- "@webiny/api-wcp": "5.43.2",
32
- "@webiny/handler-db": "5.43.2",
33
- "@webiny/handler-graphql": "5.43.2",
34
- "@webiny/project-utils": "5.43.2",
30
+ "@webiny/api-headless-cms": "6.0.0-alpha.0",
31
+ "@webiny/api-wcp": "6.0.0-alpha.0",
32
+ "@webiny/handler-db": "6.0.0-alpha.0",
33
+ "@webiny/handler-graphql": "6.0.0-alpha.0",
34
+ "@webiny/project-utils": "6.0.0-alpha.0",
35
35
  "graphql": "15.9.0",
36
36
  "rimraf": "6.0.1",
37
37
  "typescript": "5.3.3"
@@ -44,5 +44,5 @@
44
44
  "build": "node ../cli/bin.js run build",
45
45
  "watch": "node ../cli/bin.js run watch"
46
46
  },
47
- "gitHead": "ec6176f001f6350221d992981e110a0351addbaf"
47
+ "gitHead": "a5b28fed7a242d8f56712197a8ea83aa6d2ed101"
48
48
  }
@@ -85,11 +85,11 @@ export declare const createEntity: (documentClient: DynamoDBDocument) => Entity<
85
85
  GSI2_PK?: string | undefined;
86
86
  GSI2_SK?: string | undefined;
87
87
  TYPE?: string | undefined;
88
- PK: any;
89
- SK: any;
90
88
  created: string;
91
89
  modified: string;
92
90
  entity: string;
91
+ PK: any;
92
+ SK: any;
93
93
  }, {
94
94
  data?: any;
95
95
  GSI1_PK?: string | undefined;
@@ -97,11 +97,11 @@ export declare const createEntity: (documentClient: DynamoDBDocument) => Entity<
97
97
  GSI2_PK?: string | undefined;
98
98
  GSI2_SK?: string | undefined;
99
99
  TYPE?: string | undefined;
100
- PK: any;
101
- SK: any;
102
100
  created: string;
103
101
  modified: string;
104
102
  entity: string;
103
+ PK: any;
104
+ SK: any;
105
105
  }, {
106
106
  PK: any;
107
107
  SK: any;