Skip to content

Commit

Permalink
fix(cwp-template-aws): add PbAcoContext type (#3524)
Browse files Browse the repository at this point in the history
  • Loading branch information
leopuleo committed Sep 13, 2023
1 parent 77a9474 commit 0c0cc97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { FileManagerContext } from "@webiny/api-file-manager/types";
import { FormBuilderContext } from "@webiny/api-form-builder/types";
import { CmsContext } from "@webiny/api-headless-cms/types";
import { AcoContext } from "@webiny/api-aco/types";
import { PbAcoContext } from "@webiny/api-page-builder-aco/types";

// When working with the `context` object (for example while defining a new GraphQL resolver function),
// you can import this interface and assign it to it. This will give you full autocomplete functionality
Expand All @@ -29,4 +30,5 @@ export interface Context
FileManagerContext,
FormBuilderContext,
AcoContext,
PbAcoContext,
CmsContext {}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { FileManagerContext } from "@webiny/api-file-manager/types";
import { FormBuilderContext } from "@webiny/api-form-builder/types";
import { CmsContext } from "@webiny/api-headless-cms/types";
import { AcoContext } from "@webiny/api-aco/types";
import { PbAcoContext } from "@webiny/api-page-builder-aco/types";

// When working with the `context` object (for example while defining a new GraphQL resolver function),
// you can import this interface and assign it to it. This will give you full autocomplete functionality
Expand All @@ -27,4 +28,5 @@ export interface Context
FileManagerContext,
FormBuilderContext,
AcoContext,
PbAcoContext,
CmsContext {}

0 comments on commit 0c0cc97

Please sign in to comment.