wedance-shared 1.0.65 → 1.0.66

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.
@@ -5,4 +5,5 @@ export * from "./organizer.js";
5
5
  export * from "./user.js";
6
6
  export * from "./other.js";
7
7
  export * from "./analytics.js";
8
+ export * from "./infoBanner.js";
8
9
  export * from "./festivals/index.js";
@@ -6,6 +6,7 @@ export * from "./organizer.js";
6
6
  export * from "./user.js";
7
7
  export * from "./other.js";
8
8
  export * from "./analytics.js";
9
+ export * from "./infoBanner.js";
9
10
  // Re-export from subdirectories
10
11
  export * from "./festivals/index.js";
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAE/B,gCAAgC;AAChC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAEhC,gCAAgC;AAChC,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,30 @@
1
+ import { DanceTag } from "./event.js";
2
+ import { LanguageCode } from "./other.js";
3
+ import { Role } from "./user.js";
4
+ export type InfoBanner = {
5
+ id: string;
6
+ name: string;
7
+ imageUrl: string;
8
+ aspectRatio: InfoBannerAspectRatio;
9
+ status: InfoBannerStatus;
10
+ filter: InfoBannerFilter;
11
+ action: {
12
+ deeplink: string | null;
13
+ };
14
+ startDate: string;
15
+ endDate: string;
16
+ closable: boolean;
17
+ updatedAt: string;
18
+ createdAt: string;
19
+ };
20
+ export type InfoBannerAspectRatio = "2:3" | "3:4" | "16:9";
21
+ export type InfoBannerStatus = "active" | "inactive";
22
+ export type InfoBannerFilter = {
23
+ platform: "ios" | "android" | "all";
24
+ minAppVersion: string | null;
25
+ maxAppVersion: string | null;
26
+ city: string[];
27
+ favoriteDance: DanceTag[] | null;
28
+ language: LanguageCode[] | null;
29
+ role: Role[] | null;
30
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=infoBanner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"infoBanner.js","sourceRoot":"","sources":["../../src/types/infoBanner.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "description": "This repository contains shared TypeScript types and interfaces used across multiple WeDance applications:",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",