mirror of
https://github.com/status-im/status-web.git
synced 2026-08-30 22:01:15 +00:00
Co-authored-by: marcelines <marcio@status.im> Co-authored-by: Jakub Kotula <520927+jkbktl@users.noreply.github.com> Co-authored-by: Pavel <14926950+prichodko@users.noreply.github.com> Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
26 lines
690 B
TypeScript
26 lines
690 B
TypeScript
import type { clientEnv } from './src/config/env.client.mjs'
|
|
import type { serverEnv } from './src/config/env.server.mjs'
|
|
|
|
type Env = typeof clientEnv & typeof serverEnv
|
|
|
|
declare global {
|
|
namespace NodeJS {
|
|
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
interface ProcessEnv extends Env {}
|
|
/* eslint-enable @typescript-eslint/no-empty-object-type */
|
|
}
|
|
/**
|
|
* Referenced in codegen.yml#config.errorType
|
|
*/
|
|
interface GraphqlApiError {
|
|
response?: {
|
|
errors?: {
|
|
extensions: { code?: string; [key: string]: string }
|
|
locations: { column: number; line: number }[]
|
|
message: string
|
|
path: string[]
|
|
}[]
|
|
}
|
|
}
|
|
}
|