🐛(service-worker) fix circular import problem

When we were installing the service-worker, errors
were thrown because of circular imports.
This commit fixes the problem by being more explicit
about the imports.
This commit is contained in:
Anthony LC
2024-10-09 11:44:02 +02:00
committed by Anthony LC
parent c682bce6f6
commit 3a0dff5b0e

View File

@@ -1,11 +1,7 @@
import { WorkboxPlugin } from 'workbox-core';
import {
Doc,
DocsResponse,
LinkReach,
Role,
} from '@/features/docs/doc-management';
import { Doc, DocsResponse } from '@/features/docs/doc-management';
import { LinkReach, Role } from '@/features/docs/doc-management/types';
import { DBRequest, DocsDB } from './DocsDB';
import { RequestSerializer } from './RequestSerializer';