1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/app-update-warning/app-publish-date.injectable.ts
Alex Andreev c9f105405f appPublishDate initial test
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
2022-05-25 16:02:43 +03:00

19 lines
583 B
TypeScript

/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectable } from "@ogre-tools/injectable";
import appVersionInjectable from "../../common/get-configuration-file-model/app-version/app-version.injectable";
import { appPublishDate } from "./app-publish-date";
const appPublishDateInjectable = getInjectable({
id: "app-publish-date",
instantiate: (di) => {
return appPublishDate(di.inject(appVersionInjectable));
},
});
export default appPublishDateInjectable;