mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
13 lines
418 B
TypeScript
13 lines
418 B
TypeScript
import { KubeObjectStore } from "../../kube-object.store";
|
|
import { autobind } from "../../utils";
|
|
import { Service, serviceApi } from "../../api/endpoints/service.api";
|
|
import { apiManager } from "../../api/api-manager";
|
|
|
|
@autobind()
|
|
export class ServiceStore extends KubeObjectStore<Service> {
|
|
api = serviceApi
|
|
}
|
|
|
|
export const serviceStore = new ServiceStore();
|
|
apiManager.registerStore(serviceApi, serviceStore);
|