module Ecoportal module API class GraphQL module Model class Organization < Ecoportal::API::GraphQL::Base::Organization DEFAULT_PATH = ["currentOrganization"] class << self extend Ecoportal::API::Common::GraphQL::QueryIntegration def path(*add) DEFAULT_PATH.dup.push(*add) end query :tagTree, query_klass: "Ecoportal::API::GraphQL::Query::TagTree" query :tagTrees, query_klass: "Ecoportal::API::GraphQL::Query::TagTrees" query :contractorEntities, query_klass: "Ecoportal::API::GraphQL::Query::ContractorEntities" #contractorEntity, query :actions, query_klass: "Ecoportal::API::GraphQL::Query::Actions" #action, actionsByPage, actionsCounter #actionCategories #userGroup, userGroups #register, registers #personMembers, attachablePersonMembers end end end end end end