|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
819 bytes
|
| Line | |
|---|
| 1 | import './_version.js';
|
|---|
| 2 | /**
|
|---|
| 3 | * Get the current cache names and prefix/suffix used by Workbox.
|
|---|
| 4 | *
|
|---|
| 5 | * `cacheNames.precache` is used for precached assets,
|
|---|
| 6 | * `cacheNames.googleAnalytics` is used by `workbox-google-analytics` to
|
|---|
| 7 | * store `analytics.js`, and `cacheNames.runtime` is used for everything else.
|
|---|
| 8 | *
|
|---|
| 9 | * `cacheNames.prefix` can be used to retrieve just the current prefix value.
|
|---|
| 10 | * `cacheNames.suffix` can be used to retrieve just the current suffix value.
|
|---|
| 11 | *
|
|---|
| 12 | * @return {Object} An object with `precache`, `runtime`, `prefix`, and
|
|---|
| 13 | * `googleAnalytics` properties.
|
|---|
| 14 | *
|
|---|
| 15 | * @memberof workbox-core
|
|---|
| 16 | */
|
|---|
| 17 | declare const cacheNames: {
|
|---|
| 18 | readonly googleAnalytics: string;
|
|---|
| 19 | readonly precache: string;
|
|---|
| 20 | readonly prefix: string;
|
|---|
| 21 | readonly runtime: string;
|
|---|
| 22 | readonly suffix: string;
|
|---|
| 23 | };
|
|---|
| 24 | export { cacheNames };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.