@bigbinary/neeto-commons-rn 2.0.3 → 2.2.0
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/align-deps-preset.js +84 -0
- package/lib/typescript/api/app_version.d.ts.map +1 -1
- package/lib/typescript/components/AppVersion.d.ts.map +1 -1
- package/lib/typescript/components/DevToolsBridge.d.ts +8 -0
- package/lib/typescript/components/DevToolsBridge.d.ts.map +1 -0
- package/lib/typescript/components/Header.d.ts.map +1 -1
- package/lib/typescript/components/ToggleSwitch.d.ts.map +1 -1
- package/lib/typescript/components/constants.d.ts +1 -0
- package/lib/typescript/components/constants.d.ts.map +1 -1
- package/lib/typescript/config/axios/constants.d.ts +1 -0
- package/lib/typescript/config/axios/constants.d.ts.map +1 -1
- package/lib/typescript/config/axios/groupingKey.d.ts +12 -0
- package/lib/typescript/config/axios/groupingKey.d.ts.map +1 -0
- package/lib/typescript/config/axios/index.d.ts.map +1 -1
- package/lib/typescript/config/bugsnag.d.ts +1 -1
- package/lib/typescript/config/bugsnag.d.ts.map +1 -1
- package/lib/typescript/constants/index.d.ts +10 -0
- package/lib/typescript/constants/index.d.ts.map +1 -1
- package/lib/typescript/helpers/notifications/firebaseMessaging.android.d.ts +10 -0
- package/lib/typescript/helpers/notifications/firebaseMessaging.android.d.ts.map +1 -0
- package/lib/typescript/helpers/notifications/firebaseMessaging.d.ts +24 -0
- package/lib/typescript/helpers/notifications/firebaseMessaging.d.ts.map +1 -0
- package/lib/typescript/helpers/notifications/getDeviceToken.d.ts.map +1 -1
- package/lib/typescript/helpers/notifications/index.d.ts +1 -0
- package/lib/typescript/helpers/notifications/index.d.ts.map +1 -1
- package/lib/typescript/helpers/scale.d.ts +10 -0
- package/lib/typescript/helpers/scale.d.ts.map +1 -1
- package/lib/typescript/helpers/utils.d.ts.map +1 -1
- package/lib/typescript/hooks/query/useAppVersionApi.d.ts.map +1 -1
- package/lib/typescript/hooks/query/useRolesApi.d.ts.map +1 -1
- package/lib/typescript/initializers/constants.d.ts +4 -0
- package/lib/typescript/initializers/constants.d.ts.map +1 -0
- package/lib/typescript/initializers/index.d.ts +2 -2
- package/lib/typescript/initializers/index.d.ts.map +1 -1
- package/lib/typescript/initializers/logRocket.d.ts +11 -1
- package/lib/typescript/initializers/logRocket.d.ts.map +1 -1
- package/lib/typescript/providers/NeetoCommonsRNProvider.d.ts +8 -1
- package/lib/typescript/providers/NeetoCommonsRNProvider.d.ts.map +1 -1
- package/lib/typescript/screens/authentication/LoginScreen.d.ts.map +1 -1
- package/lib/typescript/screens/authentication/OTPVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/screens/authentication/Organization.d.ts.map +1 -1
- package/lib/typescript/screens/authentication/SubDomainScreen.d.ts.map +1 -1
- package/lib/typescript/screens/profile/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/screens/team_members/ProductSelect.d.ts.map +1 -1
- package/lib/typescript/screens/team_members/index.d.ts.map +1 -1
- package/lib/typescript/screens/team_members/utils.d.ts.map +1 -1
- package/lib/typescript/store/index.d.ts +3 -2
- package/lib/typescript/store/index.d.ts.map +1 -1
- package/lib/typescript/utils/apiHelpers.d.ts.map +1 -1
- package/metro-devtools.js +48 -0
- package/package.json +485 -16
- package/src/api/app_version.ts +42 -2
- package/src/components/AppVersion.ts +46 -30
- package/src/components/DevToolsBridge.ts +40 -0
- package/src/components/Header.tsx +3 -1
- package/src/components/NotificationIcon.tsx +1 -1
- package/src/components/ToggleSwitch.tsx +2 -1
- package/src/components/WorkspaceSwitcherPane.tsx +1 -1
- package/src/components/constants.ts +4 -0
- package/src/config/axios/constants.ts +3 -0
- package/src/config/axios/groupingKey.ts +25 -0
- package/src/config/axios/index.ts +7 -4
- package/src/config/bugsnag.ts +17 -1
- package/src/constants/index.ts +13 -0
- package/src/contexts/localization.tsx +1 -1
- package/src/helpers/notifications/firebaseMessaging.android.ts +21 -0
- package/src/helpers/notifications/firebaseMessaging.ts +37 -0
- package/src/helpers/notifications/getDeviceToken.ts +1 -2
- package/src/helpers/notifications/index.ts +1 -0
- package/src/helpers/notifications/registerBackgroundHandlers.ts +1 -1
- package/src/helpers/notifications/usePushNotification.ts +1 -1
- package/src/helpers/scale.ts +21 -3
- package/src/helpers/utils.ts +2 -1
- package/src/hooks/query/useAppVersionApi.ts +9 -0
- package/src/hooks/query/useRolesApi.ts +3 -1
- package/src/initializers/constants.ts +3 -0
- package/src/initializers/index.ts +12 -2
- package/src/initializers/logRocket.ts +111 -20
- package/src/providers/NeetoCommonsRNProvider.tsx +23 -0
- package/src/screens/authentication/IncompleteOnboardingInfo.tsx +2 -2
- package/src/screens/authentication/LoginScreen.tsx +50 -39
- package/src/screens/authentication/OTPVerificationScreen.tsx +17 -41
- package/src/screens/authentication/Organization.tsx +2 -6
- package/src/screens/authentication/SubDomainScreen.tsx +38 -70
- package/src/screens/profile/ProfileScreen.tsx +2 -1
- package/src/screens/team_members/Card.tsx +1 -1
- package/src/screens/team_members/ProductSelect.tsx +6 -7
- package/src/screens/team_members/index.tsx +2 -1
- package/src/screens/team_members/utils.ts +3 -1
- package/src/store/index.ts +68 -1
- package/src/utils/apiHelpers.ts +4 -1
package/package.json
CHANGED
|
@@ -1,31 +1,216 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-commons-rn",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"react-native": "./src/index.ts",
|
|
7
7
|
"types": "./lib/typescript/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
|
-
"
|
|
10
|
-
"types": "./lib/typescript/
|
|
11
|
-
"react-native": "./src/
|
|
12
|
-
"default": "./src/
|
|
9
|
+
"./api/app_version": {
|
|
10
|
+
"types": "./lib/typescript/api/app_version.d.ts",
|
|
11
|
+
"react-native": "./src/api/app_version.ts",
|
|
12
|
+
"default": "./src/api/app_version.ts"
|
|
13
|
+
},
|
|
14
|
+
"./api/auth": {
|
|
15
|
+
"types": "./lib/typescript/api/auth.d.ts",
|
|
16
|
+
"react-native": "./src/api/auth.ts",
|
|
17
|
+
"default": "./src/api/auth.ts"
|
|
18
|
+
},
|
|
19
|
+
"./api/global_roles": {
|
|
20
|
+
"types": "./lib/typescript/api/global_roles.d.ts",
|
|
21
|
+
"react-native": "./src/api/global_roles.ts",
|
|
22
|
+
"default": "./src/api/global_roles.ts"
|
|
23
|
+
},
|
|
24
|
+
"./api/notifications": {
|
|
25
|
+
"types": "./lib/typescript/api/notifications.d.ts",
|
|
26
|
+
"react-native": "./src/api/notifications.ts",
|
|
27
|
+
"default": "./src/api/notifications.ts"
|
|
28
|
+
},
|
|
29
|
+
"./api/organization_roles": {
|
|
30
|
+
"types": "./lib/typescript/api/organization_roles.d.ts",
|
|
31
|
+
"react-native": "./src/api/organization_roles.ts",
|
|
32
|
+
"default": "./src/api/organization_roles.ts"
|
|
33
|
+
},
|
|
34
|
+
"./api/profile": {
|
|
35
|
+
"types": "./lib/typescript/api/profile.d.ts",
|
|
36
|
+
"react-native": "./src/api/profile.ts",
|
|
37
|
+
"default": "./src/api/profile.ts"
|
|
38
|
+
},
|
|
39
|
+
"./api/team_members": {
|
|
40
|
+
"types": "./lib/typescript/api/team_members.d.ts",
|
|
41
|
+
"react-native": "./src/api/team_members.ts",
|
|
42
|
+
"default": "./src/api/team_members.ts"
|
|
13
43
|
},
|
|
14
44
|
"./auth": {
|
|
15
45
|
"types": "./lib/typescript/auth/index.d.ts",
|
|
16
46
|
"react-native": "./src/auth/index.ts",
|
|
17
47
|
"default": "./src/auth/index.ts"
|
|
18
48
|
},
|
|
49
|
+
"./components/AppVersion": {
|
|
50
|
+
"types": "./lib/typescript/components/AppVersion.d.ts",
|
|
51
|
+
"react-native": "./src/components/AppVersion.ts",
|
|
52
|
+
"default": "./src/components/AppVersion.ts"
|
|
53
|
+
},
|
|
54
|
+
"./components/BottomSheet": {
|
|
55
|
+
"types": "./lib/typescript/components/BottomSheet.d.ts",
|
|
56
|
+
"react-native": "./src/components/BottomSheet.ts",
|
|
57
|
+
"default": "./src/components/BottomSheet.ts"
|
|
58
|
+
},
|
|
59
|
+
"./components/BottomSheetMenu": {
|
|
60
|
+
"types": "./lib/typescript/components/BottomSheetMenu.d.ts",
|
|
61
|
+
"react-native": "./src/components/BottomSheetMenu.ts",
|
|
62
|
+
"default": "./src/components/BottomSheetMenu.ts"
|
|
63
|
+
},
|
|
64
|
+
"./components/ConfirmSheet": {
|
|
65
|
+
"types": "./lib/typescript/components/ConfirmSheet.d.ts",
|
|
66
|
+
"react-native": "./src/components/ConfirmSheet.ts",
|
|
67
|
+
"default": "./src/components/ConfirmSheet.ts"
|
|
68
|
+
},
|
|
69
|
+
"./components/DevToolsBridge": {
|
|
70
|
+
"types": "./lib/typescript/components/DevToolsBridge.d.ts",
|
|
71
|
+
"react-native": "./src/components/DevToolsBridge.ts",
|
|
72
|
+
"default": "./src/components/DevToolsBridge.ts"
|
|
73
|
+
},
|
|
74
|
+
"./components/EmptyView": {
|
|
75
|
+
"types": "./lib/typescript/components/EmptyView.d.ts",
|
|
76
|
+
"react-native": "./src/components/EmptyView.tsx",
|
|
77
|
+
"default": "./src/components/EmptyView.tsx"
|
|
78
|
+
},
|
|
79
|
+
"./components/Header": {
|
|
80
|
+
"types": "./lib/typescript/components/Header.d.ts",
|
|
81
|
+
"react-native": "./src/components/Header.tsx",
|
|
82
|
+
"default": "./src/components/Header.tsx"
|
|
83
|
+
},
|
|
84
|
+
"./components/Header/BaseHeader": {
|
|
85
|
+
"types": "./lib/typescript/components/Header/BaseHeader.d.ts",
|
|
86
|
+
"react-native": "./src/components/Header/BaseHeader.ts",
|
|
87
|
+
"default": "./src/components/Header/BaseHeader.ts"
|
|
88
|
+
},
|
|
89
|
+
"./components/Header/ScreenHeader": {
|
|
90
|
+
"types": "./lib/typescript/components/Header/ScreenHeader.d.ts",
|
|
91
|
+
"react-native": "./src/components/Header/ScreenHeader.ts",
|
|
92
|
+
"default": "./src/components/Header/ScreenHeader.ts"
|
|
93
|
+
},
|
|
94
|
+
"./components/HyperlinkText": {
|
|
95
|
+
"types": "./lib/typescript/components/HyperlinkText.d.ts",
|
|
96
|
+
"react-native": "./src/components/HyperlinkText.tsx",
|
|
97
|
+
"default": "./src/components/HyperlinkText.tsx"
|
|
98
|
+
},
|
|
99
|
+
"./components/LineLoader": {
|
|
100
|
+
"types": "./lib/typescript/components/LineLoader.d.ts",
|
|
101
|
+
"react-native": "./src/components/LineLoader.tsx",
|
|
102
|
+
"default": "./src/components/LineLoader.tsx"
|
|
103
|
+
},
|
|
104
|
+
"./components/NotificationIcon": {
|
|
105
|
+
"types": "./lib/typescript/components/NotificationIcon.d.ts",
|
|
106
|
+
"react-native": "./src/components/NotificationIcon.tsx",
|
|
107
|
+
"default": "./src/components/NotificationIcon.tsx"
|
|
108
|
+
},
|
|
109
|
+
"./components/NotificationPreferenceList": {
|
|
110
|
+
"types": "./lib/typescript/components/NotificationPreferenceList.d.ts",
|
|
111
|
+
"react-native": "./src/components/NotificationPreferenceList.tsx",
|
|
112
|
+
"default": "./src/components/NotificationPreferenceList.tsx"
|
|
113
|
+
},
|
|
114
|
+
"./components/OfflineScreen": {
|
|
115
|
+
"types": "./lib/typescript/components/OfflineScreen.d.ts",
|
|
116
|
+
"react-native": "./src/components/OfflineScreen.tsx",
|
|
117
|
+
"default": "./src/components/OfflineScreen.tsx"
|
|
118
|
+
},
|
|
119
|
+
"./components/OrganizationItem": {
|
|
120
|
+
"types": "./lib/typescript/components/OrganizationItem.d.ts",
|
|
121
|
+
"react-native": "./src/components/OrganizationItem.tsx",
|
|
122
|
+
"default": "./src/components/OrganizationItem.tsx"
|
|
123
|
+
},
|
|
124
|
+
"./components/SocialButton": {
|
|
125
|
+
"types": "./lib/typescript/components/SocialButton.d.ts",
|
|
126
|
+
"react-native": "./src/components/SocialButton.tsx",
|
|
127
|
+
"default": "./src/components/SocialButton.tsx"
|
|
128
|
+
},
|
|
129
|
+
"./components/TextWithUrl": {
|
|
130
|
+
"types": "./lib/typescript/components/TextWithUrl.d.ts",
|
|
131
|
+
"react-native": "./src/components/TextWithUrl.ts",
|
|
132
|
+
"default": "./src/components/TextWithUrl.ts"
|
|
133
|
+
},
|
|
134
|
+
"./components/ToggleSwitch": {
|
|
135
|
+
"types": "./lib/typescript/components/ToggleSwitch.d.ts",
|
|
136
|
+
"react-native": "./src/components/ToggleSwitch.tsx",
|
|
137
|
+
"default": "./src/components/ToggleSwitch.tsx"
|
|
138
|
+
},
|
|
139
|
+
"./components/WorkspaceSwitcherPane": {
|
|
140
|
+
"types": "./lib/typescript/components/WorkspaceSwitcherPane.d.ts",
|
|
141
|
+
"react-native": "./src/components/WorkspaceSwitcherPane.tsx",
|
|
142
|
+
"default": "./src/components/WorkspaceSwitcherPane.tsx"
|
|
143
|
+
},
|
|
144
|
+
"./components/constants": {
|
|
145
|
+
"types": "./lib/typescript/components/constants.d.ts",
|
|
146
|
+
"react-native": "./src/components/constants.ts",
|
|
147
|
+
"default": "./src/components/constants.ts"
|
|
148
|
+
},
|
|
19
149
|
"./components": {
|
|
20
150
|
"types": "./lib/typescript/components/index.d.ts",
|
|
21
151
|
"react-native": "./src/components/index.ts",
|
|
22
152
|
"default": "./src/components/index.ts"
|
|
23
153
|
},
|
|
154
|
+
"./config/axios/caseConversion": {
|
|
155
|
+
"types": "./lib/typescript/config/axios/caseConversion.d.ts",
|
|
156
|
+
"react-native": "./src/config/axios/caseConversion.ts",
|
|
157
|
+
"default": "./src/config/axios/caseConversion.ts"
|
|
158
|
+
},
|
|
159
|
+
"./config/axios/constants": {
|
|
160
|
+
"types": "./lib/typescript/config/axios/constants.d.ts",
|
|
161
|
+
"react-native": "./src/config/axios/constants.ts",
|
|
162
|
+
"default": "./src/config/axios/constants.ts"
|
|
163
|
+
},
|
|
164
|
+
"./config/axios/groupingKey": {
|
|
165
|
+
"types": "./lib/typescript/config/axios/groupingKey.d.ts",
|
|
166
|
+
"react-native": "./src/config/axios/groupingKey.ts",
|
|
167
|
+
"default": "./src/config/axios/groupingKey.ts"
|
|
168
|
+
},
|
|
169
|
+
"./config/axios": {
|
|
170
|
+
"types": "./lib/typescript/config/axios/index.d.ts",
|
|
171
|
+
"react-native": "./src/config/axios/index.ts",
|
|
172
|
+
"default": "./src/config/axios/index.ts"
|
|
173
|
+
},
|
|
174
|
+
"./config/axios/networkErrorHandler": {
|
|
175
|
+
"types": "./lib/typescript/config/axios/networkErrorHandler.d.ts",
|
|
176
|
+
"react-native": "./src/config/axios/networkErrorHandler.ts",
|
|
177
|
+
"default": "./src/config/axios/networkErrorHandler.ts"
|
|
178
|
+
},
|
|
179
|
+
"./config/axios/paramsSerializer": {
|
|
180
|
+
"types": "./lib/typescript/config/axios/paramsSerializer.d.ts",
|
|
181
|
+
"react-native": "./src/config/axios/paramsSerializer.ts",
|
|
182
|
+
"default": "./src/config/axios/paramsSerializer.ts"
|
|
183
|
+
},
|
|
184
|
+
"./config/axios/types": {
|
|
185
|
+
"types": "./lib/typescript/config/axios/types.d.ts",
|
|
186
|
+
"react-native": "./src/config/axios/types.ts",
|
|
187
|
+
"default": "./src/config/axios/types.ts"
|
|
188
|
+
},
|
|
189
|
+
"./config/bugsnag": {
|
|
190
|
+
"types": "./lib/typescript/config/bugsnag.d.ts",
|
|
191
|
+
"react-native": "./src/config/bugsnag.ts",
|
|
192
|
+
"default": "./src/config/bugsnag.ts"
|
|
193
|
+
},
|
|
194
|
+
"./config/dayjs": {
|
|
195
|
+
"types": "./lib/typescript/config/dayjs.d.ts",
|
|
196
|
+
"react-native": "./src/config/dayjs.ts",
|
|
197
|
+
"default": "./src/config/dayjs.ts"
|
|
198
|
+
},
|
|
199
|
+
"./config/googleSignin": {
|
|
200
|
+
"types": "./lib/typescript/config/googleSignin.d.ts",
|
|
201
|
+
"react-native": "./src/config/googleSignin.ts",
|
|
202
|
+
"default": "./src/config/googleSignin.ts"
|
|
203
|
+
},
|
|
24
204
|
"./config": {
|
|
25
205
|
"types": "./lib/typescript/config/index.d.ts",
|
|
26
206
|
"react-native": "./src/config/index.ts",
|
|
27
207
|
"default": "./src/config/index.ts"
|
|
28
208
|
},
|
|
209
|
+
"./config/validations": {
|
|
210
|
+
"types": "./lib/typescript/config/validations.d.ts",
|
|
211
|
+
"react-native": "./src/config/validations.ts",
|
|
212
|
+
"default": "./src/config/validations.ts"
|
|
213
|
+
},
|
|
29
214
|
"./constants": {
|
|
30
215
|
"types": "./lib/typescript/constants/index.d.ts",
|
|
31
216
|
"react-native": "./src/constants/index.ts",
|
|
@@ -36,64 +221,338 @@
|
|
|
36
221
|
"react-native": "./src/contexts/index.ts",
|
|
37
222
|
"default": "./src/contexts/index.ts"
|
|
38
223
|
},
|
|
224
|
+
"./contexts/localization": {
|
|
225
|
+
"types": "./lib/typescript/contexts/localization.d.ts",
|
|
226
|
+
"react-native": "./src/contexts/localization.tsx",
|
|
227
|
+
"default": "./src/contexts/localization.tsx"
|
|
228
|
+
},
|
|
229
|
+
"./helpers/asyncStore": {
|
|
230
|
+
"types": "./lib/typescript/helpers/asyncStore.d.ts",
|
|
231
|
+
"react-native": "./src/helpers/asyncStore.ts",
|
|
232
|
+
"default": "./src/helpers/asyncStore.ts"
|
|
233
|
+
},
|
|
39
234
|
"./helpers": {
|
|
40
235
|
"types": "./lib/typescript/helpers/index.d.ts",
|
|
41
236
|
"react-native": "./src/helpers/index.ts",
|
|
42
237
|
"default": "./src/helpers/index.ts"
|
|
43
238
|
},
|
|
239
|
+
"./helpers/keychain": {
|
|
240
|
+
"types": "./lib/typescript/helpers/keychain.d.ts",
|
|
241
|
+
"react-native": "./src/helpers/keychain.ts",
|
|
242
|
+
"default": "./src/helpers/keychain.ts"
|
|
243
|
+
},
|
|
244
|
+
"./helpers/notifications/apnsToken": {
|
|
245
|
+
"types": "./lib/typescript/helpers/notifications/apnsToken.d.ts",
|
|
246
|
+
"react-native": "./src/helpers/notifications/apnsToken.ts",
|
|
247
|
+
"default": "./src/helpers/notifications/apnsToken.ts"
|
|
248
|
+
},
|
|
249
|
+
"./helpers/notifications/constants": {
|
|
250
|
+
"types": "./lib/typescript/helpers/notifications/constants.d.ts",
|
|
251
|
+
"react-native": "./src/helpers/notifications/constants.ts",
|
|
252
|
+
"default": "./src/helpers/notifications/constants.ts"
|
|
253
|
+
},
|
|
254
|
+
"./helpers/notifications/getDeviceToken": {
|
|
255
|
+
"types": "./lib/typescript/helpers/notifications/getDeviceToken.d.ts",
|
|
256
|
+
"react-native": "./src/helpers/notifications/getDeviceToken.ts",
|
|
257
|
+
"default": "./src/helpers/notifications/getDeviceToken.ts"
|
|
258
|
+
},
|
|
44
259
|
"./helpers/notifications": {
|
|
45
260
|
"types": "./lib/typescript/helpers/notifications/index.d.ts",
|
|
46
261
|
"react-native": "./src/helpers/notifications/index.ts",
|
|
47
262
|
"default": "./src/helpers/notifications/index.ts"
|
|
48
263
|
},
|
|
264
|
+
"./helpers/notifications/registerBackgroundHandlers": {
|
|
265
|
+
"types": "./lib/typescript/helpers/notifications/registerBackgroundHandlers.d.ts",
|
|
266
|
+
"react-native": "./src/helpers/notifications/registerBackgroundHandlers.ts",
|
|
267
|
+
"default": "./src/helpers/notifications/registerBackgroundHandlers.ts"
|
|
268
|
+
},
|
|
269
|
+
"./helpers/notifications/types": {
|
|
270
|
+
"types": "./lib/typescript/helpers/notifications/types.d.ts",
|
|
271
|
+
"react-native": "./src/helpers/notifications/types.ts",
|
|
272
|
+
"default": "./src/helpers/notifications/types.ts"
|
|
273
|
+
},
|
|
274
|
+
"./helpers/notifications/usePushNotification": {
|
|
275
|
+
"types": "./lib/typescript/helpers/notifications/usePushNotification.d.ts",
|
|
276
|
+
"react-native": "./src/helpers/notifications/usePushNotification.ts",
|
|
277
|
+
"default": "./src/helpers/notifications/usePushNotification.ts"
|
|
278
|
+
},
|
|
279
|
+
"./helpers/scale": {
|
|
280
|
+
"types": "./lib/typescript/helpers/scale.d.ts",
|
|
281
|
+
"react-native": "./src/helpers/scale.ts",
|
|
282
|
+
"default": "./src/helpers/scale.ts"
|
|
283
|
+
},
|
|
284
|
+
"./helpers/utils": {
|
|
285
|
+
"types": "./lib/typescript/helpers/utils.d.ts",
|
|
286
|
+
"react-native": "./src/helpers/utils.ts",
|
|
287
|
+
"default": "./src/helpers/utils.ts"
|
|
288
|
+
},
|
|
49
289
|
"./hooks": {
|
|
50
290
|
"types": "./lib/typescript/hooks/index.d.ts",
|
|
51
291
|
"react-native": "./src/hooks/index.ts",
|
|
52
292
|
"default": "./src/hooks/index.ts"
|
|
53
293
|
},
|
|
294
|
+
"./hooks/query/queryKeys": {
|
|
295
|
+
"types": "./lib/typescript/hooks/query/queryKeys.d.ts",
|
|
296
|
+
"react-native": "./src/hooks/query/queryKeys.ts",
|
|
297
|
+
"default": "./src/hooks/query/queryKeys.ts"
|
|
298
|
+
},
|
|
299
|
+
"./hooks/query/useAppVersionApi": {
|
|
300
|
+
"types": "./lib/typescript/hooks/query/useAppVersionApi.d.ts",
|
|
301
|
+
"react-native": "./src/hooks/query/useAppVersionApi.ts",
|
|
302
|
+
"default": "./src/hooks/query/useAppVersionApi.ts"
|
|
303
|
+
},
|
|
304
|
+
"./hooks/query/useAuth": {
|
|
305
|
+
"types": "./lib/typescript/hooks/query/useAuth.d.ts",
|
|
306
|
+
"react-native": "./src/hooks/query/useAuth.ts",
|
|
307
|
+
"default": "./src/hooks/query/useAuth.ts"
|
|
308
|
+
},
|
|
309
|
+
"./hooks/query/useNotification": {
|
|
310
|
+
"types": "./lib/typescript/hooks/query/useNotification.d.ts",
|
|
311
|
+
"react-native": "./src/hooks/query/useNotification.ts",
|
|
312
|
+
"default": "./src/hooks/query/useNotification.ts"
|
|
313
|
+
},
|
|
314
|
+
"./hooks/query/useProfile": {
|
|
315
|
+
"types": "./lib/typescript/hooks/query/useProfile.d.ts",
|
|
316
|
+
"react-native": "./src/hooks/query/useProfile.ts",
|
|
317
|
+
"default": "./src/hooks/query/useProfile.ts"
|
|
318
|
+
},
|
|
319
|
+
"./hooks/query/useRolesApi": {
|
|
320
|
+
"types": "./lib/typescript/hooks/query/useRolesApi.d.ts",
|
|
321
|
+
"react-native": "./src/hooks/query/useRolesApi.ts",
|
|
322
|
+
"default": "./src/hooks/query/useRolesApi.ts"
|
|
323
|
+
},
|
|
324
|
+
"./hooks/query/useTeamMembersApi": {
|
|
325
|
+
"types": "./lib/typescript/hooks/query/useTeamMembersApi.d.ts",
|
|
326
|
+
"react-native": "./src/hooks/query/useTeamMembersApi.ts",
|
|
327
|
+
"default": "./src/hooks/query/useTeamMembersApi.ts"
|
|
328
|
+
},
|
|
329
|
+
"./hooks/useAppState": {
|
|
330
|
+
"types": "./lib/typescript/hooks/useAppState.d.ts",
|
|
331
|
+
"react-native": "./src/hooks/useAppState.ts",
|
|
332
|
+
"default": "./src/hooks/useAppState.ts"
|
|
333
|
+
},
|
|
334
|
+
"./hooks/usePushNotificationPermissions": {
|
|
335
|
+
"types": "./lib/typescript/hooks/usePushNotificationPermissions.d.ts",
|
|
336
|
+
"react-native": "./src/hooks/usePushNotificationPermissions.ts",
|
|
337
|
+
"default": "./src/hooks/usePushNotificationPermissions.ts"
|
|
338
|
+
},
|
|
339
|
+
".": {
|
|
340
|
+
"types": "./lib/typescript/index.d.ts",
|
|
341
|
+
"react-native": "./src/index.ts",
|
|
342
|
+
"default": "./src/index.ts"
|
|
343
|
+
},
|
|
54
344
|
"./initializers": {
|
|
55
345
|
"types": "./lib/typescript/initializers/index.d.ts",
|
|
56
346
|
"react-native": "./src/initializers/index.ts",
|
|
57
347
|
"default": "./src/initializers/index.ts"
|
|
58
348
|
},
|
|
349
|
+
"./initializers/logRocket": {
|
|
350
|
+
"types": "./lib/typescript/initializers/logRocket.d.ts",
|
|
351
|
+
"react-native": "./src/initializers/logRocket.ts",
|
|
352
|
+
"default": "./src/initializers/logRocket.ts"
|
|
353
|
+
},
|
|
354
|
+
"./localization/i18n": {
|
|
355
|
+
"types": "./lib/typescript/localization/i18n.d.ts",
|
|
356
|
+
"react-native": "./src/localization/i18n.ts",
|
|
357
|
+
"default": "./src/localization/i18n.ts"
|
|
358
|
+
},
|
|
59
359
|
"./localization": {
|
|
60
360
|
"types": "./lib/typescript/localization/index.d.ts",
|
|
61
361
|
"react-native": "./src/localization/index.ts",
|
|
62
362
|
"default": "./src/localization/index.ts"
|
|
63
363
|
},
|
|
364
|
+
"./navigation/navigationService": {
|
|
365
|
+
"types": "./lib/typescript/navigation/navigationService.d.ts",
|
|
366
|
+
"react-native": "./src/navigation/navigationService.ts",
|
|
367
|
+
"default": "./src/navigation/navigationService.ts"
|
|
368
|
+
},
|
|
369
|
+
"./navigation/screenNames": {
|
|
370
|
+
"types": "./lib/typescript/navigation/screenNames.d.ts",
|
|
371
|
+
"react-native": "./src/navigation/screenNames.ts",
|
|
372
|
+
"default": "./src/navigation/screenNames.ts"
|
|
373
|
+
},
|
|
374
|
+
"./navigation/stacks": {
|
|
375
|
+
"types": "./lib/typescript/navigation/stacks.d.ts",
|
|
376
|
+
"react-native": "./src/navigation/stacks.tsx",
|
|
377
|
+
"default": "./src/navigation/stacks.tsx"
|
|
378
|
+
},
|
|
379
|
+
"./navigation/types": {
|
|
380
|
+
"types": "./lib/typescript/navigation/types.d.ts",
|
|
381
|
+
"react-native": "./src/navigation/types.ts",
|
|
382
|
+
"default": "./src/navigation/types.ts"
|
|
383
|
+
},
|
|
384
|
+
"./providers/NeetoCommonsRNProvider": {
|
|
385
|
+
"types": "./lib/typescript/providers/NeetoCommonsRNProvider.d.ts",
|
|
386
|
+
"react-native": "./src/providers/NeetoCommonsRNProvider.tsx",
|
|
387
|
+
"default": "./src/providers/NeetoCommonsRNProvider.tsx"
|
|
388
|
+
},
|
|
64
389
|
"./providers": {
|
|
65
390
|
"types": "./lib/typescript/providers/index.d.ts",
|
|
66
391
|
"react-native": "./src/providers/index.ts",
|
|
67
392
|
"default": "./src/providers/index.ts"
|
|
68
393
|
},
|
|
394
|
+
"./screens/NotificationsScreen": {
|
|
395
|
+
"types": "./lib/typescript/screens/NotificationsScreen.d.ts",
|
|
396
|
+
"react-native": "./src/screens/NotificationsScreen.tsx",
|
|
397
|
+
"default": "./src/screens/NotificationsScreen.tsx"
|
|
398
|
+
},
|
|
399
|
+
"./screens/authentication/AuthOptions": {
|
|
400
|
+
"types": "./lib/typescript/screens/authentication/AuthOptions.d.ts",
|
|
401
|
+
"react-native": "./src/screens/authentication/AuthOptions.tsx",
|
|
402
|
+
"default": "./src/screens/authentication/AuthOptions.tsx"
|
|
403
|
+
},
|
|
404
|
+
"./screens/authentication/IncompleteOnboardingInfo": {
|
|
405
|
+
"types": "./lib/typescript/screens/authentication/IncompleteOnboardingInfo.d.ts",
|
|
406
|
+
"react-native": "./src/screens/authentication/IncompleteOnboardingInfo.tsx",
|
|
407
|
+
"default": "./src/screens/authentication/IncompleteOnboardingInfo.tsx"
|
|
408
|
+
},
|
|
409
|
+
"./screens/authentication/LoginScreen": {
|
|
410
|
+
"types": "./lib/typescript/screens/authentication/LoginScreen.d.ts",
|
|
411
|
+
"react-native": "./src/screens/authentication/LoginScreen.tsx",
|
|
412
|
+
"default": "./src/screens/authentication/LoginScreen.tsx"
|
|
413
|
+
},
|
|
414
|
+
"./screens/authentication/OTPVerificationScreen": {
|
|
415
|
+
"types": "./lib/typescript/screens/authentication/OTPVerificationScreen.d.ts",
|
|
416
|
+
"react-native": "./src/screens/authentication/OTPVerificationScreen.tsx",
|
|
417
|
+
"default": "./src/screens/authentication/OTPVerificationScreen.tsx"
|
|
418
|
+
},
|
|
419
|
+
"./screens/authentication/Organization": {
|
|
420
|
+
"types": "./lib/typescript/screens/authentication/Organization.d.ts",
|
|
421
|
+
"react-native": "./src/screens/authentication/Organization.tsx",
|
|
422
|
+
"default": "./src/screens/authentication/Organization.tsx"
|
|
423
|
+
},
|
|
424
|
+
"./screens/authentication/SubDomainScreen": {
|
|
425
|
+
"types": "./lib/typescript/screens/authentication/SubDomainScreen.d.ts",
|
|
426
|
+
"react-native": "./src/screens/authentication/SubDomainScreen.tsx",
|
|
427
|
+
"default": "./src/screens/authentication/SubDomainScreen.tsx"
|
|
428
|
+
},
|
|
429
|
+
"./screens/authentication/constants": {
|
|
430
|
+
"types": "./lib/typescript/screens/authentication/constants.d.ts",
|
|
431
|
+
"react-native": "./src/screens/authentication/constants.ts",
|
|
432
|
+
"default": "./src/screens/authentication/constants.ts"
|
|
433
|
+
},
|
|
69
434
|
"./screens": {
|
|
70
435
|
"types": "./lib/typescript/screens/index.d.ts",
|
|
71
436
|
"react-native": "./src/screens/index.ts",
|
|
72
437
|
"default": "./src/screens/index.ts"
|
|
73
438
|
},
|
|
439
|
+
"./screens/profile/ChatWidget": {
|
|
440
|
+
"types": "./lib/typescript/screens/profile/ChatWidget.d.ts",
|
|
441
|
+
"react-native": "./src/screens/profile/ChatWidget.tsx",
|
|
442
|
+
"default": "./src/screens/profile/ChatWidget.tsx"
|
|
443
|
+
},
|
|
444
|
+
"./screens/profile/ProfileScreen": {
|
|
445
|
+
"types": "./lib/typescript/screens/profile/ProfileScreen.d.ts",
|
|
446
|
+
"react-native": "./src/screens/profile/ProfileScreen.tsx",
|
|
447
|
+
"default": "./src/screens/profile/ProfileScreen.tsx"
|
|
448
|
+
},
|
|
449
|
+
"./screens/profile/UserData": {
|
|
450
|
+
"types": "./lib/typescript/screens/profile/UserData.d.ts",
|
|
451
|
+
"react-native": "./src/screens/profile/UserData.tsx",
|
|
452
|
+
"default": "./src/screens/profile/UserData.tsx"
|
|
453
|
+
},
|
|
454
|
+
"./screens/team_members/Add": {
|
|
455
|
+
"types": "./lib/typescript/screens/team_members/Add.d.ts",
|
|
456
|
+
"react-native": "./src/screens/team_members/Add.tsx",
|
|
457
|
+
"default": "./src/screens/team_members/Add.tsx"
|
|
458
|
+
},
|
|
459
|
+
"./screens/team_members/Card": {
|
|
460
|
+
"types": "./lib/typescript/screens/team_members/Card.d.ts",
|
|
461
|
+
"react-native": "./src/screens/team_members/Card.tsx",
|
|
462
|
+
"default": "./src/screens/team_members/Card.tsx"
|
|
463
|
+
},
|
|
464
|
+
"./screens/team_members/Checkbox": {
|
|
465
|
+
"types": "./lib/typescript/screens/team_members/Checkbox.d.ts",
|
|
466
|
+
"react-native": "./src/screens/team_members/Checkbox.tsx",
|
|
467
|
+
"default": "./src/screens/team_members/Checkbox.tsx"
|
|
468
|
+
},
|
|
469
|
+
"./screens/team_members/Edit": {
|
|
470
|
+
"types": "./lib/typescript/screens/team_members/Edit.d.ts",
|
|
471
|
+
"react-native": "./src/screens/team_members/Edit.tsx",
|
|
472
|
+
"default": "./src/screens/team_members/Edit.tsx"
|
|
473
|
+
},
|
|
474
|
+
"./screens/team_members/Email": {
|
|
475
|
+
"types": "./lib/typescript/screens/team_members/Email.d.ts",
|
|
476
|
+
"react-native": "./src/screens/team_members/Email.tsx",
|
|
477
|
+
"default": "./src/screens/team_members/Email.tsx"
|
|
478
|
+
},
|
|
479
|
+
"./screens/team_members/LoadingCard": {
|
|
480
|
+
"types": "./lib/typescript/screens/team_members/LoadingCard.d.ts",
|
|
481
|
+
"react-native": "./src/screens/team_members/LoadingCard.tsx",
|
|
482
|
+
"default": "./src/screens/team_members/LoadingCard.tsx"
|
|
483
|
+
},
|
|
484
|
+
"./screens/team_members/ProductSelect": {
|
|
485
|
+
"types": "./lib/typescript/screens/team_members/ProductSelect.d.ts",
|
|
486
|
+
"react-native": "./src/screens/team_members/ProductSelect.tsx",
|
|
487
|
+
"default": "./src/screens/team_members/ProductSelect.tsx"
|
|
488
|
+
},
|
|
489
|
+
"./screens/team_members/RolesRadioGroup": {
|
|
490
|
+
"types": "./lib/typescript/screens/team_members/RolesRadioGroup.d.ts",
|
|
491
|
+
"react-native": "./src/screens/team_members/RolesRadioGroup.tsx",
|
|
492
|
+
"default": "./src/screens/team_members/RolesRadioGroup.tsx"
|
|
493
|
+
},
|
|
494
|
+
"./screens/team_members/SaveButtons": {
|
|
495
|
+
"types": "./lib/typescript/screens/team_members/SaveButtons.d.ts",
|
|
496
|
+
"react-native": "./src/screens/team_members/SaveButtons.tsx",
|
|
497
|
+
"default": "./src/screens/team_members/SaveButtons.tsx"
|
|
498
|
+
},
|
|
499
|
+
"./screens/team_members/constants": {
|
|
500
|
+
"types": "./lib/typescript/screens/team_members/constants.d.ts",
|
|
501
|
+
"react-native": "./src/screens/team_members/constants.ts",
|
|
502
|
+
"default": "./src/screens/team_members/constants.ts"
|
|
503
|
+
},
|
|
504
|
+
"./screens/team_members": {
|
|
505
|
+
"types": "./lib/typescript/screens/team_members/index.d.ts",
|
|
506
|
+
"react-native": "./src/screens/team_members/index.tsx",
|
|
507
|
+
"default": "./src/screens/team_members/index.tsx"
|
|
508
|
+
},
|
|
509
|
+
"./screens/team_members/utils": {
|
|
510
|
+
"types": "./lib/typescript/screens/team_members/utils.d.ts",
|
|
511
|
+
"react-native": "./src/screens/team_members/utils.ts",
|
|
512
|
+
"default": "./src/screens/team_members/utils.ts"
|
|
513
|
+
},
|
|
514
|
+
"./slices/auth": {
|
|
515
|
+
"types": "./lib/typescript/slices/auth.d.ts",
|
|
516
|
+
"react-native": "./src/slices/auth.ts",
|
|
517
|
+
"default": "./src/slices/auth.ts"
|
|
518
|
+
},
|
|
74
519
|
"./slices": {
|
|
75
520
|
"types": "./lib/typescript/slices/index.d.ts",
|
|
76
521
|
"react-native": "./src/slices/index.ts",
|
|
77
522
|
"default": "./src/slices/index.ts"
|
|
78
523
|
},
|
|
524
|
+
"./store/hooks": {
|
|
525
|
+
"types": "./lib/typescript/store/hooks.d.ts",
|
|
526
|
+
"react-native": "./src/store/hooks.ts",
|
|
527
|
+
"default": "./src/store/hooks.ts"
|
|
528
|
+
},
|
|
79
529
|
"./store": {
|
|
80
530
|
"types": "./lib/typescript/store/index.d.ts",
|
|
81
531
|
"react-native": "./src/store/index.ts",
|
|
82
532
|
"default": "./src/store/index.ts"
|
|
83
533
|
},
|
|
534
|
+
"./store/utils": {
|
|
535
|
+
"types": "./lib/typescript/store/utils.d.ts",
|
|
536
|
+
"react-native": "./src/store/utils.ts",
|
|
537
|
+
"default": "./src/store/utils.ts"
|
|
538
|
+
},
|
|
539
|
+
"./utils/apiHelpers": {
|
|
540
|
+
"types": "./lib/typescript/utils/apiHelpers.d.ts",
|
|
541
|
+
"react-native": "./src/utils/apiHelpers.ts",
|
|
542
|
+
"default": "./src/utils/apiHelpers.ts"
|
|
543
|
+
},
|
|
84
544
|
"./eslint-config": "./eslint-config/index.js",
|
|
85
|
-
"./
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
"react-native": "./src/*",
|
|
89
|
-
"default": "./src/*"
|
|
90
|
-
}
|
|
545
|
+
"./metro-devtools": "./metro-devtools.js",
|
|
546
|
+
"./align-deps-preset": "./align-deps-preset.js",
|
|
547
|
+
"./package.json": "./package.json"
|
|
91
548
|
},
|
|
92
549
|
"files": [
|
|
93
550
|
"src",
|
|
94
551
|
"lib",
|
|
95
552
|
"types",
|
|
96
553
|
"eslint-config",
|
|
554
|
+
"align-deps-preset.js",
|
|
555
|
+
"metro-devtools.js",
|
|
97
556
|
"!src/app",
|
|
98
557
|
"!**/__tests__",
|
|
99
558
|
"!**/*.stories.tsx",
|
|
@@ -101,6 +560,7 @@
|
|
|
101
560
|
],
|
|
102
561
|
"scripts": {
|
|
103
562
|
"build": "bob build",
|
|
563
|
+
"exports:generate": "node scripts/generate-exports.mjs",
|
|
104
564
|
"typecheck": "tsc --noEmit",
|
|
105
565
|
"android:staging": "react-native run-android --variant=stagingdebug --appIdSuffix=staging",
|
|
106
566
|
"android:staging-release": "react-native run-android --variant=stagingrelease --appIdSuffix=staging",
|
|
@@ -169,6 +629,7 @@
|
|
|
169
629
|
"react-native-reanimated": ">=3.16.0",
|
|
170
630
|
"react-native-safe-area-context": ">=4.0.0",
|
|
171
631
|
"react-native-svg": ">=15.0.0",
|
|
632
|
+
"react-native-unistyles": ">=3.2.0",
|
|
172
633
|
"react-redux": "^9.0.0",
|
|
173
634
|
"redux": "^5.0.0",
|
|
174
635
|
"redux-persist": "^6.0.0",
|
|
@@ -176,7 +637,7 @@
|
|
|
176
637
|
},
|
|
177
638
|
"dependencies": {
|
|
178
639
|
"@bigbinary/neeto-cist": "^1.0.15",
|
|
179
|
-
"@bigbinary/neeto-icons-rn": "^1.
|
|
640
|
+
"@bigbinary/neeto-icons-rn": "^1.21.2",
|
|
180
641
|
"@bugsnag/plugin-react-navigation": "^8",
|
|
181
642
|
"@bugsnag/react-native": "^8",
|
|
182
643
|
"@invertase/react-native-apple-authentication": "^2.2.2",
|
|
@@ -185,6 +646,12 @@
|
|
|
185
646
|
"@react-native-community/netinfo": "^12",
|
|
186
647
|
"@react-native-google-signin/google-signin": "^16",
|
|
187
648
|
"@reduxjs/toolkit": "^2",
|
|
649
|
+
"@rozenite/expo-atlas-plugin": "2.1.0",
|
|
650
|
+
"@rozenite/metro": "2.1.0",
|
|
651
|
+
"@rozenite/network-activity-plugin": "2.1.0",
|
|
652
|
+
"@rozenite/redux-devtools-plugin": "2.1.0",
|
|
653
|
+
"@rozenite/storage-plugin": "2.1.0",
|
|
654
|
+
"@rozenite/tanstack-query-plugin": "2.1.0",
|
|
188
655
|
"compare-versions": "^6.0.0-rc.1",
|
|
189
656
|
"formik": "^2.2.9",
|
|
190
657
|
"i18next": "^26.3.6",
|
|
@@ -195,8 +662,6 @@
|
|
|
195
662
|
"react-native-device-info": "^15",
|
|
196
663
|
"react-native-hyperlink": "^0.1.0",
|
|
197
664
|
"react-native-permissions": "^5",
|
|
198
|
-
"react-native-remix-icon": "^0.4.0",
|
|
199
|
-
"react-native-size-matters": "^0.4.0",
|
|
200
665
|
"react-native-webview": "^14",
|
|
201
666
|
"yup": "^1"
|
|
202
667
|
},
|
|
@@ -254,7 +719,6 @@
|
|
|
254
719
|
"react-native-reanimated": "^3.19.0",
|
|
255
720
|
"react-native-safe-area-context": "^5.8.0",
|
|
256
721
|
"react-native-screens": "~4.6.0",
|
|
257
|
-
"react-native-size-matters": "^0.4.0",
|
|
258
722
|
"react-native-svg": "^15.15.5",
|
|
259
723
|
"react-native-svg-transformer": "^1.0.0",
|
|
260
724
|
"react-native-toast-message": "^2",
|
|
@@ -275,7 +739,8 @@
|
|
|
275
739
|
},
|
|
276
740
|
"moduleNameMapper": {
|
|
277
741
|
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub",
|
|
278
|
-
"^@bigbinary/neeto-icons-rn$": "<rootDir>/node_modules/@bigbinary/neeto-icons-rn/dist/icons/index.ts"
|
|
742
|
+
"^@bigbinary/neeto-icons-rn$": "<rootDir>/node_modules/@bigbinary/neeto-icons-rn/dist/icons/index.ts",
|
|
743
|
+
"^\\./firebaseMessaging$": "<rootDir>/src/helpers/notifications/firebaseMessaging.android.ts"
|
|
279
744
|
},
|
|
280
745
|
"setupFiles": [
|
|
281
746
|
"./node_modules/react-native-gesture-handler/jestSetup.js",
|
|
@@ -288,6 +753,10 @@
|
|
|
288
753
|
],
|
|
289
754
|
"transformIgnorePatterns": [
|
|
290
755
|
"node_modules/(?!(jest-)?react-native|@react-native(-community)?|@react-navigation|react-navigation|@bigbinary|@gorhom|@invertase|react-native-.*)/"
|
|
756
|
+
],
|
|
757
|
+
"testPathIgnorePatterns": [
|
|
758
|
+
"<rootDir>/lib/",
|
|
759
|
+
"<rootDir>/node_modules/"
|
|
291
760
|
]
|
|
292
761
|
},
|
|
293
762
|
"peerDependenciesMeta": {
|