UNPKG

phx-node

Version:

PHX NODE

22 lines (21 loc) 597 B
import { PHXGrpcClientService } from "../grpc-client/grpc-client.service"; import { HttpStatusCode } from "axios"; export declare class PHXSettingSiteService { private readonly grpcService; private readonly logger; constructor(grpcService: PHXGrpcClientService); safeJsonParse<T = any>(value?: string): T | string; get({ key }: { key: string; }): Promise<{ data: any; message: string; }>; set({ key, value }: { key: string; value: any; }): Promise<{ statusCode: HttpStatusCode; message: string; }>; }