@umbraco-cms/backoffice 1.0.0-next.4e56c5c5 → 1.0.0-next.54c4e01c
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/backend-api.d.ts +196 -70
- package/context-api.d.ts +3 -3
- package/controller.d.ts +2 -1
- package/custom-elements.json +1438 -1221
- package/element.d.ts +4 -4
- package/entity-action.d.ts +6 -13
- package/extensions-api.d.ts +13 -12
- package/extensions-registry.d.ts +288 -86
- package/modal.d.ts +27 -323
- package/models.d.ts +7 -2
- package/notification.d.ts +1 -1
- package/observable-api.d.ts +53 -41
- package/package.json +1 -1
- package/picker-input.d.ts +24 -0
- package/repository.d.ts +62 -28
- package/resources.d.ts +24 -15
- package/router.d.ts +263 -25
- package/sorter.d.ts +103 -0
- package/store.d.ts +42 -47
- package/umbraco-package-schema.json +37749 -0
- package/utils.d.ts +1 -9
- package/vscode-html-custom-data.json +433 -405
- package/workspace.d.ts +22 -21
- package/property-editor.d.ts +0 -8
package/workspace.d.ts
CHANGED
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
import { UmbControllerHostElement } from './controller';
|
|
2
1
|
import { Observable } from 'rxjs';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
interface UmbWorkspaceAction<T = unknown> {
|
|
6
|
-
host: UmbControllerHostElement;
|
|
7
|
-
workspaceContext?: T;
|
|
8
|
-
execute(): Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
declare class UmbWorkspaceActionBase<WorkspaceType> {
|
|
11
|
-
host: UmbControllerHostElement;
|
|
12
|
-
workspaceContext?: WorkspaceType;
|
|
13
|
-
constructor(host: UmbControllerHostElement);
|
|
14
|
-
}
|
|
2
|
+
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
3
|
+
import { UmbWorkspaceContextInterface as UmbWorkspaceContextInterface$1 } from '@umbraco-cms/backoffice/workspace';
|
|
15
4
|
|
|
16
5
|
interface UmbWorkspaceContextInterface<DataType = unknown> {
|
|
17
6
|
host: UmbControllerHostElement;
|
|
18
7
|
repository: any;
|
|
19
|
-
isNew: Observable<boolean>;
|
|
20
|
-
getIsNew(): boolean;
|
|
8
|
+
isNew: Observable<boolean | undefined>;
|
|
9
|
+
getIsNew(): boolean | undefined;
|
|
21
10
|
setIsNew(value: boolean): void;
|
|
22
11
|
getEntityType(): string;
|
|
23
12
|
getData(): DataType | undefined;
|
|
13
|
+
save(): Promise<void>;
|
|
24
14
|
destroy(): void;
|
|
25
15
|
setValidationErrors?(errorMap: any): void;
|
|
26
16
|
}
|
|
27
17
|
|
|
28
|
-
declare class UmbSaveWorkspaceAction extends UmbWorkspaceActionBase<UmbWorkspaceContextInterface> {
|
|
29
|
-
#private;
|
|
30
|
-
constructor(host: UmbControllerHostElement);
|
|
31
|
-
execute(): Promise<void>;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
18
|
interface UmbEntityWorkspaceContextInterface<EntityType = unknown> extends UmbWorkspaceContextInterface$1<EntityType> {
|
|
35
19
|
getEntityId(): string | undefined;
|
|
36
20
|
getEntityType(): string;
|
|
37
21
|
save(): Promise<void>;
|
|
38
22
|
}
|
|
39
23
|
|
|
24
|
+
interface UmbWorkspaceAction<WorkspaceType = unknown> {
|
|
25
|
+
host: UmbControllerHostElement;
|
|
26
|
+
workspaceContext?: WorkspaceType;
|
|
27
|
+
execute(): Promise<void>;
|
|
28
|
+
}
|
|
29
|
+
declare abstract class UmbWorkspaceActionBase<WorkspaceType extends UmbWorkspaceContextInterface> implements UmbWorkspaceAction<WorkspaceType> {
|
|
30
|
+
host: UmbControllerHostElement;
|
|
31
|
+
workspaceContext?: WorkspaceType;
|
|
32
|
+
constructor(host: UmbControllerHostElement);
|
|
33
|
+
abstract execute(): Promise<void>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare class UmbSaveWorkspaceAction extends UmbWorkspaceActionBase<UmbWorkspaceContextInterface> {
|
|
37
|
+
constructor(host: UmbControllerHostElement);
|
|
38
|
+
execute(): Promise<void>;
|
|
39
|
+
}
|
|
40
|
+
|
|
40
41
|
export { UmbEntityWorkspaceContextInterface, UmbSaveWorkspaceAction, UmbWorkspaceAction, UmbWorkspaceActionBase, UmbWorkspaceContextInterface };
|
package/property-editor.d.ts
DELETED