@webiny/api-headless-cms-tasks 0.0.0-unstable.6f45466a1d → 0.0.0-unstable.7be00a75a9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/constants.js +2 -1
- package/constants.js.map +1 -1
- package/features/DeleteModelTask/DeleteModel.js +92 -119
- package/features/DeleteModelTask/DeleteModel.js.map +1 -1
- package/features/DeleteModelTask/DeleteModelTask.d.ts +2 -1
- package/features/DeleteModelTask/DeleteModelTask.js +33 -30
- package/features/DeleteModelTask/DeleteModelTask.js.map +1 -1
- package/features/DeleteModelTask/feature.d.ts +4 -1
- package/features/DeleteModelTask/feature.js +6 -5
- package/features/DeleteModelTask/feature.js.map +1 -1
- package/features/DeleteModelTask/types.js +7 -6
- package/features/DeleteModelTask/types.js.map +1 -1
- package/features/DisableModel/BlockActionIfModelDisabled.js +9 -10
- package/features/DisableModel/BlockActionIfModelDisabled.js.map +1 -1
- package/features/DisableModel/abstractions.js +2 -1
- package/features/DisableModel/abstractions.js.map +1 -1
- package/features/DisableModel/feature.d.ts +4 -1
- package/features/DisableModel/feature.js +18 -22
- package/features/DisableModel/feature.js.map +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeCreate.d.ts +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeCreate.js +12 -9
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeCreate.js.map +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeMove.d.ts +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeMove.js +12 -9
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeMove.js.map +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforePublish.d.ts +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforePublish.js +12 -9
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforePublish.js.map +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeRepublish.d.ts +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeRepublish.js +12 -9
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeRepublish.js.map +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeRestoreFromBin.d.ts +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeRestoreFromBin.js +12 -9
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeRestoreFromBin.js.map +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeUnpublish.d.ts +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeUnpublish.js +12 -9
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeUnpublish.js.map +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeUpdate.d.ts +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeUpdate.js +12 -9
- package/features/DisableModel/handlers/BlockModelActionOnEntryBeforeUpdate.js.map +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryRevisionBeforeCreate.d.ts +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnEntryRevisionBeforeCreate.js +12 -9
- package/features/DisableModel/handlers/BlockModelActionOnEntryRevisionBeforeCreate.js.map +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnModelBeforeCreateFrom.d.ts +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnModelBeforeCreateFrom.js +12 -9
- package/features/DisableModel/handlers/BlockModelActionOnModelBeforeCreateFrom.js.map +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnModelBeforeUpdate.d.ts +1 -1
- package/features/DisableModel/handlers/BlockModelActionOnModelBeforeUpdate.js +12 -9
- package/features/DisableModel/handlers/BlockModelActionOnModelBeforeUpdate.js.map +1 -1
- package/features/DisableModel/index.js +0 -2
- package/graphql/deleteModel/cancelDeleteModel.d.ts +1 -1
- package/graphql/deleteModel/cancelDeleteModel.js +47 -48
- package/graphql/deleteModel/cancelDeleteModel.js.map +1 -1
- package/graphql/deleteModel/crud.js +52 -61
- package/graphql/deleteModel/crud.js.map +1 -1
- package/graphql/deleteModel/fullyDeleteModel.js +45 -50
- package/graphql/deleteModel/fullyDeleteModel.js.map +1 -1
- package/graphql/deleteModel/getDeleteModelProgress.js +43 -48
- package/graphql/deleteModel/getDeleteModelProgress.js.map +1 -1
- package/graphql/deleteModel/index.js +78 -101
- package/graphql/deleteModel/index.js.map +1 -1
- package/graphql/deleteModel/status.js +13 -12
- package/graphql/deleteModel/status.js.map +1 -1
- package/helpers/confirmation.js +6 -12
- package/helpers/confirmation.js.map +1 -1
- package/helpers/store.js +9 -14
- package/helpers/store.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +15 -9
- package/index.js.map +1 -1
- package/package.json +29 -26
- package/types.js +0 -3
- package/features/DisableModel/index.js.map +0 -1
- package/types.js.map +0 -1
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { EntryBeforeCreateEventHandler } from "@webiny/api-headless-cms/features/contentEntry/CreateEntry/events.js";
|
|
2
2
|
import { BlockActionIfModelDisabled } from "../abstractions.js";
|
|
3
3
|
class BlockModelActionOnEntryBeforeCreateImpl {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
constructor(blockAction){
|
|
5
|
+
this.blockAction = blockAction;
|
|
6
|
+
}
|
|
7
|
+
async handle(event) {
|
|
8
|
+
await this.blockAction.execute(event.payload.model);
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const BlockModelActionOnEntryBeforeCreate = EntryBeforeCreateEventHandler.createImplementation({
|
|
12
|
+
implementation: BlockModelActionOnEntryBeforeCreateImpl,
|
|
13
|
+
dependencies: [
|
|
14
|
+
BlockActionIfModelDisabled
|
|
15
|
+
]
|
|
14
16
|
});
|
|
17
|
+
export { BlockModelActionOnEntryBeforeCreate };
|
|
15
18
|
|
|
16
19
|
//# sourceMappingURL=BlockModelActionOnEntryBeforeCreate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"features/DisableModel/handlers/BlockModelActionOnEntryBeforeCreate.js","sources":["../../../../src/features/DisableModel/handlers/BlockModelActionOnEntryBeforeCreate.ts"],"sourcesContent":["import { EntryBeforeCreateEventHandler } from \"@webiny/api-headless-cms/features/contentEntry/CreateEntry/events.js\";\nimport { BlockActionIfModelDisabled } from \"../abstractions.js\";\n\nclass BlockModelActionOnEntryBeforeCreateImpl implements EntryBeforeCreateEventHandler.Interface {\n constructor(private blockAction: BlockActionIfModelDisabled.Interface) {}\n\n async handle(event: EntryBeforeCreateEventHandler.Event): Promise<void> {\n await this.blockAction.execute(event.payload.model);\n }\n}\n\nexport const BlockModelActionOnEntryBeforeCreate =\n EntryBeforeCreateEventHandler.createImplementation({\n implementation: BlockModelActionOnEntryBeforeCreateImpl,\n dependencies: [BlockActionIfModelDisabled]\n });\n"],"names":["BlockModelActionOnEntryBeforeCreateImpl","blockAction","event","BlockModelActionOnEntryBeforeCreate","EntryBeforeCreateEventHandler","BlockActionIfModelDisabled"],"mappings":";;AAGA,MAAMA;IACF,YAAoBC,WAAiD,CAAE;aAAnDA,WAAW,GAAXA;IAAoD;IAExE,MAAM,OAAOC,KAA0C,EAAiB;QACpE,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAACA,MAAM,OAAO,CAAC,KAAK;IACtD;AACJ;AAEO,MAAMC,sCACTC,8BAA8B,oBAAoB,CAAC;IAC/C,gBAAgBJ;IAChB,cAAc;QAACK;KAA2B;AAC9C"}
|
|
@@ -6,6 +6,6 @@ declare class BlockModelActionOnEntryBeforeMoveImpl implements EntryBeforeMoveEv
|
|
|
6
6
|
handle(event: EntryBeforeMoveEventHandler.Event): Promise<void>;
|
|
7
7
|
}
|
|
8
8
|
export declare const BlockModelActionOnEntryBeforeMove: typeof BlockModelActionOnEntryBeforeMoveImpl & {
|
|
9
|
-
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/eventPublisher/abstractions.js").IEventHandler<import("@webiny/api-headless-cms/features/contentEntry/MoveEntry/events.js").EntryBeforeMoveEvent>>;
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { EntryBeforeMoveEventHandler } from "@webiny/api-headless-cms/features/contentEntry/MoveEntry/events.js";
|
|
2
2
|
import { BlockActionIfModelDisabled } from "../abstractions.js";
|
|
3
3
|
class BlockModelActionOnEntryBeforeMoveImpl {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
constructor(blockAction){
|
|
5
|
+
this.blockAction = blockAction;
|
|
6
|
+
}
|
|
7
|
+
async handle(event) {
|
|
8
|
+
await this.blockAction.execute(event.payload.model);
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const BlockModelActionOnEntryBeforeMove = EntryBeforeMoveEventHandler.createImplementation({
|
|
12
|
+
implementation: BlockModelActionOnEntryBeforeMoveImpl,
|
|
13
|
+
dependencies: [
|
|
14
|
+
BlockActionIfModelDisabled
|
|
15
|
+
]
|
|
14
16
|
});
|
|
17
|
+
export { BlockModelActionOnEntryBeforeMove };
|
|
15
18
|
|
|
16
19
|
//# sourceMappingURL=BlockModelActionOnEntryBeforeMove.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"features/DisableModel/handlers/BlockModelActionOnEntryBeforeMove.js","sources":["../../../../src/features/DisableModel/handlers/BlockModelActionOnEntryBeforeMove.ts"],"sourcesContent":["import { EntryBeforeMoveEventHandler } from \"@webiny/api-headless-cms/features/contentEntry/MoveEntry/events.js\";\nimport { BlockActionIfModelDisabled } from \"../abstractions.js\";\n\nclass BlockModelActionOnEntryBeforeMoveImpl implements EntryBeforeMoveEventHandler.Interface {\n constructor(private blockAction: BlockActionIfModelDisabled.Interface) {}\n\n async handle(event: EntryBeforeMoveEventHandler.Event): Promise<void> {\n await this.blockAction.execute(event.payload.model);\n }\n}\n\nexport const BlockModelActionOnEntryBeforeMove = EntryBeforeMoveEventHandler.createImplementation({\n implementation: BlockModelActionOnEntryBeforeMoveImpl,\n dependencies: [BlockActionIfModelDisabled]\n});\n"],"names":["BlockModelActionOnEntryBeforeMoveImpl","blockAction","event","BlockModelActionOnEntryBeforeMove","EntryBeforeMoveEventHandler","BlockActionIfModelDisabled"],"mappings":";;AAGA,MAAMA;IACF,YAAoBC,WAAiD,CAAE;aAAnDA,WAAW,GAAXA;IAAoD;IAExE,MAAM,OAAOC,KAAwC,EAAiB;QAClE,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAACA,MAAM,OAAO,CAAC,KAAK;IACtD;AACJ;AAEO,MAAMC,oCAAoCC,4BAA4B,oBAAoB,CAAC;IAC9F,gBAAgBJ;IAChB,cAAc;QAACK;KAA2B;AAC9C"}
|
|
@@ -6,6 +6,6 @@ declare class BlockModelActionOnEntryBeforePublishImpl implements EntryBeforePub
|
|
|
6
6
|
handle(event: EntryBeforePublishEventHandler.Event): Promise<void>;
|
|
7
7
|
}
|
|
8
8
|
export declare const BlockModelActionOnEntryBeforePublish: typeof BlockModelActionOnEntryBeforePublishImpl & {
|
|
9
|
-
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/eventPublisher/abstractions.js").IEventHandler<import("@webiny/api-headless-cms/features/contentEntry/PublishEntry/events.js").EntryBeforePublishEvent>>;
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { EntryBeforePublishEventHandler } from "@webiny/api-headless-cms/features/contentEntry/PublishEntry/events.js";
|
|
2
2
|
import { BlockActionIfModelDisabled } from "../abstractions.js";
|
|
3
3
|
class BlockModelActionOnEntryBeforePublishImpl {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
constructor(blockAction){
|
|
5
|
+
this.blockAction = blockAction;
|
|
6
|
+
}
|
|
7
|
+
async handle(event) {
|
|
8
|
+
await this.blockAction.execute(event.payload.model);
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const BlockModelActionOnEntryBeforePublish = EntryBeforePublishEventHandler.createImplementation({
|
|
12
|
+
implementation: BlockModelActionOnEntryBeforePublishImpl,
|
|
13
|
+
dependencies: [
|
|
14
|
+
BlockActionIfModelDisabled
|
|
15
|
+
]
|
|
14
16
|
});
|
|
17
|
+
export { BlockModelActionOnEntryBeforePublish };
|
|
15
18
|
|
|
16
19
|
//# sourceMappingURL=BlockModelActionOnEntryBeforePublish.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"features/DisableModel/handlers/BlockModelActionOnEntryBeforePublish.js","sources":["../../../../src/features/DisableModel/handlers/BlockModelActionOnEntryBeforePublish.ts"],"sourcesContent":["import { EntryBeforePublishEventHandler } from \"@webiny/api-headless-cms/features/contentEntry/PublishEntry/events.js\";\nimport { BlockActionIfModelDisabled } from \"../abstractions.js\";\n\nclass BlockModelActionOnEntryBeforePublishImpl implements EntryBeforePublishEventHandler.Interface {\n constructor(private blockAction: BlockActionIfModelDisabled.Interface) {}\n\n async handle(event: EntryBeforePublishEventHandler.Event): Promise<void> {\n await this.blockAction.execute(event.payload.model);\n }\n}\n\nexport const BlockModelActionOnEntryBeforePublish =\n EntryBeforePublishEventHandler.createImplementation({\n implementation: BlockModelActionOnEntryBeforePublishImpl,\n dependencies: [BlockActionIfModelDisabled]\n });\n"],"names":["BlockModelActionOnEntryBeforePublishImpl","blockAction","event","BlockModelActionOnEntryBeforePublish","EntryBeforePublishEventHandler","BlockActionIfModelDisabled"],"mappings":";;AAGA,MAAMA;IACF,YAAoBC,WAAiD,CAAE;aAAnDA,WAAW,GAAXA;IAAoD;IAExE,MAAM,OAAOC,KAA2C,EAAiB;QACrE,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAACA,MAAM,OAAO,CAAC,KAAK;IACtD;AACJ;AAEO,MAAMC,uCACTC,+BAA+B,oBAAoB,CAAC;IAChD,gBAAgBJ;IAChB,cAAc;QAACK;KAA2B;AAC9C"}
|
|
@@ -6,6 +6,6 @@ declare class BlockModelActionOnEntryBeforeRepublishImpl implements EntryBeforeR
|
|
|
6
6
|
handle(event: EntryBeforeRepublishEventHandler.Event): Promise<void>;
|
|
7
7
|
}
|
|
8
8
|
export declare const BlockModelActionOnEntryBeforeRepublish: typeof BlockModelActionOnEntryBeforeRepublishImpl & {
|
|
9
|
-
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/eventPublisher/abstractions.js").IEventHandler<import("@webiny/api-headless-cms/features/contentEntry/RepublishEntry/events.js").EntryBeforeRepublishEvent>>;
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { EntryBeforeRepublishEventHandler } from "@webiny/api-headless-cms/features/contentEntry/RepublishEntry/events.js";
|
|
2
2
|
import { BlockActionIfModelDisabled } from "../abstractions.js";
|
|
3
3
|
class BlockModelActionOnEntryBeforeRepublishImpl {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
constructor(blockAction){
|
|
5
|
+
this.blockAction = blockAction;
|
|
6
|
+
}
|
|
7
|
+
async handle(event) {
|
|
8
|
+
await this.blockAction.execute(event.payload.model);
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const BlockModelActionOnEntryBeforeRepublish = EntryBeforeRepublishEventHandler.createImplementation({
|
|
12
|
+
implementation: BlockModelActionOnEntryBeforeRepublishImpl,
|
|
13
|
+
dependencies: [
|
|
14
|
+
BlockActionIfModelDisabled
|
|
15
|
+
]
|
|
14
16
|
});
|
|
17
|
+
export { BlockModelActionOnEntryBeforeRepublish };
|
|
15
18
|
|
|
16
19
|
//# sourceMappingURL=BlockModelActionOnEntryBeforeRepublish.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"features/DisableModel/handlers/BlockModelActionOnEntryBeforeRepublish.js","sources":["../../../../src/features/DisableModel/handlers/BlockModelActionOnEntryBeforeRepublish.ts"],"sourcesContent":["import { EntryBeforeRepublishEventHandler } from \"@webiny/api-headless-cms/features/contentEntry/RepublishEntry/events.js\";\nimport { BlockActionIfModelDisabled } from \"../abstractions.js\";\n\nclass BlockModelActionOnEntryBeforeRepublishImpl\n implements EntryBeforeRepublishEventHandler.Interface\n{\n constructor(private blockAction: BlockActionIfModelDisabled.Interface) {}\n\n async handle(event: EntryBeforeRepublishEventHandler.Event): Promise<void> {\n await this.blockAction.execute(event.payload.model);\n }\n}\n\nexport const BlockModelActionOnEntryBeforeRepublish =\n EntryBeforeRepublishEventHandler.createImplementation({\n implementation: BlockModelActionOnEntryBeforeRepublishImpl,\n dependencies: [BlockActionIfModelDisabled]\n });\n"],"names":["BlockModelActionOnEntryBeforeRepublishImpl","blockAction","event","BlockModelActionOnEntryBeforeRepublish","EntryBeforeRepublishEventHandler","BlockActionIfModelDisabled"],"mappings":";;AAGA,MAAMA;IAGF,YAAoBC,WAAiD,CAAE;aAAnDA,WAAW,GAAXA;IAAoD;IAExE,MAAM,OAAOC,KAA6C,EAAiB;QACvE,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAACA,MAAM,OAAO,CAAC,KAAK;IACtD;AACJ;AAEO,MAAMC,yCACTC,iCAAiC,oBAAoB,CAAC;IAClD,gBAAgBJ;IAChB,cAAc;QAACK;KAA2B;AAC9C"}
|
|
@@ -6,6 +6,6 @@ declare class BlockModelActionOnEntryBeforeRestoreFromBinImpl implements EntryBe
|
|
|
6
6
|
handle(event: EntryBeforeRestoreFromBinEventHandler.Event): Promise<void>;
|
|
7
7
|
}
|
|
8
8
|
export declare const BlockModelActionOnEntryBeforeRestoreFromBin: typeof BlockModelActionOnEntryBeforeRestoreFromBinImpl & {
|
|
9
|
-
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/eventPublisher/abstractions.js").IEventHandler<import("@webiny/api-headless-cms/features/contentEntry/RestoreEntryFromBin/events.js").EntryBeforeRestoreFromBinEvent>>;
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { EntryBeforeRestoreFromBinEventHandler } from "@webiny/api-headless-cms/features/contentEntry/RestoreEntryFromBin/events.js";
|
|
2
2
|
import { BlockActionIfModelDisabled } from "../abstractions.js";
|
|
3
3
|
class BlockModelActionOnEntryBeforeRestoreFromBinImpl {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
constructor(blockAction){
|
|
5
|
+
this.blockAction = blockAction;
|
|
6
|
+
}
|
|
7
|
+
async handle(event) {
|
|
8
|
+
await this.blockAction.execute(event.payload.model);
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const BlockModelActionOnEntryBeforeRestoreFromBin = EntryBeforeRestoreFromBinEventHandler.createImplementation({
|
|
12
|
+
implementation: BlockModelActionOnEntryBeforeRestoreFromBinImpl,
|
|
13
|
+
dependencies: [
|
|
14
|
+
BlockActionIfModelDisabled
|
|
15
|
+
]
|
|
14
16
|
});
|
|
17
|
+
export { BlockModelActionOnEntryBeforeRestoreFromBin };
|
|
15
18
|
|
|
16
19
|
//# sourceMappingURL=BlockModelActionOnEntryBeforeRestoreFromBin.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"features/DisableModel/handlers/BlockModelActionOnEntryBeforeRestoreFromBin.js","sources":["../../../../src/features/DisableModel/handlers/BlockModelActionOnEntryBeforeRestoreFromBin.ts"],"sourcesContent":["import { EntryBeforeRestoreFromBinEventHandler } from \"@webiny/api-headless-cms/features/contentEntry/RestoreEntryFromBin/events.js\";\nimport { BlockActionIfModelDisabled } from \"../abstractions.js\";\n\nclass BlockModelActionOnEntryBeforeRestoreFromBinImpl\n implements EntryBeforeRestoreFromBinEventHandler.Interface\n{\n constructor(private blockAction: BlockActionIfModelDisabled.Interface) {}\n\n async handle(event: EntryBeforeRestoreFromBinEventHandler.Event): Promise<void> {\n await this.blockAction.execute(event.payload.model);\n }\n}\n\nexport const BlockModelActionOnEntryBeforeRestoreFromBin =\n EntryBeforeRestoreFromBinEventHandler.createImplementation({\n implementation: BlockModelActionOnEntryBeforeRestoreFromBinImpl,\n dependencies: [BlockActionIfModelDisabled]\n });\n"],"names":["BlockModelActionOnEntryBeforeRestoreFromBinImpl","blockAction","event","BlockModelActionOnEntryBeforeRestoreFromBin","EntryBeforeRestoreFromBinEventHandler","BlockActionIfModelDisabled"],"mappings":";;AAGA,MAAMA;IAGF,YAAoBC,WAAiD,CAAE;aAAnDA,WAAW,GAAXA;IAAoD;IAExE,MAAM,OAAOC,KAAkD,EAAiB;QAC5E,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAACA,MAAM,OAAO,CAAC,KAAK;IACtD;AACJ;AAEO,MAAMC,8CACTC,sCAAsC,oBAAoB,CAAC;IACvD,gBAAgBJ;IAChB,cAAc;QAACK;KAA2B;AAC9C"}
|
|
@@ -6,6 +6,6 @@ declare class BlockModelActionOnEntryBeforeUnpublishImpl implements EntryBeforeU
|
|
|
6
6
|
handle(event: EntryBeforeUnpublishEventHandler.Event): Promise<void>;
|
|
7
7
|
}
|
|
8
8
|
export declare const BlockModelActionOnEntryBeforeUnpublish: typeof BlockModelActionOnEntryBeforeUnpublishImpl & {
|
|
9
|
-
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/eventPublisher/abstractions.js").IEventHandler<import("@webiny/api-headless-cms/features/contentEntry/UnpublishEntry/events.js").EntryBeforeUnpublishEvent>>;
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { EntryBeforeUnpublishEventHandler } from "@webiny/api-headless-cms/features/contentEntry/UnpublishEntry/events.js";
|
|
2
2
|
import { BlockActionIfModelDisabled } from "../abstractions.js";
|
|
3
3
|
class BlockModelActionOnEntryBeforeUnpublishImpl {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
constructor(blockAction){
|
|
5
|
+
this.blockAction = blockAction;
|
|
6
|
+
}
|
|
7
|
+
async handle(event) {
|
|
8
|
+
await this.blockAction.execute(event.payload.model);
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const BlockModelActionOnEntryBeforeUnpublish = EntryBeforeUnpublishEventHandler.createImplementation({
|
|
12
|
+
implementation: BlockModelActionOnEntryBeforeUnpublishImpl,
|
|
13
|
+
dependencies: [
|
|
14
|
+
BlockActionIfModelDisabled
|
|
15
|
+
]
|
|
14
16
|
});
|
|
17
|
+
export { BlockModelActionOnEntryBeforeUnpublish };
|
|
15
18
|
|
|
16
19
|
//# sourceMappingURL=BlockModelActionOnEntryBeforeUnpublish.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"features/DisableModel/handlers/BlockModelActionOnEntryBeforeUnpublish.js","sources":["../../../../src/features/DisableModel/handlers/BlockModelActionOnEntryBeforeUnpublish.ts"],"sourcesContent":["import { EntryBeforeUnpublishEventHandler } from \"@webiny/api-headless-cms/features/contentEntry/UnpublishEntry/events.js\";\nimport { BlockActionIfModelDisabled } from \"../abstractions.js\";\n\nclass BlockModelActionOnEntryBeforeUnpublishImpl\n implements EntryBeforeUnpublishEventHandler.Interface\n{\n constructor(private blockAction: BlockActionIfModelDisabled.Interface) {}\n\n async handle(event: EntryBeforeUnpublishEventHandler.Event): Promise<void> {\n await this.blockAction.execute(event.payload.model);\n }\n}\n\nexport const BlockModelActionOnEntryBeforeUnpublish =\n EntryBeforeUnpublishEventHandler.createImplementation({\n implementation: BlockModelActionOnEntryBeforeUnpublishImpl,\n dependencies: [BlockActionIfModelDisabled]\n });\n"],"names":["BlockModelActionOnEntryBeforeUnpublishImpl","blockAction","event","BlockModelActionOnEntryBeforeUnpublish","EntryBeforeUnpublishEventHandler","BlockActionIfModelDisabled"],"mappings":";;AAGA,MAAMA;IAGF,YAAoBC,WAAiD,CAAE;aAAnDA,WAAW,GAAXA;IAAoD;IAExE,MAAM,OAAOC,KAA6C,EAAiB;QACvE,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAACA,MAAM,OAAO,CAAC,KAAK;IACtD;AACJ;AAEO,MAAMC,yCACTC,iCAAiC,oBAAoB,CAAC;IAClD,gBAAgBJ;IAChB,cAAc;QAACK;KAA2B;AAC9C"}
|
|
@@ -6,6 +6,6 @@ declare class BlockModelActionOnEntryBeforeUpdateImpl implements EntryBeforeUpda
|
|
|
6
6
|
handle(event: EntryBeforeUpdateEventHandler.Event): Promise<void>;
|
|
7
7
|
}
|
|
8
8
|
export declare const BlockModelActionOnEntryBeforeUpdate: typeof BlockModelActionOnEntryBeforeUpdateImpl & {
|
|
9
|
-
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/eventPublisher/abstractions.js").IEventHandler<import("@webiny/api-headless-cms/features/contentEntry/UpdateEntry/events.js").EntryBeforeUpdateEvent>>;
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { EntryBeforeUpdateEventHandler } from "@webiny/api-headless-cms/features/contentEntry/UpdateEntry/events.js";
|
|
2
2
|
import { BlockActionIfModelDisabled } from "../abstractions.js";
|
|
3
3
|
class BlockModelActionOnEntryBeforeUpdateImpl {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
constructor(blockAction){
|
|
5
|
+
this.blockAction = blockAction;
|
|
6
|
+
}
|
|
7
|
+
async handle(event) {
|
|
8
|
+
await this.blockAction.execute(event.payload.model);
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const BlockModelActionOnEntryBeforeUpdate = EntryBeforeUpdateEventHandler.createImplementation({
|
|
12
|
+
implementation: BlockModelActionOnEntryBeforeUpdateImpl,
|
|
13
|
+
dependencies: [
|
|
14
|
+
BlockActionIfModelDisabled
|
|
15
|
+
]
|
|
14
16
|
});
|
|
17
|
+
export { BlockModelActionOnEntryBeforeUpdate };
|
|
15
18
|
|
|
16
19
|
//# sourceMappingURL=BlockModelActionOnEntryBeforeUpdate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"features/DisableModel/handlers/BlockModelActionOnEntryBeforeUpdate.js","sources":["../../../../src/features/DisableModel/handlers/BlockModelActionOnEntryBeforeUpdate.ts"],"sourcesContent":["import { EntryBeforeUpdateEventHandler } from \"@webiny/api-headless-cms/features/contentEntry/UpdateEntry/events.js\";\nimport { BlockActionIfModelDisabled } from \"../abstractions.js\";\n\nclass BlockModelActionOnEntryBeforeUpdateImpl implements EntryBeforeUpdateEventHandler.Interface {\n constructor(private blockAction: BlockActionIfModelDisabled.Interface) {}\n\n async handle(event: EntryBeforeUpdateEventHandler.Event): Promise<void> {\n await this.blockAction.execute(event.payload.model);\n }\n}\n\nexport const BlockModelActionOnEntryBeforeUpdate =\n EntryBeforeUpdateEventHandler.createImplementation({\n implementation: BlockModelActionOnEntryBeforeUpdateImpl,\n dependencies: [BlockActionIfModelDisabled]\n });\n"],"names":["BlockModelActionOnEntryBeforeUpdateImpl","blockAction","event","BlockModelActionOnEntryBeforeUpdate","EntryBeforeUpdateEventHandler","BlockActionIfModelDisabled"],"mappings":";;AAGA,MAAMA;IACF,YAAoBC,WAAiD,CAAE;aAAnDA,WAAW,GAAXA;IAAoD;IAExE,MAAM,OAAOC,KAA0C,EAAiB;QACpE,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAACA,MAAM,OAAO,CAAC,KAAK;IACtD;AACJ;AAEO,MAAMC,sCACTC,8BAA8B,oBAAoB,CAAC;IAC/C,gBAAgBJ;IAChB,cAAc;QAACK;KAA2B;AAC9C"}
|
|
@@ -6,6 +6,6 @@ declare class BlockModelActionOnEntryRevisionBeforeCreateImpl implements EntryRe
|
|
|
6
6
|
handle(event: EntryRevisionBeforeCreateEventHandler.Event): Promise<void>;
|
|
7
7
|
}
|
|
8
8
|
export declare const BlockModelActionOnEntryRevisionBeforeCreate: typeof BlockModelActionOnEntryRevisionBeforeCreateImpl & {
|
|
9
|
-
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/eventPublisher/abstractions.js").IEventHandler<import("@webiny/api-headless-cms/features/contentEntry/CreateEntryRevisionFrom/events.js").EntryRevisionBeforeCreateEvent>>;
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { EntryRevisionBeforeCreateEventHandler } from "@webiny/api-headless-cms/features/contentEntry/CreateEntryRevisionFrom/events.js";
|
|
2
2
|
import { BlockActionIfModelDisabled } from "../abstractions.js";
|
|
3
3
|
class BlockModelActionOnEntryRevisionBeforeCreateImpl {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
constructor(blockAction){
|
|
5
|
+
this.blockAction = blockAction;
|
|
6
|
+
}
|
|
7
|
+
async handle(event) {
|
|
8
|
+
await this.blockAction.execute(event.payload.model);
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const BlockModelActionOnEntryRevisionBeforeCreate = EntryRevisionBeforeCreateEventHandler.createImplementation({
|
|
12
|
+
implementation: BlockModelActionOnEntryRevisionBeforeCreateImpl,
|
|
13
|
+
dependencies: [
|
|
14
|
+
BlockActionIfModelDisabled
|
|
15
|
+
]
|
|
14
16
|
});
|
|
17
|
+
export { BlockModelActionOnEntryRevisionBeforeCreate };
|
|
15
18
|
|
|
16
19
|
//# sourceMappingURL=BlockModelActionOnEntryRevisionBeforeCreate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"features/DisableModel/handlers/BlockModelActionOnEntryRevisionBeforeCreate.js","sources":["../../../../src/features/DisableModel/handlers/BlockModelActionOnEntryRevisionBeforeCreate.ts"],"sourcesContent":["import { EntryRevisionBeforeCreateEventHandler } from \"@webiny/api-headless-cms/features/contentEntry/CreateEntryRevisionFrom/events.js\";\nimport { BlockActionIfModelDisabled } from \"../abstractions.js\";\n\nclass BlockModelActionOnEntryRevisionBeforeCreateImpl\n implements EntryRevisionBeforeCreateEventHandler.Interface\n{\n constructor(private blockAction: BlockActionIfModelDisabled.Interface) {}\n\n async handle(event: EntryRevisionBeforeCreateEventHandler.Event): Promise<void> {\n await this.blockAction.execute(event.payload.model);\n }\n}\n\nexport const BlockModelActionOnEntryRevisionBeforeCreate =\n EntryRevisionBeforeCreateEventHandler.createImplementation({\n implementation: BlockModelActionOnEntryRevisionBeforeCreateImpl,\n dependencies: [BlockActionIfModelDisabled]\n });\n"],"names":["BlockModelActionOnEntryRevisionBeforeCreateImpl","blockAction","event","BlockModelActionOnEntryRevisionBeforeCreate","EntryRevisionBeforeCreateEventHandler","BlockActionIfModelDisabled"],"mappings":";;AAGA,MAAMA;IAGF,YAAoBC,WAAiD,CAAE;aAAnDA,WAAW,GAAXA;IAAoD;IAExE,MAAM,OAAOC,KAAkD,EAAiB;QAC5E,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAACA,MAAM,OAAO,CAAC,KAAK;IACtD;AACJ;AAEO,MAAMC,8CACTC,sCAAsC,oBAAoB,CAAC;IACvD,gBAAgBJ;IAChB,cAAc;QAACK;KAA2B;AAC9C"}
|
|
@@ -6,6 +6,6 @@ declare class BlockModelActionOnModelBeforeCreateFromImpl implements ModelBefore
|
|
|
6
6
|
handle(event: ModelBeforeCreateFromEventHandler.Event): Promise<void>;
|
|
7
7
|
}
|
|
8
8
|
export declare const BlockModelActionOnModelBeforeCreateFrom: typeof BlockModelActionOnModelBeforeCreateFromImpl & {
|
|
9
|
-
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/eventPublisher/abstractions.js").IEventHandler<import("@webiny/api-headless-cms/features/contentModel/CreateModelFrom/events.js").ModelBeforeCreateFromEvent>>;
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { ModelBeforeCreateFromEventHandler } from "@webiny/api-headless-cms/features/contentModel/CreateModelFrom/events.js";
|
|
2
2
|
import { BlockActionIfModelDisabled } from "../abstractions.js";
|
|
3
3
|
class BlockModelActionOnModelBeforeCreateFromImpl {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
constructor(blockAction){
|
|
5
|
+
this.blockAction = blockAction;
|
|
6
|
+
}
|
|
7
|
+
async handle(event) {
|
|
8
|
+
await this.blockAction.execute(event.payload.model);
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const BlockModelActionOnModelBeforeCreateFrom = ModelBeforeCreateFromEventHandler.createImplementation({
|
|
12
|
+
implementation: BlockModelActionOnModelBeforeCreateFromImpl,
|
|
13
|
+
dependencies: [
|
|
14
|
+
BlockActionIfModelDisabled
|
|
15
|
+
]
|
|
14
16
|
});
|
|
17
|
+
export { BlockModelActionOnModelBeforeCreateFrom };
|
|
15
18
|
|
|
16
19
|
//# sourceMappingURL=BlockModelActionOnModelBeforeCreateFrom.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"features/DisableModel/handlers/BlockModelActionOnModelBeforeCreateFrom.js","sources":["../../../../src/features/DisableModel/handlers/BlockModelActionOnModelBeforeCreateFrom.ts"],"sourcesContent":["import { ModelBeforeCreateFromEventHandler } from \"@webiny/api-headless-cms/features/contentModel/CreateModelFrom/events.js\";\nimport { BlockActionIfModelDisabled } from \"../abstractions.js\";\n\nclass BlockModelActionOnModelBeforeCreateFromImpl\n implements ModelBeforeCreateFromEventHandler.Interface\n{\n constructor(private blockAction: BlockActionIfModelDisabled.Interface) {}\n\n async handle(event: ModelBeforeCreateFromEventHandler.Event): Promise<void> {\n await this.blockAction.execute(event.payload.model);\n }\n}\n\nexport const BlockModelActionOnModelBeforeCreateFrom =\n ModelBeforeCreateFromEventHandler.createImplementation({\n implementation: BlockModelActionOnModelBeforeCreateFromImpl,\n dependencies: [BlockActionIfModelDisabled]\n });\n"],"names":["BlockModelActionOnModelBeforeCreateFromImpl","blockAction","event","BlockModelActionOnModelBeforeCreateFrom","ModelBeforeCreateFromEventHandler","BlockActionIfModelDisabled"],"mappings":";;AAGA,MAAMA;IAGF,YAAoBC,WAAiD,CAAE;aAAnDA,WAAW,GAAXA;IAAoD;IAExE,MAAM,OAAOC,KAA8C,EAAiB;QACxE,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAACA,MAAM,OAAO,CAAC,KAAK;IACtD;AACJ;AAEO,MAAMC,0CACTC,kCAAkC,oBAAoB,CAAC;IACnD,gBAAgBJ;IAChB,cAAc;QAACK;KAA2B;AAC9C"}
|
|
@@ -6,6 +6,6 @@ declare class BlockModelActionOnModelBeforeUpdateImpl implements ModelBeforeUpda
|
|
|
6
6
|
handle(event: ModelBeforeUpdateEventHandler.Event): Promise<void>;
|
|
7
7
|
}
|
|
8
8
|
export declare const BlockModelActionOnModelBeforeUpdate: typeof BlockModelActionOnModelBeforeUpdateImpl & {
|
|
9
|
-
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/
|
|
9
|
+
__abstraction: import("@webiny/di").Abstraction<import("@webiny/api-core/features/eventPublisher/abstractions.js").IEventHandler<import("@webiny/api-headless-cms/features/contentModel/UpdateModel/events.js").ModelBeforeUpdateEvent>>;
|
|
10
10
|
};
|
|
11
11
|
export {};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { ModelBeforeUpdateEventHandler } from "@webiny/api-headless-cms/features/contentModel/UpdateModel/events.js";
|
|
2
2
|
import { BlockActionIfModelDisabled } from "../abstractions.js";
|
|
3
3
|
class BlockModelActionOnModelBeforeUpdateImpl {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
constructor(blockAction){
|
|
5
|
+
this.blockAction = blockAction;
|
|
6
|
+
}
|
|
7
|
+
async handle(event) {
|
|
8
|
+
await this.blockAction.execute(event.payload.model);
|
|
9
|
+
}
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const BlockModelActionOnModelBeforeUpdate = ModelBeforeUpdateEventHandler.createImplementation({
|
|
12
|
+
implementation: BlockModelActionOnModelBeforeUpdateImpl,
|
|
13
|
+
dependencies: [
|
|
14
|
+
BlockActionIfModelDisabled
|
|
15
|
+
]
|
|
14
16
|
});
|
|
17
|
+
export { BlockModelActionOnModelBeforeUpdate };
|
|
15
18
|
|
|
16
19
|
//# sourceMappingURL=BlockModelActionOnModelBeforeUpdate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"features/DisableModel/handlers/BlockModelActionOnModelBeforeUpdate.js","sources":["../../../../src/features/DisableModel/handlers/BlockModelActionOnModelBeforeUpdate.ts"],"sourcesContent":["import { ModelBeforeUpdateEventHandler } from \"@webiny/api-headless-cms/features/contentModel/UpdateModel/events.js\";\nimport { BlockActionIfModelDisabled } from \"../abstractions.js\";\n\nclass BlockModelActionOnModelBeforeUpdateImpl implements ModelBeforeUpdateEventHandler.Interface {\n constructor(private blockAction: BlockActionIfModelDisabled.Interface) {}\n\n async handle(event: ModelBeforeUpdateEventHandler.Event): Promise<void> {\n await this.blockAction.execute(event.payload.model);\n }\n}\n\nexport const BlockModelActionOnModelBeforeUpdate =\n ModelBeforeUpdateEventHandler.createImplementation({\n implementation: BlockModelActionOnModelBeforeUpdateImpl,\n dependencies: [BlockActionIfModelDisabled]\n });\n"],"names":["BlockModelActionOnModelBeforeUpdateImpl","blockAction","event","BlockModelActionOnModelBeforeUpdate","ModelBeforeUpdateEventHandler","BlockActionIfModelDisabled"],"mappings":";;AAGA,MAAMA;IACF,YAAoBC,WAAiD,CAAE;aAAnDA,WAAW,GAAXA;IAAoD;IAExE,MAAM,OAAOC,KAA0C,EAAiB;QACpE,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAACA,MAAM,OAAO,CAAC,KAAK;IACtD;AACJ;AAEO,MAAMC,sCACTC,8BAA8B,oBAAoB,CAAC;IAC/C,gBAAgBJ;IAChB,cAAc;QAACK;KAA2B;AAC9C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { HcmsTasksContext } from "../../types.js";
|
|
2
2
|
import type { IDeleteCmsModelTask } from "../../features/DeleteModelTask/types.js";
|
|
3
3
|
export interface ICancelDeleteModelParams {
|
|
4
|
-
readonly context: Pick<HcmsTasksContext, "cms" | "tasks" | "db">;
|
|
4
|
+
readonly context: Pick<HcmsTasksContext, "cms" | "tasks" | "db" | "container">;
|
|
5
5
|
readonly modelId: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const cancelDeleteModel: (params: ICancelDeleteModelParams) => Promise<IDeleteCmsModelTask>;
|