mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
17 lines
631 B
TypeScript
17 lines
631 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 { computed } from "mobx";
|
|
import { allowedResourcesInjectionToken } from "../../common/cluster-store/allowed-resources-injection-token";
|
|
|
|
// TODO: Figure out implementation for this later.
|
|
const allowedResourcesInjectable = getInjectable({
|
|
id: "allowed-resources",
|
|
instantiate: () => computed(() => new Set<string>()),
|
|
injectionToken: allowedResourcesInjectionToken,
|
|
});
|
|
|
|
export default allowedResourcesInjectable;
|