syntax = "proto3";

package com.wixpress.appservice.api.upstream.src.main.proto.wix.devcenter.apps.components.reference.data;

import "wix/spi/definitions.proto";
import "wix/api/annotations.proto";
import "wix/api/validations.proto";
import "wix/common/spi.proto";

import "com/wixpress/appservice/api/components_catalog_type.proto";

// SPI config - defines the relation between implementer URL and which types it saves
message ComponentReferenceDataConfig {
    option (.wix.api.decomposite_of) = "wix.devcenter.apps.components.reference.data.ComponentReferenceDataConfig";
  .wix.common.spi.SpiBaseUri base_uri = 1; // URI where the SPI Implementer is deployed
  repeated com.wixpress.appservice.api.ComponentType supported_component_types = 3 [(.wix.api.minSize) = 1, (.wix.api.maxSize) = 100]; // Component types that contains external (reference) data that is NOT saved in DevCenter.
}