@webiny/api-apw 5.36.0 → 5.36.1-beta.0

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/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>)[];
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.36.0",
3
+ "version": "5.36.1-beta.0",
4
4
  "keywords": [
5
5
  "apw:base"
6
6
  ],
@@ -17,27 +17,27 @@
17
17
  "@aws-sdk/client-cloudwatch-events": "3.54.1",
18
18
  "@babel/runtime": "7.20.13",
19
19
  "@commodo/fields": "1.1.2-beta.20",
20
- "@webiny/api": "5.36.0",
21
- "@webiny/api-admin-settings": "5.36.0",
22
- "@webiny/api-headless-cms": "5.36.0",
23
- "@webiny/api-i18n": "5.36.0",
24
- "@webiny/api-i18n-ddb": "5.36.0",
25
- "@webiny/api-mailer": "5.36.0",
26
- "@webiny/api-page-builder": "5.36.0",
27
- "@webiny/api-security": "5.36.0",
28
- "@webiny/api-tenancy": "5.36.0",
29
- "@webiny/api-wcp": "5.36.0",
30
- "@webiny/db-dynamodb": "5.36.0",
31
- "@webiny/error": "5.36.0",
32
- "@webiny/handler": "5.36.0",
33
- "@webiny/handler-client": "5.36.0",
34
- "@webiny/handler-db": "5.36.0",
35
- "@webiny/handler-graphql": "5.36.0",
36
- "@webiny/handler-logs": "5.36.0",
37
- "@webiny/plugins": "5.36.0",
38
- "@webiny/pubsub": "5.36.0",
39
- "@webiny/utils": "5.36.0",
40
- "@webiny/validation": "5.36.0",
20
+ "@webiny/api": "5.36.1-beta.0",
21
+ "@webiny/api-admin-settings": "5.36.1-beta.0",
22
+ "@webiny/api-headless-cms": "5.36.1-beta.0",
23
+ "@webiny/api-i18n": "5.36.1-beta.0",
24
+ "@webiny/api-i18n-ddb": "5.36.1-beta.0",
25
+ "@webiny/api-mailer": "5.36.1-beta.0",
26
+ "@webiny/api-page-builder": "5.36.1-beta.0",
27
+ "@webiny/api-security": "5.36.1-beta.0",
28
+ "@webiny/api-tenancy": "5.36.1-beta.0",
29
+ "@webiny/api-wcp": "5.36.1-beta.0",
30
+ "@webiny/db-dynamodb": "5.36.1-beta.0",
31
+ "@webiny/error": "5.36.1-beta.0",
32
+ "@webiny/handler": "5.36.1-beta.0",
33
+ "@webiny/handler-client": "5.36.1-beta.0",
34
+ "@webiny/handler-db": "5.36.1-beta.0",
35
+ "@webiny/handler-graphql": "5.36.1-beta.0",
36
+ "@webiny/handler-logs": "5.36.1-beta.0",
37
+ "@webiny/plugins": "5.36.1-beta.0",
38
+ "@webiny/pubsub": "5.36.1-beta.0",
39
+ "@webiny/utils": "5.36.1-beta.0",
40
+ "@webiny/validation": "5.36.1-beta.0",
41
41
  "dayjs": "1.11.7",
42
42
  "lodash": "4.17.21"
43
43
  },
@@ -45,14 +45,14 @@
45
45
  "@babel/cli": "7.20.7",
46
46
  "@babel/core": "7.20.12",
47
47
  "@babel/preset-env": "7.20.2",
48
- "@webiny/api-headless-cms-ddb": "5.36.0",
49
- "@webiny/api-page-builder-so-ddb": "5.36.0",
50
- "@webiny/api-security-so-ddb": "5.36.0",
51
- "@webiny/api-tenancy-so-ddb": "5.36.0",
52
- "@webiny/cli": "5.36.0",
53
- "@webiny/handler-aws": "5.36.0",
54
- "@webiny/project-utils": "5.36.0",
55
- "@webiny/wcp": "5.36.0",
48
+ "@webiny/api-headless-cms-ddb": "5.36.1-beta.0",
49
+ "@webiny/api-page-builder-so-ddb": "5.36.1-beta.0",
50
+ "@webiny/api-security-so-ddb": "5.36.1-beta.0",
51
+ "@webiny/api-tenancy-so-ddb": "5.36.1-beta.0",
52
+ "@webiny/cli": "5.36.1-beta.0",
53
+ "@webiny/handler-aws": "5.36.1-beta.0",
54
+ "@webiny/project-utils": "5.36.1-beta.0",
55
+ "@webiny/wcp": "5.36.1-beta.0",
56
56
  "get-yarn-workspaces": "1.0.2",
57
57
  "graphql": "15.8.0",
58
58
  "jest": "28.1.3",
@@ -70,5 +70,5 @@
70
70
  "build": "yarn webiny run build",
71
71
  "watch": "yarn webiny run watch"
72
72
  },
73
- "gitHead": "5c435f437b9f0fe8b4dbf65528aed985ee8d0ff1"
73
+ "gitHead": "5c0feb9439367d0e20b2e3bfd4828d0e6e9d9ef0"
74
74
  }
@@ -9,5 +9,5 @@ export interface HandlerArgs {
9
9
  interface Configuration {
10
10
  storageOperations: ApwScheduleActionStorageOperations;
11
11
  }
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>)[];
12
+ export declare const executeActionHandlerPlugins: (config: Configuration) => ((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> | 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/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>)[];
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/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
+ 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
  */
@@ -1,3 +1,3 @@
1
1
  import { Response, ErrorResponse } from "@webiny/handler-graphql";
2
- declare const _default: (fn: () => Promise<any>) => Promise<Response<any> | ErrorResponse>;
2
+ declare const _default: (fn: () => Promise<any>) => Promise<ErrorResponse | Response<any>>;
3
3
  export default _default;