@kubohiroya/turbowarp-plus-editor-git 0.17.0 → 0.19.0
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/README.ja.md +13 -3
- package/README.md +12 -2
- package/dist/branch-button.d.ts +47 -0
- package/dist/change-marks.d.ts +8 -0
- package/dist/connection-settings.d.ts +3 -1
- package/dist/github-pull-requests.d.ts +2 -2
- package/dist/github-review-api.d.ts +112 -0
- package/dist/index.d.ts +29 -5
- package/dist/index.js +830 -303
- package/dist/messages.d.ts +109 -2
- package/dist/{project-asset-paths-nL5sV35A.js → project-asset-paths-DNaoWs3E.js} +2 -2
- package/dist/{project-comparison-DjMlwyp8.js → project-comparison-B_3QZ6M-.js} +1414 -33
- package/dist/project-source-diff.d.ts +5 -0
- package/dist/project-source-diff.js +4 -4
- package/dist/project-source-review.d.ts +6 -1
- package/dist/pull-request-panel.d.ts +2 -0
- package/dist/remote-operations.d.ts +1 -1
- package/dist/{repository-xIv0iZkj.js → repository-DXRZEtYk.js} +26 -10
- package/dist/repository.d.ts +7 -0
- package/dist/repository.js +1 -1
- package/dist/review-composer.d.ts +23 -0
- package/dist/review-submit.d.ts +144 -0
- package/dist/{smart-http-BmHEkE7K.js → smart-http-eARzlXHO.js} +101 -2
- package/dist/smart-http.d.ts +2 -0
- package/dist/smart-http.js +1 -1
- package/dist/style.css +51 -0
- package/package.json +1 -1
- package/src/branch-button.tsx +289 -0
- package/src/change-marks.ts +22 -0
- package/src/connection-settings.tsx +9 -2
- package/src/github-review-api.ts +298 -0
- package/src/index.tsx +322 -66
- package/src/messages.ts +80 -4
- package/src/project-source-diff.css +10 -0
- package/src/project-source-diff.tsx +6 -0
- package/src/project-source-review.tsx +33 -5
- package/src/pull-request-panel.tsx +27 -6
- package/src/remote-operations.ts +1 -1
- package/src/repository.ts +22 -8
- package/src/review-composer.tsx +166 -0
- package/src/review-submit.ts +519 -0
- package/src/smart-http.ts +2 -2
- package/src/style.css +41 -0
- package/dist/objectSpread2-Dkd68nJH.js +0 -101
package/dist/messages.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export declare const messages: {
|
|
|
3
3
|
pullRequests: string;
|
|
4
4
|
localChanges: string;
|
|
5
5
|
title: string;
|
|
6
|
-
menu: string;
|
|
7
6
|
close: string;
|
|
8
7
|
choose: string;
|
|
9
8
|
refresh: string;
|
|
@@ -110,12 +109,17 @@ export declare const messages: {
|
|
|
110
109
|
historyCopyFailed: string;
|
|
111
110
|
historyRefs: string;
|
|
112
111
|
cancel: string;
|
|
112
|
+
branchMenu: string;
|
|
113
|
+
openPanel: string;
|
|
114
|
+
newBranchItem: string;
|
|
115
|
+
newBranchTitle: string;
|
|
116
|
+
switchedShort: string;
|
|
117
|
+
historyViewEmpty: string;
|
|
113
118
|
};
|
|
114
119
|
ja: {
|
|
115
120
|
pullRequests: string;
|
|
116
121
|
localChanges: string;
|
|
117
122
|
title: string;
|
|
118
|
-
menu: string;
|
|
119
123
|
close: string;
|
|
120
124
|
choose: string;
|
|
121
125
|
refresh: string;
|
|
@@ -222,7 +226,110 @@ export declare const messages: {
|
|
|
222
226
|
historyCopyFailed: string;
|
|
223
227
|
historyRefs: string;
|
|
224
228
|
cancel: string;
|
|
229
|
+
branchMenu: string;
|
|
230
|
+
openPanel: string;
|
|
231
|
+
newBranchItem: string;
|
|
232
|
+
newBranchTitle: string;
|
|
233
|
+
switchedShort: string;
|
|
234
|
+
historyViewEmpty: string;
|
|
225
235
|
};
|
|
226
236
|
};
|
|
227
237
|
export type Labels = typeof messages.en;
|
|
228
238
|
export declare const labelsFor: (locale: string) => Labels;
|
|
239
|
+
/** The words of sending a pull request review through the GitHub connection. */
|
|
240
|
+
export declare const reviewMessages: {
|
|
241
|
+
en: {
|
|
242
|
+
composer: string;
|
|
243
|
+
overall: string;
|
|
244
|
+
event: string;
|
|
245
|
+
COMMENT: string;
|
|
246
|
+
APPROVE: string;
|
|
247
|
+
REQUEST_CHANGES: string;
|
|
248
|
+
scriptComment: string;
|
|
249
|
+
commented: string;
|
|
250
|
+
summaryThreads: string;
|
|
251
|
+
summaryBody: string;
|
|
252
|
+
summaryNone: string;
|
|
253
|
+
send: string;
|
|
254
|
+
sending: string;
|
|
255
|
+
checking: string;
|
|
256
|
+
sendAgain: string;
|
|
257
|
+
check: string;
|
|
258
|
+
discard: string;
|
|
259
|
+
forget: string;
|
|
260
|
+
useVersion: string;
|
|
261
|
+
sent: string;
|
|
262
|
+
openReview: string;
|
|
263
|
+
openPullRequest: string;
|
|
264
|
+
dismiss: string;
|
|
265
|
+
discarded: string;
|
|
266
|
+
notStored: string;
|
|
267
|
+
headChanged: string;
|
|
268
|
+
unsupported: string;
|
|
269
|
+
needsGrant: string;
|
|
270
|
+
allowReview: string;
|
|
271
|
+
PENDING_REVIEW_EXISTS: string;
|
|
272
|
+
PENDING_REVIEW_LEFT: string;
|
|
273
|
+
REVIEW_OUTCOME_UNKNOWN: string;
|
|
274
|
+
pending: string;
|
|
275
|
+
REVIEW_REJECTED: string;
|
|
276
|
+
REVIEW_THREAD_REJECTED: string;
|
|
277
|
+
RATE_LIMITED: string;
|
|
278
|
+
EMPTY_REVIEW: string;
|
|
279
|
+
TOO_LONG: string;
|
|
280
|
+
closed: string;
|
|
281
|
+
lost: string;
|
|
282
|
+
session: string;
|
|
283
|
+
FORBIDDEN: string;
|
|
284
|
+
GITHUB_API_UNAVAILABLE: string;
|
|
285
|
+
failed: string;
|
|
286
|
+
};
|
|
287
|
+
ja: {
|
|
288
|
+
composer: string;
|
|
289
|
+
overall: string;
|
|
290
|
+
event: string;
|
|
291
|
+
COMMENT: string;
|
|
292
|
+
APPROVE: string;
|
|
293
|
+
REQUEST_CHANGES: string;
|
|
294
|
+
scriptComment: string;
|
|
295
|
+
commented: string;
|
|
296
|
+
summaryThreads: string;
|
|
297
|
+
summaryBody: string;
|
|
298
|
+
summaryNone: string;
|
|
299
|
+
send: string;
|
|
300
|
+
sending: string;
|
|
301
|
+
checking: string;
|
|
302
|
+
sendAgain: string;
|
|
303
|
+
check: string;
|
|
304
|
+
discard: string;
|
|
305
|
+
forget: string;
|
|
306
|
+
useVersion: string;
|
|
307
|
+
sent: string;
|
|
308
|
+
openReview: string;
|
|
309
|
+
openPullRequest: string;
|
|
310
|
+
dismiss: string;
|
|
311
|
+
discarded: string;
|
|
312
|
+
notStored: string;
|
|
313
|
+
headChanged: string;
|
|
314
|
+
unsupported: string;
|
|
315
|
+
needsGrant: string;
|
|
316
|
+
allowReview: string;
|
|
317
|
+
PENDING_REVIEW_EXISTS: string;
|
|
318
|
+
PENDING_REVIEW_LEFT: string;
|
|
319
|
+
REVIEW_OUTCOME_UNKNOWN: string;
|
|
320
|
+
pending: string;
|
|
321
|
+
REVIEW_REJECTED: string;
|
|
322
|
+
REVIEW_THREAD_REJECTED: string;
|
|
323
|
+
RATE_LIMITED: string;
|
|
324
|
+
EMPTY_REVIEW: string;
|
|
325
|
+
TOO_LONG: string;
|
|
326
|
+
closed: string;
|
|
327
|
+
lost: string;
|
|
328
|
+
session: string;
|
|
329
|
+
FORBIDDEN: string;
|
|
330
|
+
GITHUB_API_UNAVAILABLE: string;
|
|
331
|
+
failed: string;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
export type ReviewLabels = typeof reviewMessages.en;
|
|
335
|
+
export declare const reviewLabelsFor: (locale: string) => ReviewLabels;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as _objectSpread2, u as init_objectSpread2 } from "./smart-http-eARzlXHO.js";
|
|
2
2
|
// node_modules/diff/libesm/diff/base.js
|
|
3
3
|
var Diff = class {
|
|
4
4
|
diff(oldStr, newStr, options = {}) {
|
|
@@ -1410,4 +1410,4 @@ function assetsDirectoryParts(settings) {
|
|
|
1410
1410
|
const parts = value.split("/");
|
|
1411
1411
|
return parts.every((part) => part && part !== "." && part !== ".." && part.toLowerCase() !== ".git" && !/[\\\0-\x1f\x7f]/.test(part)) ? parts : null;
|
|
1412
1412
|
}
|
|
1413
|
-
export { compareProjectBlocks as a, isRecord as c, targetKey as d,
|
|
1413
|
+
export { compareProjectBlocks as a, isRecord as c, targetKey as d, _objectWithoutProperties as f, isAssetName as i, parseProjectSource as l, assetsDirectoryParts as n, createProjectSourceDiff as o, createTwoFilesPatch as p, folderSettingsLimit as r, equal as s, assetLimit as t, readProjectSourceDiff as u };
|