/*
 * CloudBeaver - Cloud Database Manager
 * Copyright (C) 2020-2024 DBeaver Corp and others
 *
 * Licensed under the Apache License, Version 2.0.
 * you may not use this file except in compliance with the License.
 */
export const GITHUB_LINKS = {
  CLOUDBEAVER_REPO: 'https://github.com/dbeaver/cloudbeaver',
  EE_DEPLOY_UPDATE: 'https://github.com/dbeaver/cloudbeaver-deploy?tab=readme-ov-file#updating-the-cluster',
  TE_DEPLOY_UPDATE: 'https://github.com/dbeaver/team-edition-deploy?tab=readme-ov-file#server-version-update',

  getDeployUpdateLink(distributed: boolean) {
    if (distributed) {
      return GITHUB_LINKS.TE_DEPLOY_UPDATE;
    }

    return GITHUB_LINKS.EE_DEPLOY_UPDATE;
  },
};
