need4deed-sdk 0.0.2 → 0.0.3
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/package.json +1 -1
- package/src/types/api.ts +22 -12
package/package.json
CHANGED
package/src/types/api.ts
CHANGED
|
@@ -5,19 +5,29 @@ export interface Testimonial {
|
|
|
5
5
|
activities: string[];
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
export enum EventN4DType {
|
|
9
|
+
PARTY = "party",
|
|
10
|
+
WORKSHOP = "workshop",
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface EventN4D {
|
|
12
14
|
title: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
description: string;
|
|
15
|
+
subTitle?: string;
|
|
16
|
+
hostName?: string;
|
|
16
17
|
date: Date;
|
|
17
18
|
dateEnd?: Date;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
type: EventN4DType;
|
|
20
|
+
pic?: string; // or standard one depending on type
|
|
21
|
+
time: string;
|
|
22
|
+
location: string; // address
|
|
23
|
+
locationLink?: string; // to google maps
|
|
24
|
+
locationComment?: string; // how to spot
|
|
25
|
+
description: string;
|
|
26
|
+
shortDescription: string; // for card view
|
|
27
|
+
linkRSVP: string; // registration form
|
|
28
|
+
followUpText?: string;
|
|
29
|
+
followUpLink?: string; // the adjacent event
|
|
30
|
+
additionalTitle?: string;
|
|
31
|
+
additionalInfo?: string[]; // lineup, content, etc.
|
|
32
|
+
outro?: string;
|
|
23
33
|
}
|