@budibase/frontend-core 3.38.0 → 3.38.1
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 +2 -2
- package/src/api/user.ts +0 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/frontend-core",
|
|
3
|
-
"version": "3.38.
|
|
3
|
+
"version": "3.38.1",
|
|
4
4
|
"description": "Budibase frontend core libraries used in builder and client",
|
|
5
5
|
"author": "Budibase",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"vitest": "^3.2.4"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "5c558700d0c4dbc554a935b71b9ac99ec263a654"
|
|
27
27
|
}
|
package/src/api/user.ts
CHANGED
|
@@ -42,7 +42,6 @@ export interface UserEndpoints {
|
|
|
42
42
|
saveUser: (user: UnsavedUser) => Promise<SaveUserResponse>
|
|
43
43
|
deleteUser: (userId: string) => Promise<DeleteUserResponse>
|
|
44
44
|
deleteUsers: (users: UserIdentifier[]) => Promise<BulkUserDeleted | undefined>
|
|
45
|
-
onboardUsers: (data: InviteUsersRequest) => Promise<InviteUsersResponse>
|
|
46
45
|
getUserInvite: (
|
|
47
46
|
code: string,
|
|
48
47
|
tenantId?: string
|
|
@@ -184,16 +183,6 @@ export const buildUserEndpoints = (API: BaseAPIClient): UserEndpoints => ({
|
|
|
184
183
|
return res.deleted
|
|
185
184
|
},
|
|
186
185
|
|
|
187
|
-
/**
|
|
188
|
-
* Onboards multiple users
|
|
189
|
-
*/
|
|
190
|
-
onboardUsers: async data => {
|
|
191
|
-
return await API.post({
|
|
192
|
-
url: "/api/global/users/onboard",
|
|
193
|
-
body: data,
|
|
194
|
-
})
|
|
195
|
-
},
|
|
196
|
-
|
|
197
186
|
addWorkspaceIdToInvite: async (code, role) => {
|
|
198
187
|
return await API.post<void, UpdateInviteResponse>({
|
|
199
188
|
url: `/api/global/users/invite/${code}/${role}`,
|