@umbraco-deploy/backoffice 18.0.0-rc3 → 18.0.0
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/package.json +2 -2
- package/types/core/components/index.d.ts +1 -0
- package/types/core/components/work-complete/work-complete.element.d.ts +18 -0
- package/types/core/components/work-progress/work-progress.element.d.ts +1 -0
- package/types/core/conditions/cloud.condition.d.ts +14 -0
- package/types/core/conditions/constants.d.ts +1 -1
- package/types/core/conditions/index.d.ts +1 -1
- package/types/core/conditions/manifests.d.ts +1 -1
- package/types/core/entities.d.ts +4 -0
- package/types/core/entity-actions/base.action.d.ts +2 -1
- package/types/core/lang/en.d.ts +1 -0
- package/types/core/manifests.d.ts +1 -1
- package/types/core/modal/progress-modal.token.d.ts +3 -1
- package/types/core/progress-manager.controller.d.ts +2 -1
- package/types/core/queue/entities.d.ts +1 -5
- package/types/core/queue/queue-manager-context-base.d.ts +6 -4
- package/types/core/queue/queue-progress.element.d.ts +1 -2
- package/types/core/work/deploy-work-runner.context.d.ts +3 -4
- package/types/core/work/entities.d.ts +3 -3
- package/types/export/actions/manifests.d.ts +0 -7
- package/types/export/manifests.d.ts +0 -7
- package/types/exports.d.ts +1 -2
- package/types/generated/core/params.gen.d.ts +1 -1
- package/types/overview/entity-actions/manifests.d.ts +6 -3
- package/types/overview/entity-actions/open-cloud/manifests.d.ts +5 -2
- package/types/overview/manifests.d.ts +6 -3
- package/types/transfer/queue/transfer-queue-manager.context.d.ts +1 -1
- package/types/core/conditions/active-section.condition.d.ts +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-deploy/backoffice",
|
|
3
|
-
"version": "18.0.0
|
|
3
|
+
"version": "18.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Umbraco A/S",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@microsoft/signalr": "^10.0.0",
|
|
25
|
-
"@umbraco-cms/backoffice": "18.0.0
|
|
25
|
+
"@umbraco-cms/backoffice": "18.0.0"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { MismatchDetailsModel } from "../../entities.js";
|
|
2
|
+
import { UmbLitElement } from "@umbraco-cms/backoffice/lit-element";
|
|
3
|
+
declare const elementName = "deploy-work-complete";
|
|
4
|
+
export declare class DeployWorkCompleteElement extends UmbLitElement {
|
|
5
|
+
#private;
|
|
6
|
+
name?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
timestamp?: string;
|
|
9
|
+
mismatches?: Array<MismatchDetailsModel>;
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
static styles: import("lit").CSSResult[];
|
|
12
|
+
}
|
|
13
|
+
export default DeployWorkCompleteElement;
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
[elementName]: DeployWorkCompleteElement;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DEPLOY_CLOUD_CONDITION_ALIAS } from "./constants.js";
|
|
2
|
+
import type { UmbControllerHost } from "@umbraco-cms/backoffice/controller-api";
|
|
3
|
+
import type { UmbConditionConfigBase, UmbConditionControllerArguments, UmbExtensionCondition } from "@umbraco-cms/backoffice/extension-api";
|
|
4
|
+
import { UmbConditionBase } from "@umbraco-cms/backoffice/extension-registry";
|
|
5
|
+
export type DeployCloudConditionConfig = UmbConditionConfigBase<typeof DEPLOY_CLOUD_CONDITION_ALIAS>;
|
|
6
|
+
export declare class DeployCloudCondition extends UmbConditionBase<DeployCloudConditionConfig> implements UmbExtensionCondition {
|
|
7
|
+
constructor(host: UmbControllerHost, args: UmbConditionControllerArguments<DeployCloudConditionConfig>);
|
|
8
|
+
}
|
|
9
|
+
export default DeployCloudCondition;
|
|
10
|
+
declare global {
|
|
11
|
+
interface UmbExtensionConditionConfigMap {
|
|
12
|
+
DeployCloudConditionConfig: DeployCloudConditionConfig;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const DEPLOY_ENTITYTYPE_CONDITION_ALIAS = "Deploy.Condition.EntityType";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const DEPLOY_CLOUD_CONDITION_ALIAS = "Deploy.Condition.Cloud";
|
package/types/core/entities.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { DeployExceptionType } from "./types.js";
|
|
2
2
|
import type { SessionUpdatedModel, WorkStatusModel, DeployRegisteredEntityTypeDetailOptionsModel } from "../generated/index.ts";
|
|
3
3
|
export type MismatchDetailsModel = SessionUpdatedModel["mismatchList"][number];
|
|
4
|
+
export interface DeployWorkDescriptionModel {
|
|
5
|
+
name?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
4
8
|
export type DeploySelector = "this" | "this-and-children" | "this-and-descendants" | "descendants" | "children" | "entities-of-type";
|
|
5
9
|
export declare const DeployRoot = "00000000-0000-0000-0000-000000000000";
|
|
6
10
|
export interface DeployRegisteredEntity extends DeployRegisteredEntityTypeDetailOptionsModel {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DEPLOY_CONTEXT } from "../context/index.js";
|
|
2
|
+
import type { DeployWorkDescriptionModel } from "../entities.js";
|
|
2
3
|
import { UmbEntityActionBase } from "@umbraco-cms/backoffice/entity-action";
|
|
3
4
|
import { UmbLocalizationController } from "@umbraco-cms/backoffice/localization-api";
|
|
4
5
|
import type { UmbApiError } from "@umbraco-cms/backoffice/resources";
|
|
@@ -11,6 +12,6 @@ export declare class DeployEntityActionBase extends UmbEntityActionBase<never> {
|
|
|
11
12
|
hostConnected(): void;
|
|
12
13
|
entityHasChildren(): Promise<boolean>;
|
|
13
14
|
getRegisteredEntity(): import("../entities.js").DeployRegisteredEntity;
|
|
14
|
-
protected showProgress(workItemPromise: Promise<WorkItemDetailModel | UmbApiError | undefined>,
|
|
15
|
+
protected showProgress(workItemPromise: Promise<WorkItemDetailModel | UmbApiError | undefined>, progress: DeployWorkDescriptionModel, complete: DeployWorkDescriptionModel, onComplete?: (sessionId: string) => void): Promise<void>;
|
|
15
16
|
protected requestReload(): Promise<void>;
|
|
16
17
|
}
|
package/types/core/lang/en.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare const manifests: (import("@umbraco-cms/backoffice/tree").Manifest
|
|
|
24
24
|
type: string;
|
|
25
25
|
name: string;
|
|
26
26
|
alias: string;
|
|
27
|
-
api: () => Promise<typeof import("./conditions/
|
|
27
|
+
api: () => Promise<typeof import("./conditions/cloud.condition.js")>;
|
|
28
28
|
} | {
|
|
29
29
|
type: string;
|
|
30
30
|
alias: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { DeployWorkDescriptionModel } from "../entities.js";
|
|
1
2
|
import { UmbModalToken } from "@umbraco-cms/backoffice/modal";
|
|
2
3
|
import type { UmbApiError } from "@umbraco-cms/backoffice/resources";
|
|
3
4
|
import type { WorkItemDetailModel } from "../../generated/index.ts";
|
|
@@ -5,6 +6,7 @@ export interface DeployProgressModalData {
|
|
|
5
6
|
workItemPromise?: Promise<WorkItemDetailModel | UmbApiError | undefined>;
|
|
6
7
|
operation?: "deploy" | "restore";
|
|
7
8
|
onComplete?: (sessionId: string) => void;
|
|
8
|
-
|
|
9
|
+
progress: DeployWorkDescriptionModel;
|
|
10
|
+
complete: DeployWorkDescriptionModel;
|
|
9
11
|
}
|
|
10
12
|
export declare const DEPLOY_PROGRESS_MODAL: UmbModalToken<DeployProgressModalData, unknown>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { DeployWorkDescriptionModel } from "./entities.js";
|
|
1
2
|
import { UmbControllerBase } from "@umbraco-cms/backoffice/class-api";
|
|
2
3
|
import type { UmbApiError } from "@umbraco-cms/backoffice/resources";
|
|
3
4
|
import type { WorkItemDetailModel } from "../generated/index.ts";
|
|
4
5
|
export declare class DeployProgressManagerController extends UmbControllerBase {
|
|
5
|
-
showProgress(workItemPromise: Promise<WorkItemDetailModel | UmbApiError | undefined>,
|
|
6
|
+
showProgress(workItemPromise: Promise<WorkItemDetailModel | UmbApiError | undefined>, progress: DeployWorkDescriptionModel, complete: DeployWorkDescriptionModel): Promise<void>;
|
|
6
7
|
}
|
|
@@ -2,16 +2,12 @@ import type { DeployQueueItemStatus } from "../entities.js";
|
|
|
2
2
|
import type { DeployWorkOperationContext } from "../work/entities.js";
|
|
3
3
|
import type { ManifestBase } from "@umbraco-cms/backoffice/extension-api";
|
|
4
4
|
import type { Observable } from "@umbraco-cms/backoffice/observable-api";
|
|
5
|
-
export interface DeployWorkDescriptionModel {
|
|
6
|
-
name: string;
|
|
7
|
-
completeName?: string;
|
|
8
|
-
}
|
|
9
5
|
export interface DeployQueueManagerContext<QueueModel, QueueItemModel, AddToQueueItemModel = QueueItemModel> extends DeployWorkOperationContext<QueueModel> {
|
|
10
6
|
queue: Observable<QueueModel>;
|
|
11
7
|
length: Observable<number>;
|
|
12
8
|
statuses: Observable<Record<string, DeployQueueItemStatus>>;
|
|
13
9
|
add: (item: AddToQueueItemModel) => void;
|
|
14
|
-
remove: (
|
|
10
|
+
remove: (item: QueueItemModel) => void;
|
|
15
11
|
getItemStatus: (item: QueueItemModel) => DeployQueueItemStatus | undefined;
|
|
16
12
|
resetQueueItemStatuses: (status: DeployQueueItemStatus) => void;
|
|
17
13
|
}
|
|
@@ -18,9 +18,11 @@ export declare abstract class DeployQueueManagerContextBase<QueueModel extends Q
|
|
|
18
18
|
defaultState: QueueModel;
|
|
19
19
|
/** Optional state to reset to on `clear()`; defaults to `defaultState`. */
|
|
20
20
|
clearState?: QueueModel;
|
|
21
|
-
addFilter: (
|
|
21
|
+
addFilter: (item: QueueItemModel, addItem: AddToQueueItemModel) => boolean;
|
|
22
22
|
/** Extracts the unique key string for an item (matches the `entityId` shape emitted by the server). */
|
|
23
23
|
getKey: (item: QueueItemModel) => string;
|
|
24
|
+
/** Extracts the entity type for an item, used to disambiguate the shared empty-Guid root across trees. */
|
|
25
|
+
getEntityType: (item: QueueItemModel) => string;
|
|
24
26
|
/**
|
|
25
27
|
* Optional gate for per-entityId match updates. Return `false` to skip
|
|
26
28
|
* flipping this item on its `entityId` event (e.g. root items with
|
|
@@ -29,7 +31,7 @@ export declare abstract class DeployQueueManagerContextBase<QueueModel extends Q
|
|
|
29
31
|
*/
|
|
30
32
|
shouldFlipOnEntityIdMatch?: (item: QueueItemModel) => boolean;
|
|
31
33
|
update: (current: QueueModel, item: AddToQueueItemModel) => Partial<QueueModel>;
|
|
32
|
-
remove: (current: QueueModel,
|
|
34
|
+
remove: (current: QueueModel, item: QueueItemModel) => Partial<QueueModel>;
|
|
33
35
|
});
|
|
34
36
|
/**
|
|
35
37
|
* Default reactor for the deploy-side SignalR stream:
|
|
@@ -57,10 +59,10 @@ export declare abstract class DeployQueueManagerContextBase<QueueModel extends Q
|
|
|
57
59
|
updateQueueItemStatus(item: QueueItemModel, status: DeployQueueItemStatus): void;
|
|
58
60
|
resetQueueItemStatuses(status: DeployQueueItemStatus): void;
|
|
59
61
|
getItemStatus(item: QueueItemModel): DeployQueueItemStatus | undefined;
|
|
60
|
-
isQueued(unique: string,
|
|
62
|
+
isQueued(entityType: string, unique: string, mapUnique?: (key: string) => string | undefined): {
|
|
61
63
|
isQueued: boolean;
|
|
62
64
|
item: QueueItemModel | undefined;
|
|
63
65
|
};
|
|
64
66
|
add(item: AddToQueueItemModel): void;
|
|
65
|
-
remove(
|
|
67
|
+
remove(item: QueueItemModel): void;
|
|
66
68
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { DeployProgressModel } from "../entities.js";
|
|
1
|
+
import type { DeployProgressModel, DeployWorkDescriptionModel } from "../entities.js";
|
|
2
2
|
import { DEPLOY_WORK_RUNNER_PROVIDER } from "../work/index.js";
|
|
3
|
-
import type { DeployWorkDescriptionModel } from "./entities.js";
|
|
4
3
|
import { UmbLitElement } from "@umbraco-cms/backoffice/lit-element";
|
|
5
4
|
import { nothing } from "@umbraco-cms/backoffice/external/lit";
|
|
6
5
|
declare const elementName = "deploy-queue-progress";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { DeployErrorModel, DeployProgressModel } from "../entities.js";
|
|
2
|
-
import type { DeployWorkDescriptionModel } from "../queue/entities.js";
|
|
1
|
+
import type { DeployErrorModel, DeployProgressModel, DeployWorkDescriptionModel } from "../entities.js";
|
|
3
2
|
import type { DeployWorkRunnerConfig, DeployWorkRunnerContext, ExecuteResult } from "./entities.js";
|
|
4
3
|
import { UmbContextBase } from "@umbraco-cms/backoffice/class-api";
|
|
5
4
|
import type { UmbContextToken } from "@umbraco-cms/backoffice/context-api";
|
|
@@ -20,8 +19,8 @@ export declare class DeployWorkRunner extends UmbContextBase implements DeployWo
|
|
|
20
19
|
constructor(host: UmbControllerHost, contextToken: UmbContextToken<DeployWorkRunner>, config: DeployWorkRunnerConfig);
|
|
21
20
|
execute(args: {
|
|
22
21
|
workItemPromise: Promise<WorkItemDetailModel | UmbApiError | undefined>;
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
progress: DeployWorkDescriptionModel;
|
|
23
|
+
complete: DeployWorkDescriptionModel;
|
|
25
24
|
onComplete?: (sessionId: string) => void;
|
|
26
25
|
}): Promise<ExecuteResult>;
|
|
27
26
|
dismissError(): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { DeployErrorModel, DeployProgressModel } from "../entities.js";
|
|
2
|
-
import type { DeployWorkDescriptionModel } from "../queue/entities.js";
|
|
1
|
+
import type { DeployErrorModel, DeployProgressModel, DeployWorkDescriptionModel } from "../entities.js";
|
|
3
2
|
import type { UmbContextMinimal } from "@umbraco-cms/backoffice/context-api";
|
|
4
3
|
import type { Observable } from "@umbraco-cms/backoffice/observable-api";
|
|
5
4
|
import type { UmbApiError } from "@umbraco-cms/backoffice/resources";
|
|
@@ -43,7 +42,8 @@ export interface DeployWorkRunnerContext extends UmbContextMinimal {
|
|
|
43
42
|
restoreUpdate: Observable<SessionUpdatedModel | null>;
|
|
44
43
|
execute(args: {
|
|
45
44
|
workItemPromise: Promise<WorkItemDetailModel | UmbApiError | undefined>;
|
|
46
|
-
|
|
45
|
+
progress: DeployWorkDescriptionModel;
|
|
46
|
+
complete: DeployWorkDescriptionModel;
|
|
47
47
|
onComplete?: (sessionId: string) => void;
|
|
48
48
|
}): Promise<ExecuteResult>;
|
|
49
49
|
dismissError(): void;
|
|
@@ -42,17 +42,10 @@ export declare const manifests: ({
|
|
|
42
42
|
conditions: ({
|
|
43
43
|
alias: string;
|
|
44
44
|
match: string;
|
|
45
|
-
oneOf?: undefined;
|
|
46
|
-
allOf?: undefined;
|
|
47
|
-
} | {
|
|
48
|
-
alias: string;
|
|
49
|
-
oneOf: string[];
|
|
50
|
-
match?: undefined;
|
|
51
45
|
allOf?: undefined;
|
|
52
46
|
} | {
|
|
53
47
|
alias: string;
|
|
54
48
|
allOf: string[];
|
|
55
49
|
match?: undefined;
|
|
56
|
-
oneOf?: undefined;
|
|
57
50
|
})[];
|
|
58
51
|
})[];
|
|
@@ -42,18 +42,11 @@ export declare const manifests: ({
|
|
|
42
42
|
conditions: ({
|
|
43
43
|
alias: string;
|
|
44
44
|
match: string;
|
|
45
|
-
oneOf?: undefined;
|
|
46
|
-
allOf?: undefined;
|
|
47
|
-
} | {
|
|
48
|
-
alias: string;
|
|
49
|
-
oneOf: string[];
|
|
50
|
-
match?: undefined;
|
|
51
45
|
allOf?: undefined;
|
|
52
46
|
} | {
|
|
53
47
|
alias: string;
|
|
54
48
|
allOf: string[];
|
|
55
49
|
match?: undefined;
|
|
56
|
-
oneOf?: undefined;
|
|
57
50
|
})[];
|
|
58
51
|
} | {
|
|
59
52
|
type: string;
|
package/types/exports.d.ts
CHANGED
|
@@ -31,8 +31,7 @@ export { DEPLOY_PARTIALRESTORE_MODAL } from "./restore/modal/partial-restore-mod
|
|
|
31
31
|
export { DEPLOY_PROGRESS_MODAL, type DeployProgressModalData, } from "./core/modal/progress-modal.token.js";
|
|
32
32
|
export { DEPLOY_COMPARE_MODAL, type DeployCompareModalData, } from "./compare/modal/compare-modal.token.js";
|
|
33
33
|
export { DEPLOY_USER_PERMISSION_ENVIRONMENT_RESTORE, DEPLOY_USER_PERMISSION_TREE_RESTORE, DEPLOY_USER_PERMISSION_PARTIAL_RESTORE, DEPLOY_USER_PERMISSION_QUEUE_FOR_TRANSFER, DEPLOY_USER_PERMISSION_EXPORT, DEPLOY_USER_PERMISSION_IMPORT, } from "./core/user-permissions/constants.js";
|
|
34
|
-
export type { DeployProgressModel, DeployErrorModel, DeployExceptionModel, DeployDependencyModel, DeployMismatchModel, DeployMismatchDiffModel, MismatchDetailsModel, } from "./core/entities.js";
|
|
35
|
-
export type { DeployWorkDescriptionModel } from "./core/queue/entities.js";
|
|
34
|
+
export type { DeployProgressModel, DeployErrorModel, DeployExceptionModel, DeployDependencyModel, DeployMismatchModel, DeployMismatchDiffModel, MismatchDetailsModel, DeployWorkDescriptionModel, } from "./core/entities.js";
|
|
36
35
|
export type { DeployQueueItemModel } from "./transfer/entities.js";
|
|
37
36
|
export type { DeployExceptionType, DeployEnvironmentInfoModel, } from "./core/types.js";
|
|
38
37
|
export type { AddToQueueModel, ConfigurationModel, ClientConfigurationModel, DeployItemModel, LicenseStatusResponseModel, DeployRegisteredEntityTypeDetailOptionsModel, WorkItemDetailModel, WorkspaceInfoModel, } from "./generated/index.ts";
|
|
@@ -4,14 +4,17 @@ export declare const manifests: {
|
|
|
4
4
|
alias: string;
|
|
5
5
|
name: string;
|
|
6
6
|
weight: number;
|
|
7
|
-
api: () => Promise<typeof import("./
|
|
7
|
+
api: () => Promise<typeof import("./open-cloud/open-cloud-project.action.js")>;
|
|
8
8
|
forEntityTypes: string[];
|
|
9
9
|
meta: {
|
|
10
10
|
icon: string;
|
|
11
11
|
label: string;
|
|
12
12
|
};
|
|
13
|
-
conditions: {
|
|
13
|
+
conditions: ({
|
|
14
14
|
alias: string;
|
|
15
15
|
match: string;
|
|
16
|
-
}
|
|
16
|
+
} | {
|
|
17
|
+
alias: string;
|
|
18
|
+
match?: undefined;
|
|
19
|
+
})[];
|
|
17
20
|
}[];
|
|
@@ -5,16 +5,19 @@ export declare const manifests: (ManifestDeployOverviewWorkspaceView | import("@
|
|
|
5
5
|
alias: string;
|
|
6
6
|
name: string;
|
|
7
7
|
weight: number;
|
|
8
|
-
api: () => Promise<typeof import("./entity-actions/
|
|
8
|
+
api: () => Promise<typeof import("./entity-actions/open-cloud/open-cloud-project.action.js")>;
|
|
9
9
|
forEntityTypes: string[];
|
|
10
10
|
meta: {
|
|
11
11
|
icon: string;
|
|
12
12
|
label: string;
|
|
13
13
|
};
|
|
14
|
-
conditions: {
|
|
14
|
+
conditions: ({
|
|
15
15
|
alias: string;
|
|
16
16
|
match: string;
|
|
17
|
-
}
|
|
17
|
+
} | {
|
|
18
|
+
alias: string;
|
|
19
|
+
match?: undefined;
|
|
20
|
+
})[];
|
|
18
21
|
} | {
|
|
19
22
|
type: string;
|
|
20
23
|
kind: string;
|
|
@@ -18,7 +18,7 @@ export declare class DeployTransferQueueManagerContext extends DeployQueueManage
|
|
|
18
18
|
}, options: DeployQueueModalValue): Promise<void>;
|
|
19
19
|
add(item: AddToQueueModel): Promise<void | DeployItemModel>;
|
|
20
20
|
clear(withDelay?: boolean): Promise<void>;
|
|
21
|
-
remove(
|
|
21
|
+
remove(item: DeployItemModel): Promise<void>;
|
|
22
22
|
refresh(): Promise<void>;
|
|
23
23
|
/**
|
|
24
24
|
* Source-deploy doesn't emit per-artifact entityId today (Phase 4 / "Path 3b"),
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { DEPLOY_ACTIVE_SECTION_CONDITION_ALIAS } from "./constants.js";
|
|
2
|
-
import type { UmbControllerHost } from "@umbraco-cms/backoffice/controller-api";
|
|
3
|
-
import type { UmbConditionConfigBase, UmbConditionControllerArguments, UmbExtensionCondition } from "@umbraco-cms/backoffice/extension-api";
|
|
4
|
-
import { UmbConditionBase } from "@umbraco-cms/backoffice/extension-registry";
|
|
5
|
-
interface DeployActiveSectionConditionConfig extends UmbConditionConfigBase<typeof DEPLOY_ACTIVE_SECTION_CONDITION_ALIAS> {
|
|
6
|
-
oneOf: Array<string>;
|
|
7
|
-
}
|
|
8
|
-
export declare class DeployActiveSectionCondition extends UmbConditionBase<DeployActiveSectionConditionConfig> implements UmbExtensionCondition {
|
|
9
|
-
constructor(host: UmbControllerHost, args: UmbConditionControllerArguments<DeployActiveSectionConditionConfig>);
|
|
10
|
-
evaluate(): Promise<void>;
|
|
11
|
-
}
|
|
12
|
-
export default DeployActiveSectionCondition;
|