@qrush/types 2.1.87 → 2.1.89

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/City.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ import { TabKey } from './RemoteConfig.js';
2
+ export interface CityDocument {
3
+ id: number;
4
+ loc_id: number;
5
+ name: string;
6
+ imageURI?: string;
7
+ zipcode: string;
8
+ lat: number;
9
+ lon: number;
10
+ tabs?: TabKey[];
11
+ suggested: boolean;
12
+ enabled: boolean;
13
+ order: number;
14
+ }
15
+ export type CityData = Omit<CityDocument, 'enabled'>;
package/dist/City.js ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -36,6 +36,7 @@ export interface InAppMessageConfig {
36
36
  image: string;
37
37
  }
38
38
  export interface RemoteConfigState {
39
+ /** @deprecated Use Firestore `cities` collection via `getCities` CF instead */
39
40
  cities_config: CitiesConfig;
40
41
  cello_enabled: boolean;
41
42
  cello_prod: boolean;
package/dist/Users.d.ts CHANGED
@@ -67,7 +67,7 @@ export type SharingToken = {
67
67
  token: string;
68
68
  expires: Timestamp | null;
69
69
  };
70
- export type Gender = 'male' | 'female' | 'diverse';
70
+ export type Gender = 'male' | 'female' | 'diverse' | 'ratherNotSay';
71
71
  export type FireUserSnapshotRef = FireQueryDocSnapshotRef<IFireUser>;
72
72
  export type IFireUserCreationData = Omit<IFireUser, 'id' | 'birthday' | 'sharingToken' | 'createdAt'> & {
73
73
  birthday: Date;
package/dist/index.d.ts CHANGED
@@ -14,6 +14,7 @@ export * from './ApiKeys.js';
14
14
  export * from './TrackingStats.js';
15
15
  export * from './Placements.js';
16
16
  export * from './RemoteConfig.js';
17
+ export * from './City.js';
17
18
  export * from './Chat.js';
18
19
  export * from './Conversation.js';
19
20
  export * from './Social.js';
package/dist/index.js CHANGED
@@ -14,6 +14,7 @@ export * from './ApiKeys.js';
14
14
  export * from './TrackingStats.js';
15
15
  export * from './Placements.js';
16
16
  export * from './RemoteConfig.js';
17
+ export * from './City.js';
17
18
  export * from './Chat.js';
18
19
  export * from './Conversation.js';
19
20
  export * from './Social.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrush/types",
3
- "version": "2.1.87",
3
+ "version": "2.1.89",
4
4
  "description": "Shared TypeScript types for the QRush ecosystem",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",