import type { OptiCmsSchema, SchemaVersion } from "./client/types.js"; export type OptimizelyGraphConfigInternal = { /** * Optimizely Graph AppKey, it is recommended to not let this key leave the server side */ single_key: string; /** * Optimizely Graph Service domain, it is recommended to not let this key leave the server side */ gateway: string; /** * Optimizely CMS Domain, it is recommended to not let this key leave the server side */ dxp_url?: string; /** * The auto-generated domain for the deployment */ deploy_domain?: string; /** * Set to true to enable debug output to the console */ debug: boolean; /** * Set to true to log all GraphQL queries to the console */ query_log: boolean; /** * Optimizely Graph Secret, this value must never leave the server side */ secret?: string; /** * Optimizely Graph AppKey, this value must never leave the server side */ app_key?: string; /** * Publishing token to validate webhooks - if implemented */ publish?: string; /** * The CMS Schema version that is used */ opti_cms_schema: OptiCmsSchema; /** * The Turnstile Tenant ID that must be used - if any */ tenant_id?: string; /** * The Graph Schema version to use for the queries */ graph_schema: SchemaVersion; }; export type OptimizelyGraphConfig = Partial> & Pick; /** * @deprecated Reference OptimizelyGraphConfig */ export type ContentGraphConfig = OptimizelyGraphConfig;