@excali-boards/boards-api-client 1.1.32 → 1.1.33
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/external/vars.d.ts
CHANGED
|
@@ -2,12 +2,14 @@ import { Prisma } from '../../prisma/generated/default';
|
|
|
2
2
|
import { UserRole } from './types';
|
|
3
3
|
export declare const DBUserSelectArgs: {
|
|
4
4
|
select: {
|
|
5
|
-
userId: true;
|
|
6
5
|
email: true;
|
|
6
|
+
userId: true;
|
|
7
|
+
invitedBy: true;
|
|
7
8
|
avatarUrl: true;
|
|
9
|
+
mainGroupId: true;
|
|
8
10
|
displayName: true;
|
|
9
11
|
mainLoginType: true;
|
|
10
|
-
|
|
12
|
+
registrationMethod: true;
|
|
11
13
|
groupPermissions: {
|
|
12
14
|
select: {
|
|
13
15
|
groupId: true;
|
|
@@ -36,12 +38,14 @@ export declare const DBUserSelectArgs: {
|
|
|
36
38
|
};
|
|
37
39
|
export declare const DBUserPartial: {
|
|
38
40
|
select: {
|
|
39
|
-
userId: true;
|
|
40
41
|
email: true;
|
|
42
|
+
userId: true;
|
|
43
|
+
invitedBy: true;
|
|
41
44
|
avatarUrl: true;
|
|
45
|
+
mainGroupId: true;
|
|
42
46
|
displayName: true;
|
|
43
47
|
mainLoginType: true;
|
|
44
|
-
|
|
48
|
+
registrationMethod: true;
|
|
45
49
|
groupPermissions: {
|
|
46
50
|
select: {
|
|
47
51
|
groupId: true;
|
package/dist/external/vars.js
CHANGED
|
@@ -5,12 +5,14 @@ const default_1 = require("../../prisma/generated/default");
|
|
|
5
5
|
const types_1 = require("./types");
|
|
6
6
|
exports.DBUserSelectArgs = {
|
|
7
7
|
select: {
|
|
8
|
-
userId: true,
|
|
9
8
|
email: true,
|
|
9
|
+
userId: true,
|
|
10
|
+
invitedBy: true,
|
|
10
11
|
avatarUrl: true,
|
|
12
|
+
mainGroupId: true,
|
|
11
13
|
displayName: true,
|
|
12
14
|
mainLoginType: true,
|
|
13
|
-
|
|
15
|
+
registrationMethod: true,
|
|
14
16
|
groupPermissions: { select: { groupId: true, role: true } },
|
|
15
17
|
categoryPermissions: { select: { categoryId: true, role: true } },
|
|
16
18
|
boardPermissions: { select: { boardId: true, role: true } },
|
package/package.json
CHANGED
|
@@ -51,6 +51,12 @@ enum GroupRole {
|
|
|
51
51
|
GroupAdmin // GroupManager + user/invite management
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
enum RegistrationMethod {
|
|
55
|
+
direct
|
|
56
|
+
invite
|
|
57
|
+
oauth
|
|
58
|
+
}
|
|
59
|
+
|
|
54
60
|
model AllEnumsModel {
|
|
55
61
|
dbId String @id @default(uuid())
|
|
56
62
|
|
|
@@ -61,4 +67,6 @@ model AllEnumsModel {
|
|
|
61
67
|
boardRoleEnum BoardRole
|
|
62
68
|
categoryRoleEnum CategoryRole
|
|
63
69
|
groupRoleEnum GroupRole
|
|
70
|
+
|
|
71
|
+
registrationMethodEnum RegistrationMethod
|
|
64
72
|
}
|