@omnia/fx-models 8.0.241-dev → 8.0.243-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/Constants.d.ts +8 -0
- package/Constants.js +8 -0
- package/Enums.d.ts +2 -1
- package/Enums.js +2 -0
- package/auth/LoginProvider.d.ts +2 -1
- package/auth/LoginProvider.js +1 -0
- package/docs/Api.d.ts +2 -1
- package/markdown/MarkdownPluginRegistration.d.ts +7 -0
- package/markdown/MarkdownPluginRegistration.js +2 -0
- package/markdown/MarkdownPluginSettings.d.ts +5 -0
- package/markdown/MarkdownPluginSettings.js +2 -0
- package/markdown/index.d.ts +2 -0
- package/markdown/index.js +2 -0
- package/package.json +1 -1
- package/ux/MarkdownApi.d.ts +24 -0
- package/ux/MarkdownApi.js +2 -0
- package/ux/index.d.ts +1 -0
- package/ux/index.js +1 -0
package/Constants.d.ts
CHANGED
@@ -16,6 +16,14 @@ export declare const Constants: {
|
|
16
16
|
like: ActionHandlerRegistrationId;
|
17
17
|
};
|
18
18
|
components: {
|
19
|
+
markdown: {
|
20
|
+
plugins: {
|
21
|
+
text: guid;
|
22
|
+
color: guid;
|
23
|
+
typography: guid;
|
24
|
+
velcron: guid;
|
25
|
+
};
|
26
|
+
};
|
19
27
|
filterEngine: {
|
20
28
|
getDefaultSettings: () => FilterEngineSettings;
|
21
29
|
countNumber: {
|
package/Constants.js
CHANGED
@@ -21,6 +21,14 @@ exports.Constants = {
|
|
21
21
|
like: ActionHandler_1.ActionHandlerRegistrationId.create((0, models_1.guid)("d838c061-1ef4-49cb-8d6d-cee8f67bd17f")),
|
22
22
|
},
|
23
23
|
components: {
|
24
|
+
markdown: {
|
25
|
+
plugins: {
|
26
|
+
text: (0, models_1.guid)("a9edb1ed-9e97-4c1b-a3ec-9f66d1a97ff9"),
|
27
|
+
color: (0, models_1.guid)("5b6dd221-0d30-4405-95c3-ca637f69d8ca"),
|
28
|
+
typography: (0, models_1.guid)("cfc8e261-fe4b-4449-ab9a-19dfe0293ced"),
|
29
|
+
velcron: (0, models_1.guid)("7c254dea-a4fc-486c-9189-618663e657a2"),
|
30
|
+
}
|
31
|
+
},
|
24
32
|
filterEngine: {
|
25
33
|
getDefaultSettings: () => {
|
26
34
|
return {
|
package/Enums.d.ts
CHANGED
@@ -393,7 +393,8 @@ export declare enum StaticEndpoint {
|
|
393
393
|
MagicLinkLogin = "/api/magiclink/complete",
|
394
394
|
MagicLinkSuccess = "/api/magiclink/success",
|
395
395
|
MagicLinkFailure = "/api/magiclink/failure",
|
396
|
-
MagicLink = "/api/magiclink"
|
396
|
+
MagicLink = "/api/magiclink",
|
397
|
+
SharepointServerLogin = "/spsignin"
|
397
398
|
}
|
398
399
|
export declare enum QueueMessageStatus {
|
399
400
|
Unassigned = 0,
|
package/Enums.js
CHANGED
@@ -434,6 +434,8 @@ var StaticEndpoint;
|
|
434
434
|
StaticEndpoint["MagicLinkSuccess"] = "/api/magiclink/success";
|
435
435
|
StaticEndpoint["MagicLinkFailure"] = "/api/magiclink/failure";
|
436
436
|
StaticEndpoint["MagicLink"] = "/api/magiclink";
|
437
|
+
// onprem only
|
438
|
+
StaticEndpoint["SharepointServerLogin"] = "/spsignin";
|
437
439
|
})(StaticEndpoint || (exports.StaticEndpoint = StaticEndpoint = {}));
|
438
440
|
var QueueMessageStatus;
|
439
441
|
(function (QueueMessageStatus) {
|
package/auth/LoginProvider.d.ts
CHANGED
package/auth/LoginProvider.js
CHANGED
@@ -6,4 +6,5 @@ var LoginProviderTypes;
|
|
6
6
|
LoginProviderTypes[LoginProviderTypes["Unset"] = 0] = "Unset";
|
7
7
|
LoginProviderTypes[LoginProviderTypes["AzureAD"] = 1] = "AzureAD";
|
8
8
|
LoginProviderTypes[LoginProviderTypes["Omnia"] = 2] = "Omnia";
|
9
|
+
LoginProviderTypes[LoginProviderTypes["SharepointAddIn"] = 3] = "SharepointAddIn";
|
9
10
|
})(LoginProviderTypes || (exports.LoginProviderTypes = LoginProviderTypes = {}));
|
package/docs/Api.d.ts
CHANGED
package/markdown/index.d.ts
CHANGED
package/markdown/index.js
CHANGED
@@ -2,3 +2,5 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
const tslib_1 = require("tslib");
|
4
4
|
tslib_1.__exportStar(require("./MarkdownActionRegistration"), exports);
|
5
|
+
tslib_1.__exportStar(require("./MarkdownPluginRegistration"), exports);
|
6
|
+
tslib_1.__exportStar(require("./MarkdownPluginSettings"), exports);
|
package/package.json
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
import { MarkdownPluginRegistration } from "@omnia/fx-models";
|
2
|
+
import { ApiPath } from "../Extends";
|
3
|
+
export interface IMarkdownPluginRegistrationHandler {
|
4
|
+
getAll: () => Array<MarkdownPluginRegistration>;
|
5
|
+
register: (plugins: MarkdownPluginRegistration | MarkdownPluginRegistration[]) => void;
|
6
|
+
}
|
7
|
+
export interface IMarkdownPluginRegistration {
|
8
|
+
registration: Promise<IMarkdownPluginRegistrationHandler>;
|
9
|
+
}
|
10
|
+
export interface IMarkdownRegistrationApi {
|
11
|
+
plugins: IMarkdownPluginRegistration;
|
12
|
+
}
|
13
|
+
declare module "./UxApi" {
|
14
|
+
interface IOmniaUxApi {
|
15
|
+
markdown: IMarkdownRegistrationApi;
|
16
|
+
}
|
17
|
+
interface IOmniaUxExtendApiManifest {
|
18
|
+
markdown: {
|
19
|
+
plugins: {
|
20
|
+
registration: ApiPath;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
}
|
24
|
+
}
|
package/ux/index.d.ts
CHANGED
@@ -22,4 +22,5 @@ export * from "./MediaGalleryApi";
|
|
22
22
|
export * from "./DynamicPlaceholderApi";
|
23
23
|
export * from "./RouterApi";
|
24
24
|
export * from "./ScopedPermissionApi";
|
25
|
+
export * from "./MarkdownApi";
|
25
26
|
export { type Directives, type DirectiveDefinition, type IInternalDirectiveRegistration } from "./Directive";
|
package/ux/index.js
CHANGED
@@ -25,3 +25,4 @@ tslib_1.__exportStar(require("./MediaGalleryApi"), exports);
|
|
25
25
|
tslib_1.__exportStar(require("./DynamicPlaceholderApi"), exports);
|
26
26
|
tslib_1.__exportStar(require("./RouterApi"), exports);
|
27
27
|
tslib_1.__exportStar(require("./ScopedPermissionApi"), exports);
|
28
|
+
tslib_1.__exportStar(require("./MarkdownApi"), exports);
|