{translateMessage( "Connect to the packaged, Adaptive-only PostgREST RPC contract. This experimental provider is not a CouchDB endpoint and does not expose synchronisation tables directly." )} {translateMessage("We can use only Secure (HTTPS) connections on Obsidian Mobile.")} {translateMessage( "Enter a complete HTTP or HTTPS PostgREST endpoint without database credentials, a query string, or a fragment." )} {translateMessage( "A trusted database administrator obtains both values once from livesync_private.provision_adaptive_vault(). PostgreSQL retains only a verifier for the credential." )} {translateMessage( "Use only a publishable or equivalent client-safe API key. Never enter a Supabase secret key, service_role JWT, or database credential." )} {translateMessage( "Supply a valid endpoint, PostgreSQL schema identifier, provisioned Vault ID, and Vault credential." )} {translateMessage( "Enable this when browser-compatible requests are blocked by CORS. It uses Obsidian's internal request API and may behave differently from standard browser fetch." )} {translateMessage( "This optional identity pins a trusted Adaptive repository. A Setup URI can supply it; leave it blank only when creating a repository or intentionally trusting the first compatible repository reached." )} {translateMessage( "PostgREST stores only Adaptive Journal records. It cannot read Opaque Journal data, and format changes require a remote Rebuild rather than an in-place migration." )} {#if requiredCapability?.status === "verified"} {translateMessage("The required PostgREST RPC operations and binary semantics were verified.")} {:else if requiredCapability?.status === "unsupported"} {translateMessage("The PostgREST SQL contract is missing required operations: ${CAPABILITIES}.", { CAPABILITIES: requiredCapability.missing.join(", "), })} {:else if requiredCapability?.status === "failed"} {translateMessage("The Adaptive safety check failed (${CATEGORY}; retry ${RETRY}).", { CATEGORY: requiredCapability.failure.category, RETRY: requiredCapability.failure.retry, })} {:else if inspectionIsCurrent} {translateMessage("Required Adaptive operations were not checked.")} {/if} {translateMessage( "The saved connection contains the Vault credential and optional API key. Configuration encryption protects exported Setup data when it is enabled; do not share a plain connection string." )} {error} {#if processing} {translateMessage("Checking connection... Please wait.")} {:else} {#if inspectionIsCurrent && inspection?.available && inspectedSettings} commitVerified()} /> checkConnection()} /> {:else} checkConnection()} /> {/if} {#if setupMode === "settings"} {translateMessage( "Saving without a successful connection test keeps this profile, but automatic synchronisation may fail until the connection or server SQL is corrected." )} commit()} /> {/if} setResult(TYPE_CANCELLED)} /> {/if}