2023-07-06 19:44:56 +02:00
|
|
|
import { gql as apolloGql } from '@apollo/client/core'
|
|
|
|
|
import { markRaw } from 'vue'
|
|
|
|
|
|
2024-05-28 16:57:02 +00:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2024-02-05 16:48:02 +01:00
|
|
|
export function gql(literals: string | readonly string[], ...args: any[]) {
|
2023-07-06 19:44:56 +02:00
|
|
|
return markRaw(apolloGql(literals, ...args))
|
|
|
|
|
}
|