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

41 lines
808 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 ReducerDef
{
[DataMember(Name = "name")]
public string Name;
[DataMember(Name = "args")]
public System.Collections.Generic.List<SpacetimeDB.BSATN.AggregateElement> Args;
public ReducerDef(
string Name,
System.Collections.Generic.List<SpacetimeDB.BSATN.AggregateElement> Args
)
{
this.Name = Name;
this.Args = Args;
}
public ReducerDef()
{
this.Name = "";
this.Args = new();
}
}
}