@budibase/types 3.20.2 → 3.20.3
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/api/web/user.d.ts
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
import { AccountMetadata, PlatformUser, StrippedUser, User } from "../../documents";
|
|
2
2
|
import { SearchFilters } from "../../sdk";
|
|
3
|
+
interface InviteInfo {
|
|
4
|
+
tenantId?: string;
|
|
5
|
+
apps?: Record<string, string>;
|
|
6
|
+
userGroups?: string[];
|
|
7
|
+
builder?: {
|
|
8
|
+
global?: boolean;
|
|
9
|
+
creator?: boolean;
|
|
10
|
+
apps?: string[];
|
|
11
|
+
};
|
|
12
|
+
admin?: {
|
|
13
|
+
global?: boolean;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
3
16
|
export interface Invite {
|
|
4
17
|
email: string;
|
|
5
|
-
info:
|
|
18
|
+
info: InviteInfo;
|
|
6
19
|
}
|
|
7
20
|
export interface InviteWithCode extends Invite {
|
|
8
21
|
code: string;
|
|
@@ -56,7 +69,7 @@ export interface BulkUserResponse {
|
|
|
56
69
|
}
|
|
57
70
|
export interface InviteUserRequest {
|
|
58
71
|
email: string;
|
|
59
|
-
userInfo:
|
|
72
|
+
userInfo: InviteInfo;
|
|
60
73
|
}
|
|
61
74
|
export interface InviteUserResponse {
|
|
62
75
|
message: string;
|
|
@@ -79,6 +92,7 @@ export interface DeleteInviteUsersResponse {
|
|
|
79
92
|
export interface InviteUsersResponse {
|
|
80
93
|
successful: {
|
|
81
94
|
email: string;
|
|
95
|
+
password?: string;
|
|
82
96
|
}[];
|
|
83
97
|
unsuccessful: {
|
|
84
98
|
email: string;
|
|
@@ -155,3 +169,4 @@ export interface ChangeTenantOwnerEmailRequest {
|
|
|
155
169
|
originalEmail: string;
|
|
156
170
|
tenantIds: string[];
|
|
157
171
|
}
|
|
172
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Row, TableSchema } from "../../documents";
|
|
2
2
|
export type DataFetchDatasource = TableDatasource | ViewV1Datasource | ViewDatasource | QueryDatasource | RelationshipDatasource | UserDatasource | GroupUserDatasource | CustomDatasource | NestedProviderDatasource | FieldDatasource | QueryArrayFieldDatasource | JSONArrayFieldDatasource;
|
|
3
3
|
export interface TableDatasource {
|
|
4
4
|
type: "table";
|
|
@@ -41,11 +41,9 @@ export interface RelationshipDatasource {
|
|
|
41
41
|
}
|
|
42
42
|
export interface UserDatasource {
|
|
43
43
|
type: "user";
|
|
44
|
-
tableId: InternalTable.USER_METADATA;
|
|
45
44
|
}
|
|
46
45
|
export interface GroupUserDatasource {
|
|
47
46
|
type: "groupUser";
|
|
48
|
-
tableId: InternalTable.USER_METADATA;
|
|
49
47
|
}
|
|
50
48
|
export interface CustomDatasource {
|
|
51
49
|
type: "custom";
|
package/dist/ui/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/types",
|
|
3
|
-
"version": "3.20.
|
|
3
|
+
"version": "3.20.3",
|
|
4
4
|
"description": "Budibase types",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"scim-patch": "^0.8.1"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "801ead90230ea40bd93f89daa92e2998310627ea"
|
|
30
30
|
}
|