wedance-shared 1.0.57 → 1.0.59
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/city.d.ts +20 -18
- package/dist/types/city.js +5 -20
- package/dist/types/city.js.map +1 -1
- package/dist/types/user.d.ts +1 -1
- package/package.json +1 -1
package/dist/types/city.d.ts
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
city: "helsinki";
|
|
3
|
-
country: "fi";
|
|
4
|
-
coordinates: [60.1695, 24.9354];
|
|
5
|
-
}
|
|
6
|
-
city: "tampere";
|
|
7
|
-
country: "fi";
|
|
8
|
-
coordinates: [61.4978, 23.761];
|
|
9
|
-
}
|
|
10
|
-
city: "oulu";
|
|
11
|
-
country: "fi";
|
|
12
|
-
coordinates: [65.012, 25.468];
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
export declare const LIST_CITIES: readonly [{
|
|
2
|
+
readonly city: "helsinki";
|
|
3
|
+
readonly country: "fi";
|
|
4
|
+
readonly coordinates: readonly [60.1695, 24.9354];
|
|
5
|
+
}, {
|
|
6
|
+
readonly city: "tampere";
|
|
7
|
+
readonly country: "fi";
|
|
8
|
+
readonly coordinates: readonly [61.4978, 23.761];
|
|
9
|
+
}, {
|
|
10
|
+
readonly city: "oulu";
|
|
11
|
+
readonly country: "fi";
|
|
12
|
+
readonly coordinates: readonly [65.012, 25.468];
|
|
13
|
+
}, {
|
|
14
|
+
readonly city: "tallinn";
|
|
15
|
+
readonly country: "ee";
|
|
16
|
+
readonly coordinates: readonly [59.437, 24.7536];
|
|
17
|
+
}];
|
|
18
|
+
export type City = (typeof LIST_CITIES)[number];
|
|
19
|
+
export type CityName = City["city"];
|
|
20
|
+
export type CountryCode = City["country"];
|
|
18
21
|
export declare enum Timezone {
|
|
19
22
|
FINLAND = "Europe/Helsinki",
|
|
20
23
|
DENMARK = "Europe/Copenhagen",
|
|
21
24
|
SWEDEN = "Europe/Stockholm",
|
|
22
25
|
NORWAY = "Europe/Oslo"
|
|
23
26
|
}
|
|
24
|
-
export {};
|
package/dist/types/city.js
CHANGED
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
// | {
|
|
2
|
-
// city: "oslo";
|
|
3
|
-
// country: "no";
|
|
4
|
-
// coordinates: [59.9139, 10.7522];
|
|
5
|
-
// }
|
|
6
|
-
// | {
|
|
7
|
-
// city: "tallinn";
|
|
8
|
-
// country: "ee";
|
|
9
|
-
// coordinates: [59.437, 24.7536];
|
|
10
|
-
// }
|
|
11
|
-
// | {
|
|
12
|
-
// city: "copenhagen";
|
|
13
|
-
// country: "dk";
|
|
14
|
-
// coordinates: [55.6761, 12.5683];
|
|
15
|
-
// };
|
|
16
1
|
export const LIST_CITIES = [
|
|
17
2
|
{
|
|
18
3
|
city: "helsinki",
|
|
@@ -28,6 +13,11 @@ export const LIST_CITIES = [
|
|
|
28
13
|
city: "oulu",
|
|
29
14
|
country: "fi",
|
|
30
15
|
coordinates: [65.012, 25.468]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
city: "tallinn",
|
|
19
|
+
country: "ee",
|
|
20
|
+
coordinates: [59.437, 24.7536]
|
|
31
21
|
}
|
|
32
22
|
// {
|
|
33
23
|
// city: "oslo",
|
|
@@ -39,11 +29,6 @@ export const LIST_CITIES = [
|
|
|
39
29
|
// country: 'se',
|
|
40
30
|
// },
|
|
41
31
|
// {
|
|
42
|
-
// city: "tallinn",
|
|
43
|
-
// country: "ee",
|
|
44
|
-
// coordinates: [59.437, 24.7536]
|
|
45
|
-
// },
|
|
46
|
-
// {
|
|
47
32
|
// city: "copenhagen",
|
|
48
33
|
// country: "dk",
|
|
49
34
|
// coordinates: [55.6761, 12.5683]
|
package/dist/types/city.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"city.js","sourceRoot":"","sources":["../../src/types/city.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"city.js","sourceRoot":"","sources":["../../src/types/city.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB;QACE,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;KAChC;IACD;QACE,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;KAC/B;IACD;QACE,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;KAC9B;IACD;QACE,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;KAC/B;IACD,IAAI;IACJ,kBAAkB;IAClB,mBAAmB;IACnB,oCAAoC;IACpC,KAAK;IACL,IAAI;IACJ,uBAAuB;IACvB,mBAAmB;IACnB,KAAK;IACL,IAAI;IACJ,wBAAwB;IACxB,mBAAmB;IACnB,oCAAoC;IACpC,KAAK;CACG,CAAC;AAMX,MAAM,CAAN,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,uCAA2B,CAAA;IAC3B,yCAA6B,CAAA;IAC7B,uCAA2B,CAAA;IAC3B,kCAAsB,CAAA;AACxB,CAAC,EALW,QAAQ,KAAR,QAAQ,QAKnB"}
|
package/dist/types/user.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { City } from "./city.js";
|
|
|
2
2
|
import { DanceTag } from "./event.js";
|
|
3
3
|
import { OrganizerName } from "./organizer.js";
|
|
4
4
|
import { Ticket } from "./ticket.js";
|
|
5
|
-
export type Role = "admin" | "manager" | "organiser" | "user";
|
|
5
|
+
export type Role = "admin" | "manager" | "organiser" | "user" | "checkin";
|
|
6
6
|
export type User = {
|
|
7
7
|
id: string;
|
|
8
8
|
email: string;
|
package/package.json
CHANGED