Files
Tyler Cloutier 8b0e5b1ee3 Remove version number and git commit from all but one file in codegen (#3216)
# 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
2025-09-05 00:44:20 +00:00

66 lines
2.2 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 RawTableDefV8
{
[DataMember(Name = "table_name")]
public string TableName;
[DataMember(Name = "columns")]
public System.Collections.Generic.List<RawColumnDefV8> Columns;
[DataMember(Name = "indexes")]
public System.Collections.Generic.List<RawIndexDefV8> Indexes;
[DataMember(Name = "constraints")]
public System.Collections.Generic.List<RawConstraintDefV8> Constraints;
[DataMember(Name = "sequences")]
public System.Collections.Generic.List<RawSequenceDefV8> Sequences;
[DataMember(Name = "table_type")]
public string TableType;
[DataMember(Name = "table_access")]
public string TableAccess;
[DataMember(Name = "scheduled")]
public string? Scheduled;
public RawTableDefV8(
string TableName,
System.Collections.Generic.List<RawColumnDefV8> Columns,
System.Collections.Generic.List<RawIndexDefV8> Indexes,
System.Collections.Generic.List<RawConstraintDefV8> Constraints,
System.Collections.Generic.List<RawSequenceDefV8> Sequences,
string TableType,
string TableAccess,
string? Scheduled
)
{
this.TableName = TableName;
this.Columns = Columns;
this.Indexes = Indexes;
this.Constraints = Constraints;
this.Sequences = Sequences;
this.TableType = TableType;
this.TableAccess = TableAccess;
this.Scheduled = Scheduled;
}
public RawTableDefV8()
{
this.TableName = "";
this.Columns = new();
this.Indexes = new();
this.Constraints = new();
this.Sequences = new();
this.TableType = "";
this.TableAccess = "";
}
}
}