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

51 lines
1.4 KiB
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 RawModuleDefV8
{
[DataMember(Name = "typespace")]
public SpacetimeDB.Internal.Typespace Typespace;
[DataMember(Name = "tables")]
public System.Collections.Generic.List<SpacetimeDB.Internal.TableDesc> Tables;
[DataMember(Name = "reducers")]
public System.Collections.Generic.List<SpacetimeDB.Internal.ReducerDef> Reducers;
[DataMember(Name = "misc_exports")]
public System.Collections.Generic.List<SpacetimeDB.Internal.MiscModuleExport> MiscExports;
public RawModuleDefV8(
SpacetimeDB.Internal.Typespace Typespace,
System.Collections.Generic.List<SpacetimeDB.Internal.TableDesc> Tables,
System.Collections.Generic.List<SpacetimeDB.Internal.ReducerDef> Reducers,
System.Collections.Generic.List<SpacetimeDB.Internal.MiscModuleExport> MiscExports
)
{
this.Typespace = Typespace;
this.Tables = Tables;
this.Reducers = Reducers;
this.MiscExports = MiscExports;
}
public RawModuleDefV8()
{
this.Typespace = new();
this.Tables = new();
this.Reducers = new();
this.MiscExports = new();
}
}
}