debian-mirror-gitlab/app/assets/javascripts/import_entities/constants.js
2023-03-05 14:24:40 +05:30

18 lines
419 B
JavaScript

// The `scheduling` status is only present on the client-side,
// it is used as the status when we are requesting to start an import.
export const STATUSES = {
FINISHED: 'finished',
FAILED: 'failed',
SCHEDULED: 'scheduled',
CREATED: 'created',
STARTED: 'started',
NONE: 'none',
SCHEDULING: 'scheduling',
CANCELED: 'canceled',
TIMEOUT: 'timeout',
};
export const PROVIDERS = {
GITHUB: 'github',
};