@umbraco-cms/backoffice 1.0.0-next.426eb58e → 1.0.0-next.47679773
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/README.md +2 -3
- package/backend-api.d.ts +507 -82
- package/collection.d.ts +38 -0
- package/content-type.d.ts +127 -0
- package/context-api.d.ts +44 -4
- package/{controller.d.ts → controller-api.d.ts} +2 -3
- package/custom-elements.json +4985 -4452
- package/{element.d.ts → element-api.d.ts} +2 -2
- package/entity-action.d.ts +1 -1
- package/extension-api.d.ts +200 -0
- package/{extensions-registry.d.ts → extension-registry.d.ts} +107 -193
- package/id.d.ts +6 -0
- package/modal.d.ts +68 -64
- package/models.d.ts +3 -72
- package/observable-api.d.ts +1 -1
- package/package.json +2 -2
- package/picker-input.d.ts +4 -3
- package/repository.d.ts +52 -37
- package/resources.d.ts +2 -15
- package/router.d.ts +2 -9
- package/section.d.ts +29 -0
- package/sorter.d.ts +1 -1
- package/store.d.ts +2 -2
- package/tree.d.ts +136 -0
- package/umbraco-package-schema.json +37071 -1755
- package/utils.d.ts +27 -9
- package/variant.d.ts +21 -0
- package/vscode-html-custom-data.json +2185 -2022
- package/workspace.d.ts +62 -17
- package/extensions-api.d.ts +0 -68
- package/property-editor.d.ts +0 -8
package/modal.d.ts
CHANGED
|
@@ -4,12 +4,11 @@ import * as lit from 'lit';
|
|
|
4
4
|
import { LitElement, TemplateResult } from 'lit';
|
|
5
5
|
import * as lit_html from 'lit-html';
|
|
6
6
|
import { UUIModalDialogElement, UUIModalSidebarElement, UUIModalSidebarSize } from '@umbraco-ui/uui';
|
|
7
|
-
import { UmbControllerHostElement, UmbControllerInterface } from '@umbraco-cms/backoffice/controller';
|
|
7
|
+
import { UmbControllerHostElement, UmbControllerInterface } from '@umbraco-cms/backoffice/controller-api';
|
|
8
8
|
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
9
9
|
import { Params } from '@umbraco-cms/backoffice/router';
|
|
10
|
-
import { UmbModalToken as UmbModalToken$1, UmbModalConfig as UmbModalConfig$1, UmbPickerModalData as UmbPickerModalData$1 } from '@umbraco-cms/backoffice/modal';
|
|
11
|
-
import { LanguageResponseModel, FolderReponseModel } from '@umbraco-cms/backoffice/backend-api';
|
|
12
|
-
import { UserDetails } from '@umbraco-cms/backoffice/models';
|
|
10
|
+
import { UmbModalToken as UmbModalToken$1, UmbModalConfig as UmbModalConfig$1, UmbTreePickerModalData as UmbTreePickerModalData$1, UmbPickerModalResult as UmbPickerModalResult$1, UmbPickerModalData as UmbPickerModalData$1 } from '@umbraco-cms/backoffice/modal';
|
|
11
|
+
import { DocumentTreeItemResponseModel, EntityTreeItemResponseModel, LanguageResponseModel, ContentTreeItemResponseModel, UserResponseModel, FolderReponseModel, FolderTreeItemResponseModel } from '@umbraco-cms/backoffice/backend-api';
|
|
13
12
|
|
|
14
13
|
declare class UmbSearchModalElement extends LitElement {
|
|
15
14
|
#private;
|
|
@@ -27,38 +26,36 @@ declare global {
|
|
|
27
26
|
}
|
|
28
27
|
}
|
|
29
28
|
|
|
30
|
-
declare class UmbModalToken<
|
|
29
|
+
declare class UmbModalToken<ModalDataType extends object = object, ModalResultType = unknown> {
|
|
31
30
|
protected alias: string;
|
|
32
31
|
protected defaultConfig?: UmbModalConfig | undefined;
|
|
33
|
-
protected
|
|
32
|
+
protected defaultData?: ModalDataType | undefined;
|
|
34
33
|
/**
|
|
35
34
|
* Get the data type of the token's data.
|
|
36
35
|
*
|
|
37
36
|
* @public
|
|
38
|
-
* @type {
|
|
37
|
+
* @type {ModalDataType}
|
|
39
38
|
* @memberOf UmbModalToken
|
|
40
39
|
* @example `typeof MyModal.TYPE`
|
|
41
40
|
* @returns undefined
|
|
42
41
|
*/
|
|
43
|
-
readonly DATA:
|
|
42
|
+
readonly DATA: ModalDataType;
|
|
44
43
|
/**
|
|
45
44
|
* Get the result type of the token
|
|
46
45
|
*
|
|
47
46
|
* @public
|
|
48
|
-
* @type {
|
|
47
|
+
* @type {ModalResultType}
|
|
49
48
|
* @memberOf UmbModalToken
|
|
50
49
|
* @example `typeof MyModal.RESULT`
|
|
51
50
|
* @returns undefined
|
|
52
51
|
*/
|
|
53
|
-
readonly RESULT:
|
|
52
|
+
readonly RESULT: ModalResultType;
|
|
54
53
|
/**
|
|
55
54
|
* @param alias Unique identifier for the token,
|
|
56
55
|
* @param defaultConfig Default configuration for the modal,
|
|
57
|
-
* @param
|
|
58
|
-
* used only for debugging purposes,
|
|
59
|
-
* it should but does not need to be unique
|
|
56
|
+
* @param defaultData Default data for the modal,
|
|
60
57
|
*/
|
|
61
|
-
constructor(alias: string, defaultConfig?: UmbModalConfig | undefined,
|
|
58
|
+
constructor(alias: string, defaultConfig?: UmbModalConfig | undefined, defaultData?: ModalDataType | undefined);
|
|
62
59
|
/**
|
|
63
60
|
* This method must always return the unique alias of the token since that
|
|
64
61
|
* will be used to look up the token in the injector.
|
|
@@ -67,6 +64,7 @@ declare class UmbModalToken<Data extends object = object, Result = unknown> {
|
|
|
67
64
|
*/
|
|
68
65
|
toString(): string;
|
|
69
66
|
getDefaultConfig(): UmbModalConfig | undefined;
|
|
67
|
+
getDefaultData(): ModalDataType | undefined;
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
/**
|
|
@@ -208,23 +206,13 @@ interface UmbContextDebuggerModalData {
|
|
|
208
206
|
}
|
|
209
207
|
declare const UMB_CONTEXT_DEBUGGER_MODAL: UmbModalToken$1<UmbContextDebuggerModalData, unknown>;
|
|
210
208
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
}
|
|
215
|
-
interface UmbDocumentPickerModalResult {
|
|
216
|
-
selection: Array<string>;
|
|
217
|
-
}
|
|
218
|
-
declare const UMB_DOCUMENT_PICKER_MODAL: UmbModalToken$1<UmbDocumentPickerModalData, UmbDocumentPickerModalResult>;
|
|
209
|
+
type UmbDocumentPickerModalData = UmbTreePickerModalData$1<DocumentTreeItemResponseModel>;
|
|
210
|
+
type UmbDocumentPickerModalResult = UmbPickerModalResult$1;
|
|
211
|
+
declare const UMB_DOCUMENT_PICKER_MODAL: UmbModalToken$1<UmbDocumentPickerModalData, UmbPickerModalResult$1>;
|
|
219
212
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
interface UmbDocumentTypePickerModalResult {
|
|
225
|
-
selection: Array<string>;
|
|
226
|
-
}
|
|
227
|
-
declare const UMB_DOCUMENT_TYPE_PICKER_MODAL: UmbModalToken$1<UmbDocumentTypePickerModalData, UmbDocumentTypePickerModalResult>;
|
|
213
|
+
type UmbDocumentTypePickerModalData = UmbTreePickerModalData$1<EntityTreeItemResponseModel>;
|
|
214
|
+
type UmbDocumentTypePickerModalResult = UmbPickerModalResult$1;
|
|
215
|
+
declare const UMB_DOCUMENT_TYPE_PICKER_MODAL: UmbModalToken$1<UmbDocumentTypePickerModalData, UmbPickerModalResult$1>;
|
|
228
216
|
|
|
229
217
|
declare enum OEmbedStatus {
|
|
230
218
|
NotSupported = 0,
|
|
@@ -289,11 +277,11 @@ declare const UMB_INVITE_USER_MODAL: UmbModalToken$1<object, unknown>;
|
|
|
289
277
|
|
|
290
278
|
interface UmbLanguagePickerModalData {
|
|
291
279
|
multiple?: boolean;
|
|
292
|
-
selection?: Array<string>;
|
|
280
|
+
selection?: Array<string | null>;
|
|
293
281
|
filter?: (language: LanguageResponseModel) => boolean;
|
|
294
282
|
}
|
|
295
283
|
interface UmbLanguagePickerModalResult {
|
|
296
|
-
selection: Array<string>;
|
|
284
|
+
selection: Array<string | null>;
|
|
297
285
|
}
|
|
298
286
|
declare const UMB_LANGUAGE_PICKER_MODAL: UmbModalToken$1<UmbLanguagePickerModalData, UmbLanguagePickerModalResult>;
|
|
299
287
|
|
|
@@ -323,14 +311,9 @@ interface UmbLinkPickerConfig {
|
|
|
323
311
|
}
|
|
324
312
|
declare const UMB_LINK_PICKER_MODAL: UmbModalToken$1<UmbLinkPickerModalData, UmbLinkPickerModalResult>;
|
|
325
313
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
}
|
|
330
|
-
interface UmbMediaPickerModalResult {
|
|
331
|
-
selection: Array<string>;
|
|
332
|
-
}
|
|
333
|
-
declare const UMB_MEDIA_PICKER_MODAL: UmbModalToken$1<UmbMediaPickerModalData, UmbMediaPickerModalResult>;
|
|
314
|
+
type UmbMediaTreePickerModalData = UmbTreePickerModalData$1<ContentTreeItemResponseModel>;
|
|
315
|
+
type UmbMediaTreePickerModalResult = UmbPickerModalResult$1;
|
|
316
|
+
declare const UMB_MEDIA_TREE_PICKER_MODAL: UmbModalToken$1<UmbMediaTreePickerModalData, UmbPickerModalResult$1>;
|
|
334
317
|
|
|
335
318
|
interface UmbPropertyEditorUIPickerModalData {
|
|
336
319
|
selection?: Array<string>;
|
|
@@ -360,9 +343,12 @@ declare const UMB_SEARCH_MODAL: UmbModalToken$1<object, unknown>;
|
|
|
360
343
|
|
|
361
344
|
interface UmbSectionPickerModalData {
|
|
362
345
|
multiple: boolean;
|
|
363
|
-
selection: string
|
|
346
|
+
selection: Array<string | null>;
|
|
347
|
+
}
|
|
348
|
+
interface UmbSectionPickerModalResult {
|
|
349
|
+
selection: Array<string | null>;
|
|
364
350
|
}
|
|
365
|
-
declare const UMB_SECTION_PICKER_MODAL: UmbModalToken$1<UmbSectionPickerModalData,
|
|
351
|
+
declare const UMB_SECTION_PICKER_MODAL: UmbModalToken$1<UmbSectionPickerModalData, UmbSectionPickerModalResult>;
|
|
366
352
|
|
|
367
353
|
interface UmbTemplateModalData {
|
|
368
354
|
id: string;
|
|
@@ -373,18 +359,17 @@ interface UmbTemplateModalResult {
|
|
|
373
359
|
}
|
|
374
360
|
declare const UMB_TEMPLATE_MODAL: UmbModalToken$1<UmbTemplateModalData, UmbTemplateModalResult>;
|
|
375
361
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
interface UmbTemplatePickerModalResult {
|
|
381
|
-
selection: string[] | undefined;
|
|
382
|
-
}
|
|
383
|
-
declare const UMB_TEMPLATE_PICKER_MODAL: UmbModalToken$1<UmbTemplatePickerModalData, UmbTemplatePickerModalResult>;
|
|
362
|
+
type UmbTemplatePickerModalData = UmbTreePickerModalData$1<EntityTreeItemResponseModel>;
|
|
363
|
+
type UmbTemplatePickerModalResult = UmbPickerModalResult$1;
|
|
364
|
+
declare const UMB_TEMPLATE_PICKER_MODAL: UmbModalToken$1<UmbTemplatePickerModalData, UmbPickerModalResult$1>;
|
|
384
365
|
|
|
385
|
-
declare const UMB_USER_GROUP_PICKER_MODAL: UmbModalToken$1<UmbPickerModalData$1<
|
|
366
|
+
declare const UMB_USER_GROUP_PICKER_MODAL: UmbModalToken$1<UmbPickerModalData$1<any>, unknown>;
|
|
386
367
|
|
|
387
|
-
|
|
368
|
+
type UmbUserPickerModalData = UmbPickerModalData$1<UserResponseModel>;
|
|
369
|
+
interface UmbUserPickerModalResult {
|
|
370
|
+
selection: Array<string | null>;
|
|
371
|
+
}
|
|
372
|
+
declare const UMB_USER_PICKER_MODAL: UmbModalToken$1<UmbUserPickerModalData, UmbUserPickerModalResult>;
|
|
388
373
|
|
|
389
374
|
interface UmbFolderModalData {
|
|
390
375
|
repositoryAlias: string;
|
|
@@ -395,22 +380,41 @@ interface UmbFolderModalResult {
|
|
|
395
380
|
}
|
|
396
381
|
declare const UMB_FOLDER_MODAL: UmbModalToken$1<UmbFolderModalData, UmbFolderModalResult>;
|
|
397
382
|
|
|
398
|
-
interface
|
|
399
|
-
|
|
400
|
-
|
|
383
|
+
interface UmbPartialViewPickerModalData {
|
|
384
|
+
multiple: boolean;
|
|
385
|
+
selection: string[];
|
|
401
386
|
}
|
|
402
|
-
interface
|
|
403
|
-
selection: Array<string
|
|
387
|
+
interface UmbPartialViewPickerModalResult {
|
|
388
|
+
selection: Array<string | null> | undefined;
|
|
404
389
|
}
|
|
405
|
-
declare const
|
|
390
|
+
declare const UMB_PARTIAL_VIEW_PICKER_MODAL_ALIAS = "Umb.Modal.PartialViewPicker";
|
|
391
|
+
declare const UMB_PARTIAL_VIEW_PICKER_MODAL: UmbModalToken$1<UmbPartialViewPickerModalData, UmbPartialViewPickerModalResult>;
|
|
406
392
|
|
|
407
|
-
interface
|
|
393
|
+
interface UmbDictionaryItemPickerModalData {
|
|
408
394
|
multiple: boolean;
|
|
409
|
-
selection:
|
|
410
|
-
filter?: (language: T) => boolean;
|
|
395
|
+
selection: string[];
|
|
411
396
|
}
|
|
412
|
-
interface
|
|
413
|
-
selection: Array<string>;
|
|
397
|
+
interface UmbDictionaryItemPickerModalResult {
|
|
398
|
+
selection: Array<string | null>;
|
|
399
|
+
}
|
|
400
|
+
declare const UMB_DICTIONARY_ITEM_PICKER_MODAL_ALIAS = "Umb.Modal.DictionaryItemPicker";
|
|
401
|
+
declare const UMB_DICTIONARY_ITEM_PICKER_MODAL: UmbModalToken$1<UmbDictionaryItemPickerModalData, UmbDictionaryItemPickerModalResult>;
|
|
402
|
+
|
|
403
|
+
type UmbDataTypePickerModalData = UmbTreePickerModalData$1<FolderTreeItemResponseModel>;
|
|
404
|
+
type UmbDataTypePickerModalResult = UmbPickerModalResult$1;
|
|
405
|
+
declare const UMB_DATA_TYPE_PICKER_MODAL: UmbModalToken$1<UmbDataTypePickerModalData, UmbPickerModalResult$1>;
|
|
406
|
+
|
|
407
|
+
interface UmbPickerModalData<ItemType> {
|
|
408
|
+
multiple?: boolean;
|
|
409
|
+
selection?: Array<string | null>;
|
|
410
|
+
filter?: (item: ItemType) => boolean;
|
|
411
|
+
pickableFilter?: (item: ItemType) => boolean;
|
|
412
|
+
}
|
|
413
|
+
interface UmbPickerModalResult {
|
|
414
|
+
selection: Array<string | null>;
|
|
415
|
+
}
|
|
416
|
+
interface UmbTreePickerModalData<TreeItemType> extends UmbPickerModalData<TreeItemType> {
|
|
417
|
+
treeAlias?: string;
|
|
414
418
|
}
|
|
415
419
|
|
|
416
|
-
export { OEmbedResult, OEmbedStatus, UMB_ALLOWED_DOCUMENT_TYPES_MODAL, UMB_CHANGE_PASSWORD_MODAL, UMB_CONFIRM_MODAL, UMB_CONTEXT_DEBUGGER_MODAL, UMB_CREATE_DICTIONARY_MODAL, UMB_CREATE_USER_MODAL, UMB_CURRENT_USER_MODAL, UMB_DATA_TYPE_PICKER_MODAL, UMB_DOCUMENT_PICKER_MODAL, UMB_DOCUMENT_TYPE_PICKER_MODAL, UMB_EMBEDDED_MEDIA_MODAL, UMB_EXAMINE_FIELDS_SETTINGS_MODAL, UMB_EXPORT_DICTIONARY_MODAL, UMB_FOLDER_MODAL, UMB_ICON_PICKER_MODAL, UMB_IMPORT_DICTIONARY_MODAL, UMB_INVITE_USER_MODAL, UMB_LANGUAGE_PICKER_MODAL, UMB_LINK_PICKER_MODAL,
|
|
420
|
+
export { OEmbedResult, OEmbedStatus, UMB_ALLOWED_DOCUMENT_TYPES_MODAL, UMB_CHANGE_PASSWORD_MODAL, UMB_CONFIRM_MODAL, UMB_CONTEXT_DEBUGGER_MODAL, UMB_CREATE_DICTIONARY_MODAL, UMB_CREATE_USER_MODAL, UMB_CURRENT_USER_MODAL, UMB_DATA_TYPE_PICKER_MODAL, UMB_DICTIONARY_ITEM_PICKER_MODAL, UMB_DICTIONARY_ITEM_PICKER_MODAL_ALIAS, UMB_DOCUMENT_PICKER_MODAL, UMB_DOCUMENT_TYPE_PICKER_MODAL, UMB_EMBEDDED_MEDIA_MODAL, UMB_EXAMINE_FIELDS_SETTINGS_MODAL, UMB_EXPORT_DICTIONARY_MODAL, UMB_FOLDER_MODAL, UMB_ICON_PICKER_MODAL, UMB_IMPORT_DICTIONARY_MODAL, UMB_INVITE_USER_MODAL, UMB_LANGUAGE_PICKER_MODAL, UMB_LINK_PICKER_MODAL, UMB_MEDIA_TREE_PICKER_MODAL, UMB_MODAL_CONTEXT_TOKEN, UMB_PARTIAL_VIEW_PICKER_MODAL, UMB_PARTIAL_VIEW_PICKER_MODAL_ALIAS, UMB_PROPERTY_EDITOR_UI_PICKER_MODAL, UMB_PROPERTY_SETTINGS_MODAL, UMB_SEARCH_MODAL, UMB_SECTION_PICKER_MODAL, UMB_TEMPLATE_MODAL, UMB_TEMPLATE_PICKER_MODAL, UMB_USER_GROUP_PICKER_MODAL, UMB_USER_PICKER_MODAL, UmbAllowedDocumentTypesModalData, UmbAllowedDocumentTypesModalResult, UmbChangePasswordModalData, UmbConfirmModalData, UmbConfirmModalResult, UmbContextDebuggerModalData, UmbCreateDictionaryModalData, UmbCreateDictionaryModalResult, UmbCreateDocumentModalResultData, UmbDataTypePickerModalData, UmbDataTypePickerModalResult, UmbDictionaryItemPickerModalData, UmbDictionaryItemPickerModalResult, UmbDocumentPickerModalData, UmbDocumentPickerModalResult, UmbDocumentTypePickerModalData, UmbDocumentTypePickerModalResult, UmbEmbeddedMediaModalData, UmbEmbeddedMediaModalResult, UmbExamineFieldsSettingsModalData, UmbExportDictionaryModalData, UmbExportDictionaryModalResult, UmbFolderModalData, UmbFolderModalResult, UmbIconPickerModalData, UmbIconPickerModalResult, UmbImportDictionaryModalData, UmbImportDictionaryModalResult, UmbLanguagePickerModalData, UmbLanguagePickerModalResult, UmbLinkPickerConfig, UmbLinkPickerLink, UmbLinkPickerModalData, UmbLinkPickerModalResult, UmbMediaTreePickerModalData, UmbMediaTreePickerModalResult, UmbModalConfig, UmbModalContext, UmbModalHandler, UmbModalHandlerClass, UmbModalRouteBuilder, UmbModalRouteRegistration, UmbModalRouteRegistrationController, UmbModalToken, UmbModalType, UmbPartialViewPickerModalData, UmbPartialViewPickerModalResult, UmbPickerModalData, UmbPickerModalResult, UmbPropertyEditorUIPickerModalData, UmbPropertyEditorUIPickerModalResult, UmbPropertySettingsModalResult, UmbSectionPickerModalData, UmbSectionPickerModalResult, UmbTemplateModalData, UmbTemplateModalResult, UmbTemplatePickerModalData, UmbTemplatePickerModalResult, UmbTreePickerModalData, UmbUserPickerModalData, UmbUserPickerModalResult };
|
package/models.d.ts
CHANGED
|
@@ -1,80 +1,11 @@
|
|
|
1
|
-
import { EntityTreeItemResponseModel, FolderTreeItemResponseModel, PackageManifestResponseModel } from '@umbraco-cms/backoffice/backend-api';
|
|
2
|
-
|
|
3
|
-
type HTMLElementConstructor<T = HTMLElement> = new (...args: any[]) => T;
|
|
4
|
-
type ClassConstructor<T> = new (...args: any[]) => T;
|
|
5
|
-
interface Entity {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
icon: string;
|
|
9
|
-
type: string;
|
|
10
|
-
hasChildren: boolean;
|
|
11
|
-
parentId: string | null;
|
|
12
|
-
}
|
|
13
1
|
/** Tried to find a common base of our entities — used by Entity Workspace Context */
|
|
14
|
-
type
|
|
2
|
+
type UmbEntityBase = {
|
|
15
3
|
id?: string;
|
|
16
4
|
name?: string;
|
|
17
5
|
};
|
|
18
|
-
interface
|
|
19
|
-
type: 'user';
|
|
20
|
-
}
|
|
21
|
-
type UserStatus = 'enabled' | 'inactive' | 'invited' | 'disabled';
|
|
22
|
-
interface UserDetails extends UserEntity {
|
|
23
|
-
email: string;
|
|
24
|
-
status: UserStatus;
|
|
25
|
-
language: string;
|
|
26
|
-
lastLoginDate?: string;
|
|
27
|
-
lastLockoutDate?: string;
|
|
28
|
-
lastPasswordChangeDate?: string;
|
|
29
|
-
updateDate: string;
|
|
30
|
-
createDate: string;
|
|
31
|
-
failedLoginAttempts: number;
|
|
32
|
-
userGroups: Array<string>;
|
|
33
|
-
contentStartNodes: Array<string>;
|
|
34
|
-
mediaStartNodes: Array<string>;
|
|
35
|
-
}
|
|
36
|
-
interface UserGroupEntity extends Entity {
|
|
37
|
-
type: 'user-group';
|
|
38
|
-
}
|
|
39
|
-
interface UserGroupDetails extends UserGroupEntity {
|
|
40
|
-
sections: Array<string>;
|
|
41
|
-
contentStartNode?: string;
|
|
42
|
-
mediaStartNode?: string;
|
|
43
|
-
permissions: Array<string>;
|
|
44
|
-
}
|
|
45
|
-
interface MemberTypeDetails extends EntityTreeItemResponseModel {
|
|
46
|
-
id: string;
|
|
47
|
-
alias: string;
|
|
48
|
-
properties: [];
|
|
49
|
-
}
|
|
50
|
-
interface MediaTypeDetails extends FolderTreeItemResponseModel {
|
|
51
|
-
id: string;
|
|
52
|
-
alias: string;
|
|
53
|
-
properties: [];
|
|
54
|
-
}
|
|
55
|
-
interface MemberGroupDetails extends EntityTreeItemResponseModel {
|
|
56
|
-
id: string;
|
|
57
|
-
}
|
|
58
|
-
interface MemberDetails extends EntityTreeItemResponseModel {
|
|
59
|
-
id: string;
|
|
60
|
-
}
|
|
61
|
-
interface DocumentBlueprintDetails {
|
|
62
|
-
id: string;
|
|
63
|
-
name: string;
|
|
64
|
-
type: 'document-blueprint';
|
|
65
|
-
properties: Array<any>;
|
|
66
|
-
data: Array<any>;
|
|
67
|
-
icon: string;
|
|
68
|
-
documentTypeKey: string;
|
|
69
|
-
}
|
|
70
|
-
interface SwatchDetails {
|
|
6
|
+
interface UmbSwatchDetails {
|
|
71
7
|
label: string;
|
|
72
8
|
value: string;
|
|
73
9
|
}
|
|
74
|
-
type UmbPackage = PackageManifestResponseModel;
|
|
75
|
-
type PackageManifestResponse = UmbPackage[];
|
|
76
|
-
type UmbPackageWithMigrationStatus = UmbPackage & {
|
|
77
|
-
hasPendingMigrations: boolean;
|
|
78
|
-
};
|
|
79
10
|
|
|
80
|
-
export {
|
|
11
|
+
export { UmbEntityBase, UmbSwatchDetails };
|
package/observable-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { UmbControllerInterface, UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
3
|
+
import { UmbControllerInterface, UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
|
|
4
4
|
|
|
5
5
|
declare class UmbObserver<T> {
|
|
6
6
|
#private;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-cms/backoffice",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.47679773",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"umbraco",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@types/uuid": "^9.0.1",
|
|
29
|
-
"@umbraco-ui/uui": "
|
|
29
|
+
"@umbraco-ui/uui": "1.2.1",
|
|
30
30
|
"rxjs": "^7.8.0"
|
|
31
31
|
},
|
|
32
32
|
"customElements": "custom-elements.json"
|
package/picker-input.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { UmbItemRepository } from '@umbraco-cms/backoffice/repository';
|
|
3
|
-
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
4
|
-
import { UmbModalToken, UmbModalContext } from '@umbraco-cms/backoffice/modal';
|
|
3
|
+
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
|
|
4
|
+
import { UmbModalToken, UmbModalContext, UmbPickerModalData } from '@umbraco-cms/backoffice/modal';
|
|
5
5
|
import { ItemResponseModelBaseModel } from '@umbraco-cms/backoffice/backend-api';
|
|
6
6
|
|
|
7
7
|
declare class UmbPickerInputContext<ItemType extends ItemResponseModelBaseModel> {
|
|
@@ -10,6 +10,7 @@ declare class UmbPickerInputContext<ItemType extends ItemResponseModelBaseModel>
|
|
|
10
10
|
modalAlias: string | UmbModalToken;
|
|
11
11
|
repository?: UmbItemRepository<ItemType>;
|
|
12
12
|
modalContext?: UmbModalContext;
|
|
13
|
+
pickableFilter?: (item: ItemType) => boolean;
|
|
13
14
|
selection: rxjs.Observable<string[]>;
|
|
14
15
|
selectedItems: rxjs.Observable<ItemType[]>;
|
|
15
16
|
max: number;
|
|
@@ -17,7 +18,7 @@ declare class UmbPickerInputContext<ItemType extends ItemResponseModelBaseModel>
|
|
|
17
18
|
constructor(host: UmbControllerHostElement, repositoryAlias: string, modalAlias: string | UmbModalToken, getUniqueMethod?: (entry: ItemType) => string | undefined);
|
|
18
19
|
getSelection(): string[];
|
|
19
20
|
setSelection(selection: string[]): void;
|
|
20
|
-
openPicker(pickerData?:
|
|
21
|
+
openPicker(pickerData?: Partial<UmbPickerModalData<ItemType>>): void;
|
|
21
22
|
requestRemoveItem(unique: string): Promise<void>;
|
|
22
23
|
}
|
|
23
24
|
|
package/repository.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ApiError, CancelError, FolderReponseModel, CreateFolderRequestModel, UpdateFolderReponseModel, ProblemDetailsModel, FolderModelBaseModel, ItemResponseModelBaseModel } from '@umbraco-cms/backoffice/backend-api';
|
|
1
|
+
import { ApiError, CancelError, FolderReponseModel, CreateFolderRequestModel, UpdateFolderReponseModel, TreeItemPresentationModel, ProblemDetailsModel, FolderModelBaseModel, ItemResponseModelBaseModel } from '@umbraco-cms/backoffice/backend-api';
|
|
2
2
|
import { DataSourceResponse as DataSourceResponse$1, UmbDataSourceErrorResponse as UmbDataSourceErrorResponse$1 } from '@umbraco-cms/backoffice/repository';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
+
import { UmbTreeRootModel, UmbTreeRootEntityModel } from '@umbraco-cms/backoffice/tree';
|
|
4
5
|
|
|
5
6
|
interface DataSourceResponse<T = undefined> extends UmbDataSourceErrorResponse {
|
|
6
7
|
data?: T;
|
|
@@ -9,10 +10,10 @@ interface UmbDataSourceErrorResponse {
|
|
|
9
10
|
error?: ApiError | CancelError;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
|
-
interface UmbDataSource<CreateRequestType, UpdateRequestType, ResponseType> {
|
|
13
|
+
interface UmbDataSource<CreateRequestType, CreateResponseType, UpdateRequestType, ResponseType> {
|
|
13
14
|
createScaffold(parentId: string | null): Promise<DataSourceResponse$1<CreateRequestType>>;
|
|
14
15
|
get(unique: string): Promise<DataSourceResponse$1<ResponseType>>;
|
|
15
|
-
insert(data: CreateRequestType): Promise<
|
|
16
|
+
insert(data: CreateRequestType): Promise<DataSourceResponse$1<CreateResponseType>>;
|
|
16
17
|
update(unique: string, data: UpdateRequestType): Promise<DataSourceResponse$1<ResponseType>>;
|
|
17
18
|
delete(unique: string): Promise<DataSourceResponse$1>;
|
|
18
19
|
}
|
|
@@ -25,10 +26,39 @@ interface UmbFolderDataSource {
|
|
|
25
26
|
delete(unique: string): Promise<DataSourceResponse>;
|
|
26
27
|
}
|
|
27
28
|
|
|
28
|
-
interface
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
interface UmbPagedData<T> {
|
|
30
|
+
total: number;
|
|
31
|
+
items: Array<T>;
|
|
32
|
+
}
|
|
33
|
+
interface UmbTreeRepository<TreeItemType extends TreeItemPresentationModel, TreeRootType extends UmbTreeRootModel = UmbTreeRootEntityModel> {
|
|
34
|
+
requestTreeRoot: () => Promise<{
|
|
35
|
+
data?: TreeRootType;
|
|
36
|
+
error?: ProblemDetailsModel;
|
|
37
|
+
}>;
|
|
38
|
+
requestRootTreeItems: () => Promise<{
|
|
39
|
+
data?: UmbPagedData<TreeItemType>;
|
|
40
|
+
error?: ProblemDetailsModel;
|
|
41
|
+
asObservable?: () => Observable<TreeItemType[]>;
|
|
42
|
+
}>;
|
|
43
|
+
requestTreeItemsOf: (parentUnique: string | null) => Promise<{
|
|
44
|
+
data?: UmbPagedData<TreeItemType>;
|
|
45
|
+
error?: ProblemDetailsModel;
|
|
46
|
+
asObservable?: () => Observable<TreeItemType[]>;
|
|
47
|
+
}>;
|
|
48
|
+
requestItemsLegacy?: (uniques: string[]) => Promise<{
|
|
49
|
+
data?: Array<TreeItemType>;
|
|
50
|
+
error?: ProblemDetailsModel;
|
|
51
|
+
asObservable?: () => Observable<any[]>;
|
|
52
|
+
}>;
|
|
53
|
+
rootTreeItems: () => Promise<Observable<TreeItemType[]>>;
|
|
54
|
+
treeItemsOf: (parentUnique: string | null) => Promise<Observable<TreeItemType[]>>;
|
|
55
|
+
itemsLegacy?: (uniques: string[]) => Promise<Observable<any[]>>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface UmbTreeDataSource<ItemType = any, PagedItemType = UmbPagedData<ItemType>> {
|
|
59
|
+
getRootItems(): Promise<DataSourceResponse<PagedItemType>>;
|
|
60
|
+
getChildrenOf(parentUnique: string | null): Promise<DataSourceResponse<PagedItemType>>;
|
|
61
|
+
getItems(unique: Array<string>): Promise<DataSourceResponse<Array<any>>>;
|
|
32
62
|
}
|
|
33
63
|
|
|
34
64
|
interface UmbItemDataSource<ItemType> {
|
|
@@ -36,11 +66,16 @@ interface UmbItemDataSource<ItemType> {
|
|
|
36
66
|
}
|
|
37
67
|
|
|
38
68
|
interface UmbMoveDataSource {
|
|
39
|
-
move(unique: string, targetUnique: string): Promise<UmbDataSourceErrorResponse$1>;
|
|
69
|
+
move(unique: string, targetUnique: string | null): Promise<UmbDataSourceErrorResponse$1>;
|
|
40
70
|
}
|
|
41
71
|
|
|
42
72
|
interface UmbCopyDataSource {
|
|
43
|
-
copy(unique: string, targetUnique: string): Promise<DataSourceResponse$1<string>>;
|
|
73
|
+
copy(unique: string, targetUnique: string | null): Promise<DataSourceResponse$1<string>>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
interface UmbCollectionDataSource<ItemType = any, PagedItemType = UmbPagedData<ItemType>> {
|
|
77
|
+
getCollection(): Promise<DataSourceResponse<PagedItemType>>;
|
|
78
|
+
filterCollection(filter: any): Promise<DataSourceResponse<PagedItemType>>;
|
|
44
79
|
}
|
|
45
80
|
|
|
46
81
|
interface UmbRepositoryErrorResponse {
|
|
@@ -49,39 +84,15 @@ interface UmbRepositoryErrorResponse {
|
|
|
49
84
|
interface UmbRepositoryResponse<T> extends UmbRepositoryErrorResponse {
|
|
50
85
|
data?: T;
|
|
51
86
|
}
|
|
52
|
-
interface UmbDetailRepository<CreateRequestType = any, UpdateRequestType = any, ResponseType = any> {
|
|
87
|
+
interface UmbDetailRepository<CreateRequestType = any, CreateResponseType = any, UpdateRequestType = any, ResponseType = any> {
|
|
53
88
|
createScaffold(parentId: string | null): Promise<UmbRepositoryResponse<CreateRequestType>>;
|
|
54
89
|
requestById(id: string): Promise<UmbRepositoryResponse<ResponseType>>;
|
|
55
|
-
|
|
90
|
+
byId(id: string): Promise<Observable<ResponseType>>;
|
|
91
|
+
create(data: CreateRequestType): Promise<UmbRepositoryResponse<CreateResponseType>>;
|
|
56
92
|
save(id: string, data: UpdateRequestType): Promise<UmbRepositoryErrorResponse>;
|
|
57
93
|
delete(id: string): Promise<UmbRepositoryErrorResponse>;
|
|
58
94
|
}
|
|
59
95
|
|
|
60
|
-
interface UmbPagedData<T> {
|
|
61
|
-
total: number;
|
|
62
|
-
items: Array<T>;
|
|
63
|
-
}
|
|
64
|
-
interface UmbTreeRepository<ItemType = any, PagedItemType = UmbPagedData<ItemType>> {
|
|
65
|
-
requestRootTreeItems: () => Promise<{
|
|
66
|
-
data: PagedItemType | undefined;
|
|
67
|
-
error: ProblemDetailsModel | undefined;
|
|
68
|
-
asObservable?: () => Observable<ItemType[]>;
|
|
69
|
-
}>;
|
|
70
|
-
requestTreeItemsOf: (parentUnique: string | null) => Promise<{
|
|
71
|
-
data: PagedItemType | undefined;
|
|
72
|
-
error: ProblemDetailsModel | undefined;
|
|
73
|
-
asObservable?: () => Observable<ItemType[]>;
|
|
74
|
-
}>;
|
|
75
|
-
requestItemsLegacy?: (uniques: string[]) => Promise<{
|
|
76
|
-
data: Array<ItemType> | undefined;
|
|
77
|
-
error: ProblemDetailsModel | undefined;
|
|
78
|
-
asObservable?: () => Observable<ItemType[]>;
|
|
79
|
-
}>;
|
|
80
|
-
rootTreeItems: () => Promise<Observable<ItemType[]>>;
|
|
81
|
-
treeItemsOf: (parentUnique: string | null) => Promise<Observable<ItemType[]>>;
|
|
82
|
-
itemsLegacy?: (uniques: string[]) => Promise<Observable<ItemType[]>>;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
96
|
interface UmbFolderRepository {
|
|
86
97
|
createFolderScaffold(parentId: string | null): Promise<{
|
|
87
98
|
data?: FolderReponseModel;
|
|
@@ -104,6 +115,10 @@ interface UmbFolderRepository {
|
|
|
104
115
|
}>;
|
|
105
116
|
}
|
|
106
117
|
|
|
118
|
+
interface UmbCollectionRepository {
|
|
119
|
+
requestCollection(filter?: any): Promise<any>;
|
|
120
|
+
}
|
|
121
|
+
|
|
107
122
|
interface UmbItemRepository<ItemType extends ItemResponseModelBaseModel> {
|
|
108
123
|
requestItems: (uniques: string[]) => Promise<{
|
|
109
124
|
data?: Array<ItemType> | undefined;
|
|
@@ -121,4 +136,4 @@ interface UmbCopyRepository {
|
|
|
121
136
|
copy(unique: string, targetUnique: string): Promise<UmbRepositoryResponse<string>>;
|
|
122
137
|
}
|
|
123
138
|
|
|
124
|
-
export { DataSourceResponse, UmbCopyDataSource, UmbCopyRepository, UmbDataSource, UmbDataSourceErrorResponse, UmbDetailRepository, UmbFolderDataSource, UmbFolderRepository, UmbItemDataSource, UmbItemRepository, UmbMoveDataSource, UmbMoveRepository, UmbPagedData, UmbRepositoryErrorResponse, UmbRepositoryResponse, UmbTreeDataSource, UmbTreeRepository };
|
|
139
|
+
export { DataSourceResponse, UmbCollectionDataSource, UmbCollectionRepository, UmbCopyDataSource, UmbCopyRepository, UmbDataSource, UmbDataSourceErrorResponse, UmbDetailRepository, UmbFolderDataSource, UmbFolderRepository, UmbItemDataSource, UmbItemRepository, UmbMoveDataSource, UmbMoveRepository, UmbPagedData, UmbRepositoryErrorResponse, UmbRepositoryResponse, UmbTreeDataSource, UmbTreeRepository };
|
package/resources.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { UmbNotificationOptions } from '@umbraco-cms/backoffice/notification';
|
|
2
|
-
import { UmbController, UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
2
|
+
import { UmbController, UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
|
|
3
3
|
import { DataSourceResponse as DataSourceResponse$1 } from '@umbraco-cms/backoffice/repository';
|
|
4
|
-
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
5
4
|
import { ApiError, CancelError } from '@umbraco-cms/backoffice/backend-api';
|
|
6
5
|
|
|
7
6
|
declare class UmbResourceController extends UmbController {
|
|
@@ -33,18 +32,6 @@ declare class UmbResourceController extends UmbController {
|
|
|
33
32
|
destroy(): void;
|
|
34
33
|
}
|
|
35
34
|
|
|
36
|
-
/**
|
|
37
|
-
* The base URL of the configured Umbraco server.
|
|
38
|
-
* If the server is local, this will be an empty string.
|
|
39
|
-
*
|
|
40
|
-
* @remarks This is the base URL of the Umbraco server, not the base URL of the backoffice.
|
|
41
|
-
*
|
|
42
|
-
* @example https://localhost:44300
|
|
43
|
-
* @example https://my-umbraco-site.com
|
|
44
|
-
* @example ''
|
|
45
|
-
*/
|
|
46
|
-
declare const UMB_SERVER_URL: UmbContextToken<string>;
|
|
47
|
-
|
|
48
35
|
interface DataSourceResponse<T = undefined> extends UmbDataSourceErrorResponse {
|
|
49
36
|
data?: T;
|
|
50
37
|
}
|
|
@@ -56,4 +43,4 @@ declare function tryExecute<T>(promise: Promise<T>): Promise<DataSourceResponse<
|
|
|
56
43
|
|
|
57
44
|
declare function tryExecuteAndNotify<T>(host: UmbControllerHostElement, resource: Promise<T>, options?: UmbNotificationOptions): Promise<DataSourceResponse<T>>;
|
|
58
45
|
|
|
59
|
-
export {
|
|
46
|
+
export { UmbResourceController, tryExecute, tryExecuteAndNotify };
|
package/router.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
2
|
-
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
2
|
+
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
|
|
3
3
|
import { UmbModalRouteRegistration } from '@umbraco-cms/backoffice/modal';
|
|
4
4
|
|
|
5
5
|
interface IRouterSlot<D = any, P = any> extends HTMLElement {
|
|
@@ -350,13 +350,6 @@ declare function toQueryString(query: Query): string;
|
|
|
350
350
|
*/
|
|
351
351
|
declare function ensureAnchorHistory(): void;
|
|
352
352
|
|
|
353
|
-
interface UmbRouteLocation {
|
|
354
|
-
name?: string;
|
|
355
|
-
params: {
|
|
356
|
-
[key: string]: string;
|
|
357
|
-
};
|
|
358
|
-
}
|
|
359
|
-
|
|
360
353
|
declare class UmbRouteContext {
|
|
361
354
|
#private;
|
|
362
355
|
private _onGotModals;
|
|
@@ -372,4 +365,4 @@ declare function generateRoutePathBuilder(path: string): (params: {
|
|
|
372
365
|
[key: string]: string | number;
|
|
373
366
|
}) => string;
|
|
374
367
|
|
|
375
|
-
export { Guard, IComponentRoute, IRedirectRoute, IResolverRoute,
|
|
368
|
+
export { Guard, IComponentRoute, IRedirectRoute, IResolverRoute, IRoutingInfo, PageComponent, Params, Query, UMB_ROUTE_CONTEXT_TOKEN, IRoute as UmbRoute, UmbRouteContext, addListener, attachCallback, basePath, constructAbsolutePath, constructPathWithBasePath, dispatchGlobalRouterEvent, dispatchRouteChangeEvent, ensureAnchorHistory, ensureHistoryEvents, ensureSlash, generateRoutePathBuilder, getFragments, handleRedirect, historyPatches, isPathActive, isRedirectRoute, isResolverRoute, matchRoute, matchRoutes, path, pathWithoutBasePath, query, queryParentRoots, queryParentRouterSlot, queryString, removeListeners, resolvePageComponent, saveNativeFunction, shouldNavigate, slashify, stripSlash, stripStart, toQuery, toQueryString, traverseRouterTree };
|
package/section.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as rxjs from 'rxjs';
|
|
2
|
+
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
3
|
+
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
|
|
4
|
+
import { ManifestSection } from '@umbraco-cms/backoffice/extension-registry';
|
|
5
|
+
|
|
6
|
+
declare class UmbSectionSidebarContext {
|
|
7
|
+
#private;
|
|
8
|
+
contextMenuIsOpen: rxjs.Observable<boolean>;
|
|
9
|
+
entityType: rxjs.Observable<string | undefined>;
|
|
10
|
+
unique: rxjs.Observable<string | null | undefined>;
|
|
11
|
+
headline: rxjs.Observable<string | undefined>;
|
|
12
|
+
constructor(host: UmbControllerHostElement);
|
|
13
|
+
toggleContextMenu(entityType: string, unique: string | null | undefined, headline: string): void;
|
|
14
|
+
openContextMenu(entityType: string, unique: string | null | undefined, headline: string): void;
|
|
15
|
+
closeContextMenu(): void;
|
|
16
|
+
}
|
|
17
|
+
declare const UMB_SECTION_SIDEBAR_CONTEXT_TOKEN: UmbContextToken<UmbSectionSidebarContext>;
|
|
18
|
+
|
|
19
|
+
declare class UmbSectionContext {
|
|
20
|
+
#private;
|
|
21
|
+
readonly alias: rxjs.Observable<string | undefined>;
|
|
22
|
+
readonly pathname: rxjs.Observable<string | undefined>;
|
|
23
|
+
readonly label: rxjs.Observable<string | undefined>;
|
|
24
|
+
constructor(manifest: ManifestSection);
|
|
25
|
+
setManifest(manifest?: ManifestSection): void;
|
|
26
|
+
}
|
|
27
|
+
declare const UMB_SECTION_CONTEXT_TOKEN: UmbContextToken<UmbSectionContext>;
|
|
28
|
+
|
|
29
|
+
export { UMB_SECTION_CONTEXT_TOKEN, UMB_SECTION_SIDEBAR_CONTEXT_TOKEN, UmbSectionContext, UmbSectionSidebarContext };
|
package/sorter.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UmbControllerInterface, UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
1
|
+
import { UmbControllerInterface, UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
|
|
2
2
|
|
|
3
3
|
type INTERNAL_UmbSorterConfig<T> = {
|
|
4
4
|
compareElementToModel: (el: HTMLElement, modelEntry: T) => boolean;
|
package/store.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
3
|
+
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller-api';
|
|
4
4
|
import { UmbArrayState } from '@umbraco-cms/backoffice/observable-api';
|
|
5
5
|
import { EntityTreeItemResponseModel, FileSystemTreeItemPresentationModel } from '@umbraco-cms/backoffice/backend-api';
|
|
6
6
|
import { UmbStoreBase as UmbStoreBase$1, UmbTreeStore as UmbTreeStore$1 } from '@umbraco-cms/backoffice/store';
|
|
@@ -97,7 +97,7 @@ declare class UmbEntityTreeStore extends UmbStoreBase$1<EntityTreeItemResponseMo
|
|
|
97
97
|
* @return {*}
|
|
98
98
|
* @memberof UmbEntityTreeStore
|
|
99
99
|
*/
|
|
100
|
-
items(ids: Array<string>): rxjs.Observable<EntityTreeItemResponseModel[]>;
|
|
100
|
+
items(ids: Array<string | null>): rxjs.Observable<EntityTreeItemResponseModel[]>;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/**
|