dashboard/config/query-params.js

42 lines
1.1 KiB
JavaScript

// Debugging
export const SPA = 'spa';
// Login/Initial setup
export const LOCAL = 'local';
export const SETUP = 'setup';
export const STEP = 'step';
export const LOGGED_OUT = 'logged-out';
export const TIMED_OUT = 'timed-out';
export const AUTH_TEST = 'test';
export const BACK_TO = 'back-to';
export const GITHUB_CODE = 'code';
export const GITHUB_NONCE = 'state';
// GENERAL
export const EDIT_YAML = 'as-yaml';
export const _FLAGGED = null; // The value for a key-only flag, like `?desc`
export const _DELETE = undefined; // The value to remove a query param
// SortableTable
export const SEARCH_QUERY = 'q';
export const SORT_BY = 'sort';
export const DESCENDING = 'desc';
export const PAGE = 'page';
// ResourceYaml
export const MODE = 'mode';
export const _CREATE = 'create';
export const _VIEW = 'view';
export const _EDIT = 'edit';
export const _PREVIEW = 'preview';
export const _CLONE = 'clone';
export const _STAGE = 'stage';
export const DIFF = 'diff';
export const _UNIFIED = 'unified';
export const _SPLIT = 'split';
// Edit Service
export const ADD_SIDECAR = 'add-sidecar';
export const EDIT_CONTAINER = 'container';