@kubohiroya/turbowarp-plus-editor-git 0.18.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 +10 -2
- package/README.md +10 -2
- package/dist/branch-button.d.ts +15 -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 +19 -0
- package/dist/index.js +377 -268
- package/dist/messages.d.ts +101 -0
- package/dist/{project-asset-paths-BzwVf9HE.js → project-asset-paths-DNaoWs3E.js} +1 -1
- package/dist/{project-comparison-BXOQcZ73.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-ByKRBftJ.js → repository-DXRZEtYk.js} +2 -3
- 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 +23 -0
- package/package.json +1 -1
- package/src/branch-button.tsx +79 -6
- 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 +153 -15
- package/src/messages.ts +76 -2
- 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/review-composer.tsx +166 -0
- package/src/review-submit.ts +519 -0
- package/src/smart-http.ts +2 -2
- package/src/style.css +13 -0
- package/dist/objectSpread2-Dkd68nJH.js +0 -101
package/dist/messages.d.ts
CHANGED
|
@@ -113,6 +113,8 @@ export declare const messages: {
|
|
|
113
113
|
openPanel: string;
|
|
114
114
|
newBranchItem: string;
|
|
115
115
|
newBranchTitle: string;
|
|
116
|
+
switchedShort: string;
|
|
117
|
+
historyViewEmpty: string;
|
|
116
118
|
};
|
|
117
119
|
ja: {
|
|
118
120
|
pullRequests: string;
|
|
@@ -228,7 +230,106 @@ export declare const messages: {
|
|
|
228
230
|
openPanel: string;
|
|
229
231
|
newBranchItem: string;
|
|
230
232
|
newBranchTitle: string;
|
|
233
|
+
switchedShort: string;
|
|
234
|
+
historyViewEmpty: string;
|
|
231
235
|
};
|
|
232
236
|
};
|
|
233
237
|
export type Labels = typeof messages.en;
|
|
234
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 = {}) {
|