Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#include <memory>
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"
#include "RawViewDefV9.g.h"
#include "RawColumnDefaultValueV9.g.h"
#include "RawProcedureDefV9.g.h"
#include "RawViewDefV9.g.h"

namespace SpacetimeDB::Internal {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#include <memory>
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"
#include "RawModuleDefV10.g.h"
#include "RawModuleDefV8.g.h"
#include "RawModuleDefV9.g.h"
#include "RawModuleDefV10.g.h"

namespace SpacetimeDB::Internal {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,19 @@
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"
#include "RawViewDefV10.g.h"
#include "CaseConversionPolicy.g.h"
#include "RawScheduleDefV10.g.h"
#include "RawTableDefV10.g.h"
#include "Typespace.g.h"
#include "RawReducerDefV10.g.h"
#include "RawProcedureDefV10.g.h"
#include "RawTypeDefV10.g.h"
#include "RawLifeCycleReducerDefV10.g.h"
#include "RawRowLevelSecurityDefV9.g.h"
#include "Typespace.g.h"
#include "ExplicitNames.g.h"
#include "RawProcedureDefV10.g.h"
#include "RawModuleMountV10.g.h"
#include "RawScheduleDefV10.g.h"
#include "RawTableDefV10.g.h"
#include "CaseConversionPolicy.g.h"
#include "RawLifeCycleReducerDefV10.g.h"
#include "RawReducerDefV10.g.h"

namespace SpacetimeDB::Internal {

SPACETIMEDB_INTERNAL_TAGGED_ENUM(RawModuleDefV10Section, SpacetimeDB::Internal::Typespace, std::vector<SpacetimeDB::Internal::RawTypeDefV10>, std::vector<SpacetimeDB::Internal::RawTableDefV10>, std::vector<SpacetimeDB::Internal::RawReducerDefV10>, std::vector<SpacetimeDB::Internal::RawProcedureDefV10>, std::vector<SpacetimeDB::Internal::RawViewDefV10>, std::vector<SpacetimeDB::Internal::RawScheduleDefV10>, std::vector<SpacetimeDB::Internal::RawLifeCycleReducerDefV10>, std::vector<SpacetimeDB::Internal::RawRowLevelSecurityDefV9>, SpacetimeDB::Internal::CaseConversionPolicy, SpacetimeDB::Internal::ExplicitNames)
SPACETIMEDB_INTERNAL_TAGGED_ENUM(RawModuleDefV10Section, SpacetimeDB::Internal::Typespace, std::vector<SpacetimeDB::Internal::RawTypeDefV10>, std::vector<SpacetimeDB::Internal::RawTableDefV10>, std::vector<SpacetimeDB::Internal::RawReducerDefV10>, std::vector<SpacetimeDB::Internal::RawProcedureDefV10>, std::vector<SpacetimeDB::Internal::RawViewDefV10>, std::vector<SpacetimeDB::Internal::RawScheduleDefV10>, std::vector<SpacetimeDB::Internal::RawLifeCycleReducerDefV10>, std::vector<SpacetimeDB::Internal::RawRowLevelSecurityDefV9>, SpacetimeDB::Internal::CaseConversionPolicy, SpacetimeDB::Internal::ExplicitNames, std::vector<SpacetimeDB::Internal::RawModuleMountV10>)
} // namespace SpacetimeDB::Internal
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#include <memory>
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"
#include "ReducerDef.g.h"
#include "MiscModuleExport.g.h"
#include "Typespace.g.h"
#include "MiscModuleExport.g.h"
#include "ReducerDef.g.h"
#include "TableDesc.g.h"

namespace SpacetimeDB::Internal {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
#include <memory>
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"
#include "RawTableDefV9.g.h"
#include "RawTypeDefV9.g.h"
#include "RawMiscModuleExportV9.g.h"
#include "Typespace.g.h"
#include "RawReducerDefV9.g.h"
#include "RawRowLevelSecurityDefV9.g.h"
#include "RawTableDefV9.g.h"
#include "RawTypeDefV9.g.h"
#include "RawMiscModuleExportV9.g.h"

namespace SpacetimeDB::Internal {

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// 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 codegen.

#pragma once

#include <cstdint>
#include <string>
#include <vector>
#include <optional>
#include <memory>
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"

// Forward declaration breaks the circular include chain:
// RawModuleMountV10 -> RawModuleDefV10 -> RawModuleDefV10Section -> RawModuleMountV10
namespace SpacetimeDB::Internal { struct RawModuleDefV10; }

namespace SpacetimeDB::Internal {

SPACETIMEDB_INTERNAL_PRODUCT_TYPE(RawModuleMountV10) {
std::string namespace_; // renamed: 'namespace' is a C++ keyword
std::shared_ptr<SpacetimeDB::Internal::RawModuleDefV10> module; // shared_ptr breaks infinite-size recursion

void bsatn_serialize(::SpacetimeDB::bsatn::Writer& writer) const {
::SpacetimeDB::bsatn::serialize(writer, namespace_);
if (module) ::SpacetimeDB::bsatn::serialize(writer, *module);
}
bool operator==(const RawModuleMountV10& o) const noexcept {
if (namespace_ != o.namespace_) return false;
if (module && o.module) return *module == *o.module;
return !module && !o.module;
}
bool operator!=(const RawModuleMountV10& o) const noexcept { return !(*this == o); }
};
} // namespace SpacetimeDB::Internal
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#include <memory>
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"
#include "FunctionVisibility.g.h"
#include "ProductType.g.h"
#include "AlgebraicType.g.h"
#include "FunctionVisibility.g.h"

namespace SpacetimeDB::Internal {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#include <memory>
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"
#include "AlgebraicType.g.h"
#include "FunctionVisibility.g.h"
#include "ProductType.g.h"
#include "FunctionVisibility.g.h"
#include "AlgebraicType.g.h"

namespace SpacetimeDB::Internal {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#include <memory>
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"
#include "Lifecycle.g.h"
#include "ProductType.g.h"
#include "Lifecycle.g.h"

namespace SpacetimeDB::Internal {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
#include <memory>
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"
#include "RawIndexDefV10.g.h"
#include "TableType.g.h"
#include "TableAccess.g.h"
#include "RawColumnDefaultValueV10.g.h"
#include "RawConstraintDefV10.g.h"
#include "RawSequenceDefV10.g.h"
#include "RawConstraintDefV10.g.h"
#include "RawIndexDefV10.g.h"

namespace SpacetimeDB::Internal {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
#include <memory>
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"
#include "RawIndexDefV8.g.h"
#include "RawSequenceDefV8.g.h"
#include "RawColumnDefV8.g.h"
#include "RawConstraintDefV8.g.h"
#include "RawIndexDefV8.g.h"

namespace SpacetimeDB::Internal {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
#include "../autogen_base.h"
#include "spacetimedb/bsatn/bsatn.h"
#include "RawScheduleDefV9.g.h"
#include "RawSequenceDefV9.g.h"
#include "RawIndexDefV9.g.h"
#include "TableType.g.h"
#include "RawSequenceDefV9.g.h"
#include "TableAccess.g.h"
#include "RawConstraintDefV9.g.h"
#include "RawIndexDefV9.g.h"

namespace SpacetimeDB::Internal {

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading