@qrush/types 2.1.52 → 2.1.53

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.
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Remote Config Types
3
+ *
4
+ * Shared types for Firebase Remote Config parameters.
5
+ * Used by both the mobile app and webapp admin interface.
6
+ */
7
+ export declare const ALL_TABS: readonly ["all", "clubs", "bars", "festival", "concert", "outdoor", "cityfestivals"];
8
+ export type TabKey = (typeof ALL_TABS)[number];
9
+ export type CityConfig = {
10
+ tabs?: TabKey[];
11
+ suggested?: boolean;
12
+ };
13
+ export type CitiesConfig = {
14
+ defaults: {
15
+ tabs: TabKey[];
16
+ suggested: boolean;
17
+ };
18
+ cities: Record<string, CityConfig>;
19
+ };
20
+ export interface RemoteConfigState {
21
+ cities_config: CitiesConfig;
22
+ cello_enabled: boolean;
23
+ cello_prod: boolean;
24
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Remote Config Types
3
+ *
4
+ * Shared types for Firebase Remote Config parameters.
5
+ * Used by both the mobile app and webapp admin interface.
6
+ */
7
+ // All available tabs in order
8
+ export const ALL_TABS = [
9
+ 'all',
10
+ 'clubs',
11
+ 'bars',
12
+ 'festival',
13
+ 'concert',
14
+ 'outdoor',
15
+ 'cityfestivals',
16
+ ];
package/dist/index.d.ts CHANGED
@@ -13,3 +13,4 @@ export * from './CSVImport.js';
13
13
  export * from './ApiKeys.js';
14
14
  export * from './TrackingStats.js';
15
15
  export * from './Placements.js';
16
+ export * from './RemoteConfig.js';
package/dist/index.js CHANGED
@@ -13,3 +13,4 @@ export * from './CSVImport.js';
13
13
  export * from './ApiKeys.js';
14
14
  export * from './TrackingStats.js';
15
15
  export * from './Placements.js';
16
+ export * from './RemoteConfig.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrush/types",
3
- "version": "2.1.52",
3
+ "version": "2.1.53",
4
4
  "description": "Shared TypeScript types for the QRush ecosystem",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",