Files
Shubham Mishra fd3cdb3d0b [2/3] [Rust] Host changes for RawModuleDefV10 (#4105)
# 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.
2026-01-28 15:10:57 +00:00

54 lines
1.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 RawViewDefV10
{
[DataMember(Name = "source_name")]
public string SourceName;
[DataMember(Name = "index")]
public uint Index;
[DataMember(Name = "is_public")]
public bool IsPublic;
[DataMember(Name = "is_anonymous")]
public bool IsAnonymous;
[DataMember(Name = "params")]
public List<SpacetimeDB.BSATN.AggregateElement> Params;
[DataMember(Name = "return_type")]
public SpacetimeDB.BSATN.AlgebraicType ReturnType;
public RawViewDefV10(
string SourceName,
uint Index,
bool IsPublic,
bool IsAnonymous,
List<SpacetimeDB.BSATN.AggregateElement> Params,
SpacetimeDB.BSATN.AlgebraicType ReturnType
)
{
this.SourceName = SourceName;
this.Index = Index;
this.IsPublic = IsPublic;
this.IsAnonymous = IsAnonymous;
this.Params = Params;
this.ReturnType = ReturnType;
}
public RawViewDefV10()
{
this.SourceName = "";
this.Params = new();
this.ReturnType = null!;
}
}
}