Sha256: d03583922115ae4db4cf1ba84e58f46210c250feb6d1e1e35aad61147aa4bb84

Contents?: true

Size: 874 Bytes

Versions: 15

Compression:

Stored size: 874 Bytes

Contents

# frozen_string_literal: true

module Ree::ObjectSchema
  SCHEMA_VERSION_NUMBER = '1.1'

  SCHEMA_TYPE = 'schema_type'
  REE_VERSION = 'ree_version'
  SCHEMA_VERSION = 'schema_version'
  NAME = 'name'
  OBJECT = 'object'
  LINKS = 'links'
  CONTEXT = 'context'
  PATH = 'path'
  METHODS = 'methods'
  CLASS = 'class'
  PACKAGE_NAME = 'package_name'
  MOUNT_AS = 'mount_as'
  FACTORY = 'factory'
  ERRORS = 'errors'

  module Links
    NAME = 'name'
    PACKAGE_NAME = 'package_name'
    TARGET = 'target'
    AS = 'as'
    IMPORTS = 'imports'

    module Imports
      CONST = 'const'
      AS = 'as'
    end
  end

  module Methods
    ARGS = 'args'
    METHOD = 'method'
    RETURN = 'return'
    THROWS = 'throws'
    DOC = 'doc'

    module Args
      ARG = 'arg'
      ARG_TYPE = 'arg_type'
      TYPE = 'type'
    end
  end

  module Errors
    CODE = 'code'
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ree-1.0.47 lib/ree/core/object_schema.rb
ree-1.0.46 lib/ree/core/object_schema.rb
ree-1.0.45 lib/ree/core/object_schema.rb
ree-1.0.44 lib/ree/core/object_schema.rb
ree-1.0.43 lib/ree/core/object_schema.rb
ree-1.0.42 lib/ree/core/object_schema.rb
ree-1.0.41 lib/ree/core/object_schema.rb
ree-1.0.40 lib/ree/core/object_schema.rb
ree-1.0.39 lib/ree/core/object_schema.rb
ree-1.0.38 lib/ree/core/object_schema.rb
ree-1.0.37 lib/ree/core/object_schema.rb
ree-1.0.36 lib/ree/core/object_schema.rb
ree-1.0.35 lib/ree/core/object_schema.rb
ree-1.0.34 lib/ree/core/object_schema.rb
ree-1.0.33 lib/ree/core/object_schema.rb