hububb-models 1.0.58 → 1.0.59

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "description": "Models for Hububb application",
5
5
  "main": "index.js",
6
6
  "types": "./src/index.d.ts",
@@ -0,0 +1,26 @@
1
+ import { Timestamp } from "@firebase/firestore-types";
2
+
3
+ export interface Blog {
4
+ id: string;
5
+ metaTitle: string;
6
+ metaDescription: string;
7
+ createdAt: Timestamp;
8
+ title: string;
9
+ subtitle: string;
10
+ contentSections: {
11
+ title: string;
12
+ content: string;
13
+ subcontent?: {
14
+ title: string;
15
+ content: string;
16
+ }[];
17
+ }[];
18
+ faqs?: {
19
+ question: string;
20
+ answer: string;
21
+ }[];
22
+ pictures?: {
23
+ downloadURL: string;
24
+ sortOrder: number;
25
+ }[];
26
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ exports.__esModule = true;
@@ -0,0 +1,26 @@
1
+ import { Timestamp } from "@firebase/firestore-types";
2
+
3
+ export interface Blog {
4
+ id: string;
5
+ metaTitle: string;
6
+ metaDescription: string;
7
+ createdAt: Timestamp;
8
+ title: string;
9
+ subtitle: string;
10
+ contentSections: {
11
+ title: string;
12
+ content: string;
13
+ subcontent?: {
14
+ title: string;
15
+ content: string;
16
+ }[];
17
+ }[];
18
+ faqs?: {
19
+ question: string;
20
+ answer: string;
21
+ }[];
22
+ pictures?: {
23
+ downloadURL: string;
24
+ sortOrder: number;
25
+ }[];
26
+ }