@glodon-aiot/apis 3.2.2-beta.2 → 3.2.2-beta.4
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/es/aecpilot/index.mjs +114 -102
- package/dist/es/aecpilotui/index.mjs +29 -29
- package/dist/es/agentcliui/index.mjs +29 -29
- package/dist/es/auth/index.mjs +25 -20
- package/dist/es/cvforce/index.mjs +7 -7
- package/dist/es/cvforce-datahub/index.mjs +7 -11
- package/dist/lib/index.js +3 -120
- package/dist/src/aecpilot/model.d.ts +6 -1
- package/dist/src/auth/index.d.ts +1 -0
- package/dist/src/base/index.d.ts +1 -1
- package/dist/src/cvforce/model.d.ts +1 -0
- package/dist/src/cvforce-datahub/index.d.ts +9 -9
- package/dist/src/index.d.ts +2 -1
- package/dist/src/pluginmgr/index.d.ts +1 -1
- package/package.json +8 -4
- package/dist/es/_virtual/_commonjsHelpers.mjs +0 -4
- package/dist/es/_virtual/minio-zj.mjs +0 -4
- package/dist/es/node_modules/@glodon-aiot/minio/dist/minio-zj.mjs +0 -26485
- package/dist/es/node_modules/uuid/dist/esm-browser/native.mjs +0 -6
- package/dist/es/node_modules/uuid/dist/esm-browser/rng.mjs +0 -10
- package/dist/es/node_modules/uuid/dist/esm-browser/stringify.mjs +0 -9
- package/dist/es/node_modules/uuid/dist/esm-browser/v4.mjs +0 -19
|
@@ -215,7 +215,8 @@ export interface IHistory {
|
|
|
215
215
|
isSuspend?: boolean;
|
|
216
216
|
reasoningContent?: string;
|
|
217
217
|
thinkingSecs?: number;
|
|
218
|
-
thinkingStatus?:
|
|
218
|
+
thinkingStatus?: 'start' | 'end';
|
|
219
|
+
searchingStatus?: 'start' | 'end';
|
|
219
220
|
}
|
|
220
221
|
export declare enum IThinkingStatus {
|
|
221
222
|
Start = "start",
|
|
@@ -245,6 +246,10 @@ export interface ISearchReference {
|
|
|
245
246
|
link: string;
|
|
246
247
|
title: string;
|
|
247
248
|
snippet: string;
|
|
249
|
+
siteIcon?: string;
|
|
250
|
+
siteName: string;
|
|
251
|
+
ts?: string;
|
|
252
|
+
datePublished?: string;
|
|
248
253
|
}
|
|
249
254
|
export interface KnowledgeFileMetadataParams {
|
|
250
255
|
name: string;
|
package/dist/src/auth/index.d.ts
CHANGED
package/dist/src/base/index.d.ts
CHANGED
|
@@ -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
|
|
41
|
+
export type { AppResponse, Paged, PageQueryParams, CreateDataResponse } from './model';
|
|
@@ -38,16 +38,16 @@ export declare class CVForceDatahubApi extends BaseApi {
|
|
|
38
38
|
id: string;
|
|
39
39
|
label: string;
|
|
40
40
|
box: any;
|
|
41
|
-
shapeType?: string
|
|
42
|
-
type?: string
|
|
43
|
-
catagoryId?: string
|
|
44
|
-
words?: string
|
|
41
|
+
shapeType?: string;
|
|
42
|
+
type?: string;
|
|
43
|
+
catagoryId?: string;
|
|
44
|
+
words?: string;
|
|
45
45
|
cell?: {
|
|
46
46
|
rowIdx: number;
|
|
47
47
|
colIdx: number;
|
|
48
48
|
rowSpan: number;
|
|
49
49
|
colSpan: number;
|
|
50
|
-
}
|
|
50
|
+
};
|
|
51
51
|
}[];
|
|
52
52
|
id: string;
|
|
53
53
|
versionId: string;
|
|
@@ -66,18 +66,18 @@ export declare class CVForceDatahubApi extends BaseApi {
|
|
|
66
66
|
countSubsection: number;
|
|
67
67
|
recordId: string;
|
|
68
68
|
metadata?: {
|
|
69
|
-
charactersCount?: string
|
|
70
|
-
originKey?: string
|
|
69
|
+
charactersCount?: string;
|
|
70
|
+
originKey?: string;
|
|
71
71
|
fileName: string;
|
|
72
72
|
oriUrl: string;
|
|
73
|
-
}
|
|
73
|
+
};
|
|
74
74
|
sampleFileName: {
|
|
75
75
|
name: string;
|
|
76
76
|
oriSize: number;
|
|
77
77
|
originalName: string;
|
|
78
78
|
};
|
|
79
79
|
operator: import('./model').IOperator;
|
|
80
|
-
confirmStatus?: number
|
|
80
|
+
confirmStatus?: number;
|
|
81
81
|
}>;
|
|
82
82
|
getImportInfo(): Promise<{
|
|
83
83
|
token: string;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -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
|
|
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.2.2-beta.
|
|
3
|
+
"version": "3.2.2-beta.4",
|
|
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.
|
|
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
|
}
|