math-main-components 0.0.160 → 0.0.161

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 CHANGED
@@ -32,8 +32,8 @@ 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/BenefitForIndividuals';
36
- export * from './types/marketing/BenefitForSchools';
35
+ export * from './types/marketing/BenefitForIndividual';
36
+ export * from './types/marketing/BenefitForSchool';
37
37
  export * from './types/marketing/Feature';
38
38
  export * from './types/marketing/FooterLink';
39
39
  export * from './types/marketing/News';
@@ -2,7 +2,7 @@ import { PortableTextBlock } from "sanity";
2
2
  import { Category } from "./Category";
3
3
  export type Calculator = {
4
4
  _id: string;
5
- _type: "calculators";
5
+ _type: "calculator";
6
6
  previewImage: {
7
7
  asset: {
8
8
  _ref: string;
@@ -1,6 +1,6 @@
1
1
  export type Category = {
2
2
  _id: string;
3
- _type: "categories";
3
+ _type: "category";
4
4
  title: string;
5
5
  isTopLevel: boolean;
6
6
  hasEBooks: boolean;
@@ -3,7 +3,7 @@ import { Category } from "./Category";
3
3
  import { Product } from "./Product";
4
4
  export type Ebook = {
5
5
  _id: string;
6
- _type: "ebooks";
6
+ _type: "ebook";
7
7
  title: string;
8
8
  previewImage: {
9
9
  asset: {
@@ -1,7 +1,7 @@
1
1
  import { Category } from "./Category";
2
2
  export type Material = {
3
3
  _id: string;
4
- _type: "materials";
4
+ _type: "material";
5
5
  title: string;
6
6
  fileId: string;
7
7
  fileExpire?: string;
@@ -2,7 +2,7 @@ import { PortableTextBlock } from "sanity";
2
2
  import { Category } from "./Category";
3
3
  export type Movie = {
4
4
  _id: string;
5
- _type: "movies";
5
+ _type: "movie";
6
6
  title: string;
7
7
  previewImage: {
8
8
  asset: {
@@ -0,0 +1,9 @@
1
+ export type BenefitForIndividuals = {
2
+ _id: string;
3
+ _type: "benefitForIndividual";
4
+ priority: number;
5
+ title: string;
6
+ subtitle: string;
7
+ iconName: string;
8
+ description: string;
9
+ };
@@ -0,0 +1,9 @@
1
+ export type BenefitForSchools = {
2
+ _id: string;
3
+ _type: "benefitForSchool";
4
+ priority: number;
5
+ title: string;
6
+ subtitle: string;
7
+ iconName: string;
8
+ description: string;
9
+ };
@@ -1,6 +1,6 @@
1
1
  export type FooterLink = {
2
2
  _id: string;
3
- _type: "footerLinks";
3
+ _type: "footerLink";
4
4
  title: string;
5
5
  link: string;
6
6
  priority: number;
@@ -0,0 +1,14 @@
1
+ export type StaticFile = {
2
+ _id: string;
3
+ _type: "staticFile";
4
+ title: string;
5
+ slug: {
6
+ current: string;
7
+ };
8
+ file: {
9
+ asset: {
10
+ _ref: string;
11
+ _type: string;
12
+ };
13
+ };
14
+ };
@@ -1,7 +1,7 @@
1
1
  import { PortableTextBlock } from "sanity";
2
2
  export type StaticPage = {
3
3
  _id: string;
4
- _type: "page";
4
+ _type: "staticPage";
5
5
  title: string;
6
6
  slug: {
7
7
  current: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "math-main-components",
3
- "version": "0.0.160",
3
+ "version": "0.0.161",
4
4
  "author": "Emilian Scheel",
5
5
  "files": [
6
6
  "dist/**/*"