syntax = "proto3";

package com.wixpress.appservice.api.upstream.wix.velo.ide.spi.v1;
option java_package = "com.wixpress.appservice.api.upstream.wix.velo.ide.spi.v1";

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

message GridAppFilesTransformerConfig {
    option (.wix.api.decomposite_of) = "wix.velo.ide.spi.v1.GridAppFilesTransformerConfig";
    // URI where the SPI Implementer is deployed
    .wix.common.spi.SpiBaseUri uri_config = 1;

    /*
       Transformation layout which should match to value from
       [GridAppLayout](https://github.com/wix-private/wix-code/blob/master/editor/wix-code-ide-server-ng/proto/wix/velo/ide/v1/grid_app_layout.proto) enum.
       The new values should be added via PR.
    */
    string layout = 2;

    // List of paths which requires content transformation to GridApp format
    repeated string files_content_to_transform_to_grid_app = 3 [(.wix.api.maxSize) = 10];

    // List of paths which requires content transformation to Layout format
    repeated string files_content_to_transform_to_layout = 4 [(.wix.api.maxSize) = 10];
}
