Files
james gilles f3e3d924f7 Add schema::type_for_generate, update validation to use it (#1661)
Signed-off-by: james gilles <jameshgilles@gmail.com>
Co-authored-by: Ingvar Stepanyan <me@rreverser.com>
2024-09-11 15:38:56 -04:00

40 lines
728 B
C#
Generated

// 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.Internal
{
[SpacetimeDB.Type]
[DataContract]
public partial class TableDesc
{
[DataMember(Name = "schema")]
public SpacetimeDB.Internal.RawTableDefV8 Schema;
[DataMember(Name = "data")]
public uint Data;
public TableDesc(
SpacetimeDB.Internal.RawTableDefV8 Schema,
uint Data
)
{
this.Schema = Schema;
this.Data = Data;
}
public TableDesc()
{
this.Schema = new();
}
}
}