blob: 4c7eac5f25f2324d1e4fd350eafa12fc913fc220 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/>
*
* SPDX-License-Identifier: EPL-2.0
*/
/* eslint-disable @typescript-eslint/no-redeclare -- Declare types with their companion objects */
import { z } from 'zod';
export const ENDPOINT = 'config.json';
const BackendConfig = z.object({
webSocketURL: z.string().url(),
});
type BackendConfig = z.infer<typeof BackendConfig>;
export default BackendConfig;
|