mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-14 11:48:28 -04:00
8b0e5b1ee3
# Description of Changes Closes https://github.com/clockworklabs/SpacetimeDBPrivate/issues/1987 # API and ABI breaking changes This does not affect any APIs but it does affect the code generated # Expected complexity level and risk 1 # Testing <!-- Describe any testing you've done, and any testing you'd like your reviewers to do, so that you're confident that all the changes work as expected! --> - [ ] Snap tests
68 lines
2.3 KiB
C#
Generated
68 lines
2.3 KiB
C#
Generated
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
|
|
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
|
|
|
|
#nullable enable
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace SpacetimeDB.Internal
|
|
{
|
|
[SpacetimeDB.Type]
|
|
[DataContract]
|
|
public sealed partial class RawTableDefV9
|
|
{
|
|
[DataMember(Name = "name")]
|
|
public string Name;
|
|
[DataMember(Name = "product_type_ref")]
|
|
public uint ProductTypeRef;
|
|
[DataMember(Name = "primary_key")]
|
|
public System.Collections.Generic.List<ushort> PrimaryKey;
|
|
[DataMember(Name = "indexes")]
|
|
public System.Collections.Generic.List<RawIndexDefV9> Indexes;
|
|
[DataMember(Name = "constraints")]
|
|
public System.Collections.Generic.List<RawConstraintDefV9> Constraints;
|
|
[DataMember(Name = "sequences")]
|
|
public System.Collections.Generic.List<RawSequenceDefV9> Sequences;
|
|
[DataMember(Name = "schedule")]
|
|
public RawScheduleDefV9? Schedule;
|
|
[DataMember(Name = "table_type")]
|
|
public TableType TableType;
|
|
[DataMember(Name = "table_access")]
|
|
public TableAccess TableAccess;
|
|
|
|
public RawTableDefV9(
|
|
string Name,
|
|
uint ProductTypeRef,
|
|
System.Collections.Generic.List<ushort> PrimaryKey,
|
|
System.Collections.Generic.List<RawIndexDefV9> Indexes,
|
|
System.Collections.Generic.List<RawConstraintDefV9> Constraints,
|
|
System.Collections.Generic.List<RawSequenceDefV9> Sequences,
|
|
RawScheduleDefV9? Schedule,
|
|
TableType TableType,
|
|
TableAccess TableAccess
|
|
)
|
|
{
|
|
this.Name = Name;
|
|
this.ProductTypeRef = ProductTypeRef;
|
|
this.PrimaryKey = PrimaryKey;
|
|
this.Indexes = Indexes;
|
|
this.Constraints = Constraints;
|
|
this.Sequences = Sequences;
|
|
this.Schedule = Schedule;
|
|
this.TableType = TableType;
|
|
this.TableAccess = TableAccess;
|
|
}
|
|
|
|
public RawTableDefV9()
|
|
{
|
|
this.Name = "";
|
|
this.PrimaryKey = new();
|
|
this.Indexes = new();
|
|
this.Constraints = new();
|
|
this.Sequences = new();
|
|
}
|
|
}
|
|
}
|