default kinds applied

This commit is contained in:
Niels Lyngsø
2024-03-04 11:48:50 +01:00
parent 55adfcc267
commit 2b0b0ab8b6
26 changed files with 81 additions and 60 deletions

View File

@@ -1,9 +1,8 @@
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
import type { UmbWorkspaceAction } from '@umbraco-cms/backoffice/workspace';
import { UmbWorkspaceActionBase, type UmbWorkspaceAction } from '@umbraco-cms/backoffice/workspace';
import { EXAMPLE_COUNTER_CONTEXT } from './counter-workspace-context';
// The Example Incrementor Workspace Action Controller:
export class ExampleIncrementorWorkspaceAction extends UmbControllerBase implements UmbWorkspaceAction {
export class ExampleIncrementorWorkspaceAction extends UmbWorkspaceActionBase implements UmbWorkspaceAction {
// This method is executed
async execute() {
await this.consumeContext(EXAMPLE_COUNTER_CONTEXT, (context) => {