@omnia/fx-models 8.0.292-dev → 8.0.293-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/package.json +1 -1
- package/ux/LinksApi.d.ts +32 -0
- package/ux/index.d.ts +1 -2
- package/ux/index.js +1 -2
- package/ux/LinkItemHandlerApi.d.ts +0 -19
- package/ux/LinkPickerApi.d.ts +0 -17
- package/ux/LinkPickerApi.js +0 -2
- /package/ux/{LinkItemHandlerApi.js → LinksApi.js} +0 -0
package/package.json
CHANGED
package/ux/LinksApi.d.ts
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
import { ApiPath, IExtendApiManifestWithConfiguration } from "../Extends";
|
2
|
+
import { ILinkItemHandler, LinkPickerRegistration } from "../../ux/models/linkpicker";
|
3
|
+
import { LinkProviderId } from "../links";
|
4
|
+
export interface ILinkPickerRegistrationApi {
|
5
|
+
registerLinkPickers: (items: LinkPickerRegistration | LinkPickerRegistration[]) => void;
|
6
|
+
}
|
7
|
+
export interface ILinkItemHandlerRegistrationApi {
|
8
|
+
registerLinkRenderer: (linkItemHandler: ILinkItemHandler) => boolean;
|
9
|
+
getLinkHandler(linkProviderId: LinkProviderId): Promise<ILinkItemHandler>;
|
10
|
+
}
|
11
|
+
declare module "./UxApi" {
|
12
|
+
interface IOmniaUxApi {
|
13
|
+
links: {
|
14
|
+
pickers: {
|
15
|
+
registrations: Promise<ILinkPickerRegistrationApi>;
|
16
|
+
};
|
17
|
+
providers: {
|
18
|
+
registrations: Promise<ILinkItemHandlerRegistrationApi>;
|
19
|
+
};
|
20
|
+
};
|
21
|
+
}
|
22
|
+
interface IOmniaUxExtendApiManifest {
|
23
|
+
links: {
|
24
|
+
pickers: {
|
25
|
+
registrations: ApiPath;
|
26
|
+
};
|
27
|
+
providers: {
|
28
|
+
registrations: IExtendApiManifestWithConfiguration<LinkProviderId>;
|
29
|
+
};
|
30
|
+
};
|
31
|
+
}
|
32
|
+
}
|
package/ux/index.d.ts
CHANGED
@@ -24,7 +24,6 @@ export * from "./RouterApi";
|
|
24
24
|
export * from "./ScopedPermissionApi";
|
25
25
|
export * from "./FlowEditorApi";
|
26
26
|
export * from "./FontApi";
|
27
|
-
export * from "./
|
28
|
-
export * from "./LinkItemHandlerApi";
|
27
|
+
export * from "./LinksApi";
|
29
28
|
export * from "./AppScopedLayoutProviderApi";
|
30
29
|
export { type Directives, type DirectiveDefinition, type IInternalDirectiveRegistration } from "./Directive";
|
package/ux/index.js
CHANGED
@@ -27,6 +27,5 @@ tslib_1.__exportStar(require("./RouterApi"), exports);
|
|
27
27
|
tslib_1.__exportStar(require("./ScopedPermissionApi"), exports);
|
28
28
|
tslib_1.__exportStar(require("./FlowEditorApi"), exports);
|
29
29
|
tslib_1.__exportStar(require("./FontApi"), exports);
|
30
|
-
tslib_1.__exportStar(require("./
|
31
|
-
tslib_1.__exportStar(require("./LinkItemHandlerApi"), exports);
|
30
|
+
tslib_1.__exportStar(require("./LinksApi"), exports);
|
32
31
|
tslib_1.__exportStar(require("./AppScopedLayoutProviderApi"), exports);
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { IExtendApiManifestWithConfiguration } from "../Extends";
|
2
|
-
import { ILinkItemHandler } from "../../ux/models/linkpicker/LinkItemHandler";
|
3
|
-
import { LinkProviderId } from "../links";
|
4
|
-
export interface ILinkItemHandlerRegistrationApi {
|
5
|
-
registerLinkRenderer: (linkItemHandler: ILinkItemHandler) => boolean;
|
6
|
-
getLinkHandler(linkProviderId: LinkProviderId): Promise<ILinkItemHandler>;
|
7
|
-
}
|
8
|
-
declare module "./UxApi" {
|
9
|
-
interface IOmniaUxApi {
|
10
|
-
linkItemHandler: {
|
11
|
-
registration: Promise<ILinkItemHandlerRegistrationApi>;
|
12
|
-
};
|
13
|
-
}
|
14
|
-
interface IOmniaUxExtendApiManifest {
|
15
|
-
linkItemHandler: {
|
16
|
-
registration: IExtendApiManifestWithConfiguration<LinkProviderId>;
|
17
|
-
};
|
18
|
-
}
|
19
|
-
}
|
package/ux/LinkPickerApi.d.ts
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
import { ApiPath } from "../Extends";
|
2
|
-
import { LinkPickerRegistration } from "../../ux/models/linkpicker";
|
3
|
-
export interface ILinkProviderRegistrationApi {
|
4
|
-
registerLinkProviders: (items: LinkPickerRegistration | LinkPickerRegistration[]) => void;
|
5
|
-
}
|
6
|
-
declare module "./UxApi" {
|
7
|
-
interface IOmniaUxApi {
|
8
|
-
linkProvider: {
|
9
|
-
registration: Promise<ILinkProviderRegistrationApi>;
|
10
|
-
};
|
11
|
-
}
|
12
|
-
interface IOmniaUxExtendApiManifest {
|
13
|
-
linkProvider: {
|
14
|
-
registration: ApiPath;
|
15
|
-
};
|
16
|
-
}
|
17
|
-
}
|
package/ux/LinkPickerApi.js
DELETED
File without changes
|