wedance-shared 1.0.155 → 1.0.157
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 +4 -0
- package/dist/types/city.js +5 -0
- package/dist/types/city.js.map +1 -1
- package/dist/types/pass.d.ts +2 -2
- package/dist/types/ticket.d.ts +2 -1
- package/dist/types/user.d.ts +2 -2
- package/package.json +1 -1
package/dist/types/city.d.ts
CHANGED
|
@@ -14,6 +14,10 @@ export declare const LIST_CITIES: readonly [{
|
|
|
14
14
|
readonly city: "turku";
|
|
15
15
|
readonly country: "fi";
|
|
16
16
|
readonly coordinates: readonly [60.4517, 22.2683];
|
|
17
|
+
}, {
|
|
18
|
+
readonly city: "jyvaskyla";
|
|
19
|
+
readonly country: "fi";
|
|
20
|
+
readonly coordinates: readonly [62.2411, 25.7324];
|
|
17
21
|
}];
|
|
18
22
|
export type City = (typeof LIST_CITIES)[number];
|
|
19
23
|
export type CityName = City["city"];
|
package/dist/types/city.js
CHANGED
package/dist/types/city.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,OAAO;QACb,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;KAChC;IACD,IAAI;IACJ,qBAAqB;IACrB,mBAAmB;IACnB,mCAAmC;IACnC,KAAK;IACL,IAAI;IACJ,uBAAuB;IACvB,mBAAmB;IACnB,oCAAoC;IACpC,KAAK;IACL,IAAI;IACJ,mBAAmB;IACnB,mBAAmB;IACnB,mCAAmC;IACnC,IAAI;IACJ,IAAI;IACJ,kBAAkB;IAClB,mBAAmB;IACnB,oCAAoC;IACpC,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"}
|
|
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,OAAO;QACb,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;KAChC;IACD;QACE,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;KAChC;IACD,IAAI;IACJ,qBAAqB;IACrB,mBAAmB;IACnB,mCAAmC;IACnC,KAAK;IACL,IAAI;IACJ,uBAAuB;IACvB,mBAAmB;IACnB,oCAAoC;IACpC,KAAK;IACL,IAAI;IACJ,mBAAmB;IACnB,mBAAmB;IACnB,mCAAmC;IACnC,IAAI;IACJ,IAAI;IACJ,kBAAkB;IAClB,mBAAmB;IACnB,oCAAoC;IACpC,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/pass.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MonetaryAmount } from "./ticket.js";
|
|
1
|
+
import { MonetaryAmount, ProductType } from "./ticket.js";
|
|
2
2
|
export interface Pass {
|
|
3
3
|
id: string;
|
|
4
4
|
userId: string;
|
|
@@ -8,7 +8,7 @@ export interface Pass {
|
|
|
8
8
|
seriesId: string | null;
|
|
9
9
|
checkoutSessionId: string | null;
|
|
10
10
|
paymentId: string | null;
|
|
11
|
-
productType:
|
|
11
|
+
productType: ProductType;
|
|
12
12
|
creditsTotal: number | null;
|
|
13
13
|
creditsRemaining: number | null;
|
|
14
14
|
validFrom: string;
|
package/dist/types/ticket.d.ts
CHANGED
|
@@ -139,7 +139,7 @@ export type EventTicket = {
|
|
|
139
139
|
* @deprecated Replaced by price_details
|
|
140
140
|
*/
|
|
141
141
|
price?: number;
|
|
142
|
-
productType:
|
|
142
|
+
productType: ProductType;
|
|
143
143
|
credits: number | null;
|
|
144
144
|
validityDays: number | null;
|
|
145
145
|
validFrom: string | null;
|
|
@@ -147,6 +147,7 @@ export type EventTicket = {
|
|
|
147
147
|
organizerId: string;
|
|
148
148
|
seriesId: string | null;
|
|
149
149
|
};
|
|
150
|
+
export type ProductType = "event" | "drop_in" | "pass" | "membership" | "course";
|
|
150
151
|
export type EventTicketStatus = "published" | "draft" | "sold-out" | "unavailable";
|
|
151
152
|
export type PromotionalPeriod = {
|
|
152
153
|
/**
|
package/dist/types/user.d.ts
CHANGED
|
@@ -52,8 +52,8 @@ export type NotificationPreferences = {
|
|
|
52
52
|
/**
|
|
53
53
|
* Preferences for notifications for organizers
|
|
54
54
|
*/
|
|
55
|
-
organizerTicketingPushNotifications
|
|
56
|
-
organizerTicketingEmailNotifications
|
|
55
|
+
organizerTicketingPushNotifications?: boolean | null;
|
|
56
|
+
organizerTicketingEmailNotifications?: boolean | null;
|
|
57
57
|
};
|
|
58
58
|
/**
|
|
59
59
|
* This is used to show who is going to the event
|
package/package.json
CHANGED