syntax = "proto3";

package com.wixpress.appservice.api;

import "google/protobuf/wrappers.proto";
import "wix/api/validations.proto";

// An iframe that opens in the user’s Wix Dashboard,
// or add a link to open the page directly in your platform.
message DashboardComponentData {
    // The dashboard url.
    string url = 1 [(wix.api.format) = WEB_URL];
    // External or Internal dashboard.
    // The user’s Wix Dashboard (recommended) or your platform or site
    bool embedded = 2;
    // A settings page for users to customize your dashboard
    google.protobuf.StringValue settings_page_url = 3 [(wix.api.maxLength) = 300];
    //
    google.protobuf.StringValue check_status_url = 4 [(wix.api.maxLength) = 300];
    //
    google.protobuf.BoolValue published = 5;
    //
    google.protobuf.BoolValue hide_wix_side_menu = 6;
}
