新增: - backend/venv/ - Python 虚拟环境 - backend/start.sh - 启动脚本(使用虚拟环境) - backend/requirements.txt - 依赖列表 - .gitignore - 忽略虚拟环境和缓存文件 说明: - 每个项目使用独立虚拟环境 - 避免依赖冲突 - 启动脚本自动创建和激活虚拟环境
16 lines
550 B
TypeScript
16 lines
550 B
TypeScript
import { WorkboxPlugin } from 'workbox-core/types.js';
|
|
import '../_version.js';
|
|
/**
|
|
* A plugin, designed to be used with PrecacheController, to determine the
|
|
* of assets that were updated (or not updated) during the install event.
|
|
*
|
|
* @private
|
|
*/
|
|
declare class PrecacheInstallReportPlugin implements WorkboxPlugin {
|
|
updatedURLs: string[];
|
|
notUpdatedURLs: string[];
|
|
handlerWillStart: WorkboxPlugin['handlerWillStart'];
|
|
cachedResponseWillBeUsed: WorkboxPlugin['cachedResponseWillBeUsed'];
|
|
}
|
|
export { PrecacheInstallReportPlugin };
|