mirror of https://github.com/fantasticit/think.git
Merge pull request #129 from fantasticit/fix/tsc-build
chore: fix run tsc build error in windowspull/130/head
commit
63e33731ec
|
@ -12,7 +12,7 @@
|
|||
"sideEffects": false,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "tsc src/*.ts --outDir lib --skipLibCheck --declaration --lib ES6"
|
||||
"build": "tsc src/index.ts --outDir lib --skipLibCheck --declaration --lib ES6"
|
||||
},
|
||||
"files": [
|
||||
"lib",
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"sideEffects": false,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "tsc src/*.ts --outDir lib --skipLibCheck --declaration --lib ES6"
|
||||
"build": "tsc src/index.ts --outDir lib --skipLibCheck --declaration --lib ES6"
|
||||
},
|
||||
"files": [
|
||||
"lib",
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
export declare const CollectorApiDefinition: {
|
||||
/**
|
||||
* 收藏(或取消收藏)
|
||||
*/
|
||||
toggle: {
|
||||
method: "post";
|
||||
server: "toggle";
|
||||
client: () => string;
|
||||
};
|
||||
/**
|
||||
* 检测是否收藏
|
||||
*/
|
||||
check: {
|
||||
method: "post";
|
||||
server: "check";
|
||||
client: () => string;
|
||||
};
|
||||
/**
|
||||
* 获取收藏的知识库
|
||||
*/
|
||||
wikis: {
|
||||
method: "get";
|
||||
server: "wikis";
|
||||
client: () => string;
|
||||
};
|
||||
/**
|
||||
* 获取收藏的文档
|
||||
*/
|
||||
documents: {
|
||||
method: "get";
|
||||
server: "documents";
|
||||
client: () => string;
|
||||
};
|
||||
};
|
|
@ -1,37 +0,0 @@
|
|||
"use strict";
|
||||
exports.__esModule = true;
|
||||
exports.CollectorApiDefinition = void 0;
|
||||
exports.CollectorApiDefinition = {
|
||||
/**
|
||||
* 收藏(或取消收藏)
|
||||
*/
|
||||
toggle: {
|
||||
method: 'post',
|
||||
server: 'toggle',
|
||||
client: function () { return '/collector/toggle'; }
|
||||
},
|
||||
/**
|
||||
* 检测是否收藏
|
||||
*/
|
||||
check: {
|
||||
method: 'post',
|
||||
server: 'check',
|
||||
client: function () { return '/collector/check'; }
|
||||
},
|
||||
/**
|
||||
* 获取收藏的知识库
|
||||
*/
|
||||
wikis: {
|
||||
method: 'get',
|
||||
server: 'wikis',
|
||||
client: function () { return '/collector/wikis'; }
|
||||
},
|
||||
/**
|
||||
* 获取收藏的文档
|
||||
*/
|
||||
documents: {
|
||||
method: 'get',
|
||||
server: 'documents',
|
||||
client: function () { return '/collector/documents'; }
|
||||
}
|
||||
};
|
|
@ -1,4 +0,0 @@
|
|||
export declare enum CollectType {
|
||||
document = "document",
|
||||
wiki = "wiki"
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
"use strict";
|
||||
exports.__esModule = true;
|
||||
exports.CollectType = void 0;
|
||||
var CollectType;
|
||||
(function (CollectType) {
|
||||
CollectType["document"] = "document";
|
||||
CollectType["wiki"] = "wiki";
|
||||
})(CollectType = exports.CollectType || (exports.CollectType = {}));
|
|
@ -12,7 +12,7 @@
|
|||
"sideEffects": false,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "tsc src/*.ts --outDir lib --skipLibCheck --declaration --lib ES6"
|
||||
"build": "tsc src/index.ts --outDir lib --skipLibCheck --declaration --lib ES6"
|
||||
},
|
||||
"files": [
|
||||
"lib",
|
||||
|
|
Loading…
Reference in New Issue