bruce-models 3.7.0 → 3.7.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/dist/bruce-models.es5.js +442 -439
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +396 -393
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity-comment.js +28 -28
- package/dist/lib/entity/entity-comment.js.map +1 -1
- package/dist/lib/entity/entity-coords.js +14 -14
- package/dist/lib/entity/entity-coords.js.map +1 -1
- package/dist/lib/entity/entity-link.js +28 -28
- package/dist/lib/entity/entity-link.js.map +1 -1
- package/dist/lib/entity/entity-lod-category.js +27 -27
- package/dist/lib/entity/entity-lod-category.js.map +1 -1
- package/dist/lib/entity/entity-lod.js +43 -43
- package/dist/lib/entity/entity-lod.js.map +1 -1
- package/dist/lib/entity/entity-relation-type.js +27 -27
- package/dist/lib/entity/entity-relation-type.js.map +1 -1
- package/dist/lib/entity/entity-relation.js +46 -46
- package/dist/lib/entity/entity-relation.js.map +1 -1
- package/dist/lib/entity/entity-source.js +15 -15
- package/dist/lib/entity/entity-source.js.map +1 -1
- package/dist/lib/entity/entity-tag.js +31 -31
- package/dist/lib/entity/entity-tag.js.map +1 -1
- package/dist/lib/entity/entity-type.js +27 -27
- package/dist/lib/entity/entity-type.js.map +1 -1
- package/dist/lib/entity/entity.js +32 -32
- package/dist/lib/entity/entity.js.map +1 -1
- package/dist/lib/plugin/plugin.js +4 -0
- package/dist/lib/plugin/plugin.js.map +1 -1
- package/dist/lib/program-key/program-key.js +27 -27
- package/dist/lib/program-key/program-key.js.map +1 -1
- package/dist/lib/project/menu-item.js.map +1 -1
- package/dist/lib/project/project-view-bookmark.js +29 -29
- package/dist/lib/project/project-view-bookmark.js.map +1 -1
- package/dist/lib/style/style.js +27 -27
- package/dist/lib/style/style.js.map +1 -1
- package/dist/lib/tileset/tileset.js +28 -28
- package/dist/lib/tileset/tileset.js.map +1 -1
- package/dist/lib/user/session.js +13 -13
- package/dist/lib/user/session.js.map +1 -1
- package/dist/lib/user/user.js +51 -51
- package/dist/lib/user/user.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/entity/entity-comment.d.ts +22 -22
- package/dist/types/entity/entity-coords.d.ts +11 -11
- package/dist/types/entity/entity-link.d.ts +22 -22
- package/dist/types/entity/entity-lod-category.d.ts +21 -21
- package/dist/types/entity/entity-lod.d.ts +34 -34
- package/dist/types/entity/entity-relation-type.d.ts +21 -21
- package/dist/types/entity/entity-relation.d.ts +33 -33
- package/dist/types/entity/entity-source.d.ts +12 -12
- package/dist/types/entity/entity-tag.d.ts +22 -22
- package/dist/types/entity/entity-type.d.ts +21 -21
- package/dist/types/entity/entity.d.ts +27 -27
- package/dist/types/program-key/program-key.d.ts +21 -21
- package/dist/types/project/menu-item.d.ts +1 -0
- package/dist/types/project/project-view-bookmark.d.ts +23 -23
- package/dist/types/style/style.d.ts +21 -21
- package/dist/types/tileset/tileset.d.ts +22 -22
- package/dist/types/user/user.d.ts +36 -36
- package/package.json +1 -1
|
@@ -9,27 +9,6 @@ import { Calculator } from "../calculator/calculator";
|
|
|
9
9
|
* describe how an entity should be displayed.
|
|
10
10
|
*/
|
|
11
11
|
export declare namespace Style {
|
|
12
|
-
/**
|
|
13
|
-
* Returns cache identifier for a style.
|
|
14
|
-
* Example: {
|
|
15
|
-
* const api: BruceApi.Api = ...;
|
|
16
|
-
* const key = GetCacheKey(1);
|
|
17
|
-
* api.Cache.Remove(key);
|
|
18
|
-
* }
|
|
19
|
-
* @param id
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
function GetCacheKey(id: number): string;
|
|
23
|
-
/**
|
|
24
|
-
* Returns cache identifier for a list of styles.
|
|
25
|
-
* Example: {
|
|
26
|
-
* const api: BruceApi.Api = ...;
|
|
27
|
-
* const key = GetListCacheKey();
|
|
28
|
-
* api.Cache.Remove(key);
|
|
29
|
-
* }
|
|
30
|
-
* @returns
|
|
31
|
-
*/
|
|
32
|
-
function GetListCacheKey(): string;
|
|
33
12
|
/**
|
|
34
13
|
* Types of styles available.
|
|
35
14
|
* The type will dictate what settings are available.
|
|
@@ -185,4 +164,25 @@ export declare namespace Style {
|
|
|
185
164
|
styleId: number;
|
|
186
165
|
req?: Api.IReqParams;
|
|
187
166
|
}): Promise<void>;
|
|
167
|
+
/**
|
|
168
|
+
* Returns cache identifier for a style.
|
|
169
|
+
* Example: {
|
|
170
|
+
* const api: BruceApi.Api = ...;
|
|
171
|
+
* const key = GetCacheKey(1);
|
|
172
|
+
* api.Cache.Remove(key);
|
|
173
|
+
* }
|
|
174
|
+
* @param id
|
|
175
|
+
* @returns
|
|
176
|
+
*/
|
|
177
|
+
function GetCacheKey(id: number): string;
|
|
178
|
+
/**
|
|
179
|
+
* Returns cache identifier for a list of styles.
|
|
180
|
+
* Example: {
|
|
181
|
+
* const api: BruceApi.Api = ...;
|
|
182
|
+
* const key = GetListCacheKey();
|
|
183
|
+
* api.Cache.Remove(key);
|
|
184
|
+
* }
|
|
185
|
+
* @returns
|
|
186
|
+
*/
|
|
187
|
+
function GetListCacheKey(): string;
|
|
188
188
|
}
|
|
@@ -19,28 +19,6 @@ type Settings = Tileset.Settings.IPointcloud | Tileset.Settings.ICad | Tileset.S
|
|
|
19
19
|
* Read the individual tileset-type settings for each variant.
|
|
20
20
|
*/
|
|
21
21
|
export declare namespace Tileset {
|
|
22
|
-
/**
|
|
23
|
-
* Returns cache identifier for a tileset.
|
|
24
|
-
* Example: {
|
|
25
|
-
* const api: BruceApi.Api = ...;
|
|
26
|
-
* const key = GetCacheKey("abc", false);
|
|
27
|
-
* api.Cache.Remove(key);
|
|
28
|
-
* }
|
|
29
|
-
* @param tilesetId
|
|
30
|
-
* @param loadFiles
|
|
31
|
-
* @returns
|
|
32
|
-
*/
|
|
33
|
-
function GetCacheKey(tilesetId: string, loadFiles: boolean): string;
|
|
34
|
-
/**
|
|
35
|
-
* Returns cache identifier for a list of tilesets.
|
|
36
|
-
* Example: {
|
|
37
|
-
* const api: BruceApi.Api = ...;
|
|
38
|
-
* const key = GetListCacheKey();
|
|
39
|
-
* api.Cache.Remove(key);
|
|
40
|
-
* }
|
|
41
|
-
* @returns
|
|
42
|
-
*/
|
|
43
|
-
function GetListCacheKey(): string;
|
|
44
22
|
/**
|
|
45
23
|
* Describes a tileset record.
|
|
46
24
|
*/
|
|
@@ -368,5 +346,27 @@ export declare namespace Tileset {
|
|
|
368
346
|
startLevel?: number;
|
|
369
347
|
}
|
|
370
348
|
}
|
|
349
|
+
/**
|
|
350
|
+
* Returns cache identifier for a tileset.
|
|
351
|
+
* Example: {
|
|
352
|
+
* const api: BruceApi.Api = ...;
|
|
353
|
+
* const key = GetCacheKey("abc", false);
|
|
354
|
+
* api.Cache.Remove(key);
|
|
355
|
+
* }
|
|
356
|
+
* @param tilesetId
|
|
357
|
+
* @param loadFiles
|
|
358
|
+
* @returns
|
|
359
|
+
*/
|
|
360
|
+
function GetCacheKey(tilesetId: string, loadFiles: boolean): string;
|
|
361
|
+
/**
|
|
362
|
+
* Returns cache identifier for a list of tilesets.
|
|
363
|
+
* Example: {
|
|
364
|
+
* const api: BruceApi.Api = ...;
|
|
365
|
+
* const key = GetListCacheKey();
|
|
366
|
+
* api.Cache.Remove(key);
|
|
367
|
+
* }
|
|
368
|
+
* @returns
|
|
369
|
+
*/
|
|
370
|
+
function GetListCacheKey(): string;
|
|
371
371
|
}
|
|
372
372
|
export {};
|
|
@@ -9,42 +9,6 @@ import { UserGroup } from "./user-group";
|
|
|
9
9
|
* treated the same way in terms of permissions and user groups.
|
|
10
10
|
*/
|
|
11
11
|
export declare namespace User {
|
|
12
|
-
/**
|
|
13
|
-
* Returns cache identifier for a user.
|
|
14
|
-
* Example: {
|
|
15
|
-
* const api: BruceApi.Api = ...;
|
|
16
|
-
* const key = GetCacheKey("abc", "def");
|
|
17
|
-
* api.Cache.Remove(key);
|
|
18
|
-
* }
|
|
19
|
-
* @param userId
|
|
20
|
-
* @param accountId
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
function GetCacheKey(userId: string, accountId?: string): string;
|
|
24
|
-
/**
|
|
25
|
-
* Returns cache identifier for a user.
|
|
26
|
-
* Example: {
|
|
27
|
-
* const api: BruceApi.Api = ...;
|
|
28
|
-
* const key = GetCacheKey("abc", "def");
|
|
29
|
-
* api.Cache.Remove(key);
|
|
30
|
-
* }
|
|
31
|
-
* @param email
|
|
32
|
-
* @param accountId
|
|
33
|
-
* @returns
|
|
34
|
-
*/
|
|
35
|
-
function GetEmailCacheKey(email: string, accountId?: string): string;
|
|
36
|
-
/**
|
|
37
|
-
* Returns cache identifier for a user's settings.
|
|
38
|
-
* Example: {
|
|
39
|
-
* const api: BruceApi.Api = ...;
|
|
40
|
-
* const key = GetCacheKey("abc", "def");
|
|
41
|
-
* api.Cache.Remove(key);
|
|
42
|
-
* }
|
|
43
|
-
* @param userId
|
|
44
|
-
* @param appId
|
|
45
|
-
* @returns
|
|
46
|
-
*/
|
|
47
|
-
function GetSettingsCacheKey(userId: string, appId: string): string;
|
|
48
12
|
/**
|
|
49
13
|
* Describes a user record.
|
|
50
14
|
*/
|
|
@@ -287,4 +251,40 @@ export declare namespace User {
|
|
|
287
251
|
user: IUser;
|
|
288
252
|
}>;
|
|
289
253
|
}
|
|
254
|
+
/**
|
|
255
|
+
* Returns cache identifier for a user.
|
|
256
|
+
* Example: {
|
|
257
|
+
* const api: BruceApi.Api = ...;
|
|
258
|
+
* const key = GetCacheKey("abc", "def");
|
|
259
|
+
* api.Cache.Remove(key);
|
|
260
|
+
* }
|
|
261
|
+
* @param userId
|
|
262
|
+
* @param accountId
|
|
263
|
+
* @returns
|
|
264
|
+
*/
|
|
265
|
+
function GetCacheKey(userId: string, accountId?: string): string;
|
|
266
|
+
/**
|
|
267
|
+
* Returns cache identifier for a user.
|
|
268
|
+
* Example: {
|
|
269
|
+
* const api: BruceApi.Api = ...;
|
|
270
|
+
* const key = GetCacheKey("abc", "def");
|
|
271
|
+
* api.Cache.Remove(key);
|
|
272
|
+
* }
|
|
273
|
+
* @param email
|
|
274
|
+
* @param accountId
|
|
275
|
+
* @returns
|
|
276
|
+
*/
|
|
277
|
+
function GetEmailCacheKey(email: string, accountId?: string): string;
|
|
278
|
+
/**
|
|
279
|
+
* Returns cache identifier for a user's settings.
|
|
280
|
+
* Example: {
|
|
281
|
+
* const api: BruceApi.Api = ...;
|
|
282
|
+
* const key = GetCacheKey("abc", "def");
|
|
283
|
+
* api.Cache.Remove(key);
|
|
284
|
+
* }
|
|
285
|
+
* @param userId
|
|
286
|
+
* @param appId
|
|
287
|
+
* @returns
|
|
288
|
+
*/
|
|
289
|
+
function GetSettingsCacheKey(userId: string, appId: string): string;
|
|
290
290
|
}
|