@unotest/protocol 0.47.0 → 0.48.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/CHANGELOG.md +32 -0
- package/dist/index.d.ts +406 -199
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -222,6 +222,11 @@ declare function makeRunId(name: string): string;
|
|
|
222
222
|
* to a literal `run` segment — uniqueness still comes from the ts +
|
|
223
223
|
* random suffix appended by `makeRunId`. */
|
|
224
224
|
declare function sanitizeRunIdSegment(name: string): string;
|
|
225
|
+
/** Whether `value` has the shape {@link makeRunId} gives — one directory
|
|
226
|
+
* name, nothing that could climb out of a runs root. For an id read from
|
|
227
|
+
* somewhere a suite writes (a collection's journal names its scenarios'
|
|
228
|
+
* runs) before it is ever joined into a path. */
|
|
229
|
+
declare function isRunId(value: string): boolean;
|
|
225
230
|
|
|
226
231
|
/** Epoch millis encoded in a runId, or null when the id does not follow
|
|
227
232
|
* `makeRunId`'s shape. Callers must handle null rather than guess — an
|
|
@@ -1039,6 +1044,255 @@ declare function parseBoxRunRequest(value: unknown): BoxRunRequest | null;
|
|
|
1039
1044
|
declare function parseBoxRunAccepted(value: unknown): BoxRunAccepted | null;
|
|
1040
1045
|
declare function parseBoxRunStatus(value: unknown): BoxRunStatus | null;
|
|
1041
1046
|
|
|
1047
|
+
/** The variable a box injects an environment's target under — what the
|
|
1048
|
+
* suite's `baseUrl` auto-wires from. */
|
|
1049
|
+
declare const TARGET_ENV_VAR = "APP_BASE_URL";
|
|
1050
|
+
/** Prefix of the runner's own settings (`UNOTEST_HEADED`,
|
|
1051
|
+
* `UNOTEST_LOG_LEVEL`, …). They configure the machine a run happens on,
|
|
1052
|
+
* never the suite, so an environment on a box neither receives them from
|
|
1053
|
+
* `env push` nor is asked for them by a bundle's declared names. One
|
|
1054
|
+
* predicate for both sides: they used to disagree, and a box warned about
|
|
1055
|
+
* names a push could never have sent. */
|
|
1056
|
+
declare const RUNNER_SETTING_PREFIX = "UNOTEST_";
|
|
1057
|
+
declare function isRunnerSetting(name: string): boolean;
|
|
1058
|
+
/** Token-door root, relative to the box origin. The project is decided by
|
|
1059
|
+
* the token (`Authorization: Bearer <token>`), so the path names only the
|
|
1060
|
+
* environment:
|
|
1061
|
+
*
|
|
1062
|
+
* PATCH /api/box/values/<env> merge into the three layers
|
|
1063
|
+
* PUT /api/box/values/<env> replace all three layers
|
|
1064
|
+
* PUT /api/box/values/<env>/target {"value": "https://…"}
|
|
1065
|
+
* DELETE /api/box/values/<env>/target back to the config's
|
|
1066
|
+
* PUT /api/box/values/<env>/variables/<NAME> {"value": "…"}
|
|
1067
|
+
* DELETE /api/box/values/<env>/variables/<NAME>
|
|
1068
|
+
* PUT /api/box/values/<env>/secrets/<NAME> {"value": "…"}
|
|
1069
|
+
* DELETE /api/box/values/<env>/secrets/<NAME>
|
|
1070
|
+
*/
|
|
1071
|
+
declare const BOX_VALUES_PATH = "/api/box/values";
|
|
1072
|
+
/** Session-door root: the same operations for a signed-in admin, with the
|
|
1073
|
+
* project spelled out because a session is not scoped to one. Reachable
|
|
1074
|
+
* through the guard only, which stamps the actor; also answers
|
|
1075
|
+
* `GET …/values` with the readable view ({@link BoxEnvValuesView}), and
|
|
1076
|
+
* reveals secrets on request:
|
|
1077
|
+
*
|
|
1078
|
+
* PUT /api/box/envs/<project>/<env>/values the batch,
|
|
1079
|
+
* with `null` for a secret to keep ({@link BoxEnvValuesReplaceRequest})
|
|
1080
|
+
* GET /api/box/envs/<project>/<env>/values/secrets/<NAME>/reveal
|
|
1081
|
+
* GET /api/box/envs/<project>/<env>/values/reveal all secrets
|
|
1082
|
+
*/
|
|
1083
|
+
declare const BOX_ENV_VALUES_SEGMENT = "values";
|
|
1084
|
+
/** The verb a reveal path ends with. `reveal` is a legal variable name, so
|
|
1085
|
+
* the verb never sits in a NAME slot: for one secret it hangs BELOW the
|
|
1086
|
+
* name (a name has no children, nothing else can be there), for all of
|
|
1087
|
+
* them it hangs off the values root beside the kind segments, where a
|
|
1088
|
+
* name never appears. Each shape is distinct by segment count and literal
|
|
1089
|
+
* alone — no route has to lean on the HTTP method to tell a secret called
|
|
1090
|
+
* `reveal` from the verb. */
|
|
1091
|
+
declare const BOX_REVEAL_SEGMENT = "reveal";
|
|
1092
|
+
type BoxValueKind = "target" | "variable" | "secret";
|
|
1093
|
+
/** Kind for a path segment, or null for anything else. */
|
|
1094
|
+
declare function boxValueKindOfSegment(segment: string): Exclude<BoxValueKind, "target"> | null;
|
|
1095
|
+
/** `/api/box/values/<env>` — the batch. */
|
|
1096
|
+
declare function boxValuesPath(environment: string): string;
|
|
1097
|
+
/** `/api/box/values/<env>/target` or `/api/box/values/<env>/<kind>/<NAME>`. */
|
|
1098
|
+
declare function boxValuePath(environment: string, kind: BoxValueKind, name?: string): string;
|
|
1099
|
+
/** `/api/box/envs/<project>/<env>/values`. */
|
|
1100
|
+
declare function boxEnvValuesPath(project: string, environment: string): string;
|
|
1101
|
+
/** `/api/box/envs/<project>/<env>/values/target` or `…/values/<kind>/<NAME>`. */
|
|
1102
|
+
declare function boxEnvValuePath(project: string, environment: string, kind: BoxValueKind, name?: string): string;
|
|
1103
|
+
/** `/api/box/envs/<project>/<env>/values/secrets/<NAME>/reveal` — one
|
|
1104
|
+
* secret's value, session door only. */
|
|
1105
|
+
declare function boxEnvSecretRevealPath(project: string, environment: string, name: string): string;
|
|
1106
|
+
/** `/api/box/envs/<project>/<env>/values/reveal` — every secret's value,
|
|
1107
|
+
* session door only. Not under `secrets/` — see {@link BOX_REVEAL_SEGMENT}
|
|
1108
|
+
* for why the verb sits beside the kinds rather than among the names. */
|
|
1109
|
+
declare function boxEnvSecretsRevealPath(project: string, environment: string): string;
|
|
1110
|
+
/** The batch: what the environment should hold from now on. Whole layers,
|
|
1111
|
+
* not a diff — a name absent here is removed from the box. `target`
|
|
1112
|
+
* absent = drop the override, back to the operator's config. What the
|
|
1113
|
+
* admin's page sends; `env push` merges instead
|
|
1114
|
+
* ({@link BoxValuesMergeRequest}). */
|
|
1115
|
+
interface BoxValuesReplaceRequest {
|
|
1116
|
+
target?: string;
|
|
1117
|
+
variables: Record<string, string>;
|
|
1118
|
+
secrets: Record<string, string>;
|
|
1119
|
+
}
|
|
1120
|
+
/** The token-door merge, `PATCH /api/box/values/<env>`: every name in the
|
|
1121
|
+
* batch is set, a name the box holds and the batch does not stays — a
|
|
1122
|
+
* value someone put there with `env set` is not the pusher's to drop
|
|
1123
|
+
* silently. `target` absent keeps the override. A name sent in the other
|
|
1124
|
+
* layer than the box holds it moves there.
|
|
1125
|
+
*
|
|
1126
|
+
* `prune` drops what the batch does not carry, target included — except
|
|
1127
|
+
* runner settings ({@link isRunnerSetting}): a push never sends those, so
|
|
1128
|
+
* their absence from a batch says nothing about whether they are wanted. */
|
|
1129
|
+
interface BoxValuesMergeRequest extends BoxValuesReplaceRequest {
|
|
1130
|
+
prune?: boolean;
|
|
1131
|
+
}
|
|
1132
|
+
/** The session-door batch: the same whole-layer replace, except that a
|
|
1133
|
+
* secret may be sent as `null` — "keep whatever the box holds". The
|
|
1134
|
+
* admin's page never has the values of secrets it did not reveal, and
|
|
1135
|
+
* revealing them all just to send them back would fill the audit log
|
|
1136
|
+
* with looks nobody took. A name absent from `secrets` is still removed;
|
|
1137
|
+
* `null` keeps only a secret that exists (the box decides what a `null`
|
|
1138
|
+
* for an unknown name means). The token door has no such sentinel: a
|
|
1139
|
+
* pusher holds the real values. */
|
|
1140
|
+
interface BoxEnvValuesReplaceRequest extends Omit<BoxValuesReplaceRequest, "secrets"> {
|
|
1141
|
+
secrets: Record<string, string | null>;
|
|
1142
|
+
}
|
|
1143
|
+
interface BoxValueSetRequest {
|
|
1144
|
+
value: string;
|
|
1145
|
+
}
|
|
1146
|
+
/** Null for anything we will not act on. Names are validated here so a
|
|
1147
|
+
* key that could not be a variable never reaches a store; the RESERVED
|
|
1148
|
+
* name ({@link TARGET_ENV_VAR}) is not a parse failure — the box answers
|
|
1149
|
+
* it with its own code, because the fix is different ("send it as the
|
|
1150
|
+
* target", not "fix your JSON"). */
|
|
1151
|
+
declare function parseBoxValuesReplaceRequest(value: unknown): BoxValuesReplaceRequest | null;
|
|
1152
|
+
/** The session-door batch; `null` is a legal secret value, nothing else
|
|
1153
|
+
* beyond {@link parseBoxValuesReplaceRequest} changes. */
|
|
1154
|
+
declare function parseBoxEnvValuesReplaceRequest(value: unknown): BoxEnvValuesReplaceRequest | null;
|
|
1155
|
+
/** The token-door merge: the replace batch plus an optional `prune`. */
|
|
1156
|
+
declare function parseBoxValuesMergeRequest(value: unknown): BoxValuesMergeRequest | null;
|
|
1157
|
+
declare function parseBoxValueSetRequest(value: unknown): BoxValueSetRequest | null;
|
|
1158
|
+
/** Names in a batch that may not be set as a variable or a secret. */
|
|
1159
|
+
declare function reservedBoxValueNames(request: {
|
|
1160
|
+
variables: Record<string, unknown>;
|
|
1161
|
+
secrets: Record<string, unknown>;
|
|
1162
|
+
}): string[];
|
|
1163
|
+
/** Names per layer; `target` says whether the override is among them. */
|
|
1164
|
+
interface BoxValueNames {
|
|
1165
|
+
target: boolean;
|
|
1166
|
+
variables: string[];
|
|
1167
|
+
secrets: string[];
|
|
1168
|
+
}
|
|
1169
|
+
/** What the environment holds after a batch, by NAME, and what the batch
|
|
1170
|
+
* took away — so the CLI can say "removed STALE_KEY" instead of leaving
|
|
1171
|
+
* the pusher to diff two listings. */
|
|
1172
|
+
interface BoxValuesReplaced {
|
|
1173
|
+
status: "replaced";
|
|
1174
|
+
environment: string;
|
|
1175
|
+
/** Whether a target override is now in place. */
|
|
1176
|
+
target: boolean;
|
|
1177
|
+
variables: string[];
|
|
1178
|
+
secrets: string[];
|
|
1179
|
+
removed: BoxValueNames;
|
|
1180
|
+
}
|
|
1181
|
+
/** What a merge did, by NAME: what the environment holds now, what the
|
|
1182
|
+
* batch set, what it left in place (`kept` — on the box, not in the
|
|
1183
|
+
* batch), what `prune` took away, and the names that changed layer
|
|
1184
|
+
* (`moved.secrets` = was a variable, now a secret). A moved name is in
|
|
1185
|
+
* `set`, never in `removed`: it is still there. */
|
|
1186
|
+
interface BoxValuesMerged {
|
|
1187
|
+
status: "merged";
|
|
1188
|
+
environment: string;
|
|
1189
|
+
target: boolean;
|
|
1190
|
+
variables: string[];
|
|
1191
|
+
secrets: string[];
|
|
1192
|
+
set: BoxValueNames;
|
|
1193
|
+
kept: BoxValueNames;
|
|
1194
|
+
removed: BoxValueNames;
|
|
1195
|
+
moved: {
|
|
1196
|
+
variables: string[];
|
|
1197
|
+
secrets: string[];
|
|
1198
|
+
};
|
|
1199
|
+
}
|
|
1200
|
+
interface BoxValueChanged {
|
|
1201
|
+
status: "set" | "removed";
|
|
1202
|
+
environment: string;
|
|
1203
|
+
kind: BoxValueKind;
|
|
1204
|
+
name?: string;
|
|
1205
|
+
}
|
|
1206
|
+
/** Why a values request was refused. A code, not a message — the CLI
|
|
1207
|
+
* turns each into its own advice. */
|
|
1208
|
+
type BoxValuesErrorCode =
|
|
1209
|
+
/** Missing, unknown or revoked token; or no actor on the session door. */
|
|
1210
|
+
"unauthorized"
|
|
1211
|
+
/** The token may push bundles but was not minted with the values scope. */
|
|
1212
|
+
| "forbidden"
|
|
1213
|
+
/** A valid token for a project this box does not serve. */
|
|
1214
|
+
| "scope-mismatch"
|
|
1215
|
+
/** The token's project has no environment of that name. */
|
|
1216
|
+
| "unknown-environment"
|
|
1217
|
+
/** A reveal, or a `null` in a session-door batch, named a secret the
|
|
1218
|
+
* environment does not hold. */
|
|
1219
|
+
| "unknown-secret"
|
|
1220
|
+
/** A variable or secret named {@link TARGET_ENV_VAR} — send it as the
|
|
1221
|
+
* target instead. */
|
|
1222
|
+
| "reserved"
|
|
1223
|
+
/** Not a readable request. */
|
|
1224
|
+
| "malformed"
|
|
1225
|
+
/** The box has the path but not the method — the daemon's router says
|
|
1226
|
+
* so for any path. On the values door it means a box older than the
|
|
1227
|
+
* request: a merging `env push` against a box that only replaces. The
|
|
1228
|
+
* box changed nothing. */
|
|
1229
|
+
| "method"
|
|
1230
|
+
/** A cloud-minted token whose `exp` has passed, with nothing else wrong
|
|
1231
|
+
* with it: this box's operator key signed it, for the right kind, for
|
|
1232
|
+
* this box. Its own code because the answer differs from every other
|
|
1233
|
+
* refusal — ask the cloud for another pair and retry, rather than "this
|
|
1234
|
+
* credential is wrong". Only the holder of a genuinely signed token for
|
|
1235
|
+
* THIS box ever sees it, so it tells a guesser nothing. */
|
|
1236
|
+
| "expired"
|
|
1237
|
+
/** This box has never read the operator's revocation list, so it cannot
|
|
1238
|
+
* tell a live cloud-minted token from a withdrawn one and takes
|
|
1239
|
+
* neither. A state of the BOX: send the SAME token again after
|
|
1240
|
+
* `retryAfterSeconds`, never mint a new one. */
|
|
1241
|
+
| "revocation-list-unavailable"
|
|
1242
|
+
/** A cloud-minted token that names no project, on a box that serves
|
|
1243
|
+
* several. The message lists them; the token has to name one. */
|
|
1244
|
+
| "ambiguous-project"
|
|
1245
|
+
/** The box could not write its state. Retryable. */
|
|
1246
|
+
| "storage";
|
|
1247
|
+
/** On an `unknown-environment` refusal, from a box that says it: the
|
|
1248
|
+
* project the caller's token belongs to and the environments it has —
|
|
1249
|
+
* so a client can list them and name the command that adds the missing
|
|
1250
|
+
* one. Never another project's names. */
|
|
1251
|
+
interface UnknownEnvironmentDetail {
|
|
1252
|
+
project: string;
|
|
1253
|
+
environments: string[];
|
|
1254
|
+
}
|
|
1255
|
+
interface BoxValuesError {
|
|
1256
|
+
error: {
|
|
1257
|
+
code: BoxValuesErrorCode;
|
|
1258
|
+
message: string;
|
|
1259
|
+
} & Partial<UnknownEnvironmentDetail>;
|
|
1260
|
+
}
|
|
1261
|
+
/** The detail of a refusal, when it is there and readable. Advisory: a
|
|
1262
|
+
* field of the wrong shape drops the detail, never the refusal. */
|
|
1263
|
+
declare function parseUnknownEnvironmentDetail(error: Record<string, unknown>): Partial<UnknownEnvironmentDetail>;
|
|
1264
|
+
type BoxValuesResponse = BoxValuesReplaced | BoxValuesMerged | BoxValueChanged | BoxValuesError;
|
|
1265
|
+
/** Parse a box's answer. Null when the body is not one of ours at all —
|
|
1266
|
+
* a proxy's HTML error page, a captive portal — which the caller reports
|
|
1267
|
+
* as "that URL is not a box". */
|
|
1268
|
+
declare function parseBoxValuesResponse(value: unknown): BoxValuesResponse | null;
|
|
1269
|
+
/** One secret's value, from `GET …/secrets/<NAME>/reveal`. */
|
|
1270
|
+
interface BoxSecretRevealResponse {
|
|
1271
|
+
value: string;
|
|
1272
|
+
}
|
|
1273
|
+
/** Every secret's value by name, from `GET …/values/reveal`. */
|
|
1274
|
+
type BoxSecretsRevealResponse = Record<string, string>;
|
|
1275
|
+
declare function parseBoxSecretRevealResponse(value: unknown): BoxSecretRevealResponse | null;
|
|
1276
|
+
declare function parseBoxSecretsRevealResponse(value: unknown): BoxSecretsRevealResponse | null;
|
|
1277
|
+
/** What an admin sees: where each non-secret value comes from, and the
|
|
1278
|
+
* NAMES of the secrets. A secret's value is never in the view — it comes
|
|
1279
|
+
* back only through a reveal ({@link parseBoxSecretRevealResponse}), one
|
|
1280
|
+
* request per look. */
|
|
1281
|
+
interface BoxEnvValuesView {
|
|
1282
|
+
project: string;
|
|
1283
|
+
environment: string;
|
|
1284
|
+
target: {
|
|
1285
|
+
configured: string;
|
|
1286
|
+
override: string | null;
|
|
1287
|
+
};
|
|
1288
|
+
variables: {
|
|
1289
|
+
name: string;
|
|
1290
|
+
value: string;
|
|
1291
|
+
source: "config" | "box";
|
|
1292
|
+
}[];
|
|
1293
|
+
secrets: string[];
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1042
1296
|
/** Run endpoint, relative to the box origin:
|
|
1043
1297
|
* `POST <origin>/api/box/ci/run` with `Authorization: Bearer <token>` —
|
|
1044
1298
|
* the same project token that uploaded the bundle. */
|
|
@@ -1158,7 +1412,7 @@ interface CiRunError {
|
|
|
1158
1412
|
error: {
|
|
1159
1413
|
code: CiRunErrorCode;
|
|
1160
1414
|
message: string;
|
|
1161
|
-
}
|
|
1415
|
+
} & Partial<UnknownEnvironmentDetail>;
|
|
1162
1416
|
}
|
|
1163
1417
|
type CiRunResponse = CiRunAccepted | CiRunError;
|
|
1164
1418
|
/** Why a run's state was not given. The door's own refusals, plus one:
|
|
@@ -1188,6 +1442,44 @@ declare function parseCiRunResponse(value: unknown): CiRunResponse | null;
|
|
|
1188
1442
|
/** Structural validation of the CI provenance carried on a queue ticket.
|
|
1189
1443
|
* Shared by the ticket parser and by whoever reads a ticket back. */
|
|
1190
1444
|
declare function parseCiProvider(value: unknown): CiProviderId | null;
|
|
1445
|
+
/** `GET /api/box/ci/runs/<runId>/lines?after=<n>` — what the run printed,
|
|
1446
|
+
* for a CI log. Same door and same owner rule as the status: a run this
|
|
1447
|
+
* token ordered, and nothing else. */
|
|
1448
|
+
declare function ciRunLinesPath(runId: string): string;
|
|
1449
|
+
/** The query parameter the cursor travels in. */
|
|
1450
|
+
declare const CI_RUN_LINES_AFTER = "after";
|
|
1451
|
+
/** Most lines one answer carries; `next` leads on to the rest. */
|
|
1452
|
+
declare const CI_RUN_LINES_MAX = 500;
|
|
1453
|
+
/** One line of a run, read off its journal. The box decides what is
|
|
1454
|
+
* worth a CI log (a scenario starting and ending, a failed step with its
|
|
1455
|
+
* error, `log` and `note`); the client decides how it looks. Secrets are
|
|
1456
|
+
* masked before the line leaves the box. */
|
|
1457
|
+
interface CiRunLine {
|
|
1458
|
+
kind: "scenario-started" | "step-failed" | "log" | "note" | "scenario-finished";
|
|
1459
|
+
/** The scenario the line belongs to. */
|
|
1460
|
+
scenario: string;
|
|
1461
|
+
/** `step-failed`: `file:line ErrorName: message`; `log` / `note`: the
|
|
1462
|
+
* text (a note as `label: text`); the scenario lines: empty. */
|
|
1463
|
+
text: string;
|
|
1464
|
+
/** `scenario-finished` only. */
|
|
1465
|
+
outcome?: RunOutcome;
|
|
1466
|
+
}
|
|
1467
|
+
interface CiRunLines {
|
|
1468
|
+
runId: string;
|
|
1469
|
+
lines: CiRunLine[];
|
|
1470
|
+
/** The cursor for the next ask: lines already given out, counted from
|
|
1471
|
+
* the start of the run. Stable — a line once given is never given
|
|
1472
|
+
* again under another number. */
|
|
1473
|
+
next: number;
|
|
1474
|
+
/** The journal has its ending: no line will follow. */
|
|
1475
|
+
done: boolean;
|
|
1476
|
+
}
|
|
1477
|
+
type CiRunLinesResponse = CiRunLines | CiRunStatusError;
|
|
1478
|
+
/** Parse a box's answer. Null when it is not one of ours. A refusal is in
|
|
1479
|
+
* the status vocabulary — and an older box, which has no such route,
|
|
1480
|
+
* answers `malformed`, which this parser does not take: the caller reads
|
|
1481
|
+
* that as "this box does not stream lines". */
|
|
1482
|
+
declare function parseCiRunLinesResponse(value: unknown): CiRunLinesResponse | null;
|
|
1191
1483
|
|
|
1192
1484
|
/** Queue root under `unotest/`, mirroring the two axes of `runsDirFor`:
|
|
1193
1485
|
* TARGET (dash) and ENVIRONMENT (dot) — `.queue`, `.queue-mobile`,
|
|
@@ -1661,6 +1953,78 @@ type BundleUploadResponse = BundleUploadOk | BundleUploadError;
|
|
|
1661
1953
|
* a proxy's HTML error page, a captive portal — which the caller reports
|
|
1662
1954
|
* as "that URL is not a box" rather than as a bundle problem. */
|
|
1663
1955
|
declare function parseBundleUploadResponse(value: unknown): BundleUploadResponse | null;
|
|
1956
|
+
/** `DELETE /api/box/bundles/<id>` with the project token, body optional:
|
|
1957
|
+
* `{"switchTo": "<id>"}` points every environment that runs the bundle at
|
|
1958
|
+
* another one of the same project first. */
|
|
1959
|
+
interface BundleRemoveRequest {
|
|
1960
|
+
switchTo?: string;
|
|
1961
|
+
}
|
|
1962
|
+
/** Null for a body that is not one; an absent body is `{}`. */
|
|
1963
|
+
declare function parseBundleRemoveRequest(value: unknown): BundleRemoveRequest | null;
|
|
1964
|
+
/** The bundle and its files are gone from the token's project. */
|
|
1965
|
+
interface BundleRemoved {
|
|
1966
|
+
status: "removed";
|
|
1967
|
+
bundleId: string;
|
|
1968
|
+
project: string;
|
|
1969
|
+
}
|
|
1970
|
+
/** `switchTo` was asked and the bundle was current somewhere: those
|
|
1971
|
+
* environments are switching, and the bundle is still there. Removal is
|
|
1972
|
+
* a second `bundle rm` once the switches land — the box keeps no pending
|
|
1973
|
+
* removal that a restart could drop without a word. */
|
|
1974
|
+
interface BundleSwitching {
|
|
1975
|
+
status: "switching";
|
|
1976
|
+
bundleId: string;
|
|
1977
|
+
project: string;
|
|
1978
|
+
switchTo: string;
|
|
1979
|
+
environments: string[];
|
|
1980
|
+
}
|
|
1981
|
+
type BundleRemoveOk = BundleRemoved | BundleSwitching;
|
|
1982
|
+
/** What holds a bundle that may not be removed yet. `current`: the
|
|
1983
|
+
* environment runs it; `followsBranch` is set when that environment
|
|
1984
|
+
* follows a branch and cannot be switched by hand. `waiting` / `running`:
|
|
1985
|
+
* a ticket in its queue — a run, or a switch to it — asked for it. */
|
|
1986
|
+
interface BundleUse {
|
|
1987
|
+
environment: string;
|
|
1988
|
+
reason: "current" | "waiting" | "running";
|
|
1989
|
+
followsBranch?: string;
|
|
1990
|
+
}
|
|
1991
|
+
type BundleRemoveErrorCode =
|
|
1992
|
+
/** Missing, unknown or revoked token. */
|
|
1993
|
+
"unauthorized"
|
|
1994
|
+
/** A token for a project this box does not serve. */
|
|
1995
|
+
| "scope-mismatch"
|
|
1996
|
+
/** See {@link BundleUploadErrorCode}. */
|
|
1997
|
+
| "expired" | "revocation-list-unavailable" | "ambiguous-project"
|
|
1998
|
+
/** The token's project holds no such bundle. Said the same way whether
|
|
1999
|
+
* another project holds it or none does: a token learns nothing about
|
|
2000
|
+
* projects that are not its own. */
|
|
2001
|
+
| "unknown-bundle"
|
|
2002
|
+
/** `switchTo` names a bundle the token's project does not hold. */
|
|
2003
|
+
| "unknown-target"
|
|
2004
|
+
/** Something still uses the bundle — `uses` says what. Nothing changed. */
|
|
2005
|
+
| "in-use"
|
|
2006
|
+
/** Not a bundle id, or not a readable body. */
|
|
2007
|
+
| "malformed"
|
|
2008
|
+
/** The box has the path but not the method: older than bundle removal.
|
|
2009
|
+
* Nothing changed. */
|
|
2010
|
+
| "method"
|
|
2011
|
+
/** The box could not remove it. Retryable. */
|
|
2012
|
+
| "storage";
|
|
2013
|
+
interface BundleRemoveErrorDetail {
|
|
2014
|
+
/** On `in-use`. */
|
|
2015
|
+
uses?: BundleUse[];
|
|
2016
|
+
/** The project the presented token is scoped to. */
|
|
2017
|
+
project?: string;
|
|
2018
|
+
}
|
|
2019
|
+
interface BundleRemoveError {
|
|
2020
|
+
error: {
|
|
2021
|
+
code: BundleRemoveErrorCode;
|
|
2022
|
+
message: string;
|
|
2023
|
+
} & BundleRemoveErrorDetail;
|
|
2024
|
+
}
|
|
2025
|
+
type BundleRemoveResponse = BundleRemoveOk | BundleRemoveError;
|
|
2026
|
+
/** Parse a box's answer to a removal; null when it is not one of ours. */
|
|
2027
|
+
declare function parseBundleRemoveResponse(value: unknown): BundleRemoveResponse | null;
|
|
1664
2028
|
|
|
1665
2029
|
/** Engine for this run: `chromium` | `firefox` | `webkit`. Overrides the
|
|
1666
2030
|
* first entry of `config.browsers`. */
|
|
@@ -1687,203 +2051,6 @@ declare function encodeNameList(names: readonly string[]): string;
|
|
|
1687
2051
|
/** Decode a `*_NAMES_ENV` value; unset / blank → []. */
|
|
1688
2052
|
declare function decodeNameList(raw: string | undefined): string[];
|
|
1689
2053
|
|
|
1690
|
-
/** The variable a box injects an environment's target under — what the
|
|
1691
|
-
* suite's `baseUrl` auto-wires from. */
|
|
1692
|
-
declare const TARGET_ENV_VAR = "APP_BASE_URL";
|
|
1693
|
-
/** Prefix of the runner's own settings (`UNOTEST_HEADED`,
|
|
1694
|
-
* `UNOTEST_LOG_LEVEL`, …). They configure the machine a run happens on,
|
|
1695
|
-
* never the suite, so an environment on a box neither receives them from
|
|
1696
|
-
* `env push` nor is asked for them by a bundle's declared names. One
|
|
1697
|
-
* predicate for both sides: they used to disagree, and a box warned about
|
|
1698
|
-
* names a push could never have sent. */
|
|
1699
|
-
declare const RUNNER_SETTING_PREFIX = "UNOTEST_";
|
|
1700
|
-
declare function isRunnerSetting(name: string): boolean;
|
|
1701
|
-
/** Token-door root, relative to the box origin. The project is decided by
|
|
1702
|
-
* the token (`Authorization: Bearer <token>`), so the path names only the
|
|
1703
|
-
* environment:
|
|
1704
|
-
*
|
|
1705
|
-
* PUT /api/box/values/<env> replace all three layers
|
|
1706
|
-
* PUT /api/box/values/<env>/target {"value": "https://…"}
|
|
1707
|
-
* DELETE /api/box/values/<env>/target back to the config's
|
|
1708
|
-
* PUT /api/box/values/<env>/variables/<NAME> {"value": "…"}
|
|
1709
|
-
* DELETE /api/box/values/<env>/variables/<NAME>
|
|
1710
|
-
* PUT /api/box/values/<env>/secrets/<NAME> {"value": "…"}
|
|
1711
|
-
* DELETE /api/box/values/<env>/secrets/<NAME>
|
|
1712
|
-
*/
|
|
1713
|
-
declare const BOX_VALUES_PATH = "/api/box/values";
|
|
1714
|
-
/** Session-door root: the same operations for a signed-in admin, with the
|
|
1715
|
-
* project spelled out because a session is not scoped to one. Reachable
|
|
1716
|
-
* through the guard only, which stamps the actor; also answers
|
|
1717
|
-
* `GET …/values` with the readable view ({@link BoxEnvValuesView}), and
|
|
1718
|
-
* reveals secrets on request:
|
|
1719
|
-
*
|
|
1720
|
-
* PUT /api/box/envs/<project>/<env>/values the batch,
|
|
1721
|
-
* with `null` for a secret to keep ({@link BoxEnvValuesReplaceRequest})
|
|
1722
|
-
* GET /api/box/envs/<project>/<env>/values/secrets/<NAME>/reveal
|
|
1723
|
-
* GET /api/box/envs/<project>/<env>/values/reveal all secrets
|
|
1724
|
-
*/
|
|
1725
|
-
declare const BOX_ENV_VALUES_SEGMENT = "values";
|
|
1726
|
-
/** The verb a reveal path ends with. `reveal` is a legal variable name, so
|
|
1727
|
-
* the verb never sits in a NAME slot: for one secret it hangs BELOW the
|
|
1728
|
-
* name (a name has no children, nothing else can be there), for all of
|
|
1729
|
-
* them it hangs off the values root beside the kind segments, where a
|
|
1730
|
-
* name never appears. Each shape is distinct by segment count and literal
|
|
1731
|
-
* alone — no route has to lean on the HTTP method to tell a secret called
|
|
1732
|
-
* `reveal` from the verb. */
|
|
1733
|
-
declare const BOX_REVEAL_SEGMENT = "reveal";
|
|
1734
|
-
type BoxValueKind = "target" | "variable" | "secret";
|
|
1735
|
-
/** Kind for a path segment, or null for anything else. */
|
|
1736
|
-
declare function boxValueKindOfSegment(segment: string): Exclude<BoxValueKind, "target"> | null;
|
|
1737
|
-
/** `/api/box/values/<env>` — the batch. */
|
|
1738
|
-
declare function boxValuesPath(environment: string): string;
|
|
1739
|
-
/** `/api/box/values/<env>/target` or `/api/box/values/<env>/<kind>/<NAME>`. */
|
|
1740
|
-
declare function boxValuePath(environment: string, kind: BoxValueKind, name?: string): string;
|
|
1741
|
-
/** `/api/box/envs/<project>/<env>/values`. */
|
|
1742
|
-
declare function boxEnvValuesPath(project: string, environment: string): string;
|
|
1743
|
-
/** `/api/box/envs/<project>/<env>/values/target` or `…/values/<kind>/<NAME>`. */
|
|
1744
|
-
declare function boxEnvValuePath(project: string, environment: string, kind: BoxValueKind, name?: string): string;
|
|
1745
|
-
/** `/api/box/envs/<project>/<env>/values/secrets/<NAME>/reveal` — one
|
|
1746
|
-
* secret's value, session door only. */
|
|
1747
|
-
declare function boxEnvSecretRevealPath(project: string, environment: string, name: string): string;
|
|
1748
|
-
/** `/api/box/envs/<project>/<env>/values/reveal` — every secret's value,
|
|
1749
|
-
* session door only. Not under `secrets/` — see {@link BOX_REVEAL_SEGMENT}
|
|
1750
|
-
* for why the verb sits beside the kinds rather than among the names. */
|
|
1751
|
-
declare function boxEnvSecretsRevealPath(project: string, environment: string): string;
|
|
1752
|
-
/** The batch: what the environment should hold from now on. Whole layers,
|
|
1753
|
-
* not a diff — a name absent here is removed from the box, so the local
|
|
1754
|
-
* files stay the single description of the environment and nothing
|
|
1755
|
-
* lingers on the box that nobody can see from the repository. `target`
|
|
1756
|
-
* absent = drop the override, back to the operator's config. */
|
|
1757
|
-
interface BoxValuesReplaceRequest {
|
|
1758
|
-
target?: string;
|
|
1759
|
-
variables: Record<string, string>;
|
|
1760
|
-
secrets: Record<string, string>;
|
|
1761
|
-
}
|
|
1762
|
-
/** The session-door batch: the same whole-layer replace, except that a
|
|
1763
|
-
* secret may be sent as `null` — "keep whatever the box holds". The
|
|
1764
|
-
* admin's page never has the values of secrets it did not reveal, and
|
|
1765
|
-
* revealing them all just to send them back would fill the audit log
|
|
1766
|
-
* with looks nobody took. A name absent from `secrets` is still removed;
|
|
1767
|
-
* `null` keeps only a secret that exists (the box decides what a `null`
|
|
1768
|
-
* for an unknown name means). The token door has no such sentinel: a
|
|
1769
|
-
* pusher holds the real values. */
|
|
1770
|
-
interface BoxEnvValuesReplaceRequest extends Omit<BoxValuesReplaceRequest, "secrets"> {
|
|
1771
|
-
secrets: Record<string, string | null>;
|
|
1772
|
-
}
|
|
1773
|
-
interface BoxValueSetRequest {
|
|
1774
|
-
value: string;
|
|
1775
|
-
}
|
|
1776
|
-
/** Null for anything we will not act on. Names are validated here so a
|
|
1777
|
-
* key that could not be a variable never reaches a store; the RESERVED
|
|
1778
|
-
* name ({@link TARGET_ENV_VAR}) is not a parse failure — the box answers
|
|
1779
|
-
* it with its own code, because the fix is different ("send it as the
|
|
1780
|
-
* target", not "fix your JSON"). */
|
|
1781
|
-
declare function parseBoxValuesReplaceRequest(value: unknown): BoxValuesReplaceRequest | null;
|
|
1782
|
-
/** The session-door batch; `null` is a legal secret value, nothing else
|
|
1783
|
-
* beyond {@link parseBoxValuesReplaceRequest} changes. */
|
|
1784
|
-
declare function parseBoxEnvValuesReplaceRequest(value: unknown): BoxEnvValuesReplaceRequest | null;
|
|
1785
|
-
declare function parseBoxValueSetRequest(value: unknown): BoxValueSetRequest | null;
|
|
1786
|
-
/** Names in a batch that may not be set as a variable or a secret. */
|
|
1787
|
-
declare function reservedBoxValueNames(request: {
|
|
1788
|
-
variables: Record<string, unknown>;
|
|
1789
|
-
secrets: Record<string, unknown>;
|
|
1790
|
-
}): string[];
|
|
1791
|
-
/** What the environment holds after a batch, by NAME, and what the batch
|
|
1792
|
-
* took away — so the CLI can say "removed STALE_KEY" instead of leaving
|
|
1793
|
-
* the pusher to diff two listings. */
|
|
1794
|
-
interface BoxValuesReplaced {
|
|
1795
|
-
status: "replaced";
|
|
1796
|
-
environment: string;
|
|
1797
|
-
/** Whether a target override is now in place. */
|
|
1798
|
-
target: boolean;
|
|
1799
|
-
variables: string[];
|
|
1800
|
-
secrets: string[];
|
|
1801
|
-
removed: {
|
|
1802
|
-
target: boolean;
|
|
1803
|
-
variables: string[];
|
|
1804
|
-
secrets: string[];
|
|
1805
|
-
};
|
|
1806
|
-
}
|
|
1807
|
-
interface BoxValueChanged {
|
|
1808
|
-
status: "set" | "removed";
|
|
1809
|
-
environment: string;
|
|
1810
|
-
kind: BoxValueKind;
|
|
1811
|
-
name?: string;
|
|
1812
|
-
}
|
|
1813
|
-
/** Why a values request was refused. A code, not a message — the CLI
|
|
1814
|
-
* turns each into its own advice. */
|
|
1815
|
-
type BoxValuesErrorCode =
|
|
1816
|
-
/** Missing, unknown or revoked token; or no actor on the session door. */
|
|
1817
|
-
"unauthorized"
|
|
1818
|
-
/** The token may push bundles but was not minted with the values scope. */
|
|
1819
|
-
| "forbidden"
|
|
1820
|
-
/** A valid token for a project this box does not serve. */
|
|
1821
|
-
| "scope-mismatch"
|
|
1822
|
-
/** The token's project has no environment of that name. */
|
|
1823
|
-
| "unknown-environment"
|
|
1824
|
-
/** A reveal, or a `null` in a session-door batch, named a secret the
|
|
1825
|
-
* environment does not hold. */
|
|
1826
|
-
| "unknown-secret"
|
|
1827
|
-
/** A variable or secret named {@link TARGET_ENV_VAR} — send it as the
|
|
1828
|
-
* target instead. */
|
|
1829
|
-
| "reserved"
|
|
1830
|
-
/** Not a readable request. */
|
|
1831
|
-
| "malformed"
|
|
1832
|
-
/** A cloud-minted token whose `exp` has passed, with nothing else wrong
|
|
1833
|
-
* with it: this box's operator key signed it, for the right kind, for
|
|
1834
|
-
* this box. Its own code because the answer differs from every other
|
|
1835
|
-
* refusal — ask the cloud for another pair and retry, rather than "this
|
|
1836
|
-
* credential is wrong". Only the holder of a genuinely signed token for
|
|
1837
|
-
* THIS box ever sees it, so it tells a guesser nothing. */
|
|
1838
|
-
| "expired"
|
|
1839
|
-
/** This box has never read the operator's revocation list, so it cannot
|
|
1840
|
-
* tell a live cloud-minted token from a withdrawn one and takes
|
|
1841
|
-
* neither. A state of the BOX: send the SAME token again after
|
|
1842
|
-
* `retryAfterSeconds`, never mint a new one. */
|
|
1843
|
-
| "revocation-list-unavailable"
|
|
1844
|
-
/** A cloud-minted token that names no project, on a box that serves
|
|
1845
|
-
* several. The message lists them; the token has to name one. */
|
|
1846
|
-
| "ambiguous-project"
|
|
1847
|
-
/** The box could not write its state. Retryable. */
|
|
1848
|
-
| "storage";
|
|
1849
|
-
interface BoxValuesError {
|
|
1850
|
-
error: {
|
|
1851
|
-
code: BoxValuesErrorCode;
|
|
1852
|
-
message: string;
|
|
1853
|
-
};
|
|
1854
|
-
}
|
|
1855
|
-
type BoxValuesResponse = BoxValuesReplaced | BoxValueChanged | BoxValuesError;
|
|
1856
|
-
/** Parse a box's answer. Null when the body is not one of ours at all —
|
|
1857
|
-
* a proxy's HTML error page, a captive portal — which the caller reports
|
|
1858
|
-
* as "that URL is not a box". */
|
|
1859
|
-
declare function parseBoxValuesResponse(value: unknown): BoxValuesResponse | null;
|
|
1860
|
-
/** One secret's value, from `GET …/secrets/<NAME>/reveal`. */
|
|
1861
|
-
interface BoxSecretRevealResponse {
|
|
1862
|
-
value: string;
|
|
1863
|
-
}
|
|
1864
|
-
/** Every secret's value by name, from `GET …/values/reveal`. */
|
|
1865
|
-
type BoxSecretsRevealResponse = Record<string, string>;
|
|
1866
|
-
declare function parseBoxSecretRevealResponse(value: unknown): BoxSecretRevealResponse | null;
|
|
1867
|
-
declare function parseBoxSecretsRevealResponse(value: unknown): BoxSecretsRevealResponse | null;
|
|
1868
|
-
/** What an admin sees: where each non-secret value comes from, and the
|
|
1869
|
-
* NAMES of the secrets. A secret's value is never in the view — it comes
|
|
1870
|
-
* back only through a reveal ({@link parseBoxSecretRevealResponse}), one
|
|
1871
|
-
* request per look. */
|
|
1872
|
-
interface BoxEnvValuesView {
|
|
1873
|
-
project: string;
|
|
1874
|
-
environment: string;
|
|
1875
|
-
target: {
|
|
1876
|
-
configured: string;
|
|
1877
|
-
override: string | null;
|
|
1878
|
-
};
|
|
1879
|
-
variables: {
|
|
1880
|
-
name: string;
|
|
1881
|
-
value: string;
|
|
1882
|
-
source: "config" | "box";
|
|
1883
|
-
}[];
|
|
1884
|
-
secrets: string[];
|
|
1885
|
-
}
|
|
1886
|
-
|
|
1887
2054
|
declare const RUN_MANIFEST_FILE = "manifest.json";
|
|
1888
2055
|
interface RunManifest {
|
|
1889
2056
|
/** Format-version of this manifest. Bump only on breaking schema
|
|
@@ -2407,6 +2574,15 @@ interface WorkspaceFile {
|
|
|
2407
2574
|
* environment follows then. A viewer older than this field ignores it;
|
|
2408
2575
|
* a host older than it never writes it — and nothing is offered. */
|
|
2409
2576
|
follow?: WorkspaceFollow;
|
|
2577
|
+
/** The box's own version — what its operator sees, not the suite's
|
|
2578
|
+
* `@unotest/web`, which the viewer knows itself and which a customer
|
|
2579
|
+
* used to read as the box's (#229). A host older than the field writes
|
|
2580
|
+
* nothing, and the viewer labels only what it knows. */
|
|
2581
|
+
boxVersion?: string;
|
|
2582
|
+
/** The lowest `@unotest/web` this box runs suites on — the run
|
|
2583
|
+
* contract's floor, raised by the operator's config. A viewer running
|
|
2584
|
+
* on an older one says so. */
|
|
2585
|
+
minWebVersion?: string;
|
|
2410
2586
|
}
|
|
2411
2587
|
interface WorkspaceFollow {
|
|
2412
2588
|
path: string;
|
|
@@ -3027,6 +3203,37 @@ declare function replaceEnvVar(content: string, key: string, value: string): {
|
|
|
3027
3203
|
replaced: boolean;
|
|
3028
3204
|
};
|
|
3029
3205
|
|
|
3206
|
+
/** A secret's name and the value that must never be shown. */
|
|
3207
|
+
interface SecretValue {
|
|
3208
|
+
name: string;
|
|
3209
|
+
value: string;
|
|
3210
|
+
}
|
|
3211
|
+
/** What stands where a secret's value was. */
|
|
3212
|
+
declare function secretMark(name: string): string;
|
|
3213
|
+
/** The order masking needs: longest value first, so a secret that is a
|
|
3214
|
+
* substring of another does not mask the longer one partly; empty values
|
|
3215
|
+
* dropped, since they would match everywhere. */
|
|
3216
|
+
declare function orderSecretValues(secrets: Iterable<SecretValue>): SecretValue[];
|
|
3217
|
+
/** `text` with every value of `ordered` (see {@link orderSecretValues})
|
|
3218
|
+
* replaced by its mark. */
|
|
3219
|
+
declare function maskSecretValues(text: string, ordered: readonly SecretValue[]): string;
|
|
3220
|
+
|
|
3221
|
+
interface Version {
|
|
3222
|
+
major: number;
|
|
3223
|
+
minor: number;
|
|
3224
|
+
patch: number;
|
|
3225
|
+
}
|
|
3226
|
+
/** The lowest version a pin admits, or null when the pin says nothing we
|
|
3227
|
+
* can reason about (`*`, `latest`, a git URL, a workspace protocol). Null
|
|
3228
|
+
* means "unknown", and the caller treats unknown as "do not guess". */
|
|
3229
|
+
declare function lowestVersionOf(pin: string): Version | null;
|
|
3230
|
+
declare function compareVersions(a: Version, b: Version): number;
|
|
3231
|
+
/** True when the pin may install something older than the minimum. An
|
|
3232
|
+
* unreadable pin or minimum is NOT below: refusing over a version string
|
|
3233
|
+
* this check cannot read would break a legitimate setup, and a version
|
|
3234
|
+
* that really is too old fails loudly on its own. */
|
|
3235
|
+
declare function isBelowMinimum(pin: string, minimum: string): boolean;
|
|
3236
|
+
|
|
3030
3237
|
/** Which group the user is adding into. App/runner → `.env`, secret →
|
|
3031
3238
|
* `.secrets`. Mirrors VariableCategory as an INPUT (the user's choice). */
|
|
3032
3239
|
type VariableKind = VariableCategory;
|
|
@@ -3712,4 +3919,4 @@ interface CloudApiRouteMatch {
|
|
|
3712
3919
|
*/
|
|
3713
3920
|
declare function matchCloudApiRoute(method: string, path: string): CloudApiRouteMatch | undefined;
|
|
3714
3921
|
|
|
3715
|
-
export { ACTOR_TICKET_HEADER, ARTIFACTS_ROOT_ENV, type AddVariablePlan, type AddVariablePlanInput, type AppPathPickerSpec, type AppServerEvent, type ApprovalAction, type ApprovalPrice, type AuthoringRunRequest, BLOBS_DIR, BOX_DELETE_CONSEQUENCE, BOX_ENV_VALUES_SEGMENT, BOX_NOTIFY_CHANNEL_KINDS, BOX_NOTIFY_EVENTS, BOX_NOTIFY_PATH, BOX_NOTIFY_STATES, BOX_NOTIFY_TRIGGER_KINDS, BOX_PUSH_TOKEN_PREFIX, BOX_READ_ENVIRONMENTS_PATH, BOX_READ_ENVIRONMENT_HEADER, BOX_READ_TOKEN_ENV, BOX_READ_TOKEN_PREFIX, BOX_REVEAL_SEGMENT, BOX_REVOCATIONS_RETRY_AFTER_SECONDS, BOX_RUNS_SEGMENT, BOX_SECRET_NAMES_ENV, BOX_SIGNED_TOKEN, BOX_SIGNED_TOKEN_PREFIX, BOX_TOKEN_ENV, BOX_URL_ENV, BOX_VALUES_PATH, BOX_VARIABLE_NAMES_ENV, BROWSER_CHANNEL_ENV, BROWSER_ENV, BUNDLED_BROWSER_CHANNEL, BUNDLE_ID_ENV, BUNDLE_MANIFEST_FILE, BUNDLE_SCHEMA_VERSION, BUNDLE_UPLOAD_PATH, type BoxEnvValuesReplaceRequest, type BoxEnvValuesView, type BoxNotifyChanged, type BoxNotifyChannelKind, type BoxNotifyChannelView, type BoxNotifyChannelWrite, type BoxNotifyEnabledPatch, type BoxNotifyError, type BoxNotifyErrorCode, type BoxNotifyEvent, type BoxNotifyLastDelivery, type BoxNotifyMute, type BoxNotifyMuteScope, type BoxNotifyMuteWrite, type BoxNotifyPreview, type BoxNotifyProjectView, type BoxNotifyQuietHours, type BoxNotifyQuietHoursWrite, type BoxNotifyRule, type BoxNotifyRuleWrite, type BoxNotifySecret, type BoxNotifySeriesEntry, type BoxNotifySeriesView, type BoxNotifyState, type BoxNotifyTestResult, type BoxNotifyTriggerKind, type BoxNotifyView, type BoxReadEnvironment, type BoxReadErrorBody, type BoxReadErrorCode, type BoxReadInstall, type BoxRunAccepted, type BoxRunRequest, type BoxRunState, type BoxRunStatus, type BoxSecretRevealResponse, type BoxSecretsRevealResponse, type BoxValueChanged, type BoxValueKind, type BoxValueSetRequest, type BoxValuesError, type BoxValuesErrorCode, type BoxValuesReplaceRequest, type BoxValuesReplaced, type BoxValuesResponse, type BreakpointEntry, type BreakpointsFile, type BundleGitInfo, type BundleManifest, type BundleScopeMismatch, type BundleUnmappedRepo, type BundleUploadError, type BundleUploadErrorCode, type BundleUploadErrorDetail, type BundleUploadOk, type BundleUploadResponse, type BundleUploadStatus, type BundleVariableGap, CI_RUNS_PATH, CI_RUN_PATH, CLOUD_API_ROUTES, COLLECTIONS_SUBDIR, COLLECTION_NAME_FORBIDDEN_RE, COMMANDS_FILE, type CheckSeverity, type CiProviderId, type CiQueuedRun, type CiRunAccepted, type CiRunError, type CiRunErrorCode, type CiRunRequest, type CiRunResponse, type CiRunStatusError, type CiRunStatusErrorCode, type CiRunStatusResponse, type CloudApiRoute, type CloudApiRouteMatch, type CollectionMeta, type CollectionRunArtifact, type CollectionRunFinishedEvent, type CollectionRunRequest, type CollectionRunStartedEvent, type CollectionRunTab, type CollectionScenarioFinishedEvent, type CollectionScenarioStartedEvent, type CollectionScheduleEntry, type CollectionTab, type ContextTagged, DAY_INDEX_FILE, DAY_SHORT, DEFAULT_COLLECTION_NAME, type DbgCommand, type DbgCommandAbort, type DbgCommandClearBp, type DbgCommandContinue, type DbgCommandKind, type DbgCommandPause, type DbgCommandPickerStart, type DbgCommandPickerStop, type DbgCommandProbe, type DbgCommandRecord, type DbgCommandSetBp, type DbgCommandSnapshot, type DbgCommandStep, type DbgCommandWheel, type DebugCapabilities, type DoctorCheck, type DoctorContext, type DownloadEvent, type DslDiagnostic, type DslValidateContext, type DslVocabArg, type DslVocabCategory, type DslVocabEntry, E2E_SUBDIR, ENV_FILE, EXPECT_FAIL_ANNOTATION, type EnqueueRunInput, type EnvChangedMessage, type EnvFile, type EnvUpdate, type EnvVar, type ErrorMessage, FAILURES_DIR_SEGMENTS, FAILURES_ROOT_ENV, FREQ_FIELDS, type FailureBundleWrittenEvent, type FirstRunCommandInput, type FsBreakpointsChangedMessage, type FsCollectionRunStepMessage, type FsCollectionsChangedMessage, type FsHelpersChangedMessage, type FsRunFinishedMessage, type FsRunStartedMessage, type FsRunStepMessage, type FsScenariosChangedMessage, GUARD_SECRET_HEADER, HEARTBEAT_FILE, HELPERS_SUBDIR, type HelperMeta, type HelperTab, type HostRequirement, type IDslLanguageService, type ILaunchedProcess, type IProcessLauncher, type IRunQueue, type IRunnerAdapter, InvalidBlobHashError, JUDGE_ENV, JUDGE_ROUTES, type JudgeErrorResponse, type JudgeHealthResponse, type JudgeRequest, type JudgeVerdict, type JudgeVerdictEvent, LOCK_FILE, LOG_FILE, type LaunchSpec, type LocatorPickedEvent, type LockFile, type LogEvent, type LogLineMessage, type LoopIterationEvent, type Matcher, type NoteEvent, type OverviewTab, PICKER_INCLUDED_TEXT, PICKER_SNAPSHOT_FILE, type ParsedTicketName, type PausedEvent, type PickerMode, type ProbeMatch, type ProbePinned, type ProbeResult, type ProbeResultEvent, QUEUE_DISABLED_ENV, QUEUE_GLOBAL_DIR_ENV, QUEUE_GLOBAL_SLOTS_ENV, QUEUE_LEASE_ENV, QUEUE_MUTEX_FILE, QUEUE_PRIORITIES, QUEUE_RUNNING_DIR, QUEUE_SCHEMA_VERSION, QUEUE_SLOTS_DIR, QUEUE_SUBDIR, QUEUE_TICKETS_DIR, type QueueChangedMessage, type QueueEntry, type QueuePoolState, type QueuePriority, type QueueProducer, type QueueProducerKind, type QueueSnapshot, type QueueTicket, type QueueTicketCi, type QueueTicketKind, type QueueTicketSource, RUNNER_CONFIG_KEYS, RUNNER_SETTING_PREFIX, RUNS_SUBDIR, RUNTIME_FILE, RUN_ACTOR_ENV, RUN_INDEX_SCHEMA_VERSION, RUN_MANIFEST_FILE, RUN_SOURCES_FILE, RUN_TRIGGER_ENV, type RecordedActionKind, type RegexLiteral, type ResumedEvent, type RunArtifact, type RunFinishedEvent, type RunId, type RunIndexEntry, type RunIndexHeader, type RunKind, type RunManifest, type RunMeta, type RunOutcome, type RunQueueLease, type RunQueueTicketHandle, type RunRequest, type RunSources, type RunStartedEvent, type RunStatus, type RunTrigger, type RunTriggerKind, RunnerAdapterNotFoundError, RunnerNotConfiguredError, type RuntimeState, type RuntimeStateFile, SCENARIOS_INDEX_DIR, SCENARIOS_LATEST_FILE, SCENARIO_RECENT_WINDOW, SCHEDULES_FILE, SCHEDULES_FINGERPRINT_ENV, SECRETS_FILE, SEGMENT_NAME_FORBIDDEN_RE, SNAPSHOTS_SUBDIR, STDERR_FILE, STDOUT_FILE, STEPS_FILE, type ScenarioAnnotations, type ScenarioLatestEntry, type ScenarioMeta, type ScenarioRunRequest, type ScenarioRunTab, type ScenarioScheduleEntry, type ScenarioTab, type ScenariosLatest, type ScenariosPayload, type ScheduleEntry, type ScheduleFreq, type ScheduleSpec, type ScreenshotEvent, type SnapshotTab, type SoftFailureRecord, type StepBlockFinishedEvent, type StepBlockStartedEvent, type StepFailEvent, type StepOkEvent, type StepPosition, type StepStartedEvent, TARGET_ENV_VAR, TERMINAL_RUNTIME_STATES, TERMINAL_WS_EVENT, type TabKind, type TabKindName, type TeardownFailureRecord, type TeardownFinishedEvent, type TeardownSkippedEvent, type TeardownStartedEvent, type TeardownStateRecord, type TerminalClientMessage, type TerminalCloseMessage, type TerminalDataMessage, type TerminalErrorMessage, type TerminalExitMessage, type TerminalKind, type TerminalOutputMessage, type TerminalResizeMessage, type TerminalServerMessage, type TerminalSpawnMessage, type ToolCallEvent, type ToolResultEvent, UNOTEST_DIR, UnplaceableRunIdError, UnsupportedRunKindError, type VariableCategory, type VariableKind, type VariablePlanError, type VisualAssertEvent, type VisualFailureRecord, WEEK_CHIP_ORDER, WORKSPACE_FILE, WORKSPACE_SCHEMA_VERSION, type WheelChangedEvent, type WorkspaceBundle, type WorkspaceFile, type WorkspaceFollow, type WsMessage, type WsMessageKind, activeEnvName, approvalActionText, approvalConsequence, approvalPrice, approvalPriceLabel, artifactsRootFrom, blobPathFor, blobRelPathFor, blobRelSegmentsFor, blobsRootFor, boxEnvSecretRevealPath, boxEnvSecretsRevealPath, boxEnvValuePath, boxEnvValuesPath, boxNotifyChannelPath, boxNotifyMutePath, boxNotifyPreviewPath, boxNotifyPreviewTrigger, boxNotifyProjectPath, boxNotifyQuietHoursPath, boxNotifyRulePath, boxNotifySeriesPath, boxNotifySeriesResetPath, boxNotifyTestPath, boxRunPath, boxRunsPath, boxValueKindOfSegment, boxValuePath, boxValuesPath, canonicalScheduleSet, categorizeVariable, compareQueueTicketNames, cronFromSpec, debugDirFor, debuggerFileFor, declaredEnvKeys, decodeNameList, deleteShadowWarning, describeBundle, describeCron, describeSpec, describeTicketCi, encodeNameList, envFileFor, envKeys, envLayerFilesFor, envNamesFromDirListing, failuresRootFrom, failuresRootIn, failuresRootUnder, firstRunCommand, foldScenarioRun, formatNextTick, insertEnvVar, isAnnotationLine, isBoxNotifyState, isEnvVarName, isExternalVarName, isFailingStatus, isQueueDirName, isRecord, isRegexLiteral, isRunnerConfigKey, isRunnerSetting, isRunsDirName, isTerminalRuntimeState, makeQueueTicketName, makeRunId, manifestTrigger, matchCloudApiRoute, mergeSchedules, nextTickFromSpec, parseAppServerEvent, parseBoxEnvValuesReplaceRequest, parseBoxNotifyChanged, parseBoxNotifyError, parseBoxNotifyMuteScope, parseBoxNotifyPreview, parseBoxNotifyProjectView, parseBoxNotifySeriesView, parseBoxNotifyTestResult, parseBoxNotifyView, parseBoxReadEnvironments, parseBoxReadError, parseBoxReadInstall, parseBoxRunAccepted, parseBoxRunRequest, parseBoxRunStatus, parseBoxSecretRevealResponse, parseBoxSecretsRevealResponse, parseBoxValueSetRequest, parseBoxValuesReplaceRequest, parseBoxValuesResponse, parseBundleManifest, parseBundleUploadResponse, parseCiProvider, parseCiRunRequest, parseCiRunResponse, parseCiRunStatusResponse, parseEnvContent, parseQueueTicket, parseQueueTicketName, parseScenarioAnnotations, parseScheduleEntry, parseSchedulesDoc, parseSchedulesJson, parseWorkspaceFile, planAddVariable, projectQueueRoot, projectRunDirFor, projectRunsRoot, queueDirFor, queuePriorityFromRank, queuePriorityRank, regexLiteral, removeEnvVar, replaceEnvVar, requireRunDirFor, reservedBoxValueNames, runDirFor, runIdStartedAt, runTriggerEnv, runTriggerFromEnv, runsDirFor, sanitizeRunIdSegment, scenarioIndexFileName, scenarioRefFromFileName, scheduleTarget, secretsFileFor, secretsLayerFilesFor, serializeEnvValue, shardDaysDescending, shardDirFor, shardPathForRunId, shardPathForTimestamp, specFromCron, testDirFor, validateCollectionName, validateSegmentName };
|
|
3922
|
+
export { ACTOR_TICKET_HEADER, ARTIFACTS_ROOT_ENV, type AddVariablePlan, type AddVariablePlanInput, type AppPathPickerSpec, type AppServerEvent, type ApprovalAction, type ApprovalPrice, type AuthoringRunRequest, BLOBS_DIR, BOX_DELETE_CONSEQUENCE, BOX_ENV_VALUES_SEGMENT, BOX_NOTIFY_CHANNEL_KINDS, BOX_NOTIFY_EVENTS, BOX_NOTIFY_PATH, BOX_NOTIFY_STATES, BOX_NOTIFY_TRIGGER_KINDS, BOX_PUSH_TOKEN_PREFIX, BOX_READ_ENVIRONMENTS_PATH, BOX_READ_ENVIRONMENT_HEADER, BOX_READ_TOKEN_ENV, BOX_READ_TOKEN_PREFIX, BOX_REVEAL_SEGMENT, BOX_REVOCATIONS_RETRY_AFTER_SECONDS, BOX_RUNS_SEGMENT, BOX_SECRET_NAMES_ENV, BOX_SIGNED_TOKEN, BOX_SIGNED_TOKEN_PREFIX, BOX_TOKEN_ENV, BOX_URL_ENV, BOX_VALUES_PATH, BOX_VARIABLE_NAMES_ENV, BROWSER_CHANNEL_ENV, BROWSER_ENV, BUNDLED_BROWSER_CHANNEL, BUNDLE_ID_ENV, BUNDLE_MANIFEST_FILE, BUNDLE_SCHEMA_VERSION, BUNDLE_UPLOAD_PATH, type BoxEnvValuesReplaceRequest, type BoxEnvValuesView, type BoxNotifyChanged, type BoxNotifyChannelKind, type BoxNotifyChannelView, type BoxNotifyChannelWrite, type BoxNotifyEnabledPatch, type BoxNotifyError, type BoxNotifyErrorCode, type BoxNotifyEvent, type BoxNotifyLastDelivery, type BoxNotifyMute, type BoxNotifyMuteScope, type BoxNotifyMuteWrite, type BoxNotifyPreview, type BoxNotifyProjectView, type BoxNotifyQuietHours, type BoxNotifyQuietHoursWrite, type BoxNotifyRule, type BoxNotifyRuleWrite, type BoxNotifySecret, type BoxNotifySeriesEntry, type BoxNotifySeriesView, type BoxNotifyState, type BoxNotifyTestResult, type BoxNotifyTriggerKind, type BoxNotifyView, type BoxReadEnvironment, type BoxReadErrorBody, type BoxReadErrorCode, type BoxReadInstall, type BoxRunAccepted, type BoxRunRequest, type BoxRunState, type BoxRunStatus, type BoxSecretRevealResponse, type BoxSecretsRevealResponse, type BoxValueChanged, type BoxValueKind, type BoxValueNames, type BoxValueSetRequest, type BoxValuesError, type BoxValuesErrorCode, type BoxValuesMergeRequest, type BoxValuesMerged, type BoxValuesReplaceRequest, type BoxValuesReplaced, type BoxValuesResponse, type BreakpointEntry, type BreakpointsFile, type BundleGitInfo, type BundleManifest, type BundleRemoveError, type BundleRemoveErrorCode, type BundleRemoveErrorDetail, type BundleRemoveOk, type BundleRemoveRequest, type BundleRemoveResponse, type BundleRemoved, type BundleScopeMismatch, type BundleSwitching, type BundleUnmappedRepo, type BundleUploadError, type BundleUploadErrorCode, type BundleUploadErrorDetail, type BundleUploadOk, type BundleUploadResponse, type BundleUploadStatus, type BundleUse, type BundleVariableGap, CI_RUNS_PATH, CI_RUN_LINES_AFTER, CI_RUN_LINES_MAX, CI_RUN_PATH, CLOUD_API_ROUTES, COLLECTIONS_SUBDIR, COLLECTION_NAME_FORBIDDEN_RE, COMMANDS_FILE, type CheckSeverity, type CiProviderId, type CiQueuedRun, type CiRunAccepted, type CiRunError, type CiRunErrorCode, type CiRunLine, type CiRunLines, type CiRunLinesResponse, type CiRunRequest, type CiRunResponse, type CiRunStatusError, type CiRunStatusErrorCode, type CiRunStatusResponse, type CloudApiRoute, type CloudApiRouteMatch, type CollectionMeta, type CollectionRunArtifact, type CollectionRunFinishedEvent, type CollectionRunRequest, type CollectionRunStartedEvent, type CollectionRunTab, type CollectionScenarioFinishedEvent, type CollectionScenarioStartedEvent, type CollectionScheduleEntry, type CollectionTab, type ContextTagged, DAY_INDEX_FILE, DAY_SHORT, DEFAULT_COLLECTION_NAME, type DbgCommand, type DbgCommandAbort, type DbgCommandClearBp, type DbgCommandContinue, type DbgCommandKind, type DbgCommandPause, type DbgCommandPickerStart, type DbgCommandPickerStop, type DbgCommandProbe, type DbgCommandRecord, type DbgCommandSetBp, type DbgCommandSnapshot, type DbgCommandStep, type DbgCommandWheel, type DebugCapabilities, type DoctorCheck, type DoctorContext, type DownloadEvent, type DslDiagnostic, type DslValidateContext, type DslVocabArg, type DslVocabCategory, type DslVocabEntry, E2E_SUBDIR, ENV_FILE, EXPECT_FAIL_ANNOTATION, type EnqueueRunInput, type EnvChangedMessage, type EnvFile, type EnvUpdate, type EnvVar, type ErrorMessage, FAILURES_DIR_SEGMENTS, FAILURES_ROOT_ENV, FREQ_FIELDS, type FailureBundleWrittenEvent, type FirstRunCommandInput, type FsBreakpointsChangedMessage, type FsCollectionRunStepMessage, type FsCollectionsChangedMessage, type FsHelpersChangedMessage, type FsRunFinishedMessage, type FsRunStartedMessage, type FsRunStepMessage, type FsScenariosChangedMessage, GUARD_SECRET_HEADER, HEARTBEAT_FILE, HELPERS_SUBDIR, type HelperMeta, type HelperTab, type HostRequirement, type IDslLanguageService, type ILaunchedProcess, type IProcessLauncher, type IRunQueue, type IRunnerAdapter, InvalidBlobHashError, JUDGE_ENV, JUDGE_ROUTES, type JudgeErrorResponse, type JudgeHealthResponse, type JudgeRequest, type JudgeVerdict, type JudgeVerdictEvent, LOCK_FILE, LOG_FILE, type LaunchSpec, type LocatorPickedEvent, type LockFile, type LogEvent, type LogLineMessage, type LoopIterationEvent, type Matcher, type NoteEvent, type OverviewTab, PICKER_INCLUDED_TEXT, PICKER_SNAPSHOT_FILE, type ParsedTicketName, type PausedEvent, type PickerMode, type ProbeMatch, type ProbePinned, type ProbeResult, type ProbeResultEvent, QUEUE_DISABLED_ENV, QUEUE_GLOBAL_DIR_ENV, QUEUE_GLOBAL_SLOTS_ENV, QUEUE_LEASE_ENV, QUEUE_MUTEX_FILE, QUEUE_PRIORITIES, QUEUE_RUNNING_DIR, QUEUE_SCHEMA_VERSION, QUEUE_SLOTS_DIR, QUEUE_SUBDIR, QUEUE_TICKETS_DIR, type QueueChangedMessage, type QueueEntry, type QueuePoolState, type QueuePriority, type QueueProducer, type QueueProducerKind, type QueueSnapshot, type QueueTicket, type QueueTicketCi, type QueueTicketKind, type QueueTicketSource, RUNNER_CONFIG_KEYS, RUNNER_SETTING_PREFIX, RUNS_SUBDIR, RUNTIME_FILE, RUN_ACTOR_ENV, RUN_INDEX_SCHEMA_VERSION, RUN_MANIFEST_FILE, RUN_SOURCES_FILE, RUN_TRIGGER_ENV, type RecordedActionKind, type RegexLiteral, type ResumedEvent, type RunArtifact, type RunFinishedEvent, type RunId, type RunIndexEntry, type RunIndexHeader, type RunKind, type RunManifest, type RunMeta, type RunOutcome, type RunQueueLease, type RunQueueTicketHandle, type RunRequest, type RunSources, type RunStartedEvent, type RunStatus, type RunTrigger, type RunTriggerKind, RunnerAdapterNotFoundError, RunnerNotConfiguredError, type RuntimeState, type RuntimeStateFile, SCENARIOS_INDEX_DIR, SCENARIOS_LATEST_FILE, SCENARIO_RECENT_WINDOW, SCHEDULES_FILE, SCHEDULES_FINGERPRINT_ENV, SECRETS_FILE, SEGMENT_NAME_FORBIDDEN_RE, SNAPSHOTS_SUBDIR, STDERR_FILE, STDOUT_FILE, STEPS_FILE, type ScenarioAnnotations, type ScenarioLatestEntry, type ScenarioMeta, type ScenarioRunRequest, type ScenarioRunTab, type ScenarioScheduleEntry, type ScenarioTab, type ScenariosLatest, type ScenariosPayload, type ScheduleEntry, type ScheduleFreq, type ScheduleSpec, type ScreenshotEvent, type SecretValue, type SnapshotTab, type SoftFailureRecord, type StepBlockFinishedEvent, type StepBlockStartedEvent, type StepFailEvent, type StepOkEvent, type StepPosition, type StepStartedEvent, TARGET_ENV_VAR, TERMINAL_RUNTIME_STATES, TERMINAL_WS_EVENT, type TabKind, type TabKindName, type TeardownFailureRecord, type TeardownFinishedEvent, type TeardownSkippedEvent, type TeardownStartedEvent, type TeardownStateRecord, type TerminalClientMessage, type TerminalCloseMessage, type TerminalDataMessage, type TerminalErrorMessage, type TerminalExitMessage, type TerminalKind, type TerminalOutputMessage, type TerminalResizeMessage, type TerminalServerMessage, type TerminalSpawnMessage, type ToolCallEvent, type ToolResultEvent, UNOTEST_DIR, type UnknownEnvironmentDetail, UnplaceableRunIdError, UnsupportedRunKindError, type VariableCategory, type VariableKind, type VariablePlanError, type Version, type VisualAssertEvent, type VisualFailureRecord, WEEK_CHIP_ORDER, WORKSPACE_FILE, WORKSPACE_SCHEMA_VERSION, type WheelChangedEvent, type WorkspaceBundle, type WorkspaceFile, type WorkspaceFollow, type WsMessage, type WsMessageKind, activeEnvName, approvalActionText, approvalConsequence, approvalPrice, approvalPriceLabel, artifactsRootFrom, blobPathFor, blobRelPathFor, blobRelSegmentsFor, blobsRootFor, boxEnvSecretRevealPath, boxEnvSecretsRevealPath, boxEnvValuePath, boxEnvValuesPath, boxNotifyChannelPath, boxNotifyMutePath, boxNotifyPreviewPath, boxNotifyPreviewTrigger, boxNotifyProjectPath, boxNotifyQuietHoursPath, boxNotifyRulePath, boxNotifySeriesPath, boxNotifySeriesResetPath, boxNotifyTestPath, boxRunPath, boxRunsPath, boxValueKindOfSegment, boxValuePath, boxValuesPath, canonicalScheduleSet, categorizeVariable, ciRunLinesPath, compareQueueTicketNames, compareVersions, cronFromSpec, debugDirFor, debuggerFileFor, declaredEnvKeys, decodeNameList, deleteShadowWarning, describeBundle, describeCron, describeSpec, describeTicketCi, encodeNameList, envFileFor, envKeys, envLayerFilesFor, envNamesFromDirListing, failuresRootFrom, failuresRootIn, failuresRootUnder, firstRunCommand, foldScenarioRun, formatNextTick, insertEnvVar, isAnnotationLine, isBelowMinimum, isBoxNotifyState, isEnvVarName, isExternalVarName, isFailingStatus, isQueueDirName, isRecord, isRegexLiteral, isRunId, isRunnerConfigKey, isRunnerSetting, isRunsDirName, isTerminalRuntimeState, lowestVersionOf, makeQueueTicketName, makeRunId, manifestTrigger, maskSecretValues, matchCloudApiRoute, mergeSchedules, nextTickFromSpec, orderSecretValues, parseAppServerEvent, parseBoxEnvValuesReplaceRequest, parseBoxNotifyChanged, parseBoxNotifyError, parseBoxNotifyMuteScope, parseBoxNotifyPreview, parseBoxNotifyProjectView, parseBoxNotifySeriesView, parseBoxNotifyTestResult, parseBoxNotifyView, parseBoxReadEnvironments, parseBoxReadError, parseBoxReadInstall, parseBoxRunAccepted, parseBoxRunRequest, parseBoxRunStatus, parseBoxSecretRevealResponse, parseBoxSecretsRevealResponse, parseBoxValueSetRequest, parseBoxValuesMergeRequest, parseBoxValuesReplaceRequest, parseBoxValuesResponse, parseBundleManifest, parseBundleRemoveRequest, parseBundleRemoveResponse, parseBundleUploadResponse, parseCiProvider, parseCiRunLinesResponse, parseCiRunRequest, parseCiRunResponse, parseCiRunStatusResponse, parseEnvContent, parseQueueTicket, parseQueueTicketName, parseScenarioAnnotations, parseScheduleEntry, parseSchedulesDoc, parseSchedulesJson, parseUnknownEnvironmentDetail, parseWorkspaceFile, planAddVariable, projectQueueRoot, projectRunDirFor, projectRunsRoot, queueDirFor, queuePriorityFromRank, queuePriorityRank, regexLiteral, removeEnvVar, replaceEnvVar, requireRunDirFor, reservedBoxValueNames, runDirFor, runIdStartedAt, runTriggerEnv, runTriggerFromEnv, runsDirFor, sanitizeRunIdSegment, scenarioIndexFileName, scenarioRefFromFileName, scheduleTarget, secretMark, secretsFileFor, secretsLayerFilesFor, serializeEnvValue, shardDaysDescending, shardDirFor, shardPathForRunId, shardPathForTimestamp, specFromCron, testDirFor, validateCollectionName, validateSegmentName };
|