IF Commons GitHub

sql/extensions/integrations/settings

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0022-sql-integrations FR-010

The settings of integrations (commons data 0022-sql-integrations FR-010): the ledger's table, the landing's name, when an unchanged load is skipped, how much of a snapshot may be deleted, and the CSV delimiter.

Source: commons/data/sql/extensions/integrations/settings.ts

1 of 3 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

IntegrationSettingsinterface
interface IntegrationSettings

What a project says of integrations; what is not said is the default.

MemberTypeWhat it is
ledger?stringThe ledger's table; integration_run by default.
landing?stringThe words that end the landing's name; landing by default.
skipUnchanged?"all" | "append" | "none"Which loads do nothing where their rows are those of the last load: append (the default), all or none.
maxDeleteShare?numberThe share of the target's rows a snapshot may delete, from 0 to 1; 0.5 by default.
delimiter?stringThe delimiter of CSV text; a comma by default.

Imported by 7 tests of the run (7 passed, 0 failed): the library's results

Integrationsinterfaceno test imports it
interface Integrations

The settings with every default filled.

MemberTypeWhat it is
ledgerstring
landingstring
skipUnchanged"all" | "append" | "none"
maxDeleteSharenumber
delimiterstring
LEDGERconstno test imports it
const LEDGER: "integration_run"

The default name of the ledger's table.

Titles, headings, exports, tables, columns and requirements. Esc closes.