@rsdoctor/types 1.5.17 → 1.5.18
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/index.cjs +15 -5
- package/dist/index.js +15 -5
- package/dist/sdk/server/index.d.cts +2 -0
- package/dist/sdk/server/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_require__ = {};
|
|
3
3
|
(()=>{
|
|
4
|
-
__webpack_require__.d = (exports1,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
__webpack_require__.d = (exports1, getters, values)=>{
|
|
5
|
+
var define = (defs, kind)=>{
|
|
6
|
+
for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
[kind]: defs[key]
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
define(getters, "get");
|
|
12
|
+
define(values, "value");
|
|
9
13
|
};
|
|
10
14
|
})();
|
|
11
15
|
(()=>{
|
|
@@ -74,6 +78,7 @@ __webpack_require__.d(sdk_namespaceObject, {
|
|
|
74
78
|
DependencyKind: ()=>module_DependencyKind,
|
|
75
79
|
IMode: ()=>instance_IMode,
|
|
76
80
|
ModuleKind: ()=>module_ModuleKind,
|
|
81
|
+
OPEN_IN_EDITOR_EDITORS: ()=>OPEN_IN_EDITOR_EDITORS,
|
|
77
82
|
ServerAPI: ()=>apis_namespaceObject,
|
|
78
83
|
StatementKind: ()=>statement_StatementKind,
|
|
79
84
|
ToDataType: ()=>module_ToDataType
|
|
@@ -235,6 +240,11 @@ var apis_APIExtends = /*#__PURE__*/ function(APIExtends) {
|
|
|
235
240
|
APIExtends["GetCompileProgress"] = "/api/progress";
|
|
236
241
|
return APIExtends;
|
|
237
242
|
}({});
|
|
243
|
+
const OPEN_IN_EDITOR_EDITORS = [
|
|
244
|
+
'code',
|
|
245
|
+
'cursor',
|
|
246
|
+
'trae'
|
|
247
|
+
];
|
|
238
248
|
var statement_StatementKind = /*#__PURE__*/ function(StatementKind) {
|
|
239
249
|
StatementKind[StatementKind["ImportDefault"] = 100] = "ImportDefault";
|
|
240
250
|
StatementKind[StatementKind["ImportNamed"] = 101] = "ImportNamed";
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
var __webpack_require__ = {};
|
|
2
2
|
(()=>{
|
|
3
|
-
__webpack_require__.d = (exports,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
__webpack_require__.d = (exports, getters, values)=>{
|
|
4
|
+
var define = (defs, kind)=>{
|
|
5
|
+
for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
[kind]: defs[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
define(getters, "get");
|
|
11
|
+
define(values, "value");
|
|
8
12
|
};
|
|
9
13
|
})();
|
|
10
14
|
(()=>{
|
|
@@ -97,6 +101,7 @@ __webpack_require__.d(sdk_namespaceObject, {
|
|
|
97
101
|
DependencyKind: ()=>module_DependencyKind,
|
|
98
102
|
IMode: ()=>instance_IMode,
|
|
99
103
|
ModuleKind: ()=>module_ModuleKind,
|
|
104
|
+
OPEN_IN_EDITOR_EDITORS: ()=>OPEN_IN_EDITOR_EDITORS,
|
|
100
105
|
ServerAPI: ()=>apis_namespaceObject,
|
|
101
106
|
StatementKind: ()=>statement_StatementKind,
|
|
102
107
|
ToDataType: ()=>module_ToDataType
|
|
@@ -215,6 +220,11 @@ var apis_APIExtends = /*#__PURE__*/ function(APIExtends) {
|
|
|
215
220
|
APIExtends["GetCompileProgress"] = "/api/progress";
|
|
216
221
|
return APIExtends;
|
|
217
222
|
}({});
|
|
223
|
+
const OPEN_IN_EDITOR_EDITORS = [
|
|
224
|
+
'code',
|
|
225
|
+
'cursor',
|
|
226
|
+
'trae'
|
|
227
|
+
];
|
|
218
228
|
var statement_StatementKind = /*#__PURE__*/ function(StatementKind) {
|
|
219
229
|
StatementKind[StatementKind["ImportDefault"] = 100] = "ImportDefault";
|
|
220
230
|
StatementKind[StatementKind["ImportNamed"] = 101] = "ImportNamed";
|
|
@@ -3,6 +3,8 @@ import { connect } from '../../thirdparty';
|
|
|
3
3
|
import { RsdoctorClientRoutes } from '../../client';
|
|
4
4
|
import { API, APIExtends } from './apis';
|
|
5
5
|
export * as ServerAPI from './apis';
|
|
6
|
+
export declare const OPEN_IN_EDITOR_EDITORS: readonly ["code", "cursor", "trae"];
|
|
7
|
+
export type OpenInEditorKind = (typeof OPEN_IN_EDITOR_EDITORS)[number];
|
|
6
8
|
interface ClientUrlFunctionWithRouteDefined<T> {
|
|
7
9
|
(route: RsdoctorClientRoutes.BundleDiff, baselineUrl: string, currentUrl: string): T;
|
|
8
10
|
(route?: 'homepage'): T;
|
|
@@ -3,6 +3,8 @@ import { connect } from '../../thirdparty.js';
|
|
|
3
3
|
import { RsdoctorClientRoutes } from '../../client.js';
|
|
4
4
|
import { API, APIExtends } from './apis/index.js';
|
|
5
5
|
export * as ServerAPI from './apis/index.js';
|
|
6
|
+
export declare const OPEN_IN_EDITOR_EDITORS: readonly ["code", "cursor", "trae"];
|
|
7
|
+
export type OpenInEditorKind = (typeof OPEN_IN_EDITOR_EDITORS)[number];
|
|
6
8
|
interface ClientUrlFunctionWithRouteDefined<T> {
|
|
7
9
|
(route: RsdoctorClientRoutes.BundleDiff, baselineUrl: string, currentUrl: string): T;
|
|
8
10
|
(route?: 'homepage'): T;
|