WHAT YOU'LL LEARN
  • What use cases are available in webiny/api/website-builder/page?
  • Which event handlers can you implement?
  • How to import and use each exported item?

Overview
anchor

This page documents everything exported from webiny/api/website-builder/page. Import any of the items below directly from this path in your Webiny extensions.

Use Cases

Event Handlers

Use Cases
anchor

CreatePageRevisionFromUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface CreatePageRevisionFromUseCase.Interface:

Types:

CreatePageUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface CreatePageUseCase.Interface:

Types:

DeletePageUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface DeletePageUseCase.Interface:

Types:

DuplicatePageUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface DuplicatePageUseCase.Interface:

Types:

GetPageByIdUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface GetPageByIdUseCase.Interface:

GetPageById use case interface

Types:

GetPageByPathUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface GetPageByPathUseCase.Interface:

GetPageByPath use case interface

Types:

GetPageRevisionsUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface GetPageRevisionsUseCase.Interface:

GetPageRevisions use case interface

Types:

ListPagesUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface ListPagesUseCase.Interface:

ListPages use case interface

Types:

MovePageUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface MovePageUseCase.Interface:

Types:

PublishPageUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface PublishPageUseCase.Interface:

Types:

UnpublishPageUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface UnpublishPageUseCase.Interface:

Types:

UpdatePageUseCase
anchor

Use Case Abstraction — imported from webiny/api/website-builder/page

Interface UpdatePageUseCase.Interface:

Types:

Event Handlers
anchor

PageAfterCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageAfterCreateEventHandler.Interface:

Event payload PageAfterCreatePayload:

Types:

PageAfterCreateRevisionFromEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageAfterCreateRevisionFromEventHandler.Interface:

Event payload PageAfterCreateRevisionFromPayload:

Types:

PageAfterDeleteEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageAfterDeleteEventHandler.Interface:

Event payload PageAfterDeletePayload:

Types:

PageAfterDuplicateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageAfterDuplicateEventHandler.Interface:

Event payload PageAfterDuplicatePayload:

Types:

PageAfterMoveEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageAfterMoveEventHandler.Interface:

Event payload PageAfterMovePayload:

Types:

PageAfterPublishEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageAfterPublishEventHandler.Interface:

Event payload PageAfterPublishPayload:

Types:

PageAfterUnpublishEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageAfterUnpublishEventHandler.Interface:

Event payload PageAfterUnpublishPayload:

Types:

PageAfterUpdateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageAfterUpdateEventHandler.Interface:

Event payload PageAfterUpdatePayload:

Types:

PageBeforeCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageBeforeCreateEventHandler.Interface:

Event payload PageBeforeCreatePayload:

Types:

PageBeforeCreateRevisionFromEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageBeforeCreateRevisionFromEventHandler.Interface:

Event payload PageBeforeCreateRevisionFromPayload:

Types:

PageBeforeDeleteEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageBeforeDeleteEventHandler.Interface:

Event payload PageBeforeDeletePayload:

Types:

PageBeforeDuplicateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageBeforeDuplicateEventHandler.Interface:

Event payload PageBeforeDuplicatePayload:

Types:

PageBeforeMoveEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageBeforeMoveEventHandler.Interface:

Event payload PageBeforeMovePayload:

Types:

PageBeforePublishEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageBeforePublishEventHandler.Interface:

Event payload PageBeforePublishPayload:

Types:

PageBeforeUnpublishEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageBeforeUnpublishEventHandler.Interface:

Event payload PageBeforeUnpublishPayload:

Types:

PageBeforeUpdateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/website-builder/page

Interface PageBeforeUpdateEventHandler.Interface:

Event payload PageBeforeUpdatePayload:

Types: