Skip to main content

@idpass/data-collect-core / ExternalSyncConfigValidation

Interface: ExternalSyncConfigValidation

Defined in: components/ExternalSyncManager.ts:84

Result of validateExternalSyncConfig. message is populated only when valid is false. Kept as a single shape (rather than a discriminated union) so consumers can read message after a !valid check without relying on control-flow narrowing — some toolchains compiling this shared source (e.g. the mobile app's vue-tsc) do not narrow the union on negation.

Properties

valid

valid: boolean

Defined in: components/ExternalSyncManager.ts:85


message?

optional message?: string

Defined in: components/ExternalSyncManager.ts:86