types.ts 411 B

1234567891011
  1. export const ELECTRON_ORG = 'electron';
  2. export const ELECTRON_REPO = 'electron';
  3. export const NIGHTLY_REPO = 'nightlies';
  4. export type ElectronReleaseRepo = 'electron' | 'nightlies';
  5. export type VersionBumpType = 'nightly' | 'alpha' | 'beta' | 'minor' | 'stable';
  6. export const isVersionBumpType = (s: string): s is VersionBumpType => {
  7. return ['nightly', 'alpha', 'beta', 'minor', 'stable'].includes(s);
  8. };