@webiny/api-apw 5.38.0-beta.0 → 5.38.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
package/index.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
import { CreateApwContextParams } from "./scheduler/types";
|
2
|
-
export declare const createApwPageBuilderContext: (params: CreateApwContextParams) => (import("@webiny/
|
2
|
+
export declare const createApwPageBuilderContext: (params: CreateApwContextParams) => (import("@webiny/plugins/types").Plugin<Record<string, any>> | import("@webiny/plugins/types").PluginCollection | import("@webiny/api").ContextPlugin<import("./types").ApwContext> | import("@webiny/handler-graphql").GraphQLSchemaPlugin<import("@webiny/api-mailer/types").MailerContext>)[];
|
3
3
|
export declare const createApwGraphQL: () => import("@webiny/api").ContextPlugin<import("./types").ApwContext>[];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@webiny/api-apw",
|
3
|
-
"version": "5.38.0-beta.
|
3
|
+
"version": "5.38.0-beta.1",
|
4
4
|
"keywords": [
|
5
5
|
"apw:base"
|
6
6
|
],
|
@@ -17,26 +17,26 @@
|
|
17
17
|
"@aws-sdk/client-cloudwatch-events": "3.54.1",
|
18
18
|
"@babel/runtime": "7.22.6",
|
19
19
|
"@commodo/fields": "1.1.2-beta.20",
|
20
|
-
"@webiny/api": "5.38.0-beta.
|
21
|
-
"@webiny/api-admin-settings": "5.38.0-beta.
|
22
|
-
"@webiny/api-headless-cms": "5.38.0-beta.
|
23
|
-
"@webiny/api-i18n": "5.38.0-beta.
|
24
|
-
"@webiny/api-mailer": "5.38.0-beta.
|
25
|
-
"@webiny/api-page-builder": "5.38.0-beta.
|
26
|
-
"@webiny/api-security": "5.38.0-beta.
|
27
|
-
"@webiny/api-tenancy": "5.38.0-beta.
|
28
|
-
"@webiny/api-wcp": "5.38.0-beta.
|
29
|
-
"@webiny/db-dynamodb": "5.38.0-beta.
|
30
|
-
"@webiny/error": "5.38.0-beta.
|
31
|
-
"@webiny/handler": "5.38.0-beta.
|
32
|
-
"@webiny/handler-client": "5.38.0-beta.
|
33
|
-
"@webiny/handler-db": "5.38.0-beta.
|
34
|
-
"@webiny/handler-graphql": "5.38.0-beta.
|
35
|
-
"@webiny/handler-logs": "5.38.0-beta.
|
36
|
-
"@webiny/plugins": "5.38.0-beta.
|
37
|
-
"@webiny/pubsub": "5.38.0-beta.
|
38
|
-
"@webiny/utils": "5.38.0-beta.
|
39
|
-
"@webiny/validation": "5.38.0-beta.
|
20
|
+
"@webiny/api": "5.38.0-beta.1",
|
21
|
+
"@webiny/api-admin-settings": "5.38.0-beta.1",
|
22
|
+
"@webiny/api-headless-cms": "5.38.0-beta.1",
|
23
|
+
"@webiny/api-i18n": "5.38.0-beta.1",
|
24
|
+
"@webiny/api-mailer": "5.38.0-beta.1",
|
25
|
+
"@webiny/api-page-builder": "5.38.0-beta.1",
|
26
|
+
"@webiny/api-security": "5.38.0-beta.1",
|
27
|
+
"@webiny/api-tenancy": "5.38.0-beta.1",
|
28
|
+
"@webiny/api-wcp": "5.38.0-beta.1",
|
29
|
+
"@webiny/db-dynamodb": "5.38.0-beta.1",
|
30
|
+
"@webiny/error": "5.38.0-beta.1",
|
31
|
+
"@webiny/handler": "5.38.0-beta.1",
|
32
|
+
"@webiny/handler-client": "5.38.0-beta.1",
|
33
|
+
"@webiny/handler-db": "5.38.0-beta.1",
|
34
|
+
"@webiny/handler-graphql": "5.38.0-beta.1",
|
35
|
+
"@webiny/handler-logs": "5.38.0-beta.1",
|
36
|
+
"@webiny/plugins": "5.38.0-beta.1",
|
37
|
+
"@webiny/pubsub": "5.38.0-beta.1",
|
38
|
+
"@webiny/utils": "5.38.0-beta.1",
|
39
|
+
"@webiny/validation": "5.38.0-beta.1",
|
40
40
|
"dayjs": "1.11.7",
|
41
41
|
"lodash": "4.17.21"
|
42
42
|
},
|
@@ -44,10 +44,10 @@
|
|
44
44
|
"@babel/cli": "7.22.6",
|
45
45
|
"@babel/core": "7.22.8",
|
46
46
|
"@babel/preset-env": "7.22.7",
|
47
|
-
"@webiny/cli": "5.38.0-beta.
|
48
|
-
"@webiny/handler-aws": "5.38.0-beta.
|
49
|
-
"@webiny/project-utils": "5.38.0-beta.
|
50
|
-
"@webiny/wcp": "5.38.0-beta.
|
47
|
+
"@webiny/cli": "5.38.0-beta.1",
|
48
|
+
"@webiny/handler-aws": "5.38.0-beta.1",
|
49
|
+
"@webiny/project-utils": "5.38.0-beta.1",
|
50
|
+
"@webiny/wcp": "5.38.0-beta.1",
|
51
51
|
"get-yarn-workspaces": "1.0.2",
|
52
52
|
"graphql": "15.8.0",
|
53
53
|
"jest": "29.5.0",
|
@@ -65,5 +65,5 @@
|
|
65
65
|
"build": "yarn webiny run build",
|
66
66
|
"watch": "yarn webiny run watch"
|
67
67
|
},
|
68
|
-
"gitHead": "
|
68
|
+
"gitHead": "6daf38d3ed0c029a8fea005c2b6246e5b325a09c"
|
69
69
|
}
|
@@ -9,5 +9,5 @@ export interface HandlerArgs {
|
|
9
9
|
interface Configuration {
|
10
10
|
storageOperations: ApwScheduleActionStorageOperations;
|
11
11
|
}
|
12
|
-
export declare const executeActionHandlerPlugins: (config: Configuration) => (
|
12
|
+
export declare const executeActionHandlerPlugins: (config: Configuration) => (ContextPlugin<import("@webiny/api/types").Context> | (import("@webiny/handler").HandlerResultPlugin<import("@webiny/handler/types").Context> | import("@webiny/db-dynamodb/plugins/definitions/ValueFilterPlugin").ValueFilterPlugin[][] | ContextPlugin<import("@webiny/handler-db/types").DbContext>[])[] | import("@webiny/handler-aws").RawEventHandler<HandlerArgs, import("@webiny/handler/types").Context, any>)[];
|
13
13
|
export {};
|
@@ -19,4 +19,4 @@ export interface Configuration {
|
|
19
19
|
executeAction: string;
|
20
20
|
};
|
21
21
|
}
|
22
|
-
export declare const scheduleActionHandlerPlugins: (config: Configuration) => ((import("@webiny/
|
22
|
+
export declare const scheduleActionHandlerPlugins: (config: Configuration) => ((import("@webiny/handler").HandlerResultPlugin<import("@webiny/handler/types").Context> | import("@webiny/db-dynamodb/plugins/definitions/ValueFilterPlugin").ValueFilterPlugin[][] | import("@webiny/api").ContextPlugin<import("@webiny/handler-db/types").DbContext>[])[] | import("@webiny/handler-aws").RawEventHandler<HandlerArgs, import("@webiny/handler/types").Context, any>)[];
|
@@ -19,7 +19,7 @@ export declare const encodeToken: ({ id, tenant, locale }: EncodeTokenParams) =>
|
|
19
19
|
export declare const TOKEN_PREFIX = "apw-";
|
20
20
|
export declare const decodeToken: (token: string) => Partial<EncodeTokenParams>;
|
21
21
|
export declare const documentClient: DocumentClient;
|
22
|
-
export declare const basePlugins: () => (import("@webiny/
|
22
|
+
export declare const basePlugins: () => (import("@webiny/handler").HandlerResultPlugin<import("@webiny/handler/types").Context> | import("@webiny/db-dynamodb/plugins/definitions/ValueFilterPlugin").ValueFilterPlugin[][] | import("@webiny/api").ContextPlugin<import("@webiny/handler-db/types").DbContext>[])[];
|
23
23
|
/**
|
24
24
|
* Get APW settings record from DDB.
|
25
25
|
*/
|
package/utils/resolve.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
import { Response, ErrorResponse } from "@webiny/handler-graphql";
|
2
|
-
declare const _default: (fn: () => Promise<any>) => Promise<Response<any
|
2
|
+
declare const _default: (fn: () => Promise<any>) => Promise<ErrorResponse | Response<any>>;
|
3
3
|
export default _default;
|