@omnia/fx-models 8.0.33-dev → 8.0.34-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/Exposes.d.ts +1 -0
- package/Exposes.js +1 -0
- package/NullOf.d.ts +2 -0
- package/NullOf.js +7 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityFeed.d.ts +8 -2
- package/internal-do-not-import-from-here/shared/models/hub/activities/IdentityActivity.d.ts +5 -2
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.d.ts +1 -0
- package/package.json +1 -1
- package/ux/LayoutCanvasApi.d.ts +17 -1
package/Exposes.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ export * from "./Func";
|
|
|
100
100
|
export * from "./FilterpickerModel";
|
|
101
101
|
export * from "./RollupMetricSettings";
|
|
102
102
|
export * from "./ChromeLayoutDefinition";
|
|
103
|
+
export * from "./NullOf";
|
|
103
104
|
export * from "./ux";
|
|
104
105
|
export * from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
|
105
106
|
export * from "./admin";
|
package/Exposes.js
CHANGED
|
@@ -106,6 +106,7 @@ tslib_1.__exportStar(require("./Func"), exports);
|
|
|
106
106
|
tslib_1.__exportStar(require("./FilterpickerModel"), exports);
|
|
107
107
|
tslib_1.__exportStar(require("./RollupMetricSettings"), exports);
|
|
108
108
|
tslib_1.__exportStar(require("./ChromeLayoutDefinition"), exports);
|
|
109
|
+
tslib_1.__exportStar(require("./NullOf"), exports);
|
|
109
110
|
//************************************************************************************ */
|
|
110
111
|
// End of file exports
|
|
111
112
|
//************************************************************************************ */
|
package/NullOf.d.ts
ADDED
package/NullOf.js
ADDED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Activity, ActivityId, ActivityWithJson } from "./Activity";
|
|
2
2
|
import { ActivityRenderer, ActivityRendererId, ActivityRendererWithJson } from "./ActivityRenderer";
|
|
3
|
-
import {
|
|
3
|
+
import { ActivitySenderId } from "./ActivitySender";
|
|
4
|
+
import { IdentityActivity, IdentityActivityWithJson, NewActivitiesBySenderBase } from "./IdentityActivity";
|
|
4
5
|
export interface ActivityFeed extends ActivityFeedBase {
|
|
5
6
|
renderers: {
|
|
6
7
|
[key: ActivityRendererId]: ActivityRenderer;
|
|
@@ -16,6 +17,11 @@ export interface ActivityFeedResult extends ActivityFeedBase {
|
|
|
16
17
|
activities: Array<ActivityWithJson>;
|
|
17
18
|
}
|
|
18
19
|
export interface ActivityFeedBase {
|
|
19
|
-
newActivities: Array<
|
|
20
|
+
newActivities: Array<NewActivitiesBySenderBase>;
|
|
20
21
|
nextStartingFromId: ActivityId;
|
|
21
22
|
}
|
|
23
|
+
export interface FeedQuery {
|
|
24
|
+
newerThenId?: ActivityId;
|
|
25
|
+
olderThenId?: ActivityId;
|
|
26
|
+
filterBySenderId?: ActivitySenderId;
|
|
27
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActivitySenderId, DynamicState } from "../..";
|
|
1
|
+
import { ActivitySender, ActivitySenderId, DynamicState } from "../..";
|
|
2
2
|
import { Activity, ActivityId } from "./Activity";
|
|
3
3
|
export declare enum IdentityActivityStatus {
|
|
4
4
|
new = 0,
|
|
@@ -22,7 +22,10 @@ export interface IdentityActivity<TRenderState extends DynamicState, TState exte
|
|
|
22
22
|
export interface IdentityActivityWithJson extends IdentityActivityBase {
|
|
23
23
|
stateJson: string;
|
|
24
24
|
}
|
|
25
|
-
export interface
|
|
25
|
+
export interface NewActivitiesBySenderBase {
|
|
26
26
|
count: number;
|
|
27
27
|
senderId: ActivitySenderId;
|
|
28
28
|
}
|
|
29
|
+
export interface NewActivitiesBySender extends NewActivitiesBySenderBase {
|
|
30
|
+
sender: ActivitySender;
|
|
31
|
+
}
|
package/package.json
CHANGED
package/ux/LayoutCanvasApi.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VNode, h } from "vue";
|
|
2
|
+
import { GuidValue } from "../Exposes";
|
|
3
|
+
import { ApiPath, IExtendApiManifestWithConfiguration } from "../Extends";
|
|
2
4
|
import { LayoutPlaceHolderRegistration, LayoutTemplateRegistration } from "../Layout";
|
|
3
5
|
import { IMessageBusTopicSubscription } from "../Messaging";
|
|
4
6
|
export interface IInternalLayoutTemplateRegistration extends ILayoutTemplateRegistration {
|
|
@@ -14,11 +16,21 @@ export interface IInternalPlaceHolderLayoutRegistration extends IPlaceHolderLayo
|
|
|
14
16
|
export interface IPlaceHolderLayoutRegistration {
|
|
15
17
|
register: (placeHolder: LayoutPlaceHolderRegistration) => void;
|
|
16
18
|
}
|
|
19
|
+
export interface IPlaceHolderLayoutHandler {
|
|
20
|
+
register(layoutPlaceHolderRegistrationId: GuidValue, cb: (createVueNode: typeof h) => VNode | void): {
|
|
21
|
+
unregister(): void;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export interface IInternalPlaceHolderLayoutHandler extends IPlaceHolderLayoutHandler {
|
|
25
|
+
getHandlers(placeHolderLayoutRegistrationId: GuidValue): Promise<Array<(createVueNode: typeof h) => VNode | void>>;
|
|
26
|
+
onHandlerChanged(): IMessageBusTopicSubscription<void>;
|
|
27
|
+
}
|
|
17
28
|
declare module "./UxApi" {
|
|
18
29
|
interface IOmniaUxApi {
|
|
19
30
|
layoutCanvas: {
|
|
20
31
|
placeHolders: {
|
|
21
32
|
registrations: Promise<IPlaceHolderLayoutRegistration>;
|
|
33
|
+
hanlders: Promise<IPlaceHolderLayoutHandler>;
|
|
22
34
|
};
|
|
23
35
|
templates: {
|
|
24
36
|
registrations: Promise<ILayoutTemplateRegistration>;
|
|
@@ -29,6 +41,10 @@ declare module "./UxApi" {
|
|
|
29
41
|
layoutCanvas: {
|
|
30
42
|
placeHolders: {
|
|
31
43
|
registrations: ApiPath;
|
|
44
|
+
/**
|
|
45
|
+
* Require PlaceHolderLayoutRegistrationId
|
|
46
|
+
*/
|
|
47
|
+
hanlders: IExtendApiManifestWithConfiguration<GuidValue>;
|
|
32
48
|
};
|
|
33
49
|
templates: {
|
|
34
50
|
registrations: ApiPath;
|