MCPcopy Create free account
hub / github.com/vercel/examples / createSourceForServerOnly

Function createSourceForServerOnly

flags-sdk/hypertune/generated/hypertune.ts:417–426  ·  view source on GitHub ↗
({
  token,
  variableValues = {},
  override,
  ...options
}: CreateSourceOptions)

Source from the content-addressed store, hash-verified

415})
416
417export 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.

Callers

nothing calls this directly

Calls 1

createSourceFunction · 0.70

Tested by

no test coverage detected