• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LouisBrunner / dnd-multi-backend / 6077383477

04 Sep 2023 08:26PM CUT coverage: 98.498%. Remained the same
6077383477

Pull #175

github

web-flow
chore(deps): bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #175: chore(deps): bump actions/checkout from 3 to 4

63 of 67 branches covered (0.0%)

Branch coverage included in aggregate %.

265 of 266 relevant lines covered (99.62%)

37.11 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/packages/dnd-multi-backend/src/types.ts
1
import {Backend} from 'dnd-core'
×
2

3
export type Transition = {
4
  event: string,
5
  check: (e: Event) => boolean,
6
}
7

8
export type BackendEntry = {
9
  id: string,
10
  instance: Backend,
11
  preview: boolean,
12
  transition?: Transition,
13
  skipDispatchOnTransition: boolean,
14
}
15

16
export interface MultiBackendSwitcher extends Backend {
17
  backendsList(): BackendEntry[]
18
  previewsList(): PreviewList
19
  previewEnabled(): boolean
20
}
21

22
export interface PreviewListener {
23
  backendChanged(backend: MultiBackendSwitcher): void
24
}
25

26
export interface PreviewList {
27
  register(listener: PreviewListener): void
28
  unregister(listener: PreviewListener): void
29
  backendChanged(backend: MultiBackendSwitcher): void
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc