@umbraco-cms/backoffice 1.0.0-next.e3cf00d3 → 1.0.0-next.ea0eb63c
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/collection.d.ts +9 -3
- package/context-api.d.ts +2 -2
- package/custom-elements.json +4452 -4452
- package/modal.d.ts +3 -4
- package/models.d.ts +3 -87
- package/package.json +1 -1
- package/repository.d.ts +1 -1
- package/section.d.ts +1 -3
- package/tree.d.ts +14 -0
- package/vscode-html-custom-data.json +1916 -1916
- package/workspace.d.ts +2 -2
package/collection.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
|
3
3
|
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
4
4
|
import { UmbObserverController } from '@umbraco-cms/backoffice/observable-api';
|
|
5
5
|
import { UmbCollectionRepository } from '@umbraco-cms/backoffice/repository';
|
|
6
|
-
import {
|
|
6
|
+
import { UmbCollectionFilterModel as UmbCollectionFilterModel$1 } from '@umbraco-cms/backoffice/collection';
|
|
7
7
|
|
|
8
|
-
declare class UmbCollectionContext<ItemType, FilterModelType extends
|
|
8
|
+
declare class UmbCollectionContext<ItemType, FilterModelType extends UmbCollectionFilterModel$1> {
|
|
9
9
|
#private;
|
|
10
10
|
private _host;
|
|
11
11
|
private _entityType;
|
|
@@ -29,4 +29,10 @@ declare class UmbCollectionContext<ItemType, FilterModelType extends UmbFilterMo
|
|
|
29
29
|
}
|
|
30
30
|
declare const UMB_COLLECTION_CONTEXT_TOKEN: UmbContextToken<UmbCollectionContext<any, any>>;
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
interface UmbCollectionFilterModel {
|
|
33
|
+
skip?: number;
|
|
34
|
+
take?: number;
|
|
35
|
+
filter?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { UMB_COLLECTION_CONTEXT_TOKEN, UmbCollectionContext, UmbCollectionFilterModel };
|
package/context-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UmbControllerHostElement, UmbControllerInterface } from '@umbraco-cms/backoffice/controller';
|
|
2
2
|
import { UmbWorkspaceContextInterface } from '@umbraco-cms/backoffice/workspace';
|
|
3
|
-
import {
|
|
3
|
+
import { UmbEntityBase } from '@umbraco-cms/backoffice/models';
|
|
4
4
|
|
|
5
5
|
declare class UmbContextToken<T = unknown> {
|
|
6
6
|
protected alias: string;
|
|
@@ -170,7 +170,7 @@ interface UmbEntityWorkspaceContextInterface<EntityType = unknown> extends UmbWo
|
|
|
170
170
|
save(): Promise<void>;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
declare const UMB_ENTITY_WORKSPACE_CONTEXT: UmbContextToken<UmbEntityWorkspaceContextInterface<
|
|
173
|
+
declare const UMB_ENTITY_WORKSPACE_CONTEXT: UmbContextToken<UmbEntityWorkspaceContextInterface<UmbEntityBase>>;
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
176
|
* Change the collection of Contexts into a simplified array of data
|