diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/IndexType.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/IndexType.g.cs index 3da796b8680..4dcea669725 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/IndexType.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/IndexType.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/Lifecycle.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/Lifecycle.g.cs index 6d65c56932d..de0e7ea2206 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/Lifecycle.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/Lifecycle.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/MiscModuleExport.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/MiscModuleExport.g.cs index 0e4d64351ad..a608927793a 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/MiscModuleExport.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/MiscModuleExport.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawColumnDefV8.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawColumnDefV8.g.cs index 127789bb8b3..ed73c77d986 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawColumnDefV8.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawColumnDefV8.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawColumnDefaultValueV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawColumnDefaultValueV9.g.cs index 475d5b03e96..8e087493920 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawColumnDefaultValueV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawColumnDefaultValueV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDataV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDataV9.g.cs index 2ff1c6b3588..bea53094110 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDataV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDataV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDefV8.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDefV8.g.cs index f1aa5d706f8..5b245ba0a4f 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDefV8.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDefV8.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDefV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDefV9.g.cs index 3eb7ad7faad..042687b059c 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDefV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawConstraintDefV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexAlgorithm.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexAlgorithm.g.cs index 4378beed595..6e93c908b55 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexAlgorithm.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexAlgorithm.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexDefV8.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexDefV8.g.cs index 7949c68da0b..8fe89405884 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexDefV8.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexDefV8.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexDefV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexDefV9.g.cs index 5bf20c51fef..85f2524b963 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexDefV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawIndexDefV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawMiscModuleExportV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawMiscModuleExportV9.g.cs index 8c720392f65..b2887f2b49e 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawMiscModuleExportV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawMiscModuleExportV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDef.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDef.g.cs index f6f9f80d136..132e6910bcf 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDef.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDef.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDefV8.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDefV8.g.cs index 225d217074c..ff03785d36e 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDefV8.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDefV8.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDefV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDefV9.g.cs index 66173638fe6..f8447ce68ee 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDefV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawModuleDefV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawReducerDefV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawReducerDefV9.g.cs index b85972339c4..964c24d833d 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawReducerDefV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawReducerDefV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawRowLevelSecurityDefV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawRowLevelSecurityDefV9.g.cs index 86022728d3d..0b3e26f3af4 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawRowLevelSecurityDefV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawRowLevelSecurityDefV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawScheduleDefV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawScheduleDefV9.g.cs index 01423322c48..00f88884d4b 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawScheduleDefV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawScheduleDefV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawScopedTypeNameV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawScopedTypeNameV9.g.cs index 3e414d08a48..e6bde866c40 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawScopedTypeNameV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawScopedTypeNameV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawSequenceDefV8.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawSequenceDefV8.g.cs index 5d8b78e0eef..c0ccd834c96 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawSequenceDefV8.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawSequenceDefV8.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawSequenceDefV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawSequenceDefV9.g.cs index 3d64c3fec6b..002b7d6a79e 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawSequenceDefV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawSequenceDefV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawTableDefV8.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawTableDefV8.g.cs index edc06e19675..7306480a4de 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawTableDefV8.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawTableDefV8.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawTableDefV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawTableDefV9.g.cs index b21da87a882..5d928a74185 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawTableDefV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawTableDefV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawTypeDefV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawTypeDefV9.g.cs index 8ffa0de2bd9..1e345564227 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawTypeDefV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawTypeDefV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/RawUniqueConstraintDataV9.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/RawUniqueConstraintDataV9.g.cs index 8e8ebf357ef..eea2961ae8d 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/RawUniqueConstraintDataV9.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/RawUniqueConstraintDataV9.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/ReducerDef.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/ReducerDef.g.cs index 920bcc27160..0a010c1834d 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/ReducerDef.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/ReducerDef.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/TableAccess.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/TableAccess.g.cs index 502b5559126..0ba303b9131 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/TableAccess.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/TableAccess.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/TableDesc.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/TableDesc.g.cs index 7e6993fbdda..9e3e157e60d 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/TableDesc.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/TableDesc.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/TableType.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/TableType.g.cs index bc76eb9ef19..8b935aa6408 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/TableType.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/TableType.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/TypeAlias.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/TypeAlias.g.cs index 3f5861933f9..ab0fe6b202e 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/TypeAlias.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/TypeAlias.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-csharp/Runtime/Internal/Autogen/Typespace.g.cs b/crates/bindings-csharp/Runtime/Internal/Autogen/Typespace.g.cs index 536d150a623..c9ef1fee942 100644 --- a/crates/bindings-csharp/Runtime/Internal/Autogen/Typespace.g.cs +++ b/crates/bindings-csharp/Runtime/Internal/Autogen/Typespace.g.cs @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.2.0 (commit 1814483514681baeedb23e1dadd342dac4697ac5). - #nullable enable using System; diff --git a/crates/bindings-typescript/src/autogen/algebraic_type_type.ts b/crates/bindings-typescript/src/autogen/algebraic_type_type.ts index feab7f22b4a..86382ebc6e7 100644 --- a/crates/bindings-typescript/src/autogen/algebraic_type_type.ts +++ b/crates/bindings-typescript/src/autogen/algebraic_type_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/algebraic_type_variants.ts b/crates/bindings-typescript/src/autogen/algebraic_type_variants.ts index df1992c048f..e6233b5f40b 100644 --- a/crates/bindings-typescript/src/autogen/algebraic_type_variants.ts +++ b/crates/bindings-typescript/src/autogen/algebraic_type_variants.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/index_type_type.ts b/crates/bindings-typescript/src/autogen/index_type_type.ts index ff61a7cc6a0..bae2e283ca6 100644 --- a/crates/bindings-typescript/src/autogen/index_type_type.ts +++ b/crates/bindings-typescript/src/autogen/index_type_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/index_type_variants.ts b/crates/bindings-typescript/src/autogen/index_type_variants.ts index 30e120ae9a2..0c5d59e705e 100644 --- a/crates/bindings-typescript/src/autogen/index_type_variants.ts +++ b/crates/bindings-typescript/src/autogen/index_type_variants.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/lifecycle_type.ts b/crates/bindings-typescript/src/autogen/lifecycle_type.ts index 950f5d110df..2df3181ffc2 100644 --- a/crates/bindings-typescript/src/autogen/lifecycle_type.ts +++ b/crates/bindings-typescript/src/autogen/lifecycle_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/lifecycle_variants.ts b/crates/bindings-typescript/src/autogen/lifecycle_variants.ts index f08120a97e0..825dc3f24aa 100644 --- a/crates/bindings-typescript/src/autogen/lifecycle_variants.ts +++ b/crates/bindings-typescript/src/autogen/lifecycle_variants.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/misc_module_export_type.ts b/crates/bindings-typescript/src/autogen/misc_module_export_type.ts index a904ba7fd59..fa26b3fb123 100644 --- a/crates/bindings-typescript/src/autogen/misc_module_export_type.ts +++ b/crates/bindings-typescript/src/autogen/misc_module_export_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/misc_module_export_variants.ts b/crates/bindings-typescript/src/autogen/misc_module_export_variants.ts index 5bca056d4db..f4b9b9f68ef 100644 --- a/crates/bindings-typescript/src/autogen/misc_module_export_variants.ts +++ b/crates/bindings-typescript/src/autogen/misc_module_export_variants.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/product_type_element_type.ts b/crates/bindings-typescript/src/autogen/product_type_element_type.ts index bf8ed63332c..b3d0d7b6d83 100644 --- a/crates/bindings-typescript/src/autogen/product_type_element_type.ts +++ b/crates/bindings-typescript/src/autogen/product_type_element_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/product_type_type.ts b/crates/bindings-typescript/src/autogen/product_type_type.ts index a19be70fe43..dc5ead76737 100644 --- a/crates/bindings-typescript/src/autogen/product_type_type.ts +++ b/crates/bindings-typescript/src/autogen/product_type_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_column_def_v_8_type.ts b/crates/bindings-typescript/src/autogen/raw_column_def_v_8_type.ts index da026b6e186..144f49ff7f8 100644 --- a/crates/bindings-typescript/src/autogen/raw_column_def_v_8_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_column_def_v_8_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_column_default_value_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_column_default_value_v_9_type.ts index 1287d2d766d..507780b61ea 100644 --- a/crates/bindings-typescript/src/autogen/raw_column_default_value_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_column_default_value_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_constraint_data_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_constraint_data_v_9_type.ts index d5df3e0e100..bb8035147f1 100644 --- a/crates/bindings-typescript/src/autogen/raw_constraint_data_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_constraint_data_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_constraint_data_v_9_variants.ts b/crates/bindings-typescript/src/autogen/raw_constraint_data_v_9_variants.ts index d71210f5642..e6520fa0a22 100644 --- a/crates/bindings-typescript/src/autogen/raw_constraint_data_v_9_variants.ts +++ b/crates/bindings-typescript/src/autogen/raw_constraint_data_v_9_variants.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_constraint_def_v_8_type.ts b/crates/bindings-typescript/src/autogen/raw_constraint_def_v_8_type.ts index 58bf26292b7..e3fb96b1617 100644 --- a/crates/bindings-typescript/src/autogen/raw_constraint_def_v_8_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_constraint_def_v_8_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_constraint_def_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_constraint_def_v_9_type.ts index a2ef77c6cbc..43a4f27a515 100644 --- a/crates/bindings-typescript/src/autogen/raw_constraint_def_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_constraint_def_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_index_algorithm_type.ts b/crates/bindings-typescript/src/autogen/raw_index_algorithm_type.ts index c839cbb70ff..34ab3f6baf0 100644 --- a/crates/bindings-typescript/src/autogen/raw_index_algorithm_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_index_algorithm_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_index_algorithm_variants.ts b/crates/bindings-typescript/src/autogen/raw_index_algorithm_variants.ts index 3319c94afab..fca00bf0b48 100644 --- a/crates/bindings-typescript/src/autogen/raw_index_algorithm_variants.ts +++ b/crates/bindings-typescript/src/autogen/raw_index_algorithm_variants.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_index_def_v_8_type.ts b/crates/bindings-typescript/src/autogen/raw_index_def_v_8_type.ts index 722d25763aa..9ae2c2f0c4e 100644 --- a/crates/bindings-typescript/src/autogen/raw_index_def_v_8_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_index_def_v_8_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_index_def_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_index_def_v_9_type.ts index 8e025d9f999..687c16e89db 100644 --- a/crates/bindings-typescript/src/autogen/raw_index_def_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_index_def_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_misc_module_export_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_misc_module_export_v_9_type.ts index ad225023ba2..87d1ddc3f52 100644 --- a/crates/bindings-typescript/src/autogen/raw_misc_module_export_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_misc_module_export_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_misc_module_export_v_9_variants.ts b/crates/bindings-typescript/src/autogen/raw_misc_module_export_v_9_variants.ts index 3e15b9f03eb..9eee45ea6bc 100644 --- a/crates/bindings-typescript/src/autogen/raw_misc_module_export_v_9_variants.ts +++ b/crates/bindings-typescript/src/autogen/raw_misc_module_export_v_9_variants.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_module_def_type.ts b/crates/bindings-typescript/src/autogen/raw_module_def_type.ts index 2d49ba95a02..bcbf79852ba 100644 --- a/crates/bindings-typescript/src/autogen/raw_module_def_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_module_def_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_module_def_v_8_type.ts b/crates/bindings-typescript/src/autogen/raw_module_def_v_8_type.ts index 47c4c3e93c2..c5e101d48db 100644 --- a/crates/bindings-typescript/src/autogen/raw_module_def_v_8_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_module_def_v_8_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_module_def_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_module_def_v_9_type.ts index ce498ca27f6..effd047ac1e 100644 --- a/crates/bindings-typescript/src/autogen/raw_module_def_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_module_def_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_module_def_variants.ts b/crates/bindings-typescript/src/autogen/raw_module_def_variants.ts index 017e8abb3fe..48b7371f226 100644 --- a/crates/bindings-typescript/src/autogen/raw_module_def_variants.ts +++ b/crates/bindings-typescript/src/autogen/raw_module_def_variants.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_reducer_def_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_reducer_def_v_9_type.ts index 58f662325a8..bc1cd8f2580 100644 --- a/crates/bindings-typescript/src/autogen/raw_reducer_def_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_reducer_def_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_row_level_security_def_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_row_level_security_def_v_9_type.ts index 61ddf168f08..ad0a7c508b7 100644 --- a/crates/bindings-typescript/src/autogen/raw_row_level_security_def_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_row_level_security_def_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_schedule_def_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_schedule_def_v_9_type.ts index 6ae9374b3a3..b92f7a5888b 100644 --- a/crates/bindings-typescript/src/autogen/raw_schedule_def_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_schedule_def_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_scoped_type_name_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_scoped_type_name_v_9_type.ts index 1973b4beac0..dc40fdadd18 100644 --- a/crates/bindings-typescript/src/autogen/raw_scoped_type_name_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_scoped_type_name_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_sequence_def_v_8_type.ts b/crates/bindings-typescript/src/autogen/raw_sequence_def_v_8_type.ts index d6ce72bfe7c..ae5504d114b 100644 --- a/crates/bindings-typescript/src/autogen/raw_sequence_def_v_8_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_sequence_def_v_8_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_sequence_def_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_sequence_def_v_9_type.ts index acc62576c00..1757f1b73b5 100644 --- a/crates/bindings-typescript/src/autogen/raw_sequence_def_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_sequence_def_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_table_def_v_8_type.ts b/crates/bindings-typescript/src/autogen/raw_table_def_v_8_type.ts index e1077966889..6c82d1f1ce0 100644 --- a/crates/bindings-typescript/src/autogen/raw_table_def_v_8_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_table_def_v_8_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_table_def_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_table_def_v_9_type.ts index 34da2e5f652..01662f38eb3 100644 --- a/crates/bindings-typescript/src/autogen/raw_table_def_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_table_def_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_type_def_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_type_def_v_9_type.ts index 84cd101c664..142914c4396 100644 --- a/crates/bindings-typescript/src/autogen/raw_type_def_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_type_def_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/raw_unique_constraint_data_v_9_type.ts b/crates/bindings-typescript/src/autogen/raw_unique_constraint_data_v_9_type.ts index 8a505a021ba..fbcfcb34dec 100644 --- a/crates/bindings-typescript/src/autogen/raw_unique_constraint_data_v_9_type.ts +++ b/crates/bindings-typescript/src/autogen/raw_unique_constraint_data_v_9_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/reducer_def_type.ts b/crates/bindings-typescript/src/autogen/reducer_def_type.ts index e5b814cec0b..4599f53e353 100644 --- a/crates/bindings-typescript/src/autogen/reducer_def_type.ts +++ b/crates/bindings-typescript/src/autogen/reducer_def_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/sum_type_type.ts b/crates/bindings-typescript/src/autogen/sum_type_type.ts index d0b4b0d7d78..9e93939f5fe 100644 --- a/crates/bindings-typescript/src/autogen/sum_type_type.ts +++ b/crates/bindings-typescript/src/autogen/sum_type_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/sum_type_variant_type.ts b/crates/bindings-typescript/src/autogen/sum_type_variant_type.ts index 9b329209226..7028deedb08 100644 --- a/crates/bindings-typescript/src/autogen/sum_type_variant_type.ts +++ b/crates/bindings-typescript/src/autogen/sum_type_variant_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/table_access_type.ts b/crates/bindings-typescript/src/autogen/table_access_type.ts index 1046355d4b5..1da696b60f3 100644 --- a/crates/bindings-typescript/src/autogen/table_access_type.ts +++ b/crates/bindings-typescript/src/autogen/table_access_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/table_access_variants.ts b/crates/bindings-typescript/src/autogen/table_access_variants.ts index f1e870b26de..fc218c98ed2 100644 --- a/crates/bindings-typescript/src/autogen/table_access_variants.ts +++ b/crates/bindings-typescript/src/autogen/table_access_variants.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/table_desc_type.ts b/crates/bindings-typescript/src/autogen/table_desc_type.ts index 3f5ffdfb4c1..469e637714d 100644 --- a/crates/bindings-typescript/src/autogen/table_desc_type.ts +++ b/crates/bindings-typescript/src/autogen/table_desc_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/table_type_type.ts b/crates/bindings-typescript/src/autogen/table_type_type.ts index 521e5482d1d..1d5cbdaa311 100644 --- a/crates/bindings-typescript/src/autogen/table_type_type.ts +++ b/crates/bindings-typescript/src/autogen/table_type_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/table_type_variants.ts b/crates/bindings-typescript/src/autogen/table_type_variants.ts index 4452eeb3646..2731730dafb 100644 --- a/crates/bindings-typescript/src/autogen/table_type_variants.ts +++ b/crates/bindings-typescript/src/autogen/table_type_variants.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/type_alias_type.ts b/crates/bindings-typescript/src/autogen/type_alias_type.ts index 3979a8ca780..25d4d8efa55 100644 --- a/crates/bindings-typescript/src/autogen/type_alias_type.ts +++ b/crates/bindings-typescript/src/autogen/type_alias_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/bindings-typescript/src/autogen/typespace_type.ts b/crates/bindings-typescript/src/autogen/typespace_type.ts index 940777acc8b..7f797c1ba34 100644 --- a/crates/bindings-typescript/src/autogen/typespace_type.ts +++ b/crates/bindings-typescript/src/autogen/typespace_type.ts @@ -1,8 +1,6 @@ // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -// This was generated using spacetimedb cli version 1.4.0 (commit c9276358a10fa5dcbee7683260a68b8f9aef3361). - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck diff --git a/crates/codegen/src/csharp.rs b/crates/codegen/src/csharp.rs index 0bae17a05f8..f4511c89a60 100644 --- a/crates/codegen/src/csharp.rs +++ b/crates/codegen/src/csharp.rs @@ -8,7 +8,7 @@ use super::code_indenter::CodeIndenter; use super::Lang; use crate::util::{ collect_case, is_reducer_invokable, iter_indexes, iter_reducers, iter_tables, print_auto_generated_file_comment, - type_ref_name, + print_auto_generated_version_comment, type_ref_name, }; use crate::{indent_scope, OutputFile}; use convert_case::{Case, Casing}; @@ -442,6 +442,7 @@ impl Lang for Csharp<'_> { "System.Collections.Generic", "System.Runtime.Serialization", ], + false, ); writeln!(output, "public sealed partial class RemoteTables"); @@ -587,6 +588,7 @@ impl Lang for Csharp<'_> { "System.Collections.Generic", "System.Runtime.Serialization", ], + false, ); writeln!(output, "public sealed partial class RemoteReducers : RemoteBase"); @@ -713,6 +715,7 @@ impl Lang for Csharp<'_> { "System.Collections.Generic", "System.Runtime.Serialization", ], + true, // print the version in the globals file ); writeln!(output, "public sealed partial class RemoteReducers : RemoteBase"); @@ -945,10 +948,13 @@ impl std::ops::DerefMut for CsharpAutogen { } impl CsharpAutogen { - pub fn new(namespace: &str, extra_usings: &[&str]) -> Self { + pub fn new(namespace: &str, extra_usings: &[&str], include_version: bool) -> Self { let mut output = CodeIndenter::new(String::new(), INDENT); print_auto_generated_file_comment(&mut output); + if include_version { + print_auto_generated_version_comment(&mut output); + } writeln!(output, "#nullable enable"); writeln!(output); @@ -984,7 +990,7 @@ impl CsharpAutogen { } fn autogen_csharp_sum(module: &ModuleDef, sum_type_name: String, sum_type: &SumTypeDef, namespace: &str) -> String { - let mut output = CsharpAutogen::new(namespace, &[]); + let mut output = CsharpAutogen::new(namespace, &[], false); writeln!(output, "[SpacetimeDB.Type]"); write!( @@ -1021,7 +1027,7 @@ fn autogen_csharp_sum(module: &ModuleDef, sum_type_name: String, sum_type: &SumT } fn autogen_csharp_plain_enum(enum_type_name: String, enum_type: &PlainEnumTypeDef, namespace: &str) -> String { - let mut output = CsharpAutogen::new(namespace, &[]); + let mut output = CsharpAutogen::new(namespace, &[], false); writeln!(output, "[SpacetimeDB.Type]"); writeln!(output, "public enum {enum_type_name}"); @@ -1038,6 +1044,7 @@ fn autogen_csharp_tuple(module: &ModuleDef, name: String, tuple: &ProductTypeDef let mut output = CsharpAutogen::new( namespace, &["System.Collections.Generic", "System.Runtime.Serialization"], + false, ); autogen_csharp_product_common(module, &mut output, name, tuple, "", |_| {}); diff --git a/crates/codegen/src/rust.rs b/crates/codegen/src/rust.rs index 3fae8de736d..7dabb84f2c8 100644 --- a/crates/codegen/src/rust.rs +++ b/crates/codegen/src/rust.rs @@ -1,7 +1,9 @@ use super::code_indenter::{CodeIndenter, Indenter}; use super::util::{collect_case, iter_reducers, print_lines, type_ref_name}; use super::Lang; -use crate::util::{iter_tables, iter_types, iter_unique_cols, print_auto_generated_file_comment}; +use crate::util::{ + iter_tables, iter_types, iter_unique_cols, print_auto_generated_file_comment, print_auto_generated_version_comment, +}; use crate::OutputFile; use convert_case::{Case, Casing}; use spacetimedb_lib::sats::layout::PrimitiveType; @@ -28,7 +30,7 @@ impl Lang for Rust { let mut output = CodeIndenter::new(String::new(), INDENT); let out = &mut output; - print_file_header(out); + print_file_header(out, false); out.newline(); match &module.typespace_for_generate()[typ.ty] { @@ -78,7 +80,7 @@ impl __sdk::InModule for {type_name} {{ let mut output = CodeIndenter::new(String::new(), INDENT); let out = &mut output; - print_file_header(out); + print_file_header(out, false); let row_type = type_ref_name(module, type_ref); let row_type_module = type_ref_module_name(module, type_ref); @@ -298,7 +300,7 @@ pub(super) fn parse_table_update( let mut output = CodeIndenter::new(String::new(), INDENT); let out = &mut output; - print_file_header(out); + print_file_header(out, false); out.newline(); @@ -489,7 +491,7 @@ impl {set_reducer_flags_trait} for super::SetReducerFlags {{ let mut output = CodeIndenter::new(String::new(), INDENT); let out = &mut output; - print_file_header(out); + print_file_header(out, true); out.newline(); @@ -600,8 +602,11 @@ fn print_spacetimedb_imports(output: &mut Indenter) { print_lines(output, SPACETIMEDB_IMPORTS); } -fn print_file_header(output: &mut Indenter) { +fn print_file_header(output: &mut Indenter, include_version: bool) { print_auto_generated_file_comment(output); + if include_version { + print_auto_generated_version_comment(output); + } writeln!(output, "{ALLOW_LINTS}"); print_spacetimedb_imports(output); } diff --git a/crates/codegen/src/typescript.rs b/crates/codegen/src/typescript.rs index be2706c024d..104793979e5 100644 --- a/crates/codegen/src/typescript.rs +++ b/crates/codegen/src/typescript.rs @@ -1,4 +1,7 @@ -use crate::util::{is_reducer_invokable, iter_reducers, iter_tables, iter_types, iter_unique_cols}; +use crate::util::{ + is_reducer_invokable, iter_reducers, iter_tables, iter_types, iter_unique_cols, + print_auto_generated_version_comment, +}; use crate::{indent_scope, OutputFile}; use super::util::{collect_case, print_auto_generated_file_comment, type_ref_name}; @@ -33,7 +36,7 @@ impl Lang for TypeScript { let mut output = CodeIndenter::new(String::new(), INDENT); let out = &mut output; - print_file_header(out); + print_file_header(out, false); gen_and_print_imports(module, out, &product.elements, &[typ.ty], None); writeln!(out); define_body_for_product(module, out, &type_name, &product.elements); @@ -48,7 +51,7 @@ impl Lang for TypeScript { let mut output = CodeIndenter::new(String::new(), INDENT); let out = &mut output; - print_file_header(out); + print_file_header(out, false); // Note that the current type is not included in dont_import below. gen_and_print_imports(module, out, variants, &[], Some("Type")); writeln!(out); @@ -64,7 +67,7 @@ impl Lang for TypeScript { let mut output = CodeIndenter::new(String::new(), INDENT); let out = &mut output; - print_file_header(out); + print_file_header(out, false); gen_and_print_imports(module, out, variants, &[typ.ty], None); writeln!( out, @@ -113,7 +116,7 @@ impl Lang for TypeScript { let mut output = CodeIndenter::new(String::new(), INDENT); let out = &mut output; - print_file_header(out); + print_file_header(out, false); let type_ref = table.product_type_ref; let row_type = type_ref_name(module, type_ref); @@ -280,7 +283,7 @@ removeOnUpdate = (cb: (ctx: EventContext, onRow: {row_type}, newRow: {row_type}) let mut output = CodeIndenter::new(String::new(), INDENT); let out = &mut output; - print_file_header(out); + print_file_header(out, false); out.newline(); @@ -307,7 +310,7 @@ removeOnUpdate = (cb: (ctx: EventContext, onRow: {row_type}, newRow: {row_type}) let mut output = CodeIndenter::new(String::new(), INDENT); let out = &mut output; - print_file_header(out); + print_file_header(out, true); out.newline(); @@ -697,8 +700,11 @@ fn print_spacetimedb_imports(out: &mut Indenter) { writeln!(out, "}} from \"@clockworklabs/spacetimedb-sdk\";"); } -fn print_file_header(output: &mut Indenter) { +fn print_file_header(output: &mut Indenter, include_version: bool) { print_auto_generated_file_comment(output); + if include_version { + print_auto_generated_version_comment(output); + } print_lint_suppression(output); print_spacetimedb_imports(output); } diff --git a/crates/codegen/src/util.rs b/crates/codegen/src/util.rs index 87bc7813478..a00a7daa024 100644 --- a/crates/codegen/src/util.rs +++ b/crates/codegen/src/util.rs @@ -55,6 +55,9 @@ const AUTO_GENERATED_FILE_COMMENT: &[&str] = &[ pub(super) fn print_auto_generated_file_comment(output: &mut Indenter) { print_lines(output, AUTO_GENERATED_FILE_COMMENT); +} + +pub(super) fn print_auto_generated_version_comment(output: &mut Indenter) { writeln!( output, "// This was generated using spacetimedb cli version {} (commit {}).", diff --git a/crates/codegen/tests/snapshots/codegen__codegen_csharp.snap b/crates/codegen/tests/snapshots/codegen__codegen_csharp.snap index 2a438d3c806..0937300d1a7 100644 --- a/crates/codegen/tests/snapshots/codegen__codegen_csharp.snap +++ b/crates/codegen/tests/snapshots/codegen__codegen_csharp.snap @@ -6,8 +6,6 @@ expression: outfiles // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -90,8 +88,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -167,8 +163,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -244,8 +238,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -307,8 +299,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -359,8 +349,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -435,8 +423,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -512,8 +498,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -588,8 +572,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -651,8 +633,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -714,8 +694,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -791,8 +769,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -854,8 +830,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -950,8 +924,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -1542,8 +1514,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -1573,8 +1543,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -1636,8 +1604,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -1689,8 +1655,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -1742,8 +1706,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -1805,8 +1767,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -1846,8 +1806,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -1877,8 +1835,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -1920,8 +1876,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -1961,8 +1915,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -1992,8 +1944,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2045,8 +1995,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2076,8 +2024,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2109,8 +2055,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2129,8 +2073,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2167,8 +2109,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2187,8 +2127,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2207,8 +2145,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2250,8 +2186,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2288,8 +2222,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2331,8 +2263,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2369,8 +2299,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2402,8 +2330,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2445,8 +2371,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2488,8 +2412,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2521,8 +2443,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2553,8 +2473,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; @@ -2592,8 +2510,6 @@ namespace SpacetimeDB // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #nullable enable using System; diff --git a/crates/codegen/tests/snapshots/codegen__codegen_rust.snap b/crates/codegen/tests/snapshots/codegen__codegen_rust.snap index a9b3076f388..79ecb333d8c 100644 --- a/crates/codegen/tests/snapshots/codegen__codegen_rust.snap +++ b/crates/codegen/tests/snapshots/codegen__codegen_rust.snap @@ -6,8 +6,6 @@ expression: outfiles // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -117,8 +115,6 @@ impl set_flags_for_add_player for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -228,8 +224,6 @@ impl set_flags_for_add_private for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -343,8 +337,6 @@ impl set_flags_for_add for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -449,8 +441,6 @@ impl set_flags_for_assert_caller_identity_is_module_identity for super::SetReduc // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -476,8 +466,6 @@ impl __sdk::InModule for Baz { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -582,8 +570,6 @@ impl set_flags_for_client_connected for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -693,8 +679,6 @@ impl set_flags_for_delete_player for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -804,8 +788,6 @@ impl set_flags_for_delete_players_by_name for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -838,8 +820,6 @@ impl __sdk::InModule for Foobar { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -940,8 +920,6 @@ pub(super) fn parse_table_update( // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -968,8 +946,6 @@ impl __sdk::InModule for HasSpecialStuff { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -1079,8 +1055,6 @@ impl set_flags_for_list_over_age for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -1185,8 +1159,6 @@ impl set_flags_for_log_module_identity for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -2305,8 +2277,6 @@ fn register_tables(client_cache: &mut __sdk::ClientCache) { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -2336,8 +2306,6 @@ impl __sdk::InModule for NamespaceTestC { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -2369,8 +2337,6 @@ impl __sdk::InModule for NamespaceTestF { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -2519,8 +2485,6 @@ pub(super) fn parse_table_update( // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -2548,8 +2512,6 @@ impl __sdk::InModule for Person { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -2729,8 +2691,6 @@ pub(super) fn parse_table_update( // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -2757,8 +2717,6 @@ impl __sdk::InModule for PkMultiIdentity { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -2969,8 +2927,6 @@ pub(super) fn parse_table_update( // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -2998,8 +2954,6 @@ impl __sdk::InModule for Player { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3026,8 +2980,6 @@ impl __sdk::InModule for Point { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3128,8 +3080,6 @@ pub(super) fn parse_table_update( // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3230,8 +3180,6 @@ pub(super) fn parse_table_update( // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3257,8 +3205,6 @@ impl __sdk::InModule for PrivateTable { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3363,8 +3309,6 @@ impl set_flags_for_query_private for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3513,8 +3457,6 @@ pub(super) fn parse_table_update( // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3542,8 +3484,6 @@ impl __sdk::InModule for RepeatingTestArg { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3654,8 +3594,6 @@ impl set_flags_for_repeating_test for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3760,8 +3698,6 @@ impl set_flags_for_say_hello for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3862,8 +3798,6 @@ pub(super) fn parse_table_update( // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3891,8 +3825,6 @@ impl __sdk::InModule for TestA { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -3918,8 +3850,6 @@ impl __sdk::InModule for TestB { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -4024,8 +3954,6 @@ impl set_flags_for_test_btree_index_args for super::SetReducerFlags { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -4127,8 +4055,6 @@ pub(super) fn parse_table_update( // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -4155,8 +4081,6 @@ impl __sdk::InModule for TestD { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -4305,8 +4229,6 @@ pub(super) fn parse_table_update( // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -4333,8 +4255,6 @@ impl __sdk::InModule for TestE { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -4436,8 +4356,6 @@ pub(super) fn parse_table_update( // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, @@ -4464,8 +4382,6 @@ impl __sdk::InModule for TestFoobar { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - #![allow(unused, clippy::all)] use spacetimedb_sdk::__codegen::{ self as __sdk, diff --git a/crates/codegen/tests/snapshots/codegen__codegen_typescript.snap b/crates/codegen/tests/snapshots/codegen__codegen_typescript.snap index d064c60121f..6bd713ca7b3 100644 --- a/crates/codegen/tests/snapshots/codegen__codegen_typescript.snap +++ b/crates/codegen/tests/snapshots/codegen__codegen_typescript.snap @@ -6,8 +6,6 @@ expression: outfiles // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -70,8 +68,6 @@ export default AddPlayer; // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -134,8 +130,6 @@ export default AddPrivate; // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -200,8 +194,6 @@ export default Add; // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -261,8 +253,6 @@ export default AssertCallerIdentityIsModuleIdentity; // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -326,8 +316,6 @@ export default Baz; // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -387,8 +375,6 @@ export default ClientConnected; // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -451,8 +437,6 @@ export default DeletePlayer; // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -515,8 +499,6 @@ export default DeletePlayersByName; // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -591,8 +573,6 @@ export default Foobar; // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -630,8 +610,6 @@ export type Har = { tag: "Har", value: number }; // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -706,8 +684,6 @@ export class HasSpecialStuffTableHandle { // THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE // WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD. -VERSION_COMMENT - /* eslint-disable */ /* tslint:disable */ // @ts-nocheck @@ -1416,8 +1392,6 @@ export type ErrorContext = __ErrorContextInterface