@proteinjs/conversation 1.0.7 → 1.0.9

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.
Files changed (70) hide show
  1. package/.eslintrc.js +1 -1
  2. package/.prettierignore +4 -0
  3. package/CHANGELOG.md +11 -0
  4. package/dist/index.d.ts +1 -1
  5. package/dist/index.js +28 -40
  6. package/dist/src/CodegenConversation.d.ts +11 -11
  7. package/dist/src/CodegenConversation.js +180 -294
  8. package/dist/src/Conversation.d.ts +49 -52
  9. package/dist/src/Conversation.js +288 -478
  10. package/dist/src/ConversationModule.d.ts +6 -6
  11. package/dist/src/ConversationModule.js +3 -3
  12. package/dist/src/Function.d.ts +4 -4
  13. package/dist/src/Function.js +3 -3
  14. package/dist/src/OpenAi.d.ts +10 -42
  15. package/dist/src/OpenAi.js +305 -495
  16. package/dist/src/Paragraph.d.ts +4 -4
  17. package/dist/src/Paragraph.js +17 -17
  18. package/dist/src/Sentence.d.ts +4 -4
  19. package/dist/src/Sentence.js +21 -21
  20. package/dist/src/code_template/Code.d.ts +15 -15
  21. package/dist/src/code_template/Code.js +73 -167
  22. package/dist/src/code_template/CodeTemplate.d.ts +11 -11
  23. package/dist/src/code_template/CodeTemplate.js +80 -169
  24. package/dist/src/code_template/CodeTemplateModule.d.ts +6 -6
  25. package/dist/src/code_template/CodeTemplateModule.js +26 -28
  26. package/dist/src/code_template/Repo.d.ts +38 -34
  27. package/dist/src/code_template/Repo.js +195 -291
  28. package/dist/src/fs/conversation_fs/ConversationFsModerator.d.ts +12 -12
  29. package/dist/src/fs/conversation_fs/ConversationFsModerator.js +108 -110
  30. package/dist/src/fs/conversation_fs/ConversationFsModule.d.ts +11 -11
  31. package/dist/src/fs/conversation_fs/ConversationFsModule.js +97 -204
  32. package/dist/src/fs/conversation_fs/FsFunctions.d.ts +62 -58
  33. package/dist/src/fs/conversation_fs/FsFunctions.js +252 -414
  34. package/dist/src/fs/git/GitModule.d.ts +8 -8
  35. package/dist/src/fs/git/GitModule.js +74 -163
  36. package/dist/src/fs/keyword_to_files_index/KeywordToFilesIndexFunctions.d.ts +18 -16
  37. package/dist/src/fs/keyword_to_files_index/KeywordToFilesIndexFunctions.js +58 -158
  38. package/dist/src/fs/keyword_to_files_index/KeywordToFilesIndexModule.d.ts +26 -27
  39. package/dist/src/fs/keyword_to_files_index/KeywordToFilesIndexModule.js +131 -234
  40. package/dist/src/fs/package/PackageFunctions.d.ts +60 -54
  41. package/dist/src/fs/package/PackageFunctions.js +213 -366
  42. package/dist/src/fs/package/PackageModule.d.ts +24 -24
  43. package/dist/src/fs/package/PackageModule.js +170 -292
  44. package/dist/src/history/MessageHistory.d.ts +12 -12
  45. package/dist/src/history/MessageHistory.js +46 -52
  46. package/dist/src/history/MessageModerator.d.ts +2 -2
  47. package/dist/src/history/MessageModerator.js +3 -3
  48. package/dist/src/template/ConversationTemplate.d.ts +8 -8
  49. package/dist/src/template/ConversationTemplate.js +3 -3
  50. package/dist/src/template/ConversationTemplateFunctions.d.ts +35 -33
  51. package/dist/src/template/ConversationTemplateFunctions.js +75 -176
  52. package/dist/src/template/ConversationTemplateModule.d.ts +48 -51
  53. package/dist/src/template/ConversationTemplateModule.js +116 -211
  54. package/dist/src/template/createApp/CreateAppTemplate.d.ts +1 -1
  55. package/dist/src/template/createApp/CreateAppTemplate.js +59 -151
  56. package/dist/src/template/createCode/CreateCodeConversationTemplate.d.ts +1 -1
  57. package/dist/src/template/createCode/CreateCodeConversationTemplate.js +67 -183
  58. package/dist/src/template/createPackage/CreatePackageConversationTemplate.d.ts +1 -1
  59. package/dist/src/template/createPackage/CreatePackageConversationTemplate.js +77 -174
  60. package/dist/src/template/createPackage/tsconfig.json +11 -11
  61. package/dist/test/createKeywordFilesIndex.test.d.ts +1 -1
  62. package/dist/test/createKeywordFilesIndex.test.js +41 -132
  63. package/dist/test/openai/openai.generateList.test.d.ts +1 -1
  64. package/dist/test/openai/openai.generateList.test.js +47 -136
  65. package/dist/test/openai/openai.parseCodeFromMarkdown.test.d.ts +1 -1
  66. package/dist/test/openai/openai.parseCodeFromMarkdown.test.js +12 -13
  67. package/dist/test/repo/repo.test.d.ts +1 -1
  68. package/dist/test/repo/repo.test.js +38 -127
  69. package/package.json +5 -6
  70. package/LICENSE +0 -21
@@ -1,247 +1,144 @@
1
- 'use strict';
2
- var __awaiter =
3
- (this && this.__awaiter) ||
4
- function (thisArg, _arguments, P, generator) {
5
- function adopt(value) {
6
- return value instanceof P
7
- ? value
8
- : new P(function (resolve) {
9
- resolve(value);
10
- });
11
- }
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
12
4
  return new (P || (P = Promise))(function (resolve, reject) {
13
- function fulfilled(value) {
14
- try {
15
- step(generator.next(value));
16
- } catch (e) {
17
- reject(e);
18
- }
19
- }
20
- function rejected(value) {
21
- try {
22
- step(generator['throw'](value));
23
- } catch (e) {
24
- reject(e);
25
- }
26
- }
27
- function step(result) {
28
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
29
- }
30
- step((generator = generator.apply(thisArg, _arguments || [])).next());
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
31
9
  });
32
- };
33
- var __generator =
34
- (this && this.__generator) ||
35
- function (thisArg, body) {
36
- var _ = {
37
- label: 0,
38
- sent: function () {
39
- if (t[0] & 1) throw t[1];
40
- return t[1];
41
- },
42
- trys: [],
43
- ops: [],
44
- },
45
- f,
46
- y,
47
- t,
48
- g;
49
- return (
50
- (g = { next: verb(0), throw: verb(1), return: verb(2) }),
51
- typeof Symbol === 'function' &&
52
- (g[Symbol.iterator] = function () {
53
- return this;
54
- }),
55
- g
56
- );
57
- function verb(n) {
58
- return function (v) {
59
- return step([n, v]);
60
- };
61
- }
10
+ };
11
+ var __generator = (this && this.__generator) || function (thisArg, body) {
12
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
+ function verb(n) { return function (v) { return step([n, v]); }; }
62
15
  function step(op) {
63
- if (f) throw new TypeError('Generator is already executing.');
64
- while ((g && ((g = 0), op[0] && (_ = 0)), _))
65
- try {
66
- if (
67
- ((f = 1),
68
- y &&
69
- (t = op[0] & 2 ? y['return'] : op[0] ? y['throw'] || ((t = y['return']) && t.call(y), 0) : y.next) &&
70
- !(t = t.call(y, op[1])).done)
71
- )
72
- return t;
73
- if (((y = 0), t)) op = [op[0] & 2, t.value];
74
- switch (op[0]) {
75
- case 0:
76
- case 1:
77
- t = op;
78
- break;
79
- case 4:
80
- _.label++;
81
- return { value: op[1], done: false };
82
- case 5:
83
- _.label++;
84
- y = op[1];
85
- op = [0];
86
- continue;
87
- case 7:
88
- op = _.ops.pop();
89
- _.trys.pop();
90
- continue;
91
- default:
92
- if (!((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && (op[0] === 6 || op[0] === 2)) {
93
- _ = 0;
94
- continue;
95
- }
96
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
97
- _.label = op[1];
98
- break;
99
- }
100
- if (op[0] === 6 && _.label < t[1]) {
101
- _.label = t[1];
102
- t = op;
103
- break;
104
- }
105
- if (t && _.label < t[2]) {
106
- _.label = t[2];
107
- _.ops.push(op);
108
- break;
109
- }
110
- if (t[2]) _.ops.pop();
111
- _.trys.pop();
112
- continue;
113
- }
114
- op = body.call(thisArg, _);
115
- } catch (e) {
116
- op = [6, e];
117
- y = 0;
118
- } finally {
119
- f = t = 0;
120
- }
121
- if (op[0] & 5) throw op[1];
122
- return { value: op[0] ? op[1] : void 0, done: true };
16
+ if (f) throw new TypeError("Generator is already executing.");
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
+ if (y = 0, t) op = [op[0] & 2, t.value];
20
+ switch (op[0]) {
21
+ case 0: case 1: t = op; break;
22
+ case 4: _.label++; return { value: op[1], done: false };
23
+ case 5: _.label++; y = op[1]; op = [0]; continue;
24
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
+ default:
26
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
+ if (t[2]) _.ops.pop();
31
+ _.trys.pop(); continue;
32
+ }
33
+ op = body.call(thisArg, _);
34
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
123
36
  }
124
- };
125
- var __spreadArray =
126
- (this && this.__spreadArray) ||
127
- function (to, from, pack) {
128
- if (pack || arguments.length === 2)
129
- for (var i = 0, l = from.length, ar; i < l; i++) {
37
+ };
38
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
39
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
130
40
  if (ar || !(i in from)) {
131
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
132
- ar[i] = from[i];
41
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
42
+ ar[i] = from[i];
133
43
  }
134
- }
44
+ }
135
45
  return to.concat(ar || Array.prototype.slice.call(from));
136
- };
137
- var __importDefault =
138
- (this && this.__importDefault) ||
139
- function (mod) {
140
- return mod && mod.__esModule ? mod : { default: mod };
141
- };
142
- Object.defineProperty(exports, '__esModule', { value: true });
46
+ };
47
+ var __importDefault = (this && this.__importDefault) || function (mod) {
48
+ return (mod && mod.__esModule) ? mod : { "default": mod };
49
+ };
50
+ Object.defineProperty(exports, "__esModule", { value: true });
143
51
  exports.KeywordToFilesIndexModuleFactory = exports.KeywordToFilesIndexModule = void 0;
144
- var util_1 = require('@proteinjs/util');
145
- var util_node_1 = require('@proteinjs/util-node');
146
- var path_1 = __importDefault(require('path'));
147
- var KeywordToFilesIndexFunctions_1 = require('./KeywordToFilesIndexFunctions');
52
+ var util_1 = require("@proteinjs/util");
53
+ var util_node_1 = require("@proteinjs/util-node");
54
+ var path_1 = __importDefault(require("path"));
55
+ var KeywordToFilesIndexFunctions_1 = require("./KeywordToFilesIndexFunctions");
148
56
  var KeywordToFilesIndexModule = /** @class */ (function () {
149
- function KeywordToFilesIndexModule(params) {
150
- this.logger = new util_1.Logger(this.constructor.name);
151
- this.params = params;
152
- }
153
- KeywordToFilesIndexModule.prototype.getName = function () {
154
- return 'Keyword to files index';
155
- };
156
- KeywordToFilesIndexModule.prototype.searchFiles = function (params) {
157
- this.logger.info('Searching for file, keyword: '.concat(params.keyword));
158
- var filePaths = this.params.keywordFilesIndex[params.keyword];
159
- return filePaths || [];
160
- };
161
- KeywordToFilesIndexModule.prototype.getSystemMessages = function () {
162
- return [
163
- "If you're searching for something, use the ".concat(
164
- KeywordToFilesIndexFunctions_1.searchFilesFunctionName,
165
- ' function to find a file matching the search string'
166
- ),
167
- ];
168
- };
169
- KeywordToFilesIndexModule.prototype.getFunctions = function () {
170
- return [(0, KeywordToFilesIndexFunctions_1.searchFilesFunction)(this)];
171
- };
172
- KeywordToFilesIndexModule.prototype.getMessageModerators = function () {
173
- return [];
174
- };
175
- return KeywordToFilesIndexModule;
176
- })();
57
+ function KeywordToFilesIndexModule(params) {
58
+ this.logger = new util_1.Logger(this.constructor.name);
59
+ this.params = params;
60
+ }
61
+ KeywordToFilesIndexModule.prototype.getName = function () {
62
+ return 'Keyword to files index';
63
+ };
64
+ KeywordToFilesIndexModule.prototype.searchFiles = function (params) {
65
+ this.logger.info("Searching for file, keyword: ".concat(params.keyword));
66
+ var filePaths = this.params.keywordFilesIndex[params.keyword];
67
+ return filePaths || [];
68
+ };
69
+ KeywordToFilesIndexModule.prototype.getSystemMessages = function () {
70
+ return [
71
+ "If you're searching for something, use the ".concat(KeywordToFilesIndexFunctions_1.searchFilesFunctionName, " function to find a file matching the search string"),
72
+ ];
73
+ };
74
+ KeywordToFilesIndexModule.prototype.getFunctions = function () {
75
+ return [(0, KeywordToFilesIndexFunctions_1.searchFilesFunction)(this)];
76
+ };
77
+ KeywordToFilesIndexModule.prototype.getMessageModerators = function () {
78
+ return [];
79
+ };
80
+ return KeywordToFilesIndexModule;
81
+ }());
177
82
  exports.KeywordToFilesIndexModule = KeywordToFilesIndexModule;
178
83
  var KeywordToFilesIndexModuleFactory = /** @class */ (function () {
179
- function KeywordToFilesIndexModuleFactory() {
180
- this.logger = new util_1.Logger(this.constructor.name);
181
- }
182
- KeywordToFilesIndexModuleFactory.prototype.createModule = function (repoPath) {
183
- return __awaiter(this, void 0, void 0, function () {
184
- var repoParams, _a;
185
- return __generator(this, function (_b) {
186
- switch (_b.label) {
187
- case 0:
188
- this.logger.debug('Creating module for repo: '.concat(repoPath));
189
- repoParams = { keywordFilesIndex: {}, dir: repoPath };
190
- _a = repoParams;
191
- return [4 /*yield*/, this.createKeywordFilesIndex(repoPath, ['**/node-typescript-parser/**'])];
192
- case 1:
193
- _a.keywordFilesIndex = _b.sent();
194
- this.logger.debug('Created module for repo: '.concat(repoPath));
195
- return [2 /*return*/, new KeywordToFilesIndexModule(repoParams)];
196
- }
197
- });
198
- });
199
- };
200
- /**
201
- * Create keyword-files index for the given base directory.
202
- *
203
- * @param baseDir - The directory to start the file search from.
204
- * @returns An index with keywords mapped to file paths.
205
- */
206
- KeywordToFilesIndexModuleFactory.prototype.createKeywordFilesIndex = function (baseDir, globIgnorePatterns) {
207
- if (globIgnorePatterns === void 0) {
208
- globIgnorePatterns = [];
84
+ function KeywordToFilesIndexModuleFactory() {
85
+ this.logger = new util_1.Logger(this.constructor.name);
209
86
  }
210
- return __awaiter(this, void 0, void 0, function () {
211
- var filePaths, keywordFilesIndex, _i, filePaths_1, filePath, fileName;
212
- return __generator(this, function (_a) {
213
- switch (_a.label) {
214
- case 0:
215
- // Ensure the base directory has a trailing slash
216
- if (!baseDir.endsWith(path_1.default.sep)) {
217
- baseDir += path_1.default.sep;
218
- }
219
- return [
220
- 4 /*yield*/,
221
- util_node_1.Fs.getFilePaths(
222
- baseDir,
223
- __spreadArray(['**/node_modules/**', '**/dist/**'], globIgnorePatterns, true)
224
- ),
225
- ];
226
- case 1:
227
- filePaths = _a.sent();
228
- keywordFilesIndex = {};
229
- // Process each file path
230
- for (_i = 0, filePaths_1 = filePaths; _i < filePaths_1.length; _i++) {
231
- filePath = filePaths_1[_i];
232
- fileName = path_1.default.parse(filePath).name;
233
- if (!keywordFilesIndex[fileName]) {
234
- keywordFilesIndex[fileName] = [];
235
- }
236
- this.logger.debug('fileName: '.concat(fileName, ', filePath: ').concat(filePath));
237
- keywordFilesIndex[fileName].push(filePath);
238
- }
239
- return [2 /*return*/, keywordFilesIndex];
240
- }
241
- });
242
- });
243
- };
244
- return KeywordToFilesIndexModuleFactory;
245
- })();
87
+ KeywordToFilesIndexModuleFactory.prototype.createModule = function (repoPath) {
88
+ return __awaiter(this, void 0, void 0, function () {
89
+ var repoParams, _a;
90
+ return __generator(this, function (_b) {
91
+ switch (_b.label) {
92
+ case 0:
93
+ this.logger.debug("Creating module for repo: ".concat(repoPath));
94
+ repoParams = { keywordFilesIndex: {}, dir: repoPath };
95
+ _a = repoParams;
96
+ return [4 /*yield*/, this.createKeywordFilesIndex(repoPath, ['**/node-typescript-parser/**'])];
97
+ case 1:
98
+ _a.keywordFilesIndex = _b.sent();
99
+ this.logger.debug("Created module for repo: ".concat(repoPath));
100
+ return [2 /*return*/, new KeywordToFilesIndexModule(repoParams)];
101
+ }
102
+ });
103
+ });
104
+ };
105
+ /**
106
+ * Create keyword-files index for the given base directory.
107
+ *
108
+ * @param baseDir - The directory to start the file search from.
109
+ * @returns An index with keywords mapped to file paths.
110
+ */
111
+ KeywordToFilesIndexModuleFactory.prototype.createKeywordFilesIndex = function (baseDir, globIgnorePatterns) {
112
+ if (globIgnorePatterns === void 0) { globIgnorePatterns = []; }
113
+ return __awaiter(this, void 0, void 0, function () {
114
+ var filePaths, keywordFilesIndex, _i, filePaths_1, filePath, fileName;
115
+ return __generator(this, function (_a) {
116
+ switch (_a.label) {
117
+ case 0:
118
+ // Ensure the base directory has a trailing slash
119
+ if (!baseDir.endsWith(path_1.default.sep)) {
120
+ baseDir += path_1.default.sep;
121
+ }
122
+ return [4 /*yield*/, util_node_1.Fs.getFilePaths(baseDir, __spreadArray(['**/node_modules/**', '**/dist/**'], globIgnorePatterns, true))];
123
+ case 1:
124
+ filePaths = _a.sent();
125
+ keywordFilesIndex = {};
126
+ // Process each file path
127
+ for (_i = 0, filePaths_1 = filePaths; _i < filePaths_1.length; _i++) {
128
+ filePath = filePaths_1[_i];
129
+ fileName = path_1.default.parse(filePath).name;
130
+ if (!keywordFilesIndex[fileName]) {
131
+ keywordFilesIndex[fileName] = [];
132
+ }
133
+ this.logger.debug("fileName: ".concat(fileName, ", filePath: ").concat(filePath));
134
+ keywordFilesIndex[fileName].push(filePath);
135
+ }
136
+ return [2 /*return*/, keywordFilesIndex];
137
+ }
138
+ });
139
+ });
140
+ };
141
+ return KeywordToFilesIndexModuleFactory;
142
+ }());
246
143
  exports.KeywordToFilesIndexModuleFactory = KeywordToFilesIndexModuleFactory;
247
- //# sourceMappingURL=KeywordToFilesIndexModule.js.map
144
+ //# sourceMappingURL=KeywordToFilesIndexModule.js.map
@@ -1,73 +1,79 @@
1
1
  import { Function } from '../../Function';
2
2
  import { PackageModule } from './PackageModule';
3
- export declare const installPackagesFunctionName = 'installPackages';
3
+ export declare const installPackagesFunctionName = "installPackages";
4
4
  export declare const installPackagesFunction: Function;
5
- export declare const runPackageScriptFunctionName = 'runPackageScript';
6
- export declare const searchPackagesFunctionName = 'searchPackages';
5
+ export declare const runPackageScriptFunctionName = "runPackageScript";
6
+ export declare const searchPackagesFunctionName = "searchPackages";
7
7
  export declare function searchPackagesFunction(packageModule: PackageModule): {
8
- definition: {
9
- name: string;
10
- description: string;
11
- parameters: {
12
- type: string;
13
- properties: {
14
- keyword: {
15
- type: string;
16
- description: string;
8
+ definition: {
9
+ name: string;
10
+ description: string;
11
+ parameters: {
12
+ type: string;
13
+ properties: {
14
+ keyword: {
15
+ type: string;
16
+ description: string;
17
+ };
18
+ };
19
+ required: string[];
17
20
  };
18
- };
19
- required: string[];
20
21
  };
21
- };
22
- call: (params: { keyword: string }) => Promise<string[]>;
23
- instructions: string[];
22
+ call: (params: {
23
+ keyword: string;
24
+ }) => Promise<string[]>;
25
+ instructions: string[];
24
26
  };
25
- export declare const searchLibrariesFunctionName = 'searchLibraries';
27
+ export declare const searchLibrariesFunctionName = "searchLibraries";
26
28
  export declare function searchLibrariesFunction(packageModule: PackageModule): {
27
- definition: {
28
- name: string;
29
- description: string;
30
- parameters: {
31
- type: string;
32
- properties: {
33
- keyword: {
34
- type: string;
35
- description: string;
29
+ definition: {
30
+ name: string;
31
+ description: string;
32
+ parameters: {
33
+ type: string;
34
+ properties: {
35
+ keyword: {
36
+ type: string;
37
+ description: string;
38
+ };
39
+ };
40
+ required: string[];
36
41
  };
37
- };
38
- required: string[];
39
42
  };
40
- };
41
- call: (params: { keyword: string }) => Promise<import('./PackageModule').Library[]>;
42
- instructions: string[];
43
+ call: (params: {
44
+ keyword: string;
45
+ }) => Promise<import("./PackageModule").Library[]>;
46
+ instructions: string[];
43
47
  };
44
- export declare const generateTypescriptDeclarationsFunctionName = 'generateTypescriptDesclarations';
48
+ export declare const generateTypescriptDeclarationsFunctionName = "generateTypescriptDesclarations";
45
49
  export declare const generateTypescriptDeclarationsFunction: {
46
- definition: {
47
- name: string;
48
- description: string;
49
- parameters: {
50
- type: string;
51
- properties: {
52
- tsFilePaths: {
53
- type: string;
54
- description: string;
55
- items: {
50
+ definition: {
51
+ name: string;
52
+ description: string;
53
+ parameters: {
56
54
  type: string;
57
- };
55
+ properties: {
56
+ tsFilePaths: {
57
+ type: string;
58
+ description: string;
59
+ items: {
60
+ type: string;
61
+ };
62
+ };
63
+ };
64
+ required: string[];
58
65
  };
59
- };
60
- required: string[];
61
66
  };
62
- };
63
- call: (params: { tsFilePaths: string[] }) => Promise<{
64
- [tsFilePath: string]: string;
65
- }>;
66
- instructions: string[];
67
+ call: (params: {
68
+ tsFilePaths: string[];
69
+ }) => Promise<{
70
+ [tsFilePath: string]: string;
71
+ }>;
72
+ instructions: string[];
67
73
  };
68
- export declare const npmInstallFunctionName = 'npmInstall';
74
+ export declare const npmInstallFunctionName = "npmInstall";
69
75
  export declare const npmInstallFunction: Function;
70
- export declare const uninstallPackagesFunctionName = 'uninstallPackages';
76
+ export declare const uninstallPackagesFunctionName = "uninstallPackages";
71
77
  export declare const uninstallPackagesFunction: Function;
72
78
  export declare const packageFunctions: Function[];
73
- //# sourceMappingURL=PackageFunctions.d.ts.map
79
+ //# sourceMappingURL=PackageFunctions.d.ts.map