-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement websocket api changes in new C# sdk
- Loading branch information
Showing
21 changed files
with
537 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE | ||
// WILL NOT BE SAVED. MODIFY TABLES IN RUST INSTEAD. | ||
// <auto-generated /> | ||
|
||
#nullable enable | ||
|
||
using System; | ||
using SpacetimeDB; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Runtime.Serialization; | ||
|
||
namespace SpacetimeDB.ClientApi | ||
{ | ||
[SpacetimeDB.Type] | ||
[DataContract] | ||
public partial class BsatnRowList | ||
{ | ||
[DataMember(Name = "size_hint")] | ||
public SpacetimeDB.ClientApi.RowSizeHint SizeHint; | ||
[DataMember(Name = "rows_data")] | ||
public byte[] RowsData; | ||
|
||
public BsatnRowList( | ||
SpacetimeDB.ClientApi.RowSizeHint SizeHint, | ||
byte[] RowsData | ||
) | ||
{ | ||
this.SizeHint = SizeHint; | ||
this.RowsData = RowsData; | ||
} | ||
|
||
public BsatnRowList() | ||
{ | ||
this.SizeHint = null!; | ||
this.RowsData = Array.Empty<byte>(); | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE | ||
// WILL NOT BE SAVED. MODIFY TABLES IN RUST INSTEAD. | ||
// <auto-generated /> | ||
|
||
#nullable enable | ||
|
||
using System; | ||
using SpacetimeDB; | ||
|
||
namespace SpacetimeDB.ClientApi | ||
{ | ||
[SpacetimeDB.Type] | ||
public partial record CompressableQueryUpdate : SpacetimeDB.TaggedEnum<( | ||
SpacetimeDB.ClientApi.QueryUpdate Uncompressed, | ||
byte[] Brotli | ||
)>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE | ||
// WILL NOT BE SAVED. MODIFY TABLES IN RUST INSTEAD. | ||
// <auto-generated /> | ||
|
||
#nullable enable | ||
|
||
using System; | ||
using SpacetimeDB; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Runtime.Serialization; | ||
|
||
namespace SpacetimeDB.ClientApi | ||
{ | ||
[SpacetimeDB.Type] | ||
[DataContract] | ||
public partial class QueryUpdate | ||
{ | ||
[DataMember(Name = "deletes")] | ||
public SpacetimeDB.ClientApi.BsatnRowList Deletes; | ||
[DataMember(Name = "inserts")] | ||
public SpacetimeDB.ClientApi.BsatnRowList Inserts; | ||
|
||
public QueryUpdate( | ||
SpacetimeDB.ClientApi.BsatnRowList Deletes, | ||
SpacetimeDB.ClientApi.BsatnRowList Inserts | ||
) | ||
{ | ||
this.Deletes = Deletes; | ||
this.Inserts = Inserts; | ||
} | ||
|
||
public QueryUpdate() | ||
{ | ||
this.Deletes = new(); | ||
this.Inserts = new(); | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.