syntax = "proto3";

package com.wixpress.appservice.api;

import "wix/api/annotations.proto";
import "wix/api/validations.proto";
import "components_catalog_common.proto";

// Back-office sidebar categories
message BackOfficeSidebarCategory {
  // Platform that hosts the modal.
  //
  // Must be `"BUSINESS_MANAGER"`.
  BackOfficeHostingPlatforms hosting_platform = 1 [(wix.api.field_exposure) = INTERNAL];
  // Category title.
  string title = 2 [(.wix.api.minLength) = 1, (wix.api.translatable) = {
    type: SHORT_TEXT
    grouping: "title"
  }];
  // Sidebar order within the app
  int32 priority = 3;
}