@opencode-ai/sdk 1.4.6 → 1.4.8
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/gen/core/serverSentEvents.gen.js +1 -1
- package/dist/v2/data.js +1 -1
- package/dist/v2/gen/sdk.gen.d.ts +178 -128
- package/dist/v2/gen/sdk.gen.js +280 -180
- package/dist/v2/gen/types.gen.d.ts +241 -134
- package/package.json +1 -1
|
@@ -34,18 +34,6 @@ export type EventServerInstanceDisposed = {
|
|
|
34
34
|
directory: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
export type EventInstallationUpdated = {
|
|
38
|
-
type: "installation.updated";
|
|
39
|
-
properties: {
|
|
40
|
-
version: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export type EventInstallationUpdateAvailable = {
|
|
44
|
-
type: "installation.update-available";
|
|
45
|
-
properties: {
|
|
46
|
-
version: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
37
|
export type EventServerConnected = {
|
|
50
38
|
type: "server.connected";
|
|
51
39
|
properties: {
|
|
@@ -84,6 +72,18 @@ export type EventLspUpdated = {
|
|
|
84
72
|
[key: string]: unknown;
|
|
85
73
|
};
|
|
86
74
|
};
|
|
75
|
+
export type EventInstallationUpdated = {
|
|
76
|
+
type: "installation.updated";
|
|
77
|
+
properties: {
|
|
78
|
+
version: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
export type EventInstallationUpdateAvailable = {
|
|
82
|
+
type: "installation.update-available";
|
|
83
|
+
properties: {
|
|
84
|
+
version: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
87
|
export type EventMessagePartDelta = {
|
|
88
88
|
type: "message.part.delta";
|
|
89
89
|
properties: {
|
|
@@ -432,6 +432,15 @@ export type EventWorkspaceFailed = {
|
|
|
432
432
|
message: string;
|
|
433
433
|
};
|
|
434
434
|
};
|
|
435
|
+
export type EventWorkspaceRestore = {
|
|
436
|
+
type: "workspace.restore";
|
|
437
|
+
properties: {
|
|
438
|
+
workspaceID: string;
|
|
439
|
+
sessionID: string;
|
|
440
|
+
total: number;
|
|
441
|
+
step: number;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
435
444
|
export type EventWorkspaceStatus = {
|
|
436
445
|
type: "workspace.status";
|
|
437
446
|
properties: {
|
|
@@ -941,7 +950,7 @@ export type GlobalEvent = {
|
|
|
941
950
|
directory: string;
|
|
942
951
|
project?: string;
|
|
943
952
|
workspace?: string;
|
|
944
|
-
payload: EventProjectUpdated | EventServerInstanceDisposed |
|
|
953
|
+
payload: EventProjectUpdated | EventServerInstanceDisposed | EventServerConnected | EventGlobalDisposed | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventInstallationUpdated | EventInstallationUpdateAvailable | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventSessionDiff | EventSessionError | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventVcsBranchUpdated | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceRestore | EventWorkspaceStatus | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted;
|
|
945
954
|
};
|
|
946
955
|
/**
|
|
947
956
|
* Log level
|
|
@@ -1324,7 +1333,7 @@ export type Config = {
|
|
|
1324
1333
|
enabled: boolean;
|
|
1325
1334
|
};
|
|
1326
1335
|
};
|
|
1327
|
-
formatter?:
|
|
1336
|
+
formatter?: boolean | {
|
|
1328
1337
|
[key: string]: {
|
|
1329
1338
|
disabled?: boolean;
|
|
1330
1339
|
command?: Array<string>;
|
|
@@ -1334,7 +1343,7 @@ export type Config = {
|
|
|
1334
1343
|
extensions?: Array<string>;
|
|
1335
1344
|
};
|
|
1336
1345
|
};
|
|
1337
|
-
lsp?:
|
|
1346
|
+
lsp?: boolean | {
|
|
1338
1347
|
[key: string]: {
|
|
1339
1348
|
disabled: true;
|
|
1340
1349
|
} | {
|
|
@@ -1430,6 +1439,15 @@ export type WellKnownAuth = {
|
|
|
1430
1439
|
token: string;
|
|
1431
1440
|
};
|
|
1432
1441
|
export type Auth = OAuth | ApiAuth | WellKnownAuth;
|
|
1442
|
+
export type Workspace = {
|
|
1443
|
+
id: string;
|
|
1444
|
+
type: string;
|
|
1445
|
+
name: string;
|
|
1446
|
+
branch: string | null;
|
|
1447
|
+
directory: string | null;
|
|
1448
|
+
extra: unknown | null;
|
|
1449
|
+
projectID: string;
|
|
1450
|
+
};
|
|
1433
1451
|
export type NotFoundError = {
|
|
1434
1452
|
name: "NotFoundError";
|
|
1435
1453
|
data: {
|
|
@@ -1524,15 +1542,6 @@ export type ToolListItem = {
|
|
|
1524
1542
|
parameters: unknown;
|
|
1525
1543
|
};
|
|
1526
1544
|
export type ToolList = Array<ToolListItem>;
|
|
1527
|
-
export type Workspace = {
|
|
1528
|
-
id: string;
|
|
1529
|
-
type: string;
|
|
1530
|
-
name: string;
|
|
1531
|
-
branch: string | null;
|
|
1532
|
-
directory: string | null;
|
|
1533
|
-
extra: unknown | null;
|
|
1534
|
-
projectID: string;
|
|
1535
|
-
};
|
|
1536
1545
|
export type Worktree = {
|
|
1537
1546
|
name: string;
|
|
1538
1547
|
branch: string;
|
|
@@ -1716,7 +1725,7 @@ export type File = {
|
|
|
1716
1725
|
removed: number;
|
|
1717
1726
|
status: "added" | "deleted" | "modified";
|
|
1718
1727
|
};
|
|
1719
|
-
export type Event = EventProjectUpdated | EventServerInstanceDisposed |
|
|
1728
|
+
export type Event = EventProjectUpdated | EventServerInstanceDisposed | EventServerConnected | EventGlobalDisposed | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventInstallationUpdated | EventInstallationUpdateAvailable | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventSessionDiff | EventSessionError | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventVcsBranchUpdated | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceRestore | EventWorkspaceStatus | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted;
|
|
1720
1729
|
export type McpStatusConnected = {
|
|
1721
1730
|
status: "connected";
|
|
1722
1731
|
};
|
|
@@ -1984,6 +1993,144 @@ export type AppLogResponses = {
|
|
|
1984
1993
|
200: boolean;
|
|
1985
1994
|
};
|
|
1986
1995
|
export type AppLogResponse = AppLogResponses[keyof AppLogResponses];
|
|
1996
|
+
export type ExperimentalWorkspaceAdaptorListData = {
|
|
1997
|
+
body?: never;
|
|
1998
|
+
path?: never;
|
|
1999
|
+
query?: {
|
|
2000
|
+
directory?: string;
|
|
2001
|
+
workspace?: string;
|
|
2002
|
+
};
|
|
2003
|
+
url: "/experimental/workspace/adaptor";
|
|
2004
|
+
};
|
|
2005
|
+
export type ExperimentalWorkspaceAdaptorListResponses = {
|
|
2006
|
+
/**
|
|
2007
|
+
* Workspace adaptors
|
|
2008
|
+
*/
|
|
2009
|
+
200: Array<{
|
|
2010
|
+
type: string;
|
|
2011
|
+
name: string;
|
|
2012
|
+
description: string;
|
|
2013
|
+
}>;
|
|
2014
|
+
};
|
|
2015
|
+
export type ExperimentalWorkspaceAdaptorListResponse = ExperimentalWorkspaceAdaptorListResponses[keyof ExperimentalWorkspaceAdaptorListResponses];
|
|
2016
|
+
export type ExperimentalWorkspaceListData = {
|
|
2017
|
+
body?: never;
|
|
2018
|
+
path?: never;
|
|
2019
|
+
query?: {
|
|
2020
|
+
directory?: string;
|
|
2021
|
+
workspace?: string;
|
|
2022
|
+
};
|
|
2023
|
+
url: "/experimental/workspace";
|
|
2024
|
+
};
|
|
2025
|
+
export type ExperimentalWorkspaceListResponses = {
|
|
2026
|
+
/**
|
|
2027
|
+
* Workspaces
|
|
2028
|
+
*/
|
|
2029
|
+
200: Array<Workspace>;
|
|
2030
|
+
};
|
|
2031
|
+
export type ExperimentalWorkspaceListResponse = ExperimentalWorkspaceListResponses[keyof ExperimentalWorkspaceListResponses];
|
|
2032
|
+
export type ExperimentalWorkspaceCreateData = {
|
|
2033
|
+
body?: {
|
|
2034
|
+
id?: string;
|
|
2035
|
+
type: string;
|
|
2036
|
+
branch: string | null;
|
|
2037
|
+
extra: unknown | null;
|
|
2038
|
+
};
|
|
2039
|
+
path?: never;
|
|
2040
|
+
query?: {
|
|
2041
|
+
directory?: string;
|
|
2042
|
+
workspace?: string;
|
|
2043
|
+
};
|
|
2044
|
+
url: "/experimental/workspace";
|
|
2045
|
+
};
|
|
2046
|
+
export type ExperimentalWorkspaceCreateErrors = {
|
|
2047
|
+
/**
|
|
2048
|
+
* Bad request
|
|
2049
|
+
*/
|
|
2050
|
+
400: BadRequestError;
|
|
2051
|
+
};
|
|
2052
|
+
export type ExperimentalWorkspaceCreateError = ExperimentalWorkspaceCreateErrors[keyof ExperimentalWorkspaceCreateErrors];
|
|
2053
|
+
export type ExperimentalWorkspaceCreateResponses = {
|
|
2054
|
+
/**
|
|
2055
|
+
* Workspace created
|
|
2056
|
+
*/
|
|
2057
|
+
200: Workspace;
|
|
2058
|
+
};
|
|
2059
|
+
export type ExperimentalWorkspaceCreateResponse = ExperimentalWorkspaceCreateResponses[keyof ExperimentalWorkspaceCreateResponses];
|
|
2060
|
+
export type ExperimentalWorkspaceStatusData = {
|
|
2061
|
+
body?: never;
|
|
2062
|
+
path?: never;
|
|
2063
|
+
query?: {
|
|
2064
|
+
directory?: string;
|
|
2065
|
+
workspace?: string;
|
|
2066
|
+
};
|
|
2067
|
+
url: "/experimental/workspace/status";
|
|
2068
|
+
};
|
|
2069
|
+
export type ExperimentalWorkspaceStatusResponses = {
|
|
2070
|
+
/**
|
|
2071
|
+
* Workspace status
|
|
2072
|
+
*/
|
|
2073
|
+
200: Array<{
|
|
2074
|
+
workspaceID: string;
|
|
2075
|
+
status: "connected" | "connecting" | "disconnected" | "error";
|
|
2076
|
+
error?: string;
|
|
2077
|
+
}>;
|
|
2078
|
+
};
|
|
2079
|
+
export type ExperimentalWorkspaceStatusResponse = ExperimentalWorkspaceStatusResponses[keyof ExperimentalWorkspaceStatusResponses];
|
|
2080
|
+
export type ExperimentalWorkspaceRemoveData = {
|
|
2081
|
+
body?: never;
|
|
2082
|
+
path: {
|
|
2083
|
+
id: string;
|
|
2084
|
+
};
|
|
2085
|
+
query?: {
|
|
2086
|
+
directory?: string;
|
|
2087
|
+
workspace?: string;
|
|
2088
|
+
};
|
|
2089
|
+
url: "/experimental/workspace/{id}";
|
|
2090
|
+
};
|
|
2091
|
+
export type ExperimentalWorkspaceRemoveErrors = {
|
|
2092
|
+
/**
|
|
2093
|
+
* Bad request
|
|
2094
|
+
*/
|
|
2095
|
+
400: BadRequestError;
|
|
2096
|
+
};
|
|
2097
|
+
export type ExperimentalWorkspaceRemoveError = ExperimentalWorkspaceRemoveErrors[keyof ExperimentalWorkspaceRemoveErrors];
|
|
2098
|
+
export type ExperimentalWorkspaceRemoveResponses = {
|
|
2099
|
+
/**
|
|
2100
|
+
* Workspace removed
|
|
2101
|
+
*/
|
|
2102
|
+
200: Workspace;
|
|
2103
|
+
};
|
|
2104
|
+
export type ExperimentalWorkspaceRemoveResponse = ExperimentalWorkspaceRemoveResponses[keyof ExperimentalWorkspaceRemoveResponses];
|
|
2105
|
+
export type ExperimentalWorkspaceSessionRestoreData = {
|
|
2106
|
+
body?: {
|
|
2107
|
+
sessionID: string;
|
|
2108
|
+
};
|
|
2109
|
+
path: {
|
|
2110
|
+
id: string;
|
|
2111
|
+
};
|
|
2112
|
+
query?: {
|
|
2113
|
+
directory?: string;
|
|
2114
|
+
workspace?: string;
|
|
2115
|
+
};
|
|
2116
|
+
url: "/experimental/workspace/{id}/session-restore";
|
|
2117
|
+
};
|
|
2118
|
+
export type ExperimentalWorkspaceSessionRestoreErrors = {
|
|
2119
|
+
/**
|
|
2120
|
+
* Bad request
|
|
2121
|
+
*/
|
|
2122
|
+
400: BadRequestError;
|
|
2123
|
+
};
|
|
2124
|
+
export type ExperimentalWorkspaceSessionRestoreError = ExperimentalWorkspaceSessionRestoreErrors[keyof ExperimentalWorkspaceSessionRestoreErrors];
|
|
2125
|
+
export type ExperimentalWorkspaceSessionRestoreResponses = {
|
|
2126
|
+
/**
|
|
2127
|
+
* Session replay started
|
|
2128
|
+
*/
|
|
2129
|
+
200: {
|
|
2130
|
+
total: number;
|
|
2131
|
+
};
|
|
2132
|
+
};
|
|
2133
|
+
export type ExperimentalWorkspaceSessionRestoreResponse = ExperimentalWorkspaceSessionRestoreResponses[keyof ExperimentalWorkspaceSessionRestoreResponses];
|
|
1987
2134
|
export type ProjectListData = {
|
|
1988
2135
|
body?: never;
|
|
1989
2136
|
path?: never;
|
|
@@ -2399,115 +2546,6 @@ export type ToolListResponses = {
|
|
|
2399
2546
|
200: ToolList;
|
|
2400
2547
|
};
|
|
2401
2548
|
export type ToolListResponse = ToolListResponses[keyof ToolListResponses];
|
|
2402
|
-
export type ExperimentalWorkspaceAdaptorListData = {
|
|
2403
|
-
body?: never;
|
|
2404
|
-
path?: never;
|
|
2405
|
-
query?: {
|
|
2406
|
-
directory?: string;
|
|
2407
|
-
workspace?: string;
|
|
2408
|
-
};
|
|
2409
|
-
url: "/experimental/workspace/adaptor";
|
|
2410
|
-
};
|
|
2411
|
-
export type ExperimentalWorkspaceAdaptorListResponses = {
|
|
2412
|
-
/**
|
|
2413
|
-
* Workspace adaptors
|
|
2414
|
-
*/
|
|
2415
|
-
200: Array<{
|
|
2416
|
-
type: string;
|
|
2417
|
-
name: string;
|
|
2418
|
-
description: string;
|
|
2419
|
-
}>;
|
|
2420
|
-
};
|
|
2421
|
-
export type ExperimentalWorkspaceAdaptorListResponse = ExperimentalWorkspaceAdaptorListResponses[keyof ExperimentalWorkspaceAdaptorListResponses];
|
|
2422
|
-
export type ExperimentalWorkspaceListData = {
|
|
2423
|
-
body?: never;
|
|
2424
|
-
path?: never;
|
|
2425
|
-
query?: {
|
|
2426
|
-
directory?: string;
|
|
2427
|
-
workspace?: string;
|
|
2428
|
-
};
|
|
2429
|
-
url: "/experimental/workspace";
|
|
2430
|
-
};
|
|
2431
|
-
export type ExperimentalWorkspaceListResponses = {
|
|
2432
|
-
/**
|
|
2433
|
-
* Workspaces
|
|
2434
|
-
*/
|
|
2435
|
-
200: Array<Workspace>;
|
|
2436
|
-
};
|
|
2437
|
-
export type ExperimentalWorkspaceListResponse = ExperimentalWorkspaceListResponses[keyof ExperimentalWorkspaceListResponses];
|
|
2438
|
-
export type ExperimentalWorkspaceCreateData = {
|
|
2439
|
-
body?: {
|
|
2440
|
-
id?: string;
|
|
2441
|
-
type: string;
|
|
2442
|
-
branch: string | null;
|
|
2443
|
-
extra: unknown | null;
|
|
2444
|
-
};
|
|
2445
|
-
path?: never;
|
|
2446
|
-
query?: {
|
|
2447
|
-
directory?: string;
|
|
2448
|
-
workspace?: string;
|
|
2449
|
-
};
|
|
2450
|
-
url: "/experimental/workspace";
|
|
2451
|
-
};
|
|
2452
|
-
export type ExperimentalWorkspaceCreateErrors = {
|
|
2453
|
-
/**
|
|
2454
|
-
* Bad request
|
|
2455
|
-
*/
|
|
2456
|
-
400: BadRequestError;
|
|
2457
|
-
};
|
|
2458
|
-
export type ExperimentalWorkspaceCreateError = ExperimentalWorkspaceCreateErrors[keyof ExperimentalWorkspaceCreateErrors];
|
|
2459
|
-
export type ExperimentalWorkspaceCreateResponses = {
|
|
2460
|
-
/**
|
|
2461
|
-
* Workspace created
|
|
2462
|
-
*/
|
|
2463
|
-
200: Workspace;
|
|
2464
|
-
};
|
|
2465
|
-
export type ExperimentalWorkspaceCreateResponse = ExperimentalWorkspaceCreateResponses[keyof ExperimentalWorkspaceCreateResponses];
|
|
2466
|
-
export type ExperimentalWorkspaceStatusData = {
|
|
2467
|
-
body?: never;
|
|
2468
|
-
path?: never;
|
|
2469
|
-
query?: {
|
|
2470
|
-
directory?: string;
|
|
2471
|
-
workspace?: string;
|
|
2472
|
-
};
|
|
2473
|
-
url: "/experimental/workspace/status";
|
|
2474
|
-
};
|
|
2475
|
-
export type ExperimentalWorkspaceStatusResponses = {
|
|
2476
|
-
/**
|
|
2477
|
-
* Workspace status
|
|
2478
|
-
*/
|
|
2479
|
-
200: Array<{
|
|
2480
|
-
workspaceID: string;
|
|
2481
|
-
status: "connected" | "connecting" | "disconnected" | "error";
|
|
2482
|
-
error?: string;
|
|
2483
|
-
}>;
|
|
2484
|
-
};
|
|
2485
|
-
export type ExperimentalWorkspaceStatusResponse = ExperimentalWorkspaceStatusResponses[keyof ExperimentalWorkspaceStatusResponses];
|
|
2486
|
-
export type ExperimentalWorkspaceRemoveData = {
|
|
2487
|
-
body?: never;
|
|
2488
|
-
path: {
|
|
2489
|
-
id: string;
|
|
2490
|
-
};
|
|
2491
|
-
query?: {
|
|
2492
|
-
directory?: string;
|
|
2493
|
-
workspace?: string;
|
|
2494
|
-
};
|
|
2495
|
-
url: "/experimental/workspace/{id}";
|
|
2496
|
-
};
|
|
2497
|
-
export type ExperimentalWorkspaceRemoveErrors = {
|
|
2498
|
-
/**
|
|
2499
|
-
* Bad request
|
|
2500
|
-
*/
|
|
2501
|
-
400: BadRequestError;
|
|
2502
|
-
};
|
|
2503
|
-
export type ExperimentalWorkspaceRemoveError = ExperimentalWorkspaceRemoveErrors[keyof ExperimentalWorkspaceRemoveErrors];
|
|
2504
|
-
export type ExperimentalWorkspaceRemoveResponses = {
|
|
2505
|
-
/**
|
|
2506
|
-
* Workspace removed
|
|
2507
|
-
*/
|
|
2508
|
-
200: Workspace;
|
|
2509
|
-
};
|
|
2510
|
-
export type ExperimentalWorkspaceRemoveResponse = ExperimentalWorkspaceRemoveResponses[keyof ExperimentalWorkspaceRemoveResponses];
|
|
2511
2549
|
export type WorktreeRemoveData = {
|
|
2512
2550
|
body?: WorktreeRemoveInput;
|
|
2513
2551
|
path?: never;
|
|
@@ -3767,6 +3805,75 @@ export type ProviderOauthCallbackResponses = {
|
|
|
3767
3805
|
200: boolean;
|
|
3768
3806
|
};
|
|
3769
3807
|
export type ProviderOauthCallbackResponse = ProviderOauthCallbackResponses[keyof ProviderOauthCallbackResponses];
|
|
3808
|
+
export type SyncReplayData = {
|
|
3809
|
+
body?: {
|
|
3810
|
+
directory: string;
|
|
3811
|
+
events: Array<{
|
|
3812
|
+
id: string;
|
|
3813
|
+
aggregateID: string;
|
|
3814
|
+
seq: number;
|
|
3815
|
+
type: string;
|
|
3816
|
+
data: {
|
|
3817
|
+
[key: string]: unknown;
|
|
3818
|
+
};
|
|
3819
|
+
}>;
|
|
3820
|
+
};
|
|
3821
|
+
path?: never;
|
|
3822
|
+
query?: {
|
|
3823
|
+
directory?: string;
|
|
3824
|
+
workspace?: string;
|
|
3825
|
+
};
|
|
3826
|
+
url: "/sync/replay";
|
|
3827
|
+
};
|
|
3828
|
+
export type SyncReplayErrors = {
|
|
3829
|
+
/**
|
|
3830
|
+
* Bad request
|
|
3831
|
+
*/
|
|
3832
|
+
400: BadRequestError;
|
|
3833
|
+
};
|
|
3834
|
+
export type SyncReplayError = SyncReplayErrors[keyof SyncReplayErrors];
|
|
3835
|
+
export type SyncReplayResponses = {
|
|
3836
|
+
/**
|
|
3837
|
+
* Replayed sync events
|
|
3838
|
+
*/
|
|
3839
|
+
200: {
|
|
3840
|
+
sessionID: string;
|
|
3841
|
+
};
|
|
3842
|
+
};
|
|
3843
|
+
export type SyncReplayResponse = SyncReplayResponses[keyof SyncReplayResponses];
|
|
3844
|
+
export type SyncHistoryListData = {
|
|
3845
|
+
body?: {
|
|
3846
|
+
[key: string]: number;
|
|
3847
|
+
};
|
|
3848
|
+
path?: never;
|
|
3849
|
+
query?: {
|
|
3850
|
+
directory?: string;
|
|
3851
|
+
workspace?: string;
|
|
3852
|
+
};
|
|
3853
|
+
url: "/sync/history";
|
|
3854
|
+
};
|
|
3855
|
+
export type SyncHistoryListErrors = {
|
|
3856
|
+
/**
|
|
3857
|
+
* Bad request
|
|
3858
|
+
*/
|
|
3859
|
+
400: BadRequestError;
|
|
3860
|
+
};
|
|
3861
|
+
export type SyncHistoryListError = SyncHistoryListErrors[keyof SyncHistoryListErrors];
|
|
3862
|
+
export type SyncHistoryListResponses = {
|
|
3863
|
+
/**
|
|
3864
|
+
* Sync events
|
|
3865
|
+
*/
|
|
3866
|
+
200: Array<{
|
|
3867
|
+
id: string;
|
|
3868
|
+
aggregate_id: string;
|
|
3869
|
+
seq: number;
|
|
3870
|
+
type: string;
|
|
3871
|
+
data: {
|
|
3872
|
+
[key: string]: unknown;
|
|
3873
|
+
};
|
|
3874
|
+
}>;
|
|
3875
|
+
};
|
|
3876
|
+
export type SyncHistoryListResponse = SyncHistoryListResponses[keyof SyncHistoryListResponses];
|
|
3770
3877
|
export type FindTextData = {
|
|
3771
3878
|
body?: never;
|
|
3772
3879
|
path?: never;
|