@qrush/types 2.1.14 → 2.1.16
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/Location.d.ts +2 -0
- package/dist/Location.js +1 -0
- package/package.json +42 -14
package/dist/Location.d.ts
CHANGED
|
@@ -10,8 +10,10 @@ export declare const LOCATION_TYPE_MAPPING: {
|
|
|
10
10
|
readonly Concert: "concerts";
|
|
11
11
|
readonly "City Festival": "cityfestivals";
|
|
12
12
|
};
|
|
13
|
+
/** @deprecated Use LocationTypeSlug instead */
|
|
13
14
|
export type LocationTypeKey = keyof typeof LOCATION_TYPE_MAPPING;
|
|
14
15
|
export type LocationTypeSlug = (typeof LOCATION_TYPE_MAPPING)[LocationTypeKey];
|
|
16
|
+
/** @deprecated Use LocationTypeSlug instead */
|
|
15
17
|
export declare const LOCATION_TYPE_TO_SLUG_MAPPING: Record<LocationTypeKey, LocationTypeSlug>;
|
|
16
18
|
/** @deprecated Use locationTypeSlug instead */
|
|
17
19
|
export type LocationType = LocationTypeKey[];
|
package/dist/Location.js
CHANGED
|
@@ -7,6 +7,7 @@ export const LOCATION_TYPE_MAPPING = {
|
|
|
7
7
|
Concert: "concerts",
|
|
8
8
|
"City Festival": "cityfestivals",
|
|
9
9
|
};
|
|
10
|
+
/** @deprecated Use LocationTypeSlug instead */
|
|
10
11
|
export const LOCATION_TYPE_TO_SLUG_MAPPING = LOCATION_TYPE_MAPPING;
|
|
11
12
|
// Array of all possible location highlight slugs - single source of truth
|
|
12
13
|
export const LOCATION_HIGHLIGHT_SLUGS = [
|
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qrush/types",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.16",
|
|
4
4
|
"description": "Shared TypeScript types for the QRush ecosystem",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
6
8
|
"scripts": {
|
|
7
9
|
"build": "tsc",
|
|
8
10
|
"prepublishOnly": "bun run build"
|
|
@@ -22,56 +24,82 @@
|
|
|
22
24
|
},
|
|
23
25
|
"exports": {
|
|
24
26
|
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"react-native": "./dist/index.js",
|
|
25
29
|
"import": "./dist/index.js",
|
|
26
|
-
"
|
|
30
|
+
"require": "./dist/index.js"
|
|
27
31
|
},
|
|
28
32
|
"./Promotion": {
|
|
33
|
+
"types": "./dist/Promotion.d.ts",
|
|
34
|
+
"react-native": "./dist/Promotion.js",
|
|
29
35
|
"import": "./dist/Promotion.js",
|
|
30
|
-
"
|
|
36
|
+
"require": "./dist/Promotion.js"
|
|
31
37
|
},
|
|
32
38
|
"./Events": {
|
|
39
|
+
"types": "./dist/Events.d.ts",
|
|
40
|
+
"react-native": "./dist/Events.js",
|
|
33
41
|
"import": "./dist/Events.js",
|
|
34
|
-
"
|
|
42
|
+
"require": "./dist/Events.js"
|
|
35
43
|
},
|
|
36
44
|
"./Users": {
|
|
45
|
+
"types": "./dist/Users.d.ts",
|
|
46
|
+
"react-native": "./dist/Users.js",
|
|
37
47
|
"import": "./dist/Users.js",
|
|
38
|
-
"
|
|
48
|
+
"require": "./dist/Users.js"
|
|
39
49
|
},
|
|
40
50
|
"./Location": {
|
|
51
|
+
"types": "./dist/Location.d.ts",
|
|
52
|
+
"react-native": "./dist/Location.js",
|
|
41
53
|
"import": "./dist/Location.js",
|
|
42
|
-
"
|
|
54
|
+
"require": "./dist/Location.js"
|
|
43
55
|
},
|
|
44
56
|
"./Common": {
|
|
57
|
+
"types": "./dist/Common.d.ts",
|
|
58
|
+
"react-native": "./dist/Common.js",
|
|
45
59
|
"import": "./dist/Common.js",
|
|
46
|
-
"
|
|
60
|
+
"require": "./dist/Common.js"
|
|
47
61
|
},
|
|
48
62
|
"./CustomDocType": {
|
|
63
|
+
"types": "./dist/CustomDocType.d.ts",
|
|
64
|
+
"react-native": "./dist/CustomDocType.js",
|
|
49
65
|
"import": "./dist/CustomDocType.js",
|
|
50
|
-
"
|
|
66
|
+
"require": "./dist/CustomDocType.js"
|
|
51
67
|
},
|
|
52
68
|
"./Genres": {
|
|
69
|
+
"types": "./dist/Genres.d.ts",
|
|
70
|
+
"react-native": "./dist/Genres.js",
|
|
53
71
|
"import": "./dist/Genres.js",
|
|
54
|
-
"
|
|
72
|
+
"require": "./dist/Genres.js"
|
|
55
73
|
},
|
|
56
74
|
"./Meta": {
|
|
75
|
+
"types": "./dist/Meta.d.ts",
|
|
76
|
+
"react-native": "./dist/Meta.js",
|
|
57
77
|
"import": "./dist/Meta.js",
|
|
58
|
-
"
|
|
78
|
+
"require": "./dist/Meta.js"
|
|
59
79
|
},
|
|
60
80
|
"./firebase": {
|
|
81
|
+
"types": "./dist/firebase.d.ts",
|
|
82
|
+
"react-native": "./dist/firebase.js",
|
|
61
83
|
"import": "./dist/firebase.js",
|
|
62
|
-
"
|
|
84
|
+
"require": "./dist/firebase.js"
|
|
63
85
|
},
|
|
64
86
|
"./WebappUsers": {
|
|
87
|
+
"types": "./dist/WebappUsers.d.ts",
|
|
88
|
+
"react-native": "./dist/WebappUsers.js",
|
|
65
89
|
"import": "./dist/WebappUsers.js",
|
|
66
|
-
"
|
|
90
|
+
"require": "./dist/WebappUsers.js"
|
|
67
91
|
},
|
|
68
92
|
"./Chat": {
|
|
93
|
+
"types": "./dist/Chat.d.ts",
|
|
94
|
+
"react-native": "./dist/Chat.js",
|
|
69
95
|
"import": "./dist/Chat.js",
|
|
70
|
-
"
|
|
96
|
+
"require": "./dist/Chat.js"
|
|
71
97
|
},
|
|
72
98
|
"./Matching": {
|
|
99
|
+
"types": "./dist/Matching.d.ts",
|
|
100
|
+
"react-native": "./dist/Matching.js",
|
|
73
101
|
"import": "./dist/Matching.js",
|
|
74
|
-
"
|
|
102
|
+
"require": "./dist/Matching.js"
|
|
75
103
|
}
|
|
76
104
|
}
|
|
77
105
|
}
|