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 CHANGED
@@ -1,7 +1,7 @@
1
1
  export default {
2
- semi: false,
2
+ semi: true,
3
3
  trailingComma: 'none',
4
- singleQuote: true,
4
+ singleQuote: false,
5
5
  printWidth: 80,
6
6
  tabWidth: 2,
7
7
  endOfLine: 'auto'
package/eslint.config.mjs CHANGED
@@ -21,7 +21,7 @@ export default [
21
21
  prettier: eslintPluginPrettier
22
22
  },
23
23
  rules: {
24
- 'prettier/prettier': 'error',
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "This repository contains shared TypeScript types and interfaces used across multiple WeDance applications:",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/organizer.ts CHANGED
@@ -1,55 +1,56 @@
1
- import { City } from './city'
1
+ import { City } from "./city";
2
2
 
3
3
  export type OrganizerName =
4
4
  // HELSINKI
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'
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
- | 'Urbankiz Helsinki'
21
- | 'Azembora'
22
- | 'S-Dance'
23
- | 'Helsinki Kizomba Studio'
24
- | 'idance Helsinki'
20
+ | "Urbankiz Helsinki"
21
+ | "Azembora"
22
+ | "S-Dance"
23
+ | "Helsinki Kizomba Studio"
24
+ | "idance Helsinki"
25
25
  // TAMPERE
26
- | 'Tampere Social Dance'
27
- | 'Azúcar'
28
- | 'DJ Pies Locos'
29
- | 'Kizomba Social Tampere'
26
+ | "Tampere Social Dance"
27
+ | "Azúcar"
28
+ | "DJ Pies Locos"
29
+ | "Kizomba Social Tampere"
30
30
  // OSLO
31
- | 'Fever Dance Oslo'
32
- | 'Pure Dance Official'
33
- | 'Dancecity'
34
- | 'Bachata Monthly'
35
- | 'Salsakompaniet'
31
+ | "Fever Dance Oslo"
32
+ | "Pure Dance Official"
33
+ | "Dancecity"
34
+ | "Bachata Monthly"
35
+ | "Salsakompaniet"
36
36
  // Tallinn
37
- | 'Bachata Studio Tallinn'
38
- | 'Casa De Baile'
39
- | 'Havana Moderna'
37
+ | "Bachata Studio Tallinn"
38
+ | "Casa De Baile"
39
+ | "Havana Moderna"
40
40
  // OTHER
41
- | 'Other'
41
+ | "Other";
42
42
 
43
43
  export type OrganizerData = {
44
- name: OrganizerName
45
- email?: string
46
- website?: string
47
- city: City
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
+ };