Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
3
frontend/node_modules/workbox-strategies/plugins/cacheOkAndOpaquePlugin.d.ts
generated
vendored
Normal file
3
frontend/node_modules/workbox-strategies/plugins/cacheOkAndOpaquePlugin.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import { WorkboxPlugin } from 'workbox-core/types.js';
|
||||
import '../_version.js';
|
||||
export declare const cacheOkAndOpaquePlugin: WorkboxPlugin;
|
||||
26
frontend/node_modules/workbox-strategies/plugins/cacheOkAndOpaquePlugin.js
generated
vendored
Normal file
26
frontend/node_modules/workbox-strategies/plugins/cacheOkAndOpaquePlugin.js
generated
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
Copyright 2018 Google LLC
|
||||
|
||||
Use of this source code is governed by an MIT-style
|
||||
license that can be found in the LICENSE file or at
|
||||
https://opensource.org/licenses/MIT.
|
||||
*/
|
||||
import '../_version.js';
|
||||
export const cacheOkAndOpaquePlugin = {
|
||||
/**
|
||||
* Returns a valid response (to allow caching) if the status is 200 (OK) or
|
||||
* 0 (opaque).
|
||||
*
|
||||
* @param {Object} options
|
||||
* @param {Response} options.response
|
||||
* @return {Response|null}
|
||||
*
|
||||
* @private
|
||||
*/
|
||||
cacheWillUpdate: async ({ response }) => {
|
||||
if (response.status === 200 || response.status === 0) {
|
||||
return response;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
};
|
||||
1
frontend/node_modules/workbox-strategies/plugins/cacheOkAndOpaquePlugin.mjs
generated
vendored
Normal file
1
frontend/node_modules/workbox-strategies/plugins/cacheOkAndOpaquePlugin.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from './cacheOkAndOpaquePlugin.js';
|
||||
Loading…
Add table
Add a link
Reference in a new issue