ordering-ui-react-native 0.12.80 → 0.12.81

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ordering-ui-react-native",
3
- "version": "0.12.80",
3
+ "version": "0.12.81",
4
4
  "description": "Reusable components made in react native",
5
5
  "main": "src/index.tsx",
6
6
  "author": "ordering.inc",
@@ -261,7 +261,9 @@ export interface OrdersOptionParams {
261
261
  setOrderList?: any,
262
262
  preOrders?: boolean,
263
263
  setOrdersLength?: ({ activeOrdersLength, previousOrdersLength }: { activeOrdersLength: number, previousOrdersLength: number }) => void,
264
- ordersLength: { activeOrdersLength: number, previousOrdersLength: number }
264
+ ordersLength: { activeOrdersLength: number, previousOrdersLength: number },
265
+ setSelectedOrderId?: any,
266
+ setOpenMessges?: any
265
267
  }
266
268
  export interface ActiveOrdersParams {
267
269
  orders?: any,
@@ -272,7 +274,9 @@ export interface ActiveOrdersParams {
272
274
  setScreen?: any,
273
275
  screen?: any,
274
276
  loadMoreOrders?: () => {},
275
- onNavigationRedirect?: (route: string, params?: any) => {}
277
+ onNavigationRedirect?: (route: string, params?: any) => {},
278
+ isMessageView?: boolean,
279
+ handleClickOrder?: any
276
280
  }
277
281
  export interface PreviousOrdersParams {
278
282
  orders?: any,
@@ -334,6 +338,7 @@ export interface MessagesParams {
334
338
  setMessages?: () => {},
335
339
  readMessages?: () => {},
336
340
  onClose?: () => void,
341
+ isMeesageListing?: boolean
337
342
  }
338
343
  export interface ViewInterface {
339
344
  navigation?: any;
@@ -459,4 +464,7 @@ export interface HelpGuideParams {
459
464
  export interface HelpAccountAndPaymentParams {
460
465
  navigation: any;
461
466
  }
462
-
467
+
468
+ export interface MessageListingParams {
469
+ navigation: any;
470
+ }