math-main-components 0.0.165 → 0.0.167
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/index.d.ts +8 -6
- package/dist/types/Category.d.ts +2 -2
- package/dist/types/Course.d.ts +7 -1
- package/dist/types/Ebook.d.ts +1 -1
- package/dist/types/Feedback.d.ts +1 -0
- package/dist/types/LicenseKey.d.ts +1 -0
- package/dist/types/Log.d.ts +1 -0
- package/dist/types/Manager.d.ts +1 -0
- package/dist/types/Material.d.ts +1 -1
- package/dist/types/Movie.d.ts +1 -1
- package/dist/types/Organization.d.ts +1 -0
- package/dist/types/Subscription.d.ts +1 -0
- package/dist/types/Theory.d.ts +17 -0
- package/dist/types/User.d.ts +1 -0
- package/dist/types/Why.d.ts +17 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -32,12 +32,18 @@ export * from './components/Table';
|
|
32
32
|
export * from './components/Tabs';
|
33
33
|
export * from './components/TextWithIcon';
|
34
34
|
export * from './components/UsageCard';
|
35
|
+
export * from './types/marketing/About';
|
35
36
|
export * from './types/marketing/BenefitForIndividual';
|
36
37
|
export * from './types/marketing/BenefitForSchool';
|
38
|
+
export * from './types/marketing/Concept';
|
39
|
+
export * from './types/marketing/Content';
|
40
|
+
export * from './types/marketing/Faq';
|
37
41
|
export * from './types/marketing/Feature';
|
38
42
|
export * from './types/marketing/FooterLink';
|
43
|
+
export * from './types/marketing/Home';
|
39
44
|
export * from './types/marketing/News';
|
40
45
|
export * from './types/marketing/Pricing';
|
46
|
+
export * from './types/marketing/StaticPage';
|
41
47
|
export * from './types/marketing/Website';
|
42
48
|
export * from './types/Calculator';
|
43
49
|
export * from './types/Category';
|
@@ -53,12 +59,8 @@ export * from './types/Organization';
|
|
53
59
|
export * from './types/Product';
|
54
60
|
export * from './types/S3File';
|
55
61
|
export * from './types/Subscription';
|
62
|
+
export * from './types/Theory';
|
56
63
|
export * from './types/UploadSignature';
|
57
64
|
export * from './types/Usage';
|
58
65
|
export * from './types/User';
|
59
|
-
export * from './types/
|
60
|
-
export * from './types/marketing/Concept';
|
61
|
-
export * from './types/marketing/Content';
|
62
|
-
export * from './types/marketing/Faq';
|
63
|
-
export * from './types/marketing/Home';
|
64
|
-
export * from './types/marketing/StaticPage';
|
66
|
+
export * from './types/Why';
|
package/dist/types/Category.d.ts
CHANGED
package/dist/types/Course.d.ts
CHANGED
@@ -3,6 +3,7 @@ import { Organization } from "./Organization";
|
|
3
3
|
import { User } from "./User";
|
4
4
|
export type Course = {
|
5
5
|
id: string;
|
6
|
+
type: "course";
|
6
7
|
title: string;
|
7
8
|
description: JSONContent;
|
8
9
|
content: Object;
|
@@ -17,6 +18,7 @@ export type Course = {
|
|
17
18
|
};
|
18
19
|
export type CourseAnnouncement = {
|
19
20
|
id: string;
|
21
|
+
type: "courseAnnouncement";
|
20
22
|
author: User;
|
21
23
|
authorId: string;
|
22
24
|
course: Course;
|
@@ -28,7 +30,8 @@ export type CourseAnnouncement = {
|
|
28
30
|
export type CourseAnnouncementAssetType = "file" | "calculator" | "movie" | "material" | "ebook" | "test" | "link";
|
29
31
|
export type CourseAnnouncementAsset = {
|
30
32
|
id?: string;
|
31
|
-
type:
|
33
|
+
type: "courseAnnouncementAsset";
|
34
|
+
contentType: CourseAnnouncementAssetType;
|
32
35
|
link: string;
|
33
36
|
text: string;
|
34
37
|
file?: File;
|
@@ -41,6 +44,7 @@ export type CourseAnnouncementAsset = {
|
|
41
44
|
};
|
42
45
|
export type CourseMessage = {
|
43
46
|
id: string;
|
47
|
+
type: "courseMessage";
|
44
48
|
author: User;
|
45
49
|
authorId: string;
|
46
50
|
course: Course;
|
@@ -52,6 +56,7 @@ export type CourseMessage = {
|
|
52
56
|
};
|
53
57
|
export type CourseParticipant = {
|
54
58
|
id: string;
|
59
|
+
type: "courseParticipant";
|
55
60
|
role: string;
|
56
61
|
createdAt: string;
|
57
62
|
updatedAt: string;
|
@@ -60,6 +65,7 @@ export type CourseParticipant = {
|
|
60
65
|
};
|
61
66
|
export type CoursePin = {
|
62
67
|
id: string;
|
68
|
+
type: "coursePin";
|
63
69
|
subscriptionPin: string;
|
64
70
|
amountOfUses: number;
|
65
71
|
maxAmountOfUses: number;
|
package/dist/types/Ebook.d.ts
CHANGED
package/dist/types/Feedback.d.ts
CHANGED
package/dist/types/Log.d.ts
CHANGED
package/dist/types/Manager.d.ts
CHANGED
package/dist/types/Material.d.ts
CHANGED
package/dist/types/Movie.d.ts
CHANGED
@@ -18,6 +18,7 @@ export type SubscriptionStatus = "active" | "trialing" | "canceled" | "unpaid";
|
|
18
18
|
export type SubscriptionType = "monthly" | "yearly";
|
19
19
|
export type Subscription = {
|
20
20
|
id: string;
|
21
|
+
type: "subscription";
|
21
22
|
organization?: Organization;
|
22
23
|
organizationId: string;
|
23
24
|
product?: Product;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { PortableTextBlock } from "sanity";
|
2
|
+
import { Category } from "./Category";
|
3
|
+
export type Theory = {
|
4
|
+
_id: string;
|
5
|
+
_type: 'theory';
|
6
|
+
previewImage: {
|
7
|
+
asset: {
|
8
|
+
_ref: string;
|
9
|
+
_type: string;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
title: string;
|
13
|
+
author: string;
|
14
|
+
categories: Category[];
|
15
|
+
shortDescription: string;
|
16
|
+
content: PortableTextBlock[];
|
17
|
+
};
|
package/dist/types/User.d.ts
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
import { PortableTextBlock } from "sanity";
|
2
|
+
import { Category } from "./Category";
|
3
|
+
export type Why = {
|
4
|
+
_id: string;
|
5
|
+
_type: 'why';
|
6
|
+
previewImage: {
|
7
|
+
asset: {
|
8
|
+
_ref: string;
|
9
|
+
_type: string;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
title: string;
|
13
|
+
author: string;
|
14
|
+
categories: Category[];
|
15
|
+
shortDescription: string;
|
16
|
+
content: PortableTextBlock[];
|
17
|
+
};
|