wedance-shared 1.0.1 → 1.0.2
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/.prettierrc.js +2 -2
- package/eslint.config.mjs +1 -1
- package/package.json +1 -1
- package/src/organizer.ts +45 -44
package/.prettierrc.js
CHANGED
package/eslint.config.mjs
CHANGED
|
@@ -21,7 +21,7 @@ export default [
|
|
|
21
21
|
prettier: eslintPluginPrettier
|
|
22
22
|
},
|
|
23
23
|
rules: {
|
|
24
|
-
'prettier/prettier': '
|
|
24
|
+
'prettier/prettier': 'warning',
|
|
25
25
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
26
26
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
27
27
|
'@typescript-eslint/no-explicit-any': 'error',
|
package/package.json
CHANGED
package/src/organizer.ts
CHANGED
|
@@ -1,55 +1,56 @@
|
|
|
1
|
-
import { City } from
|
|
1
|
+
import { City } from "./city";
|
|
2
2
|
|
|
3
3
|
export type OrganizerName =
|
|
4
4
|
// HELSINKI
|
|
5
|
-
|
|
|
6
|
-
|
|
|
7
|
-
|
|
|
8
|
-
|
|
|
9
|
-
|
|
|
10
|
-
|
|
|
11
|
-
|
|
|
12
|
-
|
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
|
|
|
18
|
-
|
|
|
5
|
+
| "SOB Productions"
|
|
6
|
+
| "Helsinki SBK"
|
|
7
|
+
| "Avec Dance Club"
|
|
8
|
+
| "Still Dancing"
|
|
9
|
+
| "Tanssikoulu SalsaLatina"
|
|
10
|
+
| "Helsinki Salsa Academy"
|
|
11
|
+
| "BabaGen"
|
|
12
|
+
| "Bachata Studio"
|
|
13
|
+
| "Tanssikoulu BailaBaila"
|
|
14
|
+
| "Petra & Otso"
|
|
15
|
+
| "Bachata Helsinki"
|
|
16
|
+
| "Anton Kargaltsev"
|
|
17
|
+
| "Salsa Borealis"
|
|
18
|
+
| "Helsinki Dance Central"
|
|
19
19
|
| "Ted's Kizomba"
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
|
20
|
+
| "Urbankiz Helsinki"
|
|
21
|
+
| "Azembora"
|
|
22
|
+
| "S-Dance"
|
|
23
|
+
| "Helsinki Kizomba Studio"
|
|
24
|
+
| "idance Helsinki"
|
|
25
25
|
// TAMPERE
|
|
26
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
29
|
-
|
|
|
26
|
+
| "Tampere Social Dance"
|
|
27
|
+
| "Azúcar"
|
|
28
|
+
| "DJ Pies Locos"
|
|
29
|
+
| "Kizomba Social Tampere"
|
|
30
30
|
// OSLO
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
|
|
|
31
|
+
| "Fever Dance Oslo"
|
|
32
|
+
| "Pure Dance Official"
|
|
33
|
+
| "Dancecity"
|
|
34
|
+
| "Bachata Monthly"
|
|
35
|
+
| "Salsakompaniet"
|
|
36
36
|
// Tallinn
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
|
37
|
+
| "Bachata Studio Tallinn"
|
|
38
|
+
| "Casa De Baile"
|
|
39
|
+
| "Havana Moderna"
|
|
40
40
|
// OTHER
|
|
41
|
-
|
|
|
41
|
+
| "Other";
|
|
42
42
|
|
|
43
43
|
export type OrganizerData = {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
id: string;
|
|
45
|
+
name: OrganizerName;
|
|
46
|
+
email?: string;
|
|
47
|
+
website?: string;
|
|
48
|
+
city: City;
|
|
48
49
|
description?: {
|
|
49
|
-
fi: string
|
|
50
|
-
en: string
|
|
51
|
-
}
|
|
52
|
-
lastUpdated: string
|
|
53
|
-
createdAt: string
|
|
54
|
-
isFlagged: boolean
|
|
55
|
-
}
|
|
50
|
+
fi: string;
|
|
51
|
+
en: string;
|
|
52
|
+
};
|
|
53
|
+
lastUpdated: string;
|
|
54
|
+
createdAt: string;
|
|
55
|
+
isFlagged: boolean;
|
|
56
|
+
};
|