func (m *Modules) GetSchemaModuleForSyncMan(projectID string) (model.SchemaEventingInterface, error) {
	module, err := m.loadModule(projectID)
	if err != nil {
		return nil, err
	}
	return module.schema, nil
}
GetSchemaModuleForSyncMan returns schema module for sync manager
package modules
import (
	"github.com/spaceuptech/space-cloud/gateway/model"
	"github.com/spaceuptech/space-cloud/gateway/modules/auth"
	"github.com/spaceuptech/space-cloud/gateway/modules/crud"
	"github.com/spaceuptech/space-cloud/gateway/modules/eventing"
	"github.com/spaceuptech/space-cloud/gateway/modules/filestore"
	"github.com/spaceuptech/space-cloud/gateway/modules/functions"
	"github.com/spaceuptech/space-cloud/gateway/modules/global/caching"
	"github.com/spaceuptech/space-cloud/gateway/modules/global/letsencrypt"
	"github.com/spaceuptech/space-cloud/gateway/modules/global/routing"
	"github.com/spaceuptech/space-cloud/gateway/modules/schema"
	"github.com/spaceuptech/space-cloud/gateway/modules/userman"
)
func (m *Modules) Auth(projectID string) (*auth.Module, error) {
	module, err := m.loadModule(projectID)
	if err != nil {
		return nil, err
	}
	return module.auth, nil
}
func (m *Modules) DB(projectID string) (*crud.Module, error) {
	module, err := m.loadModule(projectID)
	if err != nil {
		return nil, err
	}
	return module.db, nil
}
func (m *Modules) User(projectID string) (*userman.Module, error) {
	module, err := m.loadModule(projectID)
	if err != nil {
		return nil, err
	}
	return module.user, nil
}
func (m *Modules) File(projectID string) (*filestore.Module, error) {
	module, err := m.loadModule(projectID)
	if err != nil {
		return nil, err
	}
	return module.file, nil
}
func (m *Modules) Functions(projectID string) (*functions.Module, error) {
	module, err := m.loadModule(projectID)
	if err != nil {
		return nil, err
	}
	return module.functions, nil
}
func (m *Modules) Realtime(projectID string) (RealtimeInterface, error) {
	module, err := m.loadModule(projectID)
	if err != nil {
		return nil, err
	}
	return module.realtime, nil
}
func (m *Modules) Eventing(projectID string) (*eventing.Module, error) {
	module, err := m.loadModule(projectID)
	if err != nil {
		return nil, err
	}
	return module.eventing, nil
}
func (m *Modules) GraphQL(projectID string) (GraphQLInterface, error) {
	module, err := m.loadModule(projectID)
	if err != nil {
		return nil, err
	}
	return module.graphql, nil
}
func (m *Modules) Schema(projectID string) (*schema.Schema, error) {
	module, err := m.loadModule(projectID)
	if err != nil {
		return nil, err
	}
	return module.schema, nil
}