@@ -56,9 +56,11 @@ interface TPathDescription {
5656 ColumnTableDescription ?: unknown ;
5757
5858 TableIndex ?: TIndexDescription ;
59+
60+ CdcStreamDescription ?: TCdcStreamDescription ;
5961}
6062
61- interface TDirEntry {
63+ export interface TDirEntry {
6264 Name ?: string ;
6365 /** uint64 */
6466 PathId ?: string ;
@@ -208,6 +210,44 @@ export interface TIndexDescription {
208210 DataSize ?: string ;
209211}
210212
213+ enum ECdcStreamMode {
214+ ECdcStreamModeInvalid = 'ECdcStreamModeInvalid' ,
215+ ECdcStreamModeKeysOnly = 'ECdcStreamModeKeysOnly' ,
216+ ECdcStreamModeUpdate = 'ECdcStreamModeUpdate' ,
217+ ECdcStreamModeNewImage = 'ECdcStreamModeNewImage' ,
218+ ECdcStreamModeOldImage = 'ECdcStreamModeOldImage' ,
219+ ECdcStreamModeNewAndOldImages = 'ECdcStreamModeNewAndOldImages' ,
220+ }
221+
222+ enum ECdcStreamFormat {
223+ ECdcStreamFormatInvalid = 'ECdcStreamFormatInvalid' ,
224+ ECdcStreamFormatProto = 'ECdcStreamFormatProto' ,
225+ ECdcStreamFormatJson = 'ECdcStreamFormatJson' ,
226+ }
227+
228+ enum ECdcStreamState {
229+ ECdcStreamStateInvalid = 'ECdcStreamStateInvalid' ,
230+ ECdcStreamStateReady = 'ECdcStreamStateReady' ,
231+ ECdcStreamStateDisabled = 'ECdcStreamStateDisabled' ,
232+ }
233+
234+ interface TPathID {
235+ /** fixed64 */
236+ OwnerId ?: string ;
237+ /** uint64 */
238+ LocalId ?: string ;
239+ }
240+
241+ export interface TCdcStreamDescription {
242+ Name ?: string ;
243+ Mode ?: ECdcStreamMode ;
244+ Format ?: ECdcStreamFormat ;
245+ PathId ?: TPathID ;
246+ State ?: ECdcStreamState ;
247+ /** uint64 */
248+ SchemaVersion ?: string ;
249+ }
250+
211251// incomplete
212252export enum EPathType {
213253 EPathTypeInvalid = 'EPathTypeInvalid' ,
0 commit comments