mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
22 lines
466 B
TypeScript
22 lines
466 B
TypeScript
import type { Services } from '../../utils/service.ts';
|
|
|
|
import { ValueReference } from './value-reference.instance.ts';
|
|
|
|
class ValueReferenceService {
|
|
#services: Services;
|
|
|
|
constructor(services: Services) {
|
|
this.#services = services;
|
|
}
|
|
|
|
public get = (namespace: string) => {
|
|
return new ValueReference({
|
|
namespace,
|
|
services: this.#services,
|
|
});
|
|
};
|
|
}
|
|
|
|
export * from './value-reference.instance.ts';
|
|
export { ValueReferenceService };
|