bruce-models 7.1.31 → 7.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/bruce-models.es5.js +97 -2
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +94 -1
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +2 -1
- package/dist/lib/bruce-models.js.map +1 -1
- package/dist/lib/dashboard/dashboard-view.js +100 -0
- package/dist/lib/dashboard/dashboard-view.js.map +1 -0
- package/dist/lib/mcp/navigator-chat.js +3 -1
- package/dist/lib/mcp/navigator-chat.js.map +1 -1
- package/dist/lib/mcp/navigator-mcp-websocket.js +7 -0
- package/dist/lib/mcp/navigator-mcp-websocket.js.map +1 -1
- package/dist/types/bruce-models.d.ts +2 -1
- package/dist/types/dashboard/dashboard-view.d.ts +53 -0
- package/dist/types/mcp/navigator-chat.d.ts +28 -0
- package/dist/types/mcp/navigator-mcp-websocket.d.ts +2 -1
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -9171,6 +9171,92 @@ var EntityTableView;
|
|
|
9171
9171
|
EntityTableView.Delete = Delete;
|
|
9172
9172
|
})(EntityTableView || (EntityTableView = {}));
|
|
9173
9173
|
|
|
9174
|
+
/**
|
|
9175
|
+
* Represents a Dashboard View record.
|
|
9176
|
+
*/
|
|
9177
|
+
var DashboardView;
|
|
9178
|
+
(function (DashboardView) {
|
|
9179
|
+
/**
|
|
9180
|
+
* Returns a record matching the given viewId.
|
|
9181
|
+
* @param params
|
|
9182
|
+
*/
|
|
9183
|
+
function Get(params) {
|
|
9184
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9185
|
+
let { viewId, api, req } = params;
|
|
9186
|
+
if (!api) {
|
|
9187
|
+
api = ENVIRONMENT.Api().GetBruceApi();
|
|
9188
|
+
}
|
|
9189
|
+
req = Api.PrepReqParams(req);
|
|
9190
|
+
const res = yield api.GET(`ui.dashboardview/${viewId}`, req);
|
|
9191
|
+
return {
|
|
9192
|
+
view: res
|
|
9193
|
+
};
|
|
9194
|
+
});
|
|
9195
|
+
}
|
|
9196
|
+
DashboardView.Get = Get;
|
|
9197
|
+
/**
|
|
9198
|
+
* Returns the list of all available Dashboard Views.
|
|
9199
|
+
* @param params
|
|
9200
|
+
*/
|
|
9201
|
+
function GetList(params) {
|
|
9202
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9203
|
+
if (!params) {
|
|
9204
|
+
params = {};
|
|
9205
|
+
}
|
|
9206
|
+
let { api, req } = params;
|
|
9207
|
+
if (!api) {
|
|
9208
|
+
api = ENVIRONMENT.Api().GetBruceApi();
|
|
9209
|
+
}
|
|
9210
|
+
req = Api.PrepReqParams(req);
|
|
9211
|
+
const res = yield api.GET("ui.dashboardviews", req);
|
|
9212
|
+
let items = res === null || res === void 0 ? void 0 : res.Items;
|
|
9213
|
+
if (!items) {
|
|
9214
|
+
items = [];
|
|
9215
|
+
}
|
|
9216
|
+
return {
|
|
9217
|
+
views: items
|
|
9218
|
+
};
|
|
9219
|
+
});
|
|
9220
|
+
}
|
|
9221
|
+
DashboardView.GetList = GetList;
|
|
9222
|
+
/**
|
|
9223
|
+
* Creates or updates a Dashboard View record.
|
|
9224
|
+
*/
|
|
9225
|
+
function Update(params) {
|
|
9226
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9227
|
+
let { view, api, req } = params;
|
|
9228
|
+
if (!api) {
|
|
9229
|
+
api = ENVIRONMENT.Api().GetBruceApi();
|
|
9230
|
+
}
|
|
9231
|
+
req = Api.PrepReqParams(req);
|
|
9232
|
+
let viewId = view.ID;
|
|
9233
|
+
if (!viewId) {
|
|
9234
|
+
viewId = 0;
|
|
9235
|
+
}
|
|
9236
|
+
const res = yield api.POST(`ui.dashboardview/${viewId}`, view, req);
|
|
9237
|
+
return {
|
|
9238
|
+
view: res
|
|
9239
|
+
};
|
|
9240
|
+
});
|
|
9241
|
+
}
|
|
9242
|
+
DashboardView.Update = Update;
|
|
9243
|
+
/**
|
|
9244
|
+
* Deletes a Dashboard View record.
|
|
9245
|
+
* @param params
|
|
9246
|
+
*/
|
|
9247
|
+
function Delete(params) {
|
|
9248
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9249
|
+
let { viewId, api, req } = params;
|
|
9250
|
+
if (!api) {
|
|
9251
|
+
api = ENVIRONMENT.Api().GetBruceApi();
|
|
9252
|
+
}
|
|
9253
|
+
req = Api.PrepReqParams(req);
|
|
9254
|
+
return yield api.DELETE(`ui.dashboardview/${viewId}`, req);
|
|
9255
|
+
});
|
|
9256
|
+
}
|
|
9257
|
+
DashboardView.Delete = Delete;
|
|
9258
|
+
})(DashboardView || (DashboardView = {}));
|
|
9259
|
+
|
|
9174
9260
|
/**
|
|
9175
9261
|
* Describes the "Style" concept within Nextspace.
|
|
9176
9262
|
* A legacy way of referring to styles is "entity display settings".
|
|
@@ -17439,6 +17525,8 @@ var Tracking;
|
|
|
17439
17525
|
|
|
17440
17526
|
const DEFAULT_JOB_POLL_INTERVAL_MS = 1000;
|
|
17441
17527
|
const DEFAULT_JOB_POLL_TIMEOUT_MS = 10 * 60 * 1000; // match server timeout (10 minutes)
|
|
17528
|
+
const NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED = "entity_highlight_applied";
|
|
17529
|
+
const NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED = "scene_context_prefetched";
|
|
17442
17530
|
const DEFAULT_BASE_URL = "http://localhost:8888";
|
|
17443
17531
|
/**
|
|
17444
17532
|
* Lightweight client for the Navigator MCP chat HTTP endpoints.
|
|
@@ -17735,6 +17823,13 @@ class NavigatorMcpWebSocketClient {
|
|
|
17735
17823
|
setAuth(auth) {
|
|
17736
17824
|
this.currentAuth = auth;
|
|
17737
17825
|
}
|
|
17826
|
+
sendChatEvent(event) {
|
|
17827
|
+
this.send({
|
|
17828
|
+
jsonrpc: "2.0",
|
|
17829
|
+
method: "chat/event",
|
|
17830
|
+
params: event
|
|
17831
|
+
});
|
|
17832
|
+
}
|
|
17738
17833
|
logger() {
|
|
17739
17834
|
var _a;
|
|
17740
17835
|
return (_a = this.options.logger) !== null && _a !== void 0 ? _a : console;
|
|
@@ -18016,7 +18111,7 @@ var ChangeSet;
|
|
|
18016
18111
|
})(ChangeSet || (ChangeSet = {}));
|
|
18017
18112
|
|
|
18018
18113
|
// This is updated with the package.json version on build.
|
|
18019
|
-
const VERSION = "7.1.
|
|
18114
|
+
const VERSION = "7.1.33";
|
|
18020
18115
|
|
|
18021
|
-
export { VERSION, Assembly, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityTypeTrigger, EntityType, Entity, EntityCoords, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, UserMfaMethod, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, DataFeed, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportLcc, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking, NavigatorChatClient, NavigatorMcpWebSocketClient, ChangeSet };
|
|
18116
|
+
export { VERSION, Assembly, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityTypeTrigger, EntityType, Entity, EntityCoords, EntityAttribute, EntityHistoricData, EntityTableView, DashboardView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, UserMfaMethod, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, DataFeed, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportLcc, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking, NAVIGATOR_CHAT_EVENT_ENTITY_HIGHLIGHT_APPLIED, NAVIGATOR_CHAT_EVENT_SCENE_CONTEXT_PREFETCHED, NavigatorChatClient, NavigatorMcpWebSocketClient, ChangeSet };
|
|
18022
18117
|
//# sourceMappingURL=bruce-models.es5.js.map
|