@glodon-aiot/apis 3.0.11-alpha.4 → 3.1.0-beta.13

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,8 +213,7 @@ export interface IHistory {
213
213
  isSuspend?: boolean;
214
214
  reasoningContent?: string;
215
215
  thinkingSecs?: number;
216
- thinkingStatus?: 'start' | 'end';
217
- searchingStatus?: 'start' | 'end';
216
+ thinkingStatus?: string;
218
217
  }
219
218
  export declare enum IThinkingStatus {
220
219
  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,7 +258,6 @@ export interface IChatMessage {
258
258
  thinkingSecs?: number;
259
259
  thinkingStatus?: "end" | "start";
260
260
  reasoningContent?: string;
261
- searchingStatus?: 'start' | 'end';
262
261
  }
263
262
  export interface IReference {
264
263
  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-alpha.4",
3
+ "version": "3.1.0-beta.13",
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"
@@ -67,7 +68,8 @@
67
68
  "require-from-string": "^2.0.2",
68
69
  "typescript": "*",
69
70
  "vite": "^4.1.1",
70
- "vite-plugin-dts": "4.1.1"
71
+ "vite-plugin-dts": "4.1.1",
72
+ "vite-plugin-externalize-deps": "^0.9.0"
71
73
  },
72
74
  "lint-staged": {
73
75
  "*.{js,css,md,jsx,less,ts,tsx,json}": "prettier --write"
@@ -77,8 +79,9 @@
77
79
  "registry": "https://registry.npmjs.org/"
78
80
  },
79
81
  "dependencies": {
80
- "@glodon-aiot/minio": "^0.1.4",
82
+ "@glodon-aiot/minio": "^0.1.6",
81
83
  "axios": "0.24.0",
82
- "dayjs": "^1.11.13"
84
+ "dayjs": "^1.11.13",
85
+ "uuid": "^11.1.0"
83
86
  }
84
87
  }
@@ -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
- };