MCPcopy Index your code
hub / github.com/simstudioai/sim / resolveContentScope

Function resolveContentScope

apps/sim/connectors/google-forms/google-forms.ts:46–48  ·  view source on GitHub ↗

* Resolves the content scope from sourceConfig, defaulting to `both`.

(value: unknown)

Source from the content-addressed store, hash-verified

44 * Resolves the content scope from sourceConfig, defaulting to `both`.
45 */
46function resolveContentScope(value: unknown): ContentScope {
47 return value === 'structure' ? 'structure' : 'both'
48}
49
50/**
51 * Represents a Google Drive file entry for a form, returned by the Drive API.

Callers 1

google-forms.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected