@omnia/fx 7.5.31-dev → 7.5.32-dev
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/internal-do-not-import-from-here/services/VersionedLayoutService.d.ts +2 -0
- package/internal-do-not-import-from-here/stores/VersionedLayoutStore.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItemFactory.d.ts +1 -0
- package/package.json +2 -2
|
@@ -17,6 +17,7 @@ export declare class VersionedLayoutService {
|
|
|
17
17
|
private httpClient;
|
|
18
18
|
private settingsService;
|
|
19
19
|
createAppScopedLayout: (appInstanceId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => Promise<VersionedLayoutCreationResponse>;
|
|
20
|
+
createBusinessProfileScopedLayout: (businessProfileId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => Promise<VersionedLayoutCreationResponse>;
|
|
20
21
|
createTenantScopedLayout: (definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => Promise<VersionedLayoutCreationResponse>;
|
|
21
22
|
createAlternateLayout: (versionedLayout: VersionedLayout, title: string, definition: VersionedLayoutDefinition) => Promise<VersionedAlternateLayoutCreationResponse>;
|
|
22
23
|
deleteLayout: (layout: VersionedLayout) => Promise<void>;
|
|
@@ -33,6 +34,7 @@ export declare class VersionedLayoutService {
|
|
|
33
34
|
getLayoutByIdentifier: (identifier: IVersionedDataIdentifier) => Promise<VersionedLayout>;
|
|
34
35
|
getLayoutById: (layoutId: number) => Promise<VersionedLayout>;
|
|
35
36
|
getLayoutsByAppId: (appInstanceId: GuidValue) => Promise<VersionedLayout[]>;
|
|
37
|
+
getLayoutsByBusinessProfileId: (businessProfileId: GuidValue) => Promise<VersionedLayout[]>;
|
|
36
38
|
getTenantLayouts: () => Promise<VersionedLayout[]>;
|
|
37
39
|
getLayoutVersionInformation: (dataIdentifier: IVersionedDataIdentifier) => Promise<IVersionInformation[]>;
|
|
38
40
|
setDisplayBreakpointAlternateLayoutMapping: (versionedLayoutId: VersionedLayoutId, mapping: DisplayBreakpointVersionedAlternateLayoutMapping) => Promise<void>;
|
|
@@ -20,6 +20,7 @@ export declare class VersionedLayoutStore extends Store {
|
|
|
20
20
|
};
|
|
21
21
|
actions: {
|
|
22
22
|
ensureLoadForApp: import("./Store").StoreAction<unknown, (appInstanceId: GuidValue) => void, (result: void, appInstanceId: GuidValue) => void, (failureReason: any, appInstanceId: GuidValue) => void, (appInstanceId: GuidValue) => Promise<void>>;
|
|
23
|
+
ensureLoadForBusinessProfile: import("./Store").StoreAction<unknown, (businessProfileId: GuidValue) => void, (result: void, businessProfileId: GuidValue) => void, (failureReason: any, businessProfileId: GuidValue) => void, (businessProfileId: GuidValue) => Promise<void>>;
|
|
23
24
|
ensureLoadForTenant: import("./Store").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
24
25
|
ensureLoadLayoutDefinitionLatestRef: import("./Store").StoreAction<unknown, (dataIdentifier: IVersionedDataIdentifier, useCache?: unknown) => void, (result: void, dataIdentifier: IVersionedDataIdentifier, useCache?: unknown) => void, (failureReason: any, dataIdentifier: IVersionedDataIdentifier, useCache?: unknown) => void, (dataIdentifier: IVersionedDataIdentifier, useCache?: unknown) => Promise<void>>;
|
|
25
26
|
ensureLoadByIdentifier: import("./Store").StoreAction<unknown, (identifier: IVersionedDataIdentifier, useCache?: unknown) => void, (result: void, identifier: IVersionedDataIdentifier, useCache?: unknown) => void, (failureReason: any, identifier: IVersionedDataIdentifier, useCache?: unknown) => void, (identifier: IVersionedDataIdentifier, useCache?: unknown) => Promise<void>>;
|
|
@@ -35,6 +36,13 @@ export declare class VersionedLayoutStore extends Store {
|
|
|
35
36
|
versionedLayout: VersionedLayout;
|
|
36
37
|
checkedOutVersionedData: IVersionedData<VersionedLayoutDefinition>;
|
|
37
38
|
}>>;
|
|
39
|
+
createBusinessProfileScoped: import("./Store").StoreAction<unknown, (businessProfileId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => void, (result: {
|
|
40
|
+
versionedLayout: VersionedLayout;
|
|
41
|
+
checkedOutVersionedData: IVersionedData<VersionedLayoutDefinition>;
|
|
42
|
+
}, businessProfileId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => void, (failureReason: any, businessProfileId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => void, (businessProfileId: GuidValue, definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => Promise<{
|
|
43
|
+
versionedLayout: VersionedLayout;
|
|
44
|
+
checkedOutVersionedData: IVersionedData<VersionedLayoutDefinition>;
|
|
45
|
+
}>>;
|
|
38
46
|
createTenantScoped: import("./Store").StoreAction<unknown, (definition: VersionedLayoutDefinition, urlSegment: string, parentLayoutId?: VersionedLayoutId) => void, (result: {
|
|
39
47
|
versionedLayout: VersionedLayout;
|
|
40
48
|
checkedOutVersionedData: IVersionedData<VersionedLayoutDefinition>;
|
|
@@ -20,5 +20,6 @@ export declare class VersionedLayoutDefinitionEditorItemFactory {
|
|
|
20
20
|
private multilingualStore;
|
|
21
21
|
private permissionService;
|
|
22
22
|
private appStore;
|
|
23
|
+
private businessProfileStore;
|
|
23
24
|
createEditorItem(configuration: VersionedLayoutDefinitionEditorItemConfiguration): Promise<VersionedLayoutDefinitionEditorItem>;
|
|
24
25
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.5.
|
|
4
|
+
"version": "7.5.32-dev",
|
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"author": "Precio Fishbone",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "7.5.
|
|
23
|
+
"@omnia/fx-models": "7.5.32-dev",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|