@plus45/types 1.3.20 → 1.3.22
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/dist/types/exercise/exercise_video_providers.d.ts +3 -4
- package/dist/types/exercise/exercise_video_providers.js +4 -3
- package/dist/types/page_builder/page_builder.d.ts +8 -1
- package/dist/types/user/access_token.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/authorization/authorization.d.ts +0 -9
- package/dist/types/authorization/authorization.js +0 -7
- package/dist/types/authorization/password_auth.d.ts +0 -5
- package/dist/types/authorization/password_auth.js +0 -2
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Object for different video providers.
|
|
3
3
|
*/
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export type VideoProvider = (typeof VideoProvider)[keyof typeof VideoProvider];
|
|
4
|
+
export declare enum VideoProvider {
|
|
5
|
+
YouTube = "YouTube"
|
|
6
|
+
}
|
|
@@ -4,6 +4,7 @@ exports.VideoProvider = void 0;
|
|
|
4
4
|
/**
|
|
5
5
|
* Object for different video providers.
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var VideoProvider;
|
|
8
|
+
(function (VideoProvider) {
|
|
9
|
+
VideoProvider["YouTube"] = "YouTube";
|
|
10
|
+
})(VideoProvider || (exports.VideoProvider = VideoProvider = {}));
|
|
@@ -62,10 +62,17 @@ export type ImageTextBlock = Alignable & InherentPageBuilderProperties & {
|
|
|
62
62
|
size?: string | number;
|
|
63
63
|
ratio?: number;
|
|
64
64
|
};
|
|
65
|
+
export type HeroBlock = Alignable & InherentPageBuilderProperties & {
|
|
66
|
+
type: "hero_block";
|
|
67
|
+
mini_title?: "string";
|
|
68
|
+
title?: string;
|
|
69
|
+
body?: string;
|
|
70
|
+
background_image_url?: string;
|
|
71
|
+
};
|
|
65
72
|
/**
|
|
66
73
|
* A component that can be utilized by the Page Builder to render components.
|
|
67
74
|
* A PageBuilderComponent object merely stores the data used by the object.
|
|
68
75
|
* Rendering is up to the frontend.
|
|
69
76
|
*/
|
|
70
|
-
export type PageBuilderComponent = TitleBodyBlockData | PageTitleBlock | ImageTextBlock;
|
|
77
|
+
export type PageBuilderComponent = TitleBodyBlockData | PageTitleBlock | ImageTextBlock | HeroBlock;
|
|
71
78
|
export {};
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const AuthType: {
|
|
2
|
-
readonly PASSWORD_CHANGE: "PASSWORD_CHANGE";
|
|
3
|
-
readonly EMAIL_VERIFICATION: "VERIFY_EMAIL";
|
|
4
|
-
};
|
|
5
|
-
export type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
6
|
-
export type AuthorizationActionData<T = any> = {
|
|
7
|
-
action: AuthType;
|
|
8
|
-
data: T;
|
|
9
|
-
};
|