@knpkv/codecommit-web 0.16.0 → 0.17.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.md +13 -0
- package/dist/client/assets/index-BQbzvlT7.js +90 -0
- package/dist/client/assets/index-Rg2HVfx7.css +1 -0
- package/dist/client/assets/pr-review-workspace-B7GX-PRi.js +23 -0
- package/dist/client/index.html +2 -2
- package/dist/pull-request-coordinates.d.ts.map +1 -1
- package/dist/pull-request-coordinates.js +5 -4
- package/dist/pull-request-coordinates.js.map +1 -1
- package/dist/server/Api.d.ts +243 -243
- package/dist/server/Api.d.ts.map +1 -1
- package/dist/server/Api.js +1 -1
- package/dist/server/Api.js.map +1 -1
- package/dist/server/Server.d.ts +3 -3
- package/dist/server/Server.d.ts.map +1 -1
- package/dist/server/Server.js +13 -11
- package/dist/server/Server.js.map +1 -1
- package/dist/server/handlers/accounts-live.d.ts +1 -1
- package/dist/server/handlers/accounts-live.d.ts.map +1 -1
- package/dist/server/handlers/accounts-live.js +1 -1
- package/dist/server/handlers/accounts-live.js.map +1 -1
- package/dist/server/handlers/audit-live.d.ts +1 -1
- package/dist/server/handlers/audit-live.d.ts.map +1 -1
- package/dist/server/handlers/audit-live.js +1 -1
- package/dist/server/handlers/audit-live.js.map +1 -1
- package/dist/server/handlers/config-live.d.ts +1 -1
- package/dist/server/handlers/config-live.d.ts.map +1 -1
- package/dist/server/handlers/config-live.js +2 -2
- package/dist/server/handlers/config-live.js.map +1 -1
- package/dist/server/handlers/events-live.d.ts +1 -1
- package/dist/server/handlers/events-live.d.ts.map +1 -1
- package/dist/server/handlers/events-live.js +26 -8
- package/dist/server/handlers/events-live.js.map +1 -1
- package/dist/server/handlers/notifications-live.d.ts +2 -2
- package/dist/server/handlers/notifications-live.d.ts.map +1 -1
- package/dist/server/handlers/notifications-live.js +2 -2
- package/dist/server/handlers/notifications-live.js.map +1 -1
- package/dist/server/handlers/permissions-live.d.ts +1 -1
- package/dist/server/handlers/permissions-live.d.ts.map +1 -1
- package/dist/server/handlers/permissions-live.js +1 -1
- package/dist/server/handlers/permissions-live.js.map +1 -1
- package/dist/server/handlers/prs-live.d.ts +3 -3
- package/dist/server/handlers/prs-live.d.ts.map +1 -1
- package/dist/server/handlers/prs-live.js +3 -3
- package/dist/server/handlers/prs-live.js.map +1 -1
- package/dist/server/handlers/sandbox-live.d.ts +1 -1
- package/dist/server/handlers/sandbox-live.d.ts.map +1 -1
- package/dist/server/handlers/sandbox-live.js +2 -2
- package/dist/server/handlers/sandbox-live.js.map +1 -1
- package/dist/server/handlers/stats-live.d.ts +1 -1
- package/dist/server/handlers/stats-live.d.ts.map +1 -1
- package/dist/server/handlers/stats-live.js +1 -1
- package/dist/server/handlers/stats-live.js.map +1 -1
- package/dist/server/handlers/subscriptions-live.d.ts +1 -1
- package/dist/server/handlers/subscriptions-live.d.ts.map +1 -1
- package/dist/server/handlers/subscriptions-live.js +1 -1
- package/dist/server/handlers/subscriptions-live.js.map +1 -1
- package/dist/server/internal/OwnerSessionSecurity.d.ts +19 -8
- package/dist/server/internal/OwnerSessionSecurity.d.ts.map +1 -1
- package/dist/server/internal/OwnerSessionSecurity.js +109 -32
- package/dist/server/internal/OwnerSessionSecurity.js.map +1 -1
- package/dist/server/internal/PublicOrigin.d.ts +9 -0
- package/dist/server/internal/PublicOrigin.d.ts.map +1 -0
- package/dist/server/internal/PublicOrigin.js +17 -0
- package/dist/server/internal/PublicOrigin.js.map +1 -0
- package/dist/server/review/PullRequestReview.d.ts +1 -1
- package/dist/server/review/PullRequestReview.d.ts.map +1 -1
- package/dist/server/review/PullRequestReview.js +1 -1
- package/dist/server/review/PullRequestReview.js.map +1 -1
- package/dist/server/review/ReviewSkillCatalog.js +2 -2
- package/dist/tooling/authenticated-dev-proxy.d.ts +20 -5
- package/dist/tooling/authenticated-dev-proxy.d.ts.map +1 -1
- package/dist/tooling/authenticated-dev-proxy.js +25 -9
- package/dist/tooling/authenticated-dev-proxy.js.map +1 -1
- package/dist/tooling/authenticated-dev-proxy.test.js +96 -5
- package/dist/tooling/authenticated-dev-proxy.test.js.map +1 -1
- package/package.json +32 -26
- package/dist/client/assets/index-DqzI_8bH.js +0 -90
- package/dist/client/assets/index-Ds8Muxxv.css +0 -1
- package/dist/client/assets/pr-review-workspace-Ca3Vmiye.js +0 -22
package/dist/server/Api.d.ts
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
import { Account, PullRequest } from "@knpkv/codecommit-core/Domain.js";
|
|
20
20
|
import { WeeklyStats } from "@knpkv/codecommit-core/StatsService/WeeklyStats.js";
|
|
21
21
|
import { Schema } from "effect";
|
|
22
|
-
import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSecurity } from "effect/
|
|
22
|
+
import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSecurity } from "effect/http-api";
|
|
23
23
|
declare const ApiError_base: Schema.Class<ApiError, Schema.TaggedStruct<"ApiError", {
|
|
24
24
|
readonly message: Schema.String;
|
|
25
25
|
}>, import("effect/Cause").YieldableError>;
|
|
@@ -1148,114 +1148,7 @@ declare const AuditGroup_base: HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoin
|
|
|
1148
1148
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
1149
1149
|
export declare class AuditGroup extends AuditGroup_base {
|
|
1150
1150
|
}
|
|
1151
|
-
declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.HttpApiGroup<"accounts", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/accounts/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof Account>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"
|
|
1152
|
-
readonly week: Schema.String;
|
|
1153
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/stats/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1154
|
-
readonly week: Schema.String;
|
|
1155
|
-
readonly repo: Schema.optional<Schema.String>;
|
|
1156
|
-
readonly author: Schema.optional<Schema.String>;
|
|
1157
|
-
readonly account: Schema.optional<Schema.String>;
|
|
1158
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1159
|
-
readonly week: Schema.String;
|
|
1160
|
-
readonly weekStart: Schema.String;
|
|
1161
|
-
readonly weekEnd: Schema.String;
|
|
1162
|
-
readonly dataAvailableSince: Schema.NullOr<Schema.String>;
|
|
1163
|
-
readonly prsCreated: Schema.Number;
|
|
1164
|
-
readonly prsMerged: Schema.Number;
|
|
1165
|
-
readonly prsClosed: Schema.Number;
|
|
1166
|
-
readonly totalComments: Schema.Number;
|
|
1167
|
-
readonly topContributors: Schema.$Array<Schema.Struct<{
|
|
1168
|
-
readonly author: Schema.String;
|
|
1169
|
-
readonly prCount: Schema.Number;
|
|
1170
|
-
}>>;
|
|
1171
|
-
readonly topReviewers: Schema.$Array<Schema.Struct<{
|
|
1172
|
-
readonly author: Schema.String;
|
|
1173
|
-
readonly commentCount: Schema.Number;
|
|
1174
|
-
}>>;
|
|
1175
|
-
readonly topApprovers: Schema.$Array<Schema.Struct<{
|
|
1176
|
-
readonly author: Schema.String;
|
|
1177
|
-
readonly approvalCount: Schema.Number;
|
|
1178
|
-
}>>;
|
|
1179
|
-
readonly medianTimeToMerge: Schema.NullOr<Schema.Number>;
|
|
1180
|
-
readonly medianTimeToFirstReview: Schema.NullOr<Schema.Number>;
|
|
1181
|
-
readonly medianTimeToAddressFeedback: Schema.NullOr<Schema.Number>;
|
|
1182
|
-
readonly mergeTimeDetails: Schema.$Array<Schema.Struct<{
|
|
1183
|
-
readonly prId: Schema.String;
|
|
1184
|
-
readonly prTitle: Schema.String;
|
|
1185
|
-
readonly author: Schema.String;
|
|
1186
|
-
readonly repositoryName: Schema.String;
|
|
1187
|
-
readonly accountRegion: Schema.String;
|
|
1188
|
-
readonly awsAccountId: Schema.String;
|
|
1189
|
-
readonly durationMs: Schema.Number;
|
|
1190
|
-
readonly fromLabel: Schema.String;
|
|
1191
|
-
readonly toLabel: Schema.String;
|
|
1192
|
-
}>>;
|
|
1193
|
-
readonly firstReviewDetails: Schema.$Array<Schema.Struct<{
|
|
1194
|
-
readonly prId: Schema.String;
|
|
1195
|
-
readonly prTitle: Schema.String;
|
|
1196
|
-
readonly author: Schema.String;
|
|
1197
|
-
readonly repositoryName: Schema.String;
|
|
1198
|
-
readonly accountRegion: Schema.String;
|
|
1199
|
-
readonly awsAccountId: Schema.String;
|
|
1200
|
-
readonly durationMs: Schema.Number;
|
|
1201
|
-
readonly fromLabel: Schema.String;
|
|
1202
|
-
readonly toLabel: Schema.String;
|
|
1203
|
-
}>>;
|
|
1204
|
-
readonly feedbackDetails: Schema.$Array<Schema.Struct<{
|
|
1205
|
-
readonly prId: Schema.String;
|
|
1206
|
-
readonly prTitle: Schema.String;
|
|
1207
|
-
readonly author: Schema.String;
|
|
1208
|
-
readonly repositoryName: Schema.String;
|
|
1209
|
-
readonly accountRegion: Schema.String;
|
|
1210
|
-
readonly awsAccountId: Schema.String;
|
|
1211
|
-
readonly durationMs: Schema.Number;
|
|
1212
|
-
readonly fromLabel: Schema.String;
|
|
1213
|
-
readonly toLabel: Schema.String;
|
|
1214
|
-
}>>;
|
|
1215
|
-
readonly mostActivePRs: Schema.$Array<Schema.Struct<{
|
|
1216
|
-
readonly id: Schema.String;
|
|
1217
|
-
readonly title: Schema.String;
|
|
1218
|
-
readonly author: Schema.String;
|
|
1219
|
-
readonly repositoryName: Schema.String;
|
|
1220
|
-
readonly accountRegion: Schema.String;
|
|
1221
|
-
readonly commentCount: Schema.Number;
|
|
1222
|
-
readonly awsAccountId: Schema.String;
|
|
1223
|
-
}>>;
|
|
1224
|
-
readonly prSizeDistribution: Schema.Struct<{
|
|
1225
|
-
readonly small: Schema.Number;
|
|
1226
|
-
readonly medium: Schema.Number;
|
|
1227
|
-
readonly large: Schema.Number;
|
|
1228
|
-
readonly extraLarge: Schema.Number;
|
|
1229
|
-
}>;
|
|
1230
|
-
readonly avgDiffSize: Schema.NullOr<Schema.Struct<{
|
|
1231
|
-
readonly filesAdded: Schema.Number;
|
|
1232
|
-
readonly filesModified: Schema.Number;
|
|
1233
|
-
readonly filesDeleted: Schema.Number;
|
|
1234
|
-
}>>;
|
|
1235
|
-
readonly diffSizeByContributor: Schema.$Array<Schema.Struct<{
|
|
1236
|
-
readonly author: Schema.String;
|
|
1237
|
-
readonly avgFilesChanged: Schema.Number;
|
|
1238
|
-
readonly prCount: Schema.Number;
|
|
1239
|
-
}>>;
|
|
1240
|
-
readonly stalePRs: Schema.$Array<Schema.Struct<{
|
|
1241
|
-
readonly id: Schema.String;
|
|
1242
|
-
readonly title: Schema.String;
|
|
1243
|
-
readonly author: Schema.String;
|
|
1244
|
-
readonly repositoryName: Schema.String;
|
|
1245
|
-
readonly accountRegion: Schema.String;
|
|
1246
|
-
readonly daysSinceActivity: Schema.Number;
|
|
1247
|
-
readonly awsAccountId: Schema.String;
|
|
1248
|
-
}>>;
|
|
1249
|
-
readonly reviewCoverage: Schema.NullOr<Schema.Number>;
|
|
1250
|
-
readonly approvalRate: Schema.NullOr<Schema.Number>;
|
|
1251
|
-
readonly busFactor: Schema.NullOr<Schema.Struct<{
|
|
1252
|
-
readonly topContributorShare: Schema.Number;
|
|
1253
|
-
readonly uniqueContributors: Schema.Number;
|
|
1254
|
-
}>>;
|
|
1255
|
-
readonly availableRepos: Schema.$Array<Schema.String>;
|
|
1256
|
-
readonly availableAuthors: Schema.$Array<Schema.String>;
|
|
1257
|
-
readonly availableAccounts: Schema.$Array<Schema.String>;
|
|
1258
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoint.HttpApiEndpoint<"clear", "DELETE", "/api/audit/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1151
|
+
declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.HttpApiGroup<"accounts", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/accounts/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof Account>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoint.HttpApiEndpoint<"clear", "DELETE", "/api/audit/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1259
1152
|
readonly deleted: Schema.Number;
|
|
1260
1153
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/audit/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1261
1154
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
@@ -1291,131 +1184,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1291
1184
|
readonly permissionState: Schema.String;
|
|
1292
1185
|
readonly context: Schema.String;
|
|
1293
1186
|
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
1294
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"
|
|
1295
|
-
readonly awsAccountId: Schema.String;
|
|
1296
|
-
readonly pullRequestId: Schema.String;
|
|
1297
|
-
readonly repositoryName: Schema.NullOr<Schema.String>;
|
|
1298
|
-
readonly accountRegion: Schema.NullOr<Schema.String>;
|
|
1299
|
-
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1300
|
-
readonly awsAccountId: Schema.String;
|
|
1301
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1302
|
-
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1303
|
-
readonly region: Schema.optional<Schema.Trim>;
|
|
1304
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1305
|
-
readonly awsAccountId: Schema.String;
|
|
1306
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1307
|
-
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1308
|
-
readonly region: Schema.optional<Schema.Trim>;
|
|
1309
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"permissions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1310
|
-
readonly operation: Schema.String;
|
|
1311
|
-
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1312
|
-
readonly category: Schema.Literals<readonly ["read", "write"]>;
|
|
1313
|
-
readonly description: Schema.String;
|
|
1314
|
-
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/permissions/reset", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"respond", "POST", "/api/permissions/respond", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1315
|
-
readonly id: Schema.String;
|
|
1316
|
-
readonly response: Schema.Literals<readonly ["allow_once", "always_allow", "deny"]>;
|
|
1317
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1318
|
-
readonly operation: Schema.String;
|
|
1319
|
-
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1320
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1321
|
-
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
1322
|
-
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
1323
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"auditSettings", "GET", "/api/permissions/audit", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1324
|
-
readonly enabled: Schema.Boolean;
|
|
1325
|
-
readonly retentionDays: Schema.Number;
|
|
1326
|
-
}>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"markAllRead", "POST", "/api/notifications/read-all", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/notifications/read", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1327
|
-
readonly id: Schema.Number;
|
|
1328
|
-
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markUnread", "POST", "/api/notifications/unread", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1329
|
-
readonly id: Schema.Number;
|
|
1330
|
-
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogin", "POST", "/api/notifications/sso-login", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1331
|
-
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1332
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogout", "POST", "/api/notifications/sso-logout", never, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1333
|
-
readonly unread: Schema.Number;
|
|
1334
|
-
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1335
|
-
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1336
|
-
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1337
|
-
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
1338
|
-
readonly unreadOnly: Schema.optional<Schema.NumberFromString>;
|
|
1339
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1340
|
-
readonly items: Schema.$Array<Schema.Struct<{
|
|
1341
|
-
readonly id: Schema.Number;
|
|
1342
|
-
readonly pullRequestId: Schema.String;
|
|
1343
|
-
readonly awsAccountId: Schema.String;
|
|
1344
|
-
readonly type: Schema.String;
|
|
1345
|
-
readonly title: Schema.String;
|
|
1346
|
-
readonly profile: Schema.String;
|
|
1347
|
-
readonly repositoryName: Schema.String;
|
|
1348
|
-
readonly accountRegion: Schema.String;
|
|
1349
|
-
readonly message: Schema.String;
|
|
1350
|
-
readonly createdAt: Schema.String;
|
|
1351
|
-
readonly read: Schema.Number;
|
|
1352
|
-
}>>;
|
|
1353
|
-
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1354
|
-
}>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1355
|
-
readonly id: Schema.String;
|
|
1356
|
-
readonly pullRequestId: Schema.String;
|
|
1357
|
-
readonly awsAccountId: Schema.String;
|
|
1358
|
-
readonly region: Schema.NullOr<Schema.String>;
|
|
1359
|
-
readonly repositoryName: Schema.String;
|
|
1360
|
-
readonly sourceBranch: Schema.String;
|
|
1361
|
-
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1362
|
-
readonly port: Schema.NullOr<Schema.Number>;
|
|
1363
|
-
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1364
|
-
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1365
|
-
readonly logs: Schema.NullOr<Schema.String>;
|
|
1366
|
-
readonly error: Schema.NullOr<Schema.String>;
|
|
1367
|
-
readonly createdAt: Schema.String;
|
|
1368
|
-
readonly lastActivityAt: Schema.String;
|
|
1369
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1370
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1371
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
1372
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1373
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"stop", "POST", "/api/sandbox/:sandboxId/stop", Schema.toCodecStringTree<Schema.Struct<{
|
|
1374
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1375
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1376
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1377
|
-
readonly awsAccountId: Schema.String;
|
|
1378
|
-
readonly repositoryName: Schema.String;
|
|
1379
|
-
readonly sourceBranch: Schema.String;
|
|
1380
|
-
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1381
|
-
readonly region: Schema.String;
|
|
1382
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1383
|
-
readonly id: Schema.String;
|
|
1384
|
-
readonly pullRequestId: Schema.String;
|
|
1385
|
-
readonly awsAccountId: Schema.String;
|
|
1386
|
-
readonly region: Schema.NullOr<Schema.String>;
|
|
1387
|
-
readonly repositoryName: Schema.String;
|
|
1388
|
-
readonly sourceBranch: Schema.String;
|
|
1389
|
-
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1390
|
-
readonly port: Schema.NullOr<Schema.Number>;
|
|
1391
|
-
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1392
|
-
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1393
|
-
readonly logs: Schema.NullOr<Schema.String>;
|
|
1394
|
-
readonly error: Schema.NullOr<Schema.String>;
|
|
1395
|
-
readonly createdAt: Schema.String;
|
|
1396
|
-
readonly lastActivityAt: Schema.String;
|
|
1397
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1398
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1399
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1400
|
-
readonly id: Schema.String;
|
|
1401
|
-
readonly pullRequestId: Schema.String;
|
|
1402
|
-
readonly awsAccountId: Schema.String;
|
|
1403
|
-
readonly region: Schema.NullOr<Schema.String>;
|
|
1404
|
-
readonly repositoryName: Schema.String;
|
|
1405
|
-
readonly sourceBranch: Schema.String;
|
|
1406
|
-
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1407
|
-
readonly port: Schema.NullOr<Schema.Number>;
|
|
1408
|
-
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1409
|
-
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1410
|
-
readonly logs: Schema.NullOr<Schema.String>;
|
|
1411
|
-
readonly error: Schema.NullOr<Schema.String>;
|
|
1412
|
-
readonly createdAt: Schema.String;
|
|
1413
|
-
readonly lastActivityAt: Schema.String;
|
|
1414
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1415
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1416
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1417
|
-
readonly password: Schema.String;
|
|
1418
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1187
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1419
1188
|
readonly id: Schema.String;
|
|
1420
1189
|
readonly name: Schema.String;
|
|
1421
1190
|
readonly description: Schema.String;
|
|
@@ -1538,7 +1307,52 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1538
1307
|
}>>;
|
|
1539
1308
|
}>;
|
|
1540
1309
|
readonly refreshStatus: Schema.Literals<readonly ["refreshed", "failed"]>;
|
|
1541
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"
|
|
1310
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"events", HttpApiEndpoint.HttpApiEndpoint<"stream", "GET", "/api/events/", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/notifications/read", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1311
|
+
readonly id: Schema.Number;
|
|
1312
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markAllRead", "POST", "/api/notifications/read-all", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogin", "POST", "/api/notifications/sso-login", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1313
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1314
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogout", "POST", "/api/notifications/sso-logout", never, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markUnread", "POST", "/api/notifications/unread", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1315
|
+
readonly id: Schema.Number;
|
|
1316
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1317
|
+
readonly unread: Schema.Number;
|
|
1318
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1319
|
+
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1320
|
+
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1321
|
+
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
1322
|
+
readonly unreadOnly: Schema.optional<Schema.NumberFromString>;
|
|
1323
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1324
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1325
|
+
readonly id: Schema.Number;
|
|
1326
|
+
readonly pullRequestId: Schema.String;
|
|
1327
|
+
readonly awsAccountId: Schema.String;
|
|
1328
|
+
readonly type: Schema.String;
|
|
1329
|
+
readonly title: Schema.String;
|
|
1330
|
+
readonly profile: Schema.String;
|
|
1331
|
+
readonly repositoryName: Schema.String;
|
|
1332
|
+
readonly accountRegion: Schema.String;
|
|
1333
|
+
readonly message: Schema.String;
|
|
1334
|
+
readonly createdAt: Schema.String;
|
|
1335
|
+
readonly read: Schema.Number;
|
|
1336
|
+
}>>;
|
|
1337
|
+
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1338
|
+
}>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"permissions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1339
|
+
readonly operation: Schema.String;
|
|
1340
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1341
|
+
readonly category: Schema.Literals<readonly ["read", "write"]>;
|
|
1342
|
+
readonly description: Schema.String;
|
|
1343
|
+
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1344
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
1345
|
+
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
1346
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/permissions/reset", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"respond", "POST", "/api/permissions/respond", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1347
|
+
readonly id: Schema.String;
|
|
1348
|
+
readonly response: Schema.Literals<readonly ["allow_once", "always_allow", "deny"]>;
|
|
1349
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1350
|
+
readonly operation: Schema.String;
|
|
1351
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1352
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"auditSettings", "GET", "/api/permissions/audit", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1353
|
+
readonly enabled: Schema.Boolean;
|
|
1354
|
+
readonly retentionDays: Schema.Number;
|
|
1355
|
+
}>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/prs/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof PullRequest>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1542
1356
|
readonly repositoryName: Schema.String;
|
|
1543
1357
|
readonly title: Schema.String;
|
|
1544
1358
|
readonly description: Schema.optional<Schema.String>;
|
|
@@ -1551,6 +1365,12 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1551
1365
|
readonly requiredApprovals: Schema.Number;
|
|
1552
1366
|
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1553
1367
|
readonly account: typeof Account;
|
|
1368
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateApprovalRule", "PUT", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1369
|
+
readonly pullRequestId: Schema.String;
|
|
1370
|
+
readonly approvalRuleName: Schema.String;
|
|
1371
|
+
readonly requiredApprovals: Schema.Number;
|
|
1372
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1373
|
+
readonly account: typeof Account;
|
|
1554
1374
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"deleteApprovalRule", "DELETE", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1555
1375
|
readonly pullRequestId: Schema.String;
|
|
1556
1376
|
readonly approvalRuleName: Schema.String;
|
|
@@ -1558,13 +1378,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1558
1378
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1559
1379
|
readonly profile: Schema.String;
|
|
1560
1380
|
readonly link: Schema.String;
|
|
1561
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1562
|
-
readonly pullRequestId: Schema.String;
|
|
1563
|
-
readonly approvalRuleName: Schema.String;
|
|
1564
|
-
readonly requiredApprovals: Schema.Number;
|
|
1565
|
-
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1566
|
-
readonly account: typeof Account;
|
|
1567
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
1381
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refresh", "POST", "/api/prs/refresh", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
1568
1382
|
readonly awsAccountId: Schema.String;
|
|
1569
1383
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1570
1384
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -1812,7 +1626,193 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1812
1626
|
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
1813
1627
|
readonly before: Schema.NullOr<Schema.String>;
|
|
1814
1628
|
readonly after: Schema.NullOr<Schema.String>;
|
|
1815
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false
|
|
1629
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1630
|
+
readonly id: Schema.String;
|
|
1631
|
+
readonly pullRequestId: Schema.String;
|
|
1632
|
+
readonly awsAccountId: Schema.String;
|
|
1633
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1634
|
+
readonly repositoryName: Schema.String;
|
|
1635
|
+
readonly sourceBranch: Schema.String;
|
|
1636
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1637
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1638
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1639
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1640
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1641
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1642
|
+
readonly createdAt: Schema.String;
|
|
1643
|
+
readonly lastActivityAt: Schema.String;
|
|
1644
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1645
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1646
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
1647
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1648
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"stop", "POST", "/api/sandbox/:sandboxId/stop", Schema.toCodecStringTree<Schema.Struct<{
|
|
1649
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1650
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1651
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1652
|
+
readonly awsAccountId: Schema.String;
|
|
1653
|
+
readonly repositoryName: Schema.String;
|
|
1654
|
+
readonly sourceBranch: Schema.String;
|
|
1655
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1656
|
+
readonly region: Schema.String;
|
|
1657
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1658
|
+
readonly id: Schema.String;
|
|
1659
|
+
readonly pullRequestId: Schema.String;
|
|
1660
|
+
readonly awsAccountId: Schema.String;
|
|
1661
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1662
|
+
readonly repositoryName: Schema.String;
|
|
1663
|
+
readonly sourceBranch: Schema.String;
|
|
1664
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1665
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1666
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1667
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1668
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1669
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1670
|
+
readonly createdAt: Schema.String;
|
|
1671
|
+
readonly lastActivityAt: Schema.String;
|
|
1672
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1673
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1674
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1675
|
+
readonly id: Schema.String;
|
|
1676
|
+
readonly pullRequestId: Schema.String;
|
|
1677
|
+
readonly awsAccountId: Schema.String;
|
|
1678
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1679
|
+
readonly repositoryName: Schema.String;
|
|
1680
|
+
readonly sourceBranch: Schema.String;
|
|
1681
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1682
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1683
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1684
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1685
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1686
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1687
|
+
readonly createdAt: Schema.String;
|
|
1688
|
+
readonly lastActivityAt: Schema.String;
|
|
1689
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1690
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1691
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1692
|
+
readonly password: Schema.String;
|
|
1693
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoint.HttpApiEndpoint<"sync", "POST", "/api/stats/sync", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1694
|
+
readonly week: Schema.String;
|
|
1695
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/stats/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1696
|
+
readonly week: Schema.String;
|
|
1697
|
+
readonly repo: Schema.optional<Schema.String>;
|
|
1698
|
+
readonly author: Schema.optional<Schema.String>;
|
|
1699
|
+
readonly account: Schema.optional<Schema.String>;
|
|
1700
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1701
|
+
readonly week: Schema.String;
|
|
1702
|
+
readonly weekStart: Schema.String;
|
|
1703
|
+
readonly weekEnd: Schema.String;
|
|
1704
|
+
readonly dataAvailableSince: Schema.NullOr<Schema.String>;
|
|
1705
|
+
readonly prsCreated: Schema.Number;
|
|
1706
|
+
readonly prsMerged: Schema.Number;
|
|
1707
|
+
readonly prsClosed: Schema.Number;
|
|
1708
|
+
readonly totalComments: Schema.Number;
|
|
1709
|
+
readonly topContributors: Schema.$Array<Schema.Struct<{
|
|
1710
|
+
readonly author: Schema.String;
|
|
1711
|
+
readonly prCount: Schema.Number;
|
|
1712
|
+
}>>;
|
|
1713
|
+
readonly topReviewers: Schema.$Array<Schema.Struct<{
|
|
1714
|
+
readonly author: Schema.String;
|
|
1715
|
+
readonly commentCount: Schema.Number;
|
|
1716
|
+
}>>;
|
|
1717
|
+
readonly topApprovers: Schema.$Array<Schema.Struct<{
|
|
1718
|
+
readonly author: Schema.String;
|
|
1719
|
+
readonly approvalCount: Schema.Number;
|
|
1720
|
+
}>>;
|
|
1721
|
+
readonly medianTimeToMerge: Schema.NullOr<Schema.Number>;
|
|
1722
|
+
readonly medianTimeToFirstReview: Schema.NullOr<Schema.Number>;
|
|
1723
|
+
readonly medianTimeToAddressFeedback: Schema.NullOr<Schema.Number>;
|
|
1724
|
+
readonly mergeTimeDetails: Schema.$Array<Schema.Struct<{
|
|
1725
|
+
readonly prId: Schema.String;
|
|
1726
|
+
readonly prTitle: Schema.String;
|
|
1727
|
+
readonly author: Schema.String;
|
|
1728
|
+
readonly repositoryName: Schema.String;
|
|
1729
|
+
readonly accountRegion: Schema.String;
|
|
1730
|
+
readonly awsAccountId: Schema.String;
|
|
1731
|
+
readonly durationMs: Schema.Number;
|
|
1732
|
+
readonly fromLabel: Schema.String;
|
|
1733
|
+
readonly toLabel: Schema.String;
|
|
1734
|
+
}>>;
|
|
1735
|
+
readonly firstReviewDetails: Schema.$Array<Schema.Struct<{
|
|
1736
|
+
readonly prId: Schema.String;
|
|
1737
|
+
readonly prTitle: Schema.String;
|
|
1738
|
+
readonly author: Schema.String;
|
|
1739
|
+
readonly repositoryName: Schema.String;
|
|
1740
|
+
readonly accountRegion: Schema.String;
|
|
1741
|
+
readonly awsAccountId: Schema.String;
|
|
1742
|
+
readonly durationMs: Schema.Number;
|
|
1743
|
+
readonly fromLabel: Schema.String;
|
|
1744
|
+
readonly toLabel: Schema.String;
|
|
1745
|
+
}>>;
|
|
1746
|
+
readonly feedbackDetails: Schema.$Array<Schema.Struct<{
|
|
1747
|
+
readonly prId: Schema.String;
|
|
1748
|
+
readonly prTitle: Schema.String;
|
|
1749
|
+
readonly author: Schema.String;
|
|
1750
|
+
readonly repositoryName: Schema.String;
|
|
1751
|
+
readonly accountRegion: Schema.String;
|
|
1752
|
+
readonly awsAccountId: Schema.String;
|
|
1753
|
+
readonly durationMs: Schema.Number;
|
|
1754
|
+
readonly fromLabel: Schema.String;
|
|
1755
|
+
readonly toLabel: Schema.String;
|
|
1756
|
+
}>>;
|
|
1757
|
+
readonly mostActivePRs: Schema.$Array<Schema.Struct<{
|
|
1758
|
+
readonly id: Schema.String;
|
|
1759
|
+
readonly title: Schema.String;
|
|
1760
|
+
readonly author: Schema.String;
|
|
1761
|
+
readonly repositoryName: Schema.String;
|
|
1762
|
+
readonly accountRegion: Schema.String;
|
|
1763
|
+
readonly commentCount: Schema.Number;
|
|
1764
|
+
readonly awsAccountId: Schema.String;
|
|
1765
|
+
}>>;
|
|
1766
|
+
readonly prSizeDistribution: Schema.Struct<{
|
|
1767
|
+
readonly small: Schema.Number;
|
|
1768
|
+
readonly medium: Schema.Number;
|
|
1769
|
+
readonly large: Schema.Number;
|
|
1770
|
+
readonly extraLarge: Schema.Number;
|
|
1771
|
+
}>;
|
|
1772
|
+
readonly avgDiffSize: Schema.NullOr<Schema.Struct<{
|
|
1773
|
+
readonly filesAdded: Schema.Number;
|
|
1774
|
+
readonly filesModified: Schema.Number;
|
|
1775
|
+
readonly filesDeleted: Schema.Number;
|
|
1776
|
+
}>>;
|
|
1777
|
+
readonly diffSizeByContributor: Schema.$Array<Schema.Struct<{
|
|
1778
|
+
readonly author: Schema.String;
|
|
1779
|
+
readonly avgFilesChanged: Schema.Number;
|
|
1780
|
+
readonly prCount: Schema.Number;
|
|
1781
|
+
}>>;
|
|
1782
|
+
readonly stalePRs: Schema.$Array<Schema.Struct<{
|
|
1783
|
+
readonly id: Schema.String;
|
|
1784
|
+
readonly title: Schema.String;
|
|
1785
|
+
readonly author: Schema.String;
|
|
1786
|
+
readonly repositoryName: Schema.String;
|
|
1787
|
+
readonly accountRegion: Schema.String;
|
|
1788
|
+
readonly daysSinceActivity: Schema.Number;
|
|
1789
|
+
readonly awsAccountId: Schema.String;
|
|
1790
|
+
}>>;
|
|
1791
|
+
readonly reviewCoverage: Schema.NullOr<Schema.Number>;
|
|
1792
|
+
readonly approvalRate: Schema.NullOr<Schema.Number>;
|
|
1793
|
+
readonly busFactor: Schema.NullOr<Schema.Struct<{
|
|
1794
|
+
readonly topContributorShare: Schema.Number;
|
|
1795
|
+
readonly uniqueContributors: Schema.Number;
|
|
1796
|
+
}>>;
|
|
1797
|
+
readonly availableRepos: Schema.$Array<Schema.String>;
|
|
1798
|
+
readonly availableAuthors: Schema.$Array<Schema.String>;
|
|
1799
|
+
readonly availableAccounts: Schema.$Array<Schema.String>;
|
|
1800
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"subscriptions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/subscriptions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1801
|
+
readonly awsAccountId: Schema.String;
|
|
1802
|
+
readonly pullRequestId: Schema.String;
|
|
1803
|
+
readonly repositoryName: Schema.NullOr<Schema.String>;
|
|
1804
|
+
readonly accountRegion: Schema.NullOr<Schema.String>;
|
|
1805
|
+
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1806
|
+
readonly awsAccountId: Schema.String;
|
|
1807
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1808
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1809
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
1810
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1811
|
+
readonly awsAccountId: Schema.String;
|
|
1812
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1813
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1814
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
1815
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false>>;
|
|
1816
1816
|
export declare class CodeCommitApi extends CodeCommitApi_base {
|
|
1817
1817
|
}
|
|
1818
1818
|
//# sourceMappingURL=Api.d.ts.map
|
package/dist/server/Api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Api.d.ts","sourceRoot":"","sources":["../../src/server/Api.ts"],"names":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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGF,qBAAa,aAAc,SAAQ,kBAWJ;CAC7B"}
|
package/dist/server/Api.js
CHANGED
|
@@ -20,7 +20,7 @@ import { Account, AwsProfileName, AwsRegion, PRCommentLocationJson, PullRequest,
|
|
|
20
20
|
import { ReviewKind, ReviewProfileConfig, reviewProfileSkillLimit } from "@knpkv/codecommit-core/ReviewProfile.js";
|
|
21
21
|
import { WeeklyStats } from "@knpkv/codecommit-core/StatsService/WeeklyStats.js";
|
|
22
22
|
import { Schema } from "effect";
|
|
23
|
-
import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSecurity } from "effect/
|
|
23
|
+
import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSecurity } from "effect/http-api";
|
|
24
24
|
import { MAXIMUM_RELAY_REVIEW_MESSAGE_BYTES, MAXIMUM_RELAY_REVIEW_MESSAGE_JSON_BYTES, MAXIMUM_RELAY_REVIEW_RESULT_BYTES, MAXIMUM_RELAY_REVIEW_TURNS_BYTES } from "./review/ReviewPromptBudget.js";
|
|
25
25
|
const jsonByteEncoder = new TextEncoder();
|
|
26
26
|
// API error returned to clients for AWS failures
|