mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-14 18:46:17 +00:00
- registration is moved from top-level index to app/sagas. - mock implementation is provided for tests - actions are renamed to include "app" prefix - actions are changed to not use non-serializable arguments - reducers are changed to not use non-serializable state
13 lines
346 B
TypeScript
13 lines
346 B
TypeScript
// SPDX-License-Identifier: MIT
|
|
// Copyright (c) 2020-2022 The Pybricks Authors
|
|
|
|
import { createAction } from '../actions';
|
|
|
|
export const serviceWorkerDidUpdate = createAction(() => ({
|
|
type: 'serviceWorker.action.didUpdate',
|
|
}));
|
|
|
|
export const serviceWorkerDidSucceed = createAction(() => ({
|
|
type: 'serviceWorker.action.didSucceed',
|
|
}));
|