@qrush/types 2.1.49 → 2.1.50
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/Events.d.ts +0 -1
- package/package.json +1 -7
- package/dist/Matching.d.ts +0 -61
- package/dist/Matching.js +0 -1
package/dist/Events.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qrush/types",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.50",
|
|
4
4
|
"description": "Shared TypeScript types for the QRush ecosystem",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -95,12 +95,6 @@
|
|
|
95
95
|
"import": "./dist/Chat.js",
|
|
96
96
|
"require": "./dist/Chat.js"
|
|
97
97
|
},
|
|
98
|
-
"./Matching": {
|
|
99
|
-
"types": "./dist/Matching.d.ts",
|
|
100
|
-
"react-native": "./dist/Matching.js",
|
|
101
|
-
"import": "./dist/Matching.js",
|
|
102
|
-
"require": "./dist/Matching.js"
|
|
103
|
-
},
|
|
104
98
|
"./Artist": {
|
|
105
99
|
"types": "./dist/Artist.d.ts",
|
|
106
100
|
"react-native": "./dist/Artist.js",
|
package/dist/Matching.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { Timestamp } from '@firebase/firestore';
|
|
2
|
-
import { FireQueryDocSnapshotRef } from '@qrush/types/CustomDocType';
|
|
3
|
-
import { Gender } from '@qrush/types/Users';
|
|
4
|
-
export interface IFireMatchingRound {
|
|
5
|
-
scheduledFor: Timestamp;
|
|
6
|
-
scheduledDuration: number;
|
|
7
|
-
startedAt: Timestamp | null;
|
|
8
|
-
closedAt: Timestamp | null;
|
|
9
|
-
attendees: number;
|
|
10
|
-
demo: boolean;
|
|
11
|
-
}
|
|
12
|
-
export type FireMatchingRoundSnapshotRef = FireQueryDocSnapshotRef<IFireMatchingRound>;
|
|
13
|
-
export interface IFireMatchingRoundCreationData {
|
|
14
|
-
scheduledFor: Date;
|
|
15
|
-
scheduledDuration: number;
|
|
16
|
-
startedAt: Date | null;
|
|
17
|
-
closedAt: Date | null;
|
|
18
|
-
attendees: number;
|
|
19
|
-
demo: boolean;
|
|
20
|
-
}
|
|
21
|
-
export interface IFireAttendee {
|
|
22
|
-
name: string;
|
|
23
|
-
age: number;
|
|
24
|
-
gender: Gender;
|
|
25
|
-
pictureURI: string;
|
|
26
|
-
preference: {
|
|
27
|
-
[Preference in MatchingPreference]: boolean;
|
|
28
|
-
};
|
|
29
|
-
inGroup: boolean;
|
|
30
|
-
matchAttendeeUID?: string;
|
|
31
|
-
votes: {
|
|
32
|
-
[receiverUID: string]: Vote;
|
|
33
|
-
};
|
|
34
|
-
ignore: boolean;
|
|
35
|
-
}
|
|
36
|
-
type MatchingPreference = 'dates' | 'friends';
|
|
37
|
-
interface Vote {
|
|
38
|
-
liked: boolean;
|
|
39
|
-
time: Timestamp;
|
|
40
|
-
}
|
|
41
|
-
export interface IFireAttendeeCreationData {
|
|
42
|
-
name: string;
|
|
43
|
-
age: number;
|
|
44
|
-
gender: Gender;
|
|
45
|
-
pictureURI: string;
|
|
46
|
-
preference: {
|
|
47
|
-
[Preference in MatchingPreference]: boolean;
|
|
48
|
-
};
|
|
49
|
-
inGroup: boolean;
|
|
50
|
-
matchAttendeeUID?: string;
|
|
51
|
-
votes: {
|
|
52
|
-
[receiverUID: string]: VoteCreationData;
|
|
53
|
-
};
|
|
54
|
-
ignore: boolean;
|
|
55
|
-
}
|
|
56
|
-
interface VoteCreationData {
|
|
57
|
-
liked: boolean;
|
|
58
|
-
time: Date;
|
|
59
|
-
}
|
|
60
|
-
export type FireAttendeeSnapshotRef = FireQueryDocSnapshotRef<IFireAttendee>;
|
|
61
|
-
export {};
|
package/dist/Matching.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|