@glodon-aiot/apis 3.0.11-beta.0 → 3.0.11-beta.10

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.
@@ -213,7 +213,8 @@ export interface IHistory {
213
213
  isSuspend?: boolean;
214
214
  reasoningContent?: string;
215
215
  thinkingSecs?: number;
216
- thinkingStatus?: string;
216
+ thinkingStatus?: 'start' | 'end';
217
+ searchingStatus?: 'start' | 'end';
217
218
  }
218
219
  export declare enum IThinkingStatus {
219
220
  Start = "start",
@@ -38,4 +38,4 @@ export declare const needPrettifyMsg: (status: number) => boolean;
38
38
  * @returns {string} 优化后的 message
39
39
  */
40
40
  export declare const prettifyMsg: (status: number, message?: string) => string;
41
- export * from './model';
41
+ export type { AppResponse, Paged, PageQueryParams, CreateDataResponse } from './model';
@@ -258,6 +258,7 @@ export interface IChatMessage {
258
258
  thinkingSecs?: number;
259
259
  thinkingStatus?: "end" | "start";
260
260
  reasoningContent?: string;
261
+ searchingStatus?: 'start' | 'end';
261
262
  }
262
263
  export interface IReference {
263
264
  text: string;
@@ -1,7 +1,8 @@
1
1
  export type { User, LoginInfo, TRefreshToken } from './auth/model';
2
2
  export * from './auth';
3
3
  export type { AppResponse, Paged, PageQueryParams, CreateDataResponse, } from './base/model';
4
- export * from './base';
4
+ export { BaseApi, needPrettifyMsg, prettifyMsg } from './base';
5
+ export type { ApiErrorHandler } from './base';
5
6
  export type { ITenant, IOrg, IMeta, IRegion, IUserInfo } from './user/model';
6
7
  export * from './user';
7
8
  export type { PointOfInterest, Config, RecordQueryParams, Point, GUICoords, PanoramaCoords, RecordCreateParams, Record, BindRecord, BindScene, RecordStatus, ViewToken, SpotType, Spot, HotSpot, RenderType, Scene, TrackType, TrackPoint, UploadStatus, PanoramaJWTPayload, ISpacetwinParams, IPoint, ISpacetwin, ISpacetwinStatus, IViewToken, IUploadTickets, } from './panorama/model';
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@glodon-aiot/apis",
3
- "version": "3.0.11-beta.0",
3
+ "version": "3.0.11-beta.10",
4
4
  "author": "glodoncv",
5
5
  "description": "aiot apis",
6
6
  "type": "module",
7
+ "sideEffects": false,
7
8
  "keywords": [
8
9
  "aiot",
9
10
  "aiot-apis"
@@ -65,9 +66,11 @@
65
66
  "less": "^4.1.2",
66
67
  "prettier": "2.7.1",
67
68
  "require-from-string": "^2.0.2",
69
+ "rollup-plugin-visualizer": "^6.0.1",
68
70
  "typescript": "*",
69
71
  "vite": "^4.1.1",
70
- "vite-plugin-dts": "4.1.1"
72
+ "vite-plugin-dts": "4.1.1",
73
+ "vite-plugin-externalize-deps": "^0.9.0"
71
74
  },
72
75
  "lint-staged": {
73
76
  "*.{js,css,md,jsx,less,ts,tsx,json}": "prettier --write"
@@ -77,8 +80,9 @@
77
80
  "registry": "https://registry.npmjs.org/"
78
81
  },
79
82
  "dependencies": {
80
- "@glodon-aiot/minio": "^0.1.4",
83
+ "@glodon-aiot/minio": "^0.1.6",
81
84
  "axios": "0.24.0",
82
- "dayjs": "^1.11.13"
85
+ "dayjs": "^1.11.13",
86
+ "uuid": "^11.1.0"
83
87
  }
84
88
  }
@@ -1,4 +0,0 @@
1
- var e = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
2
- export {
3
- e as commonjsGlobal
4
- };
@@ -1,4 +0,0 @@
1
- var o = { exports: {} };
2
- export {
3
- o as __module
4
- };