@glodon-aiot/apis 3.0.11-beta.0 → 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.
@@ -14,5 +14,4 @@ export declare class AuthApi extends BaseApi {
14
14
  tenantCode: string;
15
15
  }): Promise<string>;
16
16
  postRefreshToken(oldToken: string, tenant: string, orgId?: string, expired?: string, product?: string): Promise<TRefreshToken>;
17
- logout(): Promise<unknown>;
18
17
  }
@@ -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';
@@ -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.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
- };