mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-14 19:58:24 -04:00
fd3cdb3d0b
# Description of Changes Host side changes for Wasm to work with `RawModuleDefV10` along with prior versions. Based on #https://github.com/clockworklabs/SpacetimeDB/pull/4098 # API and ABI breaking changes NA # Expected complexity level and risk 1.5 # Testing Existing test will cover for any regression. Not yet functional for `RawModuleDefV10`, so can not be tested now.
69 lines
2.5 KiB
C#
Generated
69 lines
2.5 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 RawTableDefV10
|
|
{
|
|
[DataMember(Name = "source_name")]
|
|
public string SourceName;
|
|
[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<RawIndexDefV10> Indexes;
|
|
[DataMember(Name = "constraints")]
|
|
public System.Collections.Generic.List<RawConstraintDefV10> Constraints;
|
|
[DataMember(Name = "sequences")]
|
|
public System.Collections.Generic.List<RawSequenceDefV10> Sequences;
|
|
[DataMember(Name = "table_type")]
|
|
public TableType TableType;
|
|
[DataMember(Name = "table_access")]
|
|
public TableAccess TableAccess;
|
|
[DataMember(Name = "default_values")]
|
|
public System.Collections.Generic.List<RawColumnDefaultValueV10> DefaultValues;
|
|
|
|
public RawTableDefV10(
|
|
string SourceName,
|
|
uint ProductTypeRef,
|
|
System.Collections.Generic.List<ushort> PrimaryKey,
|
|
System.Collections.Generic.List<RawIndexDefV10> Indexes,
|
|
System.Collections.Generic.List<RawConstraintDefV10> Constraints,
|
|
System.Collections.Generic.List<RawSequenceDefV10> Sequences,
|
|
TableType TableType,
|
|
TableAccess TableAccess,
|
|
System.Collections.Generic.List<RawColumnDefaultValueV10> DefaultValues
|
|
)
|
|
{
|
|
this.SourceName = SourceName;
|
|
this.ProductTypeRef = ProductTypeRef;
|
|
this.PrimaryKey = PrimaryKey;
|
|
this.Indexes = Indexes;
|
|
this.Constraints = Constraints;
|
|
this.Sequences = Sequences;
|
|
this.TableType = TableType;
|
|
this.TableAccess = TableAccess;
|
|
this.DefaultValues = DefaultValues;
|
|
}
|
|
|
|
public RawTableDefV10()
|
|
{
|
|
this.SourceName = "";
|
|
this.PrimaryKey = new();
|
|
this.Indexes = new();
|
|
this.Constraints = new();
|
|
this.Sequences = new();
|
|
this.DefaultValues = new();
|
|
}
|
|
}
|
|
}
|