@bigbinary/neeto-team-members-frontend 2.8.12 → 2.8.13
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/index.cjs.js +10 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-team-members-frontend",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.13",
|
|
4
4
|
"description": "To manage team members across neeto products.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://github.com/bigbinary/neeto-team-members-frontend#readme",
|
package/types.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
3
|
import type { ButtonProps } from "@bigbinary/neetoui";
|
|
4
|
+
import { UseQueryResult } from "react-query";
|
|
5
|
+
import axios from "axios";
|
|
4
6
|
|
|
5
7
|
type Member = {
|
|
6
8
|
active: boolean;
|
|
@@ -165,6 +167,8 @@ export function hasPermission(permissions: string | string[]): boolean;
|
|
|
165
167
|
|
|
166
168
|
export function refetchMembers(): void;
|
|
167
169
|
|
|
170
|
+
export function useFetchMembers(params?: DefaultFilterValues, options?: object): UseQueryResult<axios.AxiosResponse<any, any>, unknown>;
|
|
171
|
+
|
|
168
172
|
export function ManageMember(props: {
|
|
169
173
|
config?: TeamMembersConfig;
|
|
170
174
|
onComplete: () => void;
|