@jealous-robot-dev/shared-types-responses 1.56.9 → 1.57.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
|
|
1
|
-
import { UITHEME, TextDirection, DropHRUserAgents, AuthenticationProviders, Currency, Locale, ENV } from '@jealous-robot-dev/drophr-common';
|
1
|
+
import { UITHEME, TextDirection, DropHRUserAgents, AuthenticationProviders, Currency, Locale, ENV, CampaignTools } from '@jealous-robot-dev/drophr-common';
|
2
2
|
import { MainPhrases } from '@jealous-robot-dev/shared-phrases';
|
3
3
|
import { QueryResponse } from './common';
|
4
4
|
import { UrgentEvent } from '..';
|
@@ -14,6 +14,7 @@ export interface MainUserData {
|
|
14
14
|
is_verified: boolean;
|
15
15
|
impression_for?: string;
|
16
16
|
urgent_event?: UrgentEvent;
|
17
|
+
potential_creator?: boolean;
|
17
18
|
can_become_creator?: boolean;
|
18
19
|
unread_messages_count: number;
|
19
20
|
new_notifications_count: number;
|
@@ -26,6 +27,13 @@ export interface API {
|
|
26
27
|
}
|
27
28
|
export interface CommonData {
|
28
29
|
currentUser: MainUserData | null;
|
30
|
+
campaign: {
|
31
|
+
id: string | null;
|
32
|
+
tool: CampaignTools | null;
|
33
|
+
};
|
34
|
+
ui: {
|
35
|
+
forceAuth?: boolean;
|
36
|
+
};
|
29
37
|
deviceId: string | null;
|
30
38
|
agent: DropHRUserAgents;
|
31
39
|
noConsent?: boolean;
|