@webiny/api-apw 5.39.4 → 5.40.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/plugins/types").Plugin<Record<string, any>> | import("@webiny/plugins/types").PluginFactory | import("@webiny/plugins/types").PluginCollection | import("@webiny/api").ContextPlugin<import("./types").ApwContext> | import("@webiny/handler-graphql").GraphQLSchemaPlugin<import("@webiny/api-mailer/types").MailerContext>)[];
2
+ export declare const createApwPageBuilderContext: (params: CreateApwContextParams) => (import("@webiny/api").ContextPlugin<import("./types").ApwContext> | import("@webiny/plugins/types").Plugin<Record<string, any>> | import("@webiny/plugins/types").PluginCollection | import("@webiny/handler-graphql").GraphQLSchemaPlugin<import("@webiny/api-mailer/types").MailerContext> | import("@webiny/plugins/types").PluginFactory)[];
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.39.4",
3
+ "version": "5.40.0-beta.1",
4
4
  "keywords": [
5
5
  "apw:base"
6
6
  ],
@@ -16,27 +16,27 @@
16
16
  "dependencies": {
17
17
  "@babel/runtime": "7.22.6",
18
18
  "@commodo/fields": "1.1.2-beta.20",
19
- "@webiny/api": "5.39.4",
20
- "@webiny/api-admin-settings": "5.39.4",
21
- "@webiny/api-headless-cms": "5.39.4",
22
- "@webiny/api-i18n": "5.39.4",
23
- "@webiny/api-mailer": "5.39.4",
24
- "@webiny/api-page-builder": "5.39.4",
25
- "@webiny/api-security": "5.39.4",
26
- "@webiny/api-tenancy": "5.39.4",
27
- "@webiny/api-wcp": "5.39.4",
28
- "@webiny/aws-sdk": "5.39.4",
29
- "@webiny/db-dynamodb": "5.39.4",
30
- "@webiny/error": "5.39.4",
31
- "@webiny/handler": "5.39.4",
32
- "@webiny/handler-client": "5.39.4",
33
- "@webiny/handler-db": "5.39.4",
34
- "@webiny/handler-graphql": "5.39.4",
35
- "@webiny/handler-logs": "5.39.4",
36
- "@webiny/plugins": "5.39.4",
37
- "@webiny/pubsub": "5.39.4",
38
- "@webiny/utils": "5.39.4",
39
- "@webiny/validation": "5.39.4",
19
+ "@webiny/api": "5.40.0-beta.1",
20
+ "@webiny/api-admin-settings": "5.40.0-beta.1",
21
+ "@webiny/api-headless-cms": "5.40.0-beta.1",
22
+ "@webiny/api-i18n": "5.40.0-beta.1",
23
+ "@webiny/api-mailer": "5.40.0-beta.1",
24
+ "@webiny/api-page-builder": "5.40.0-beta.1",
25
+ "@webiny/api-security": "5.40.0-beta.1",
26
+ "@webiny/api-tenancy": "5.40.0-beta.1",
27
+ "@webiny/api-wcp": "5.40.0-beta.1",
28
+ "@webiny/aws-sdk": "5.40.0-beta.1",
29
+ "@webiny/db-dynamodb": "5.40.0-beta.1",
30
+ "@webiny/error": "5.40.0-beta.1",
31
+ "@webiny/handler": "5.40.0-beta.1",
32
+ "@webiny/handler-client": "5.40.0-beta.1",
33
+ "@webiny/handler-db": "5.40.0-beta.1",
34
+ "@webiny/handler-graphql": "5.40.0-beta.1",
35
+ "@webiny/handler-logs": "5.40.0-beta.1",
36
+ "@webiny/plugins": "5.40.0-beta.1",
37
+ "@webiny/pubsub": "5.40.0-beta.1",
38
+ "@webiny/utils": "5.40.0-beta.1",
39
+ "@webiny/validation": "5.40.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.39.4",
48
- "@webiny/handler-aws": "5.39.4",
49
- "@webiny/project-utils": "5.39.4",
50
- "@webiny/wcp": "5.39.4",
47
+ "@webiny/cli": "5.40.0-beta.1",
48
+ "@webiny/handler-aws": "5.40.0-beta.1",
49
+ "@webiny/project-utils": "5.40.0-beta.1",
50
+ "@webiny/wcp": "5.40.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": "e3eb846a11cecc35882c84879464dfa2706cfcd9"
68
+ "gitHead": "cadaa7aa80ddff01df7ecb3b356f2be9432e14e0"
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) => (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>)[];
12
+ export declare const executeActionHandlerPlugins: (config: Configuration) => ((import("@webiny/db-dynamodb/plugins/definitions/ValueFilterPlugin").ValueFilterPlugin[][] | import("@webiny/handler").HandlerResultPlugin<import("@webiny/handler/types").Context> | ContextPlugin<import("@webiny/handler-db/types").DbContext>[])[] | import("@webiny/handler-aws").RawEventHandler<HandlerArgs, import("@webiny/handler/types").Context, any> | ContextPlugin<import("@webiny/api/types").Context>)[];
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/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>)[];
22
+ export declare const scheduleActionHandlerPlugins: (config: Configuration) => ((import("@webiny/db-dynamodb/plugins/definitions/ValueFilterPlugin").ValueFilterPlugin[][] | import("@webiny/handler").HandlerResultPlugin<import("@webiny/handler/types").Context> | import("@webiny/api").ContextPlugin<import("@webiny/handler-db/types").DbContext>[])[] | import("@webiny/handler-aws").RawEventHandler<HandlerArgs, import("@webiny/handler/types").Context, any>)[];
@@ -18,7 +18,7 @@ export declare const encodeToken: ({ id, tenant, locale }: EncodeTokenParams) =>
18
18
  export declare const TOKEN_PREFIX = "apw-";
19
19
  export declare const decodeToken: (token: string) => Partial<EncodeTokenParams>;
20
20
  export declare const documentClient: import("@webiny/aws-sdk/client-dynamodb").DynamoDBDocument;
21
- 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>[])[];
21
+ export declare const basePlugins: () => (import("@webiny/db-dynamodb/plugins/definitions/ValueFilterPlugin").ValueFilterPlugin[][] | import("@webiny/handler").HandlerResultPlugin<import("@webiny/handler/types").Context> | import("@webiny/api").ContextPlugin<import("@webiny/handler-db/types").DbContext>[])[];
22
22
  /**
23
23
  * Get APW settings record from DDB.
24
24
  */
@@ -1,3 +1,3 @@
1
1
  import { Response, ErrorResponse } from "@webiny/handler-graphql";
2
- declare const _default: (fn: () => Promise<any>) => Promise<ErrorResponse | Response<any>>;
2
+ declare const _default: (fn: () => Promise<any>) => Promise<Response<any> | ErrorResponse>;
3
3
  export default _default;