Module: Cortex
- Defined in:
- app/models/cortex/contract.rb,
lib/cortex.rb,
lib/cortex/engine.rb,
lib/cortex/version.rb,
app/models/cortex/role.rb,
app/models/cortex/user.rb,
app/models/cortex/field.rb,
app/models/cortex/tenant.rb,
app/cells/cortex/field_cell.rb,
app/cells/cortex/index_cell.rb,
app/models/cortex/decorator.rb,
app/types/cortex/core_types.rb,
app/cells/cortex/wizard_cell.rb,
app/models/cortex/field_item.rb,
app/models/cortex/field_type.rb,
app/models/cortex/permission.rb,
app/models/cortex/content_item.rb,
app/models/cortex/content_type.rb,
app/helpers/cortex/popup_helper.rb,
app/jobs/cortex/application_job.rb,
app/graphql/cortex/cortex_schema.rb,
app/cells/cortex/application_cell.rb,
app/cells/cortex/wizard/step_cell.rb,
app/types/cortex/transaction_type.rb,
app/cells/cortex/content_type_cell.rb,
app/cells/cortex/wizard/field_cell.rb,
app/graphql/cortex/types/user_type.rb,
app/types/cortex/application_types.rb,
app/cells/cortex/wizard/column_cell.rb,
app/cells/cortex/wizard/plugin_cell.rb,
app/graphql/cortex/types/field_type.rb,
app/graphql/cortex/types/query_type.rb,
app/helpers/cortex/dashboard_helper.rb,
app/graphql/cortex/types/tenant_type.rb,
app/models/cortex/application_record.rb,
app/helpers/cortex/application_helper.rb,
app/mailers/cortex/application_mailer.rb,
app/models/concerns/cortex/searchable.rb,
app/graphql/cortex/types/contract_type.rb,
app/graphql/cortex/types/mutation_type.rb,
app/helpers/cortex/content_item_helper.rb,
app/policies/cortex/application_policy.rb,
app/controllers/cortex/admin_controller.rb,
app/graphql/cortex/types/date_time_type.rb,
app/models/concerns/cortex/has_gravatar.rb,
app/models/cortex/contentable_decorator.rb,
app/policies/cortex/content_item_policy.rb,
app/policies/cortex/content_type_policy.rb,
app/cells/cortex/index/content_item_cell.rb,
app/devise/cortex/authentication_failure.rb,
app/graphql/cortex/types/field_item_type.rb,
app/mailers/cortex/password_reset_mailer.rb,
app/controllers/cortex/graphql_controller.rb,
app/controllers/cortex/tenants_controller.rb,
app/graphql/cortex/types/content_item_type.rb,
app/graphql/cortex/types/content_type_type.rb,
app/containers/cortex/transaction_container.rb,
app/controllers/concerns/cortex/decoratable.rb,
app/helpers/cortex/cells/association_helper.rb,
app/controllers/cortex/dashboards_controller.rb,
app/models/concerns/cortex/belongs_to_tenant.rb,
app/controllers/cortex/application_controller.rb,
app/types/cortex/content_item_transaction_type.rb,
app/controllers/cortex/content_items_controller.rb,
app/controllers/cortex/content_types_controller.rb,
app/transactions/cortex/application_transaction.rb,
app/transactions/concerns/cortex/widget_parsable.rb,
app/models/concerns/cortex/has_firstname_lastname.rb,
app/operations/cortex/database_transact_operation.rb,
app/transactions/concerns/cortex/content_itemable.rb,
app/models/concerns/cortex/searchable_content_item.rb,
app/models/concerns/cortex/searchable_content_type.rb,
app/transactions/cortex/new_field_item_transaction.rb,
app/operations/cortex/persist_content_item_operation.rb,
app/transactions/cortex/get_content_item_transaction.rb,
app/transactions/cortex/get_publish_state_transaction.rb,
app/transactions/cortex/update_field_item_transaction.rb,
app/transactions/concerns/cortex/field_item_transactor.rb,
app/transactions/cortex/create_content_item_transaction.rb,
app/transactions/cortex/update_content_item_transaction.rb,
app/operations/cortex/parse_content_item_field_items_operation.rb,
app/operations/cortex/execute_content_item_state_change_operation.rb,
app/models/concerns/cortex/searchable_content_item_for_content_type.rb,
app/transactions/cortex/get_content_items_for_content_type_transaction.rb
Overview
TODO: The entire Publish system needs to be reworked to avoid hardcoded references and data integrity issues
Defined Under Namespace
Modules: ApplicationHelper, ApplicationTypes, BelongsToTenant, Cells, ContentItemHelper, ContentItemable, CoreTypes, DashboardHelper, Decoratable, FieldItemTransactor, HasFirstnameLastname, HasGravatar, Index, PopupHelper, Searchable, SearchableContentItem, SearchableContentItemForContentType, SearchableContentType, WidgetParsable, Wizard Classes: AdminController, ApplicationCell, ApplicationController, ApplicationJob, ApplicationMailer, ApplicationPolicy, ApplicationRecord, ApplicationTransaction, AuthenticationFailure, ContentItem, ContentItemPolicy, ContentItemTransactionType, ContentItemsController, ContentType, ContentTypeCell, ContentTypePolicy, ContentTypesController, ContentableDecorator, Contract, CreateContentItemTransaction, DashboardsController, Decorator, Engine, ExecuteContentItemStateChangeOperation, Field, FieldCell, FieldItem, FieldType, GetContentItemTransaction, GetContentItemsForContentTypeTransaction, GetPublishStateTransaction, GraphqlController, IndexCell, NewFieldItemTransaction, ParseContentItemFieldItemsOperation, PasswordResetMailer, Permission, PersistContentItemOperation, Role, Tenant, TenantsController, TransactionContainer, TransactionType, UpdateContentItemTransaction, UpdateFieldItemTransaction, User, WizardCell
Constant Summary collapse
- VERSION =
'0.1.3'
- CortexSchema =
GraphQL::Schema.define do use ApolloTracing.new # mutation(Cortex::Types::MutationType) query(Cortex::Types::QueryType) end
- DatabaseTransactOperation =
-> (input, &block) { extend Dry::Monads::Result::Mixin result = nil ActiveRecord::Base.transaction do result = block.(Success(input)) raise ActiveRecord::Rollback if result.failure? end result }