@umbraco-cms/backoffice 1.0.0-next.d01c4274 → 1.0.0-next.d2c0dcf1
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 +594 -272
- package/context-api.d.ts +4 -4
- package/controller.d.ts +3 -2
- package/custom-elements.json +768 -390
- package/element.d.ts +5 -5
- package/entity-action.d.ts +6 -13
- package/extensions-api.d.ts +5 -4
- package/extensions-registry.d.ts +171 -10
- package/modal.d.ts +24 -324
- package/models.d.ts +9 -9
- package/notification.d.ts +1 -1
- package/observable-api.d.ts +75 -49
- package/package.json +1 -1
- package/picker-input.d.ts +24 -0
- package/property-editor.d.ts +1 -1
- package/repository.d.ts +53 -28
- package/resources.d.ts +7 -5
- package/router.d.ts +275 -25
- package/sorter.d.ts +103 -0
- package/store.d.ts +51 -56
- package/umbraco-package-schema.json +2439 -0
- package/utils.d.ts +4 -2
- package/vscode-html-custom-data.json +214 -81
- package/workspace.d.ts +6 -6
package/context-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { UmbControllerHostElement, UmbControllerInterface } from '
|
|
2
|
-
import { UmbWorkspaceContextInterface } from '
|
|
3
|
-
import { BaseEntity } from '
|
|
1
|
+
import { UmbControllerHostElement, UmbControllerInterface } from '@umbraco-cms/backoffice/controller';
|
|
2
|
+
import { UmbWorkspaceContextInterface } from '@umbraco-cms/backoffice/workspace';
|
|
3
|
+
import { BaseEntity } from '@umbraco-cms/backoffice/models';
|
|
4
4
|
|
|
5
5
|
declare class UmbContextToken<T = unknown> {
|
|
6
6
|
protected alias: string;
|
|
@@ -165,7 +165,7 @@ declare class UmbContextProvideEventImplementation extends Event implements UmbC
|
|
|
165
165
|
declare const isUmbContextProvideEventType: (event: Event) => event is UmbContextProvideEventImplementation;
|
|
166
166
|
|
|
167
167
|
interface UmbEntityWorkspaceContextInterface<EntityType = unknown> extends UmbWorkspaceContextInterface<EntityType> {
|
|
168
|
-
|
|
168
|
+
getEntityId(): string | undefined;
|
|
169
169
|
getEntityType(): string;
|
|
170
170
|
save(): Promise<void>;
|
|
171
171
|
}
|
package/controller.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLElementConstructor } from '
|
|
1
|
+
import { HTMLElementConstructor } from '@umbraco-cms/backoffice/models';
|
|
2
2
|
|
|
3
3
|
interface UmbControllerInterface {
|
|
4
4
|
get unique(): string | undefined;
|
|
@@ -11,6 +11,7 @@ declare class UmbControllerHostElement extends HTMLElement {
|
|
|
11
11
|
hasController(controller: UmbControllerInterface): boolean;
|
|
12
12
|
getControllers(filterMethod: (ctrl: UmbControllerInterface) => boolean): UmbControllerInterface[];
|
|
13
13
|
addController(controller: UmbControllerInterface): void;
|
|
14
|
+
removeControllerByUnique(unique: UmbControllerInterface['unique']): void;
|
|
14
15
|
removeController(controller: UmbControllerInterface): void;
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
@@ -20,7 +21,7 @@ declare class UmbControllerHostElement extends HTMLElement {
|
|
|
20
21
|
* @param {Object} superClass - superclass to be extended.
|
|
21
22
|
* @mixin
|
|
22
23
|
*/
|
|
23
|
-
declare const UmbControllerHostMixin: <T extends HTMLElementConstructor
|
|
24
|
+
declare const UmbControllerHostMixin: <T extends HTMLElementConstructor>(superClass: T) => HTMLElementConstructor<UmbControllerHostElement> & T;
|
|
24
25
|
declare global {
|
|
25
26
|
interface HTMLElement {
|
|
26
27
|
connectedCallback(): void;
|