hububb-models 1.0.59 → 1.0.61
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.ts +1 -0
- package/src/models/blog/blog.d.ts +20 -21
- package/src/models/blog/blog.ts +1 -1
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -3,3 +3,4 @@ export type { Reservation } from "./models/reservation/reservation";
|
|
3
3
|
export type { User } from "./models/user/user";
|
4
4
|
export type { ChatMessage } from "./models/thread/message";
|
5
5
|
export type { ChatThread } from "./models/thread/thread";
|
6
|
+
export type { Blog } from "./models/blog/blog";
|
package/src/index.ts
CHANGED
@@ -1,26 +1,25 @@
|
|
1
1
|
import { Timestamp } from "@firebase/firestore-types";
|
2
|
-
|
3
2
|
export interface Blog {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
title: string;
|
9
|
-
subtitle: string;
|
10
|
-
contentSections: {
|
3
|
+
id: string;
|
4
|
+
metaTitle: string;
|
5
|
+
metaDescription: string;
|
6
|
+
createdAt: Timestamp;
|
11
7
|
title: string;
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
8
|
+
subtitle: string;
|
9
|
+
contentSections: {
|
10
|
+
title: string;
|
11
|
+
content: string;
|
12
|
+
subcontent?: {
|
13
|
+
title: string;
|
14
|
+
content: string;
|
15
|
+
}[];
|
16
|
+
}[];
|
17
|
+
faqs?: {
|
18
|
+
question: string;
|
19
|
+
answer: string;
|
20
|
+
}[];
|
21
|
+
pictures?: {
|
22
|
+
downloadUrl: string;
|
23
|
+
sortOrder: number;
|
16
24
|
}[];
|
17
|
-
}[];
|
18
|
-
faqs?: {
|
19
|
-
question: string;
|
20
|
-
answer: string;
|
21
|
-
}[];
|
22
|
-
pictures?: {
|
23
|
-
downloadURL: string;
|
24
|
-
sortOrder: number;
|
25
|
-
}[];
|
26
25
|
}
|