Sha256: 44dbe32c69df8a7f7e99a2a6b4e837cf000299e6c8a00896a35b50934c56d72b

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 Bytes

Contents

# frozen_string_literal: true

module Script
  module Layers
    module Domain
      class ExtensionPoint
        attr_reader :type, :sdks

        def initialize(type, config)
          @type = type
          @sdks = {
            ts: ExtensionPointAssemblyScriptSDK.new(config["assemblyscript"]),
          }
        end
      end

      class ExtensionPointAssemblyScriptSDK
        attr_reader :package, :version, :sdk_version, :toolchain_version

        def initialize(config)
          @package = config["package"]
          @sdk_version = config["sdk-version"]
          @toolchain_version = config["toolchain-version"]
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shopify-cli-1.5.0 lib/project_types/script/layers/domain/extension_point.rb