wedance-shared 1.0.112 → 1.0.114
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/types/festivals/conversations.d.ts +36 -0
- package/dist/types/festivals/conversations.js +2 -0
- package/dist/types/festivals/conversations.js.map +1 -0
- package/dist/types/festivals/index.d.ts +1 -0
- package/dist/types/festivals/index.js +1 -0
- package/dist/types/festivals/index.js.map +1 -1
- package/dist/types/ticket.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type Conversation = {
|
|
2
|
+
id: string;
|
|
3
|
+
createdAt: string;
|
|
4
|
+
updatedAt: string;
|
|
5
|
+
lastReadAt: string | null;
|
|
6
|
+
unreadCount: number;
|
|
7
|
+
lastMessage: {
|
|
8
|
+
body: string;
|
|
9
|
+
createdAt: string | null;
|
|
10
|
+
senderId: string | null;
|
|
11
|
+
} | null;
|
|
12
|
+
otherUser: {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
avatarUrl?: string;
|
|
16
|
+
handle: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export type Message = {
|
|
20
|
+
id: string;
|
|
21
|
+
conversationId: string;
|
|
22
|
+
senderId: string;
|
|
23
|
+
body: string;
|
|
24
|
+
createdAt: string;
|
|
25
|
+
sender: {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
avatarUrl?: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export type CreateConversation = {
|
|
32
|
+
userId: string;
|
|
33
|
+
};
|
|
34
|
+
export type SendMessage = {
|
|
35
|
+
body: string;
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversations.js","sourceRoot":"","sources":["../../../src/types/festivals/conversations.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/festivals/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/festivals/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC"}
|
package/dist/types/ticket.d.ts
CHANGED
|
@@ -38,6 +38,10 @@ export type Ticket = {
|
|
|
38
38
|
* Email of the guest who purchased the ticket outside of the app
|
|
39
39
|
*/
|
|
40
40
|
guestEmail?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* Full name of the guest who purchased the ticket outside of the app.
|
|
43
|
+
*/
|
|
44
|
+
fullName?: string | null;
|
|
41
45
|
appliedCoupon?: {
|
|
42
46
|
code: string;
|
|
43
47
|
discountAmount: number;
|
package/package.json
CHANGED