({
token,
variableValues = {},
override,
...options
}: CreateSourceOptions)
| 415 | }) |
| 416 | |
| 417 | export function createSourceForServerOnly({ |
| 418 | token, |
| 419 | variableValues = {}, |
| 420 | override, |
| 421 | ...options |
| 422 | }: CreateSourceOptions): SourceNode { |
| 423 | return typeof window === 'undefined' |
| 424 | ? createSource({ token, variableValues, override, ...options }) |
| 425 | : emptySource |
| 426 | } |
| 427 | |
| 428 | /** |
| 429 | * @deprecated use createSource instead. |
nothing calls this directly
no test coverage detected