<commit_before>syntax = "proto3";

package admin;

message AddUserRequest {
  // Required. String value of username. Exact values (including capitalization)
  // are persisted.
  string Username = 1;

  // Required. Key used in Fever API operations. This is defined as:
  //   <PASSWORD>($username:$password)
  // Note the ":" (colon) between the user-supplied username and password.
  string Key = 2;
}

// Empty response. Success is indicated by gRPC-level status code.
message AddUserResponse {
}

message AddFeedRequest {
  // Required. Logical title of feed. It is possible to have multiple feeds of
  // the same title, so this is not checked for uniqueness.
  string Title = 1;

  // Optional. Description of feed, typically a few words in length.
  string Description = 2;

  // Required. URL should point to the logical homepage for the feed.
  string URL = 3;

  // Optional. If set, this new feed will be placed under the folder of the
  // supplied name. In the event of multiple folders of the same name, this
  // feed will be placed into the first one found (sorted by insertion order).
  string Folder = 4;
}

// Empty response. Success is indicated by gRPC-level status code.
message AddFeedResponse {
}

service AdminService {
  // Add a new user into the system. This is currently a single-user system.
  rpc AddUser (AddUserRequest) returns (AddUserResponse);

  // Add a new feed. Currently, this is a single-user system, so feeds are
  // stored in a global namespace.
  rpc AddFeed (AddFeedRequest) returns (AddFeedResponse);
}<commit_msg>core/admin: Update some proto comments to be more accurate.<commit_after>syntax = "proto3";

package admin;

message AddUserRequest {
  // Required. String value of username. Exact values (including capitalization)
  // are persisted.
  string Username = 1;

  // Required. Key used in Fever API operations. This is defined as:
  //   <PASSWORD>($username:$password)
  // Note the ":" (colon) between the user-supplied username and password.
  string Key = 2;
}

// Empty response. Success is indicated by gRPC-level status code.
message AddUserResponse {
}

message AddFeedRequest {
  // Required. Logical title of feed. It is possible to have multiple feeds of
  // the same title, so this is not checked for uniqueness.
  string Title = 1;

  // Optional. Description of feed, typically a few words in length.
  string Description = 2;

  // Required. URL should point to the logical homepage for the feed.
  string URL = 3;

  // Optional. If set, this new feed will be placed under the folder of the
  // supplied name.
  string Folder = 4;
}

// Empty response. Success is indicated by gRPC-level status code.
message AddFeedResponse {
}

service AdminService {
  // Add a new user into the system. Though there may be multiple users, all
  // content is stored in a global namespace.
  rpc AddUser (AddUserRequest) returns (AddUserResponse);

  // Add a new feed. Currently, this is logically a single-user system, so feeds
  // are stored in a global namespace.
  rpc AddFeed (AddFeedRequest) returns (AddFeedResponse);
}
{'fraction_non_alphanumeric': 0.08120349401488192, 'fraction_numerical': 0.004529278550630864, 'mean_word_length': 3.2944444444444443, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3661883', 'n_tokens_mistral': 875, 'n_tokens_neox': 826, 'n_words': 407}