{"size": 444, "ext": "js", "max_stars_repo_path": "src/util/url.js", "max_stars_repo_name": "neurotech/pocket-dimension", "max_stars_repo_stars_event_min_datetime": "2019-05-26T19:45:23.000Z", "max_stars_repo_stars_event_max_datetime": "2019-05-26T19:45:23.000Z", "max_issues_repo_path": "src/util/url.js", "max_issues_repo_name": "neurotech/pocket-dimension", "max_issues_repo_issues_event_min_datetime": "2019-01-29T04:53:41.000Z", "max_issues_repo_issues_event_max_datetime": "2020-07-14T00:50:14.000Z", "max_forks_repo_path": "src/util/url.js", "max_forks_repo_name": "neurotech/pocket-dimension", "max_forks_repo_forks_event_min_datetime": "2019-01-10T03:01:07.000Z", "max_forks_repo_forks_event_max_datetime": "2019-01-10T03:01:07.000Z"}
{"max_stars_count": 1, "max_issues_count": 24, "max_forks_count": 1, "avg_line_length": 27.75, "max_line_length": 57, "alphanum_fraction": 0.6441441441}
const base = "https://api.pocket-dimension.space/";

const url = {
  allItems: `${base}items/all`,
  archivedItems: `${base}items/archived`,
  createItem: `${base}item/create`,
  login: `${base}login`,
  updateItem: (id, timestamp) =>
    `${base}item/update?id=${id}&timestamp=${timestamp}`,
  deleteItem: (id, timestamp) =>
    `${base}item/delete?id=${id}&timestamp=${timestamp}`,
  pageInfo: `${base}get-page-info`,
};

export default url;
