WHAT YOU'LL LEARN
  • What use cases are available in webiny/api/website-builder/redirect?
  • How to import and use each exported item?

Overview
anchor

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

Use Cases
anchor

CreateRedirectUseCase
anchor

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

Interface CreateRedirectUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

DeleteRedirectUseCase
anchor

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

Interface DeleteRedirectUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

GetActiveRedirectsUseCase
anchor

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

Interface GetActiveRedirectsUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

GetRedirectByIdUseCase
anchor

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

Interface GetRedirectByIdUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

InvalidateRedirectsCacheUseCase
anchor

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

Interface InvalidateRedirectsCacheUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

ListRedirectsUseCase
anchor

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

Interface ListRedirectsUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

MoveRedirectUseCase
anchor

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

Interface MoveRedirectUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

UpdateRedirectUseCase
anchor

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

Interface UpdateRedirectUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

Event Handlers
anchor

RedirectAfterCreateHandler
anchor

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

Interface RedirectAfterCreateHandler.Interface:

Event payload RedirectAfterCreatePayload:

Types:

Usage:

extensions/MyHandler.ts

RedirectAfterDeleteHandler
anchor

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

Interface RedirectAfterDeleteHandler.Interface:

Event payload RedirectAfterDeletePayload:

Types:

Usage:

extensions/MyHandler.ts

RedirectAfterMoveHandler
anchor

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

Interface RedirectAfterMoveHandler.Interface:

Event payload RedirectAfterMovePayload:

Types:

Usage:

extensions/MyHandler.ts

RedirectAfterUpdateHandler
anchor

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

Interface RedirectAfterUpdateHandler.Interface:

Event payload RedirectAfterUpdatePayload:

Types:

Usage:

extensions/MyHandler.ts

RedirectBeforeCreateHandler
anchor

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

Interface RedirectBeforeCreateHandler.Interface:

Event payload RedirectBeforeCreatePayload:

Types:

Usage:

extensions/MyHandler.ts

RedirectBeforeDeleteHandler
anchor

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

Interface RedirectBeforeDeleteHandler.Interface:

Event payload RedirectBeforeDeletePayload:

Types:

Usage:

extensions/MyHandler.ts

RedirectBeforeMoveHandler
anchor

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

Interface RedirectBeforeMoveHandler.Interface:

Event payload RedirectBeforeMovePayload:

Types:

Usage:

extensions/MyHandler.ts

RedirectBeforeUpdateHandler
anchor

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

Interface RedirectBeforeUpdateHandler.Interface:

Event payload RedirectBeforeUpdatePayload:

Types:

Usage:

extensions/MyHandler.ts