"Fossies" - the Fresh Open Source Software Archive

Member "lens-6.2.5/src/migrations/user-store/2.1.0-beta.4.ts" (6 Dec 2022, 378 Bytes) of package /linux/misc/lens-6.2.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /**
    2  * Copyright (c) OpenLens Authors. All rights reserved.
    3  * Licensed under MIT License. See LICENSE in root directory for more information.
    4  */
    5 
    6 // Add / reset "lastSeenAppVersion"
    7 import type { MigrationDeclaration } from "../helpers";
    8 
    9 export default {
   10   version: "2.1.0-beta.4",
   11   run(store) {
   12     store.set("lastSeenAppVersion", "0.0.0");
   13   },
   14 } as MigrationDeclaration;