@hearsay-tools/squawk 0.18.0-dev.8311 → 0.18.0-dev.8318
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/dist/runners/opencode/opencode-permissions.d.ts +1 -2
- package/dist/runners/opencode/opencode-permissions.js +1 -1
- package/dist/runners/opencode/opencode-permissions.js.map +1 -1
- package/dist/runners/opencode/opencode-server-runner.js +3 -3
- package/dist/runners/opencode/opencode-server-runner.js.map +1 -1
- package/dist/runners/opencode/opencode-skill-catalog.d.ts +1 -1
- package/dist/runners/opencode/opencode-skill-catalog.js +1 -1
- package/dist/runners/opencode/opencode-skill-catalog.js.map +1 -1
- package/dist/runners/opencode/opencode-task-scope.js +1 -1
- package/dist/runners/opencode/opencode-task-scope.js.map +1 -1
- package/dist/server/projects-routes.d.ts +833 -0
- package/dist/server/projects-routes.js +423 -0
- package/dist/server/projects-routes.js.map +1 -0
- package/dist/server/providers-routes.d.ts +683 -0
- package/dist/server/providers-routes.js +359 -0
- package/dist/server/providers-routes.js.map +1 -0
- package/dist/server/server-types.d.ts +40 -0
- package/dist/server/server-types.js +31 -0
- package/dist/server/server-types.js.map +1 -0
- package/dist/server/server.d.ts +129 -155
- package/dist/server/server.js +50 -1095
- package/dist/server/server.js.map +1 -1
- package/dist/server/workspace-live-routes.d.ts +6 -6
- package/package.json +4 -4
- package/scripts/opencode-task-scope.d.mts +0 -18
- /package/{scripts → dist/runners/opencode}/opencode-task-scope.mjs +0 -0
package/dist/server/server.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { loadWorkspaceConfig, mergeWriteWorkspaceConfig } from '../workspace/con
|
|
|
18
18
|
import { WorkspaceSemaphore } from '../workspace/semaphore.ts';
|
|
19
19
|
import { type CloneRunner } from './checkout.ts';
|
|
20
20
|
import { type CommandRunner } from './create-project.ts';
|
|
21
|
-
import { ProjectContexts, type
|
|
21
|
+
import { ProjectContexts, type ProjectRunManager, type RunManagerFactory } from './project-context.ts';
|
|
22
22
|
import type { SocketHub, WsUpgradeVerdict } from './ws.ts';
|
|
23
23
|
import type { PreviewHost } from '../preview/host.ts';
|
|
24
24
|
import { type ForgeFactory } from './forge/index.ts';
|
|
@@ -26,6 +26,7 @@ import { type CockpitOwnership } from './cockpit-ownership.ts';
|
|
|
26
26
|
import { openInTerminal } from './open-in-terminal.ts';
|
|
27
27
|
import { openFileInDefaultApp, openInApp } from './open-in-app.ts';
|
|
28
28
|
import { ProviderRuntimeAuthObserver } from './provider-auth-runtime.ts';
|
|
29
|
+
import { WorkspaceEventBus } from './server-types.ts';
|
|
29
30
|
export interface ServerDeps extends ActivityServerDeps {
|
|
30
31
|
home: Home;
|
|
31
32
|
/** Per-repository forge injection for embedded servers and tests. */
|
|
@@ -138,14 +139,7 @@ export interface ServerDeps extends ActivityServerDeps {
|
|
|
138
139
|
automationsChanged?: () => void;
|
|
139
140
|
archiveOnMergeChanged?: () => void;
|
|
140
141
|
}
|
|
141
|
-
|
|
142
|
-
* request's `ProjectContext` on the context, handlers read `c.get('project')`. */
|
|
143
|
-
export type ProjectApiEnv = {
|
|
144
|
-
Variables: {
|
|
145
|
-
project: ProjectContext;
|
|
146
|
-
stoppedOnAdoption?: boolean;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
142
|
+
export { WorkspaceEventBus, type ProjectApiEnv, type WorkspaceEventName } from './server-types.ts';
|
|
149
143
|
/** One row of the mirrored project-route table. */
|
|
150
144
|
export interface ProjectRouteInfo {
|
|
151
145
|
method: string;
|
|
@@ -161,26 +155,6 @@ export interface ProjectRouteInfo {
|
|
|
161
155
|
*/
|
|
162
156
|
export declare function projectRouteManifest(app: Hono): ProjectRouteInfo[];
|
|
163
157
|
export type { ProjectsResponse, RegisterProjectResponse, RemoveProjectResponse, UpdateProjectResponse } from '../contract/index.js';
|
|
164
|
-
/** Workspace-level event names carried ONLY on `GET /api/workspace/events`
|
|
165
|
-
* (never on the per-project streams): registry mutations, the GUI-clone
|
|
166
|
-
* progress feed (step 4.3), and host-wide unstamped provider status. */
|
|
167
|
-
export type WorkspaceEventName = 'project-added' | 'project-removed' | 'checkout-progress' | 'health' | 'provider-status' | 'automation-change' | 'project-ready';
|
|
168
|
-
/**
|
|
169
|
-
* The in-process bus for workspace-level SSE events. The registry-mutating
|
|
170
|
-
* routes (`POST /api/projects` — step 4.2, emits `project-added` for a
|
|
171
|
-
* genuinely new entry; `DELETE /api/projects/:projectId` — step 4.4) and the
|
|
172
|
-
* checkout flow (step 4.3) call `emit()`; runtime provider auth observation
|
|
173
|
-
* emits host-wide `provider-status`; every open `/api/workspace/events` stream
|
|
174
|
-
* relays the event verbatim under its name. Injectable via
|
|
175
|
-
* `ServerDeps.workspaceEvents` so tests (and any out-of-createApp emitter) can
|
|
176
|
-
* drive the stream.
|
|
177
|
-
*/
|
|
178
|
-
export declare class WorkspaceEventBus {
|
|
179
|
-
private readonly listeners;
|
|
180
|
-
emit(event: WorkspaceEventName, data: unknown): void;
|
|
181
|
-
/** Subscribe; returns an unsubscribe. */
|
|
182
|
-
on(listener: (event: WorkspaceEventName, data: unknown) => void): () => void;
|
|
183
|
-
}
|
|
184
158
|
export declare function createApp(deps: ServerDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
185
159
|
"/health": {
|
|
186
160
|
$get: {
|
|
@@ -3118,6 +3092,12 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3118
3092
|
output: {
|
|
3119
3093
|
generation: string;
|
|
3120
3094
|
results: ({
|
|
3095
|
+
projectId: string;
|
|
3096
|
+
runId: string;
|
|
3097
|
+
type: "error" | "reset";
|
|
3098
|
+
status: 400 | 404 | 409 | 413 | 503;
|
|
3099
|
+
error: string;
|
|
3100
|
+
} | {
|
|
3121
3101
|
projectId: string;
|
|
3122
3102
|
runId: string;
|
|
3123
3103
|
type: "batch";
|
|
@@ -3131,12 +3111,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
3131
3111
|
cursor: string;
|
|
3132
3112
|
afterSeq: number;
|
|
3133
3113
|
hasMore: boolean;
|
|
3134
|
-
} | {
|
|
3135
|
-
projectId: string;
|
|
3136
|
-
runId: string;
|
|
3137
|
-
type: "error" | "reset";
|
|
3138
|
-
status: 400 | 404 | 409 | 413 | 503;
|
|
3139
|
-
error: string;
|
|
3140
3114
|
})[];
|
|
3141
3115
|
};
|
|
3142
3116
|
outputFormat: "json";
|
|
@@ -4678,19 +4652,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4678
4652
|
} & {
|
|
4679
4653
|
"/repo/commit/:sha": {
|
|
4680
4654
|
$get: {
|
|
4681
|
-
output: string;
|
|
4682
|
-
outputFormat: "text";
|
|
4683
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4684
|
-
input: {
|
|
4685
|
-
query: {
|
|
4686
|
-
structured?: string | undefined;
|
|
4687
|
-
};
|
|
4688
|
-
} & {
|
|
4689
|
-
param: {
|
|
4690
|
-
sha: string;
|
|
4691
|
-
};
|
|
4692
|
-
};
|
|
4693
|
-
} | {
|
|
4694
4655
|
output: {
|
|
4695
4656
|
error: string;
|
|
4696
4657
|
code?: "invalid_input" | undefined;
|
|
@@ -4754,6 +4715,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4754
4715
|
sha: string;
|
|
4755
4716
|
};
|
|
4756
4717
|
};
|
|
4718
|
+
} | {
|
|
4719
|
+
output: string;
|
|
4720
|
+
outputFormat: "text";
|
|
4721
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4722
|
+
input: {
|
|
4723
|
+
query: {
|
|
4724
|
+
structured?: string | undefined;
|
|
4725
|
+
};
|
|
4726
|
+
} & {
|
|
4727
|
+
param: {
|
|
4728
|
+
sha: string;
|
|
4729
|
+
};
|
|
4730
|
+
};
|
|
4757
4731
|
};
|
|
4758
4732
|
};
|
|
4759
4733
|
} & {
|
|
@@ -8658,6 +8632,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8658
8632
|
} & {
|
|
8659
8633
|
"/runs/:id/worker-destroy": {
|
|
8660
8634
|
$post: {
|
|
8635
|
+
output: {
|
|
8636
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8637
|
+
readonly error: string;
|
|
8638
|
+
readonly modelChoices?: {
|
|
8639
|
+
runner: string;
|
|
8640
|
+
requestedModel: string;
|
|
8641
|
+
availableModels: {
|
|
8642
|
+
id: string;
|
|
8643
|
+
label: string;
|
|
8644
|
+
description: string;
|
|
8645
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8646
|
+
}[];
|
|
8647
|
+
otherRunners: string[];
|
|
8648
|
+
} | undefined;
|
|
8649
|
+
};
|
|
8650
|
+
outputFormat: "json";
|
|
8651
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
8652
|
+
input: {
|
|
8653
|
+
query: {
|
|
8654
|
+
[x: string]: string | string[];
|
|
8655
|
+
};
|
|
8656
|
+
} & {
|
|
8657
|
+
param: {
|
|
8658
|
+
id: string;
|
|
8659
|
+
};
|
|
8660
|
+
} & {
|
|
8661
|
+
json: {
|
|
8662
|
+
discardWork?: true | undefined;
|
|
8663
|
+
};
|
|
8664
|
+
};
|
|
8665
|
+
} | {
|
|
8661
8666
|
output: {
|
|
8662
8667
|
error: string;
|
|
8663
8668
|
code?: "invalid_input" | undefined;
|
|
@@ -8743,37 +8748,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
8743
8748
|
discardWork?: true | undefined;
|
|
8744
8749
|
};
|
|
8745
8750
|
};
|
|
8746
|
-
} | {
|
|
8747
|
-
output: {
|
|
8748
|
-
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
8749
|
-
readonly error: string;
|
|
8750
|
-
readonly modelChoices?: {
|
|
8751
|
-
runner: string;
|
|
8752
|
-
requestedModel: string;
|
|
8753
|
-
availableModels: {
|
|
8754
|
-
id: string;
|
|
8755
|
-
label: string;
|
|
8756
|
-
description: string;
|
|
8757
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
8758
|
-
}[];
|
|
8759
|
-
otherRunners: string[];
|
|
8760
|
-
} | undefined;
|
|
8761
|
-
};
|
|
8762
|
-
outputFormat: "json";
|
|
8763
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
8764
|
-
input: {
|
|
8765
|
-
query: {
|
|
8766
|
-
[x: string]: string | string[];
|
|
8767
|
-
};
|
|
8768
|
-
} & {
|
|
8769
|
-
param: {
|
|
8770
|
-
id: string;
|
|
8771
|
-
};
|
|
8772
|
-
} & {
|
|
8773
|
-
json: {
|
|
8774
|
-
discardWork?: true | undefined;
|
|
8775
|
-
};
|
|
8776
|
-
};
|
|
8777
8751
|
};
|
|
8778
8752
|
};
|
|
8779
8753
|
} & {
|
|
@@ -19221,20 +19195,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19221
19195
|
} & {
|
|
19222
19196
|
"/runs/:id/handoff": {
|
|
19223
19197
|
$get: {
|
|
19224
|
-
output:
|
|
19225
|
-
|
|
19226
|
-
|
|
19198
|
+
output: {
|
|
19199
|
+
error: string;
|
|
19200
|
+
};
|
|
19201
|
+
outputFormat: "json";
|
|
19202
|
+
status: 404;
|
|
19227
19203
|
input: {
|
|
19228
19204
|
param: {
|
|
19229
19205
|
id: string;
|
|
19230
19206
|
};
|
|
19231
19207
|
};
|
|
19232
19208
|
} | {
|
|
19233
|
-
output:
|
|
19234
|
-
|
|
19235
|
-
|
|
19236
|
-
outputFormat: "json";
|
|
19237
|
-
status: 404;
|
|
19209
|
+
output: string;
|
|
19210
|
+
outputFormat: "text";
|
|
19211
|
+
status: 200;
|
|
19238
19212
|
input: {
|
|
19239
19213
|
param: {
|
|
19240
19214
|
id: string;
|
|
@@ -19272,20 +19246,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
19272
19246
|
} & {
|
|
19273
19247
|
"/runs/:id/diff": {
|
|
19274
19248
|
$get: {
|
|
19275
|
-
output:
|
|
19276
|
-
|
|
19277
|
-
|
|
19249
|
+
output: {
|
|
19250
|
+
error: string;
|
|
19251
|
+
};
|
|
19252
|
+
outputFormat: "json";
|
|
19253
|
+
status: 404 | 409;
|
|
19278
19254
|
input: {
|
|
19279
19255
|
param: {
|
|
19280
19256
|
id: string;
|
|
19281
19257
|
};
|
|
19282
19258
|
};
|
|
19283
19259
|
} | {
|
|
19284
|
-
output:
|
|
19285
|
-
|
|
19286
|
-
|
|
19287
|
-
outputFormat: "json";
|
|
19288
|
-
status: 404 | 409;
|
|
19260
|
+
output: string;
|
|
19261
|
+
outputFormat: "text";
|
|
19262
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
19289
19263
|
input: {
|
|
19290
19264
|
param: {
|
|
19291
19265
|
id: string;
|
|
@@ -21332,19 +21306,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21332
21306
|
} & {
|
|
21333
21307
|
"/repo/commit/:sha": {
|
|
21334
21308
|
$get: {
|
|
21335
|
-
output: string;
|
|
21336
|
-
outputFormat: "text";
|
|
21337
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21338
|
-
input: {
|
|
21339
|
-
query: {
|
|
21340
|
-
structured?: string | undefined;
|
|
21341
|
-
};
|
|
21342
|
-
} & {
|
|
21343
|
-
param: {
|
|
21344
|
-
sha: string;
|
|
21345
|
-
};
|
|
21346
|
-
};
|
|
21347
|
-
} | {
|
|
21348
21309
|
output: {
|
|
21349
21310
|
error: string;
|
|
21350
21311
|
code?: "invalid_input" | undefined;
|
|
@@ -21408,6 +21369,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
21408
21369
|
sha: string;
|
|
21409
21370
|
};
|
|
21410
21371
|
};
|
|
21372
|
+
} | {
|
|
21373
|
+
output: string;
|
|
21374
|
+
outputFormat: "text";
|
|
21375
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21376
|
+
input: {
|
|
21377
|
+
query: {
|
|
21378
|
+
structured?: string | undefined;
|
|
21379
|
+
};
|
|
21380
|
+
} & {
|
|
21381
|
+
param: {
|
|
21382
|
+
sha: string;
|
|
21383
|
+
};
|
|
21384
|
+
};
|
|
21411
21385
|
};
|
|
21412
21386
|
};
|
|
21413
21387
|
} & {
|
|
@@ -25312,6 +25286,37 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
25312
25286
|
} & {
|
|
25313
25287
|
"/runs/:id/worker-destroy": {
|
|
25314
25288
|
$post: {
|
|
25289
|
+
output: {
|
|
25290
|
+
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
25291
|
+
readonly error: string;
|
|
25292
|
+
readonly modelChoices?: {
|
|
25293
|
+
runner: string;
|
|
25294
|
+
requestedModel: string;
|
|
25295
|
+
availableModels: {
|
|
25296
|
+
id: string;
|
|
25297
|
+
label: string;
|
|
25298
|
+
description: string;
|
|
25299
|
+
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
25300
|
+
}[];
|
|
25301
|
+
otherRunners: string[];
|
|
25302
|
+
} | undefined;
|
|
25303
|
+
};
|
|
25304
|
+
outputFormat: "json";
|
|
25305
|
+
status: 400 | 401 | 403 | 409 | 503;
|
|
25306
|
+
input: {
|
|
25307
|
+
query: {
|
|
25308
|
+
[x: string]: string | string[];
|
|
25309
|
+
};
|
|
25310
|
+
} & {
|
|
25311
|
+
param: {
|
|
25312
|
+
id: string;
|
|
25313
|
+
};
|
|
25314
|
+
} & {
|
|
25315
|
+
json: {
|
|
25316
|
+
discardWork?: true | undefined;
|
|
25317
|
+
};
|
|
25318
|
+
};
|
|
25319
|
+
} | {
|
|
25315
25320
|
output: {
|
|
25316
25321
|
error: string;
|
|
25317
25322
|
code?: "invalid_input" | undefined;
|
|
@@ -25397,37 +25402,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
25397
25402
|
discardWork?: true | undefined;
|
|
25398
25403
|
};
|
|
25399
25404
|
};
|
|
25400
|
-
} | {
|
|
25401
|
-
output: {
|
|
25402
|
-
readonly code: "capacity_limit" | "denied_scope" | "incompatible_state" | "incomplete_cleanup" | "invalid_baseline" | "invalid_input" | "unauthenticated" | "unavailable_diff" | "unavailable_transport";
|
|
25403
|
-
readonly error: string;
|
|
25404
|
-
readonly modelChoices?: {
|
|
25405
|
-
runner: string;
|
|
25406
|
-
requestedModel: string;
|
|
25407
|
-
availableModels: {
|
|
25408
|
-
id: string;
|
|
25409
|
-
label: string;
|
|
25410
|
-
description: string;
|
|
25411
|
-
effortLevels?: ("high" | "low" | "max" | "medium" | "xhigh")[] | undefined;
|
|
25412
|
-
}[];
|
|
25413
|
-
otherRunners: string[];
|
|
25414
|
-
} | undefined;
|
|
25415
|
-
};
|
|
25416
|
-
outputFormat: "json";
|
|
25417
|
-
status: 400 | 401 | 403 | 409 | 503;
|
|
25418
|
-
input: {
|
|
25419
|
-
query: {
|
|
25420
|
-
[x: string]: string | string[];
|
|
25421
|
-
};
|
|
25422
|
-
} & {
|
|
25423
|
-
param: {
|
|
25424
|
-
id: string;
|
|
25425
|
-
};
|
|
25426
|
-
} & {
|
|
25427
|
-
json: {
|
|
25428
|
-
discardWork?: true | undefined;
|
|
25429
|
-
};
|
|
25430
|
-
};
|
|
25431
25405
|
};
|
|
25432
25406
|
};
|
|
25433
25407
|
} & {
|
|
@@ -35875,20 +35849,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35875
35849
|
} & {
|
|
35876
35850
|
"/runs/:id/handoff": {
|
|
35877
35851
|
$get: {
|
|
35878
|
-
output:
|
|
35879
|
-
|
|
35880
|
-
|
|
35852
|
+
output: {
|
|
35853
|
+
error: string;
|
|
35854
|
+
};
|
|
35855
|
+
outputFormat: "json";
|
|
35856
|
+
status: 404;
|
|
35881
35857
|
input: {
|
|
35882
35858
|
param: {
|
|
35883
35859
|
id: string;
|
|
35884
35860
|
};
|
|
35885
35861
|
};
|
|
35886
35862
|
} | {
|
|
35887
|
-
output:
|
|
35888
|
-
|
|
35889
|
-
|
|
35890
|
-
outputFormat: "json";
|
|
35891
|
-
status: 404;
|
|
35863
|
+
output: string;
|
|
35864
|
+
outputFormat: "text";
|
|
35865
|
+
status: 200;
|
|
35892
35866
|
input: {
|
|
35893
35867
|
param: {
|
|
35894
35868
|
id: string;
|
|
@@ -35926,20 +35900,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
35926
35900
|
} & {
|
|
35927
35901
|
"/runs/:id/diff": {
|
|
35928
35902
|
$get: {
|
|
35929
|
-
output:
|
|
35930
|
-
|
|
35931
|
-
|
|
35903
|
+
output: {
|
|
35904
|
+
error: string;
|
|
35905
|
+
};
|
|
35906
|
+
outputFormat: "json";
|
|
35907
|
+
status: 404 | 409;
|
|
35932
35908
|
input: {
|
|
35933
35909
|
param: {
|
|
35934
35910
|
id: string;
|
|
35935
35911
|
};
|
|
35936
35912
|
};
|
|
35937
35913
|
} | {
|
|
35938
|
-
output:
|
|
35939
|
-
|
|
35940
|
-
|
|
35941
|
-
outputFormat: "json";
|
|
35942
|
-
status: 404 | 409;
|
|
35914
|
+
output: string;
|
|
35915
|
+
outputFormat: "text";
|
|
35916
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
35943
35917
|
input: {
|
|
35944
35918
|
param: {
|
|
35945
35919
|
id: string;
|