@campxdev/shared 1.11.49 → 1.11.50

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": "@campxdev/shared",
3
- "version": "1.11.49",
3
+ "version": "1.11.50",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -0,0 +1 @@
1
+ export { default } from './ActivityLog'
@@ -84,7 +84,7 @@ interface UploadFileDialogProps {
84
84
  successMessage?: string
85
85
  refetchFn?: (res: any) => void
86
86
  onUpload?: () => void
87
- postBody?: { [key: string]: string }
87
+ postBody?: { [key: string]: string | any }
88
88
  type?: UploadButtonProps['type']
89
89
  }
90
90
 
@@ -1,3 +1,4 @@
1
+ import ActivityLog from './ActivityLog'
1
2
  import ApplicationProfile from './ApplicationProfile'
2
3
  import ChangePassword from './ChangePassword'
3
4
  import Chips from './Chips'
@@ -72,6 +73,7 @@ export { default as ReactTable } from './Tables/ReactTable'
72
73
  export { default as Tabs } from './Tabs/Tabs'
73
74
  export { default as ToastContainer } from './ToastContainer'
74
75
  export {
76
+ ActivityLog,
75
77
  AppHeader,
76
78
  ApplicationProfile,
77
79
  AsyncSearchSelect,
@@ -7,7 +7,9 @@ export default function getUrlParams() {
7
7
  return params
8
8
  }
9
9
 
10
- export const createSearchParams = (query: { [key: string]: string }) => {
10
+ export const createSearchParams = (query: {
11
+ [key: string]: string | number
12
+ }) => {
11
13
  const searchParams = new URLSearchParams()
12
14
 
13
15
  for (const key in query) {