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.
interface IntegrationSettings
What a project says of integrations; what is not said is the default.
| Member | Type | What it is |
|---|
ledger? | string | The ledger's table; integration_run by default. |
landing? | string | The 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? | number | The share of the target's rows a snapshot may delete, from 0 to 1; 0.5 by default. |
delimiter? | string | The 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 itinterface Integrations
The settings with every default filled.
| Member | Type | What it is |
|---|
ledger | string | |
landing | string | |
skipUnchanged | "all" | "append" | "none" | |
maxDeleteShare | number | |
delimiter | string | |
LEDGERconstno test imports itconst LEDGER: "integration_run"
The default name of the ledger's table.