@bimdata/viewer 2.0.0-beta.101 → 2.0.0-beta.103
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/bimdata-viewer.esm.min.js +7 -7
- package/index.d.ts +0 -1
- package/package.json +1 -1
- package/types/api.d.ts +12 -12
package/index.d.ts
CHANGED
package/package.json
CHANGED
package/types/api.d.ts
CHANGED
|
@@ -94,6 +94,8 @@ declare namespace BDV {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
interface Permissions {
|
|
97
|
+
hasReadPermission: boolean;
|
|
98
|
+
hasWritePermission: boolean;
|
|
97
99
|
hasAdminPermission: boolean;
|
|
98
100
|
hasBcfReadPermission: boolean;
|
|
99
101
|
hasBcfWritePermission: boolean;
|
|
@@ -101,8 +103,16 @@ declare namespace BDV {
|
|
|
101
103
|
hasDocWritePermission: boolean;
|
|
102
104
|
hasModelReadPermission: boolean;
|
|
103
105
|
hasModelWritePermission: boolean;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
+
tokenScopes: {
|
|
107
|
+
bcf?: string[];
|
|
108
|
+
document?: string[];
|
|
109
|
+
model?: string[];
|
|
110
|
+
};
|
|
111
|
+
usableScopes: {
|
|
112
|
+
bcf?: string[];
|
|
113
|
+
document?: string[];
|
|
114
|
+
model?: string[];
|
|
115
|
+
};
|
|
106
116
|
userRole?: string;
|
|
107
117
|
user?: {
|
|
108
118
|
id: number;
|
|
@@ -115,15 +125,5 @@ declare namespace BDV {
|
|
|
115
125
|
sub: string;
|
|
116
126
|
profile_picture: string;
|
|
117
127
|
};
|
|
118
|
-
tokenScopes: {
|
|
119
|
-
bcf?: string[];
|
|
120
|
-
model?: string[];
|
|
121
|
-
document?: string[];
|
|
122
|
-
};
|
|
123
|
-
usableScopes: {
|
|
124
|
-
bcf?: string[];
|
|
125
|
-
model?: string[];
|
|
126
|
-
document?: string[];
|
|
127
|
-
};
|
|
128
128
|
}
|
|
129
129
|
}
|