Convergenceinterfaceno test imports itinterface ConvergenceThe settings with every default filled.
| Member | Type | What it is |
|---|---|---|
approval | "autonomous" | "reviewed" | |
policy | Policy | |
ledgerTable | string | |
ignore | readonly string[] | |
unmanaged | "drop" | "hold" |
The settings of the convergence strategy (commons data 0019-sql-convergence FR-008, FR-011): how a plan is approved, what may be applied with no one's approval, the ledger's table and the names the reader leaves out. Each has a default, and the default policy only adds.
Convergenceinterfaceno test imports itinterface ConvergenceThe settings with every default filled.
| Member | Type | What it is |
|---|---|---|
approval | "autonomous" | "reviewed" | |
policy | Policy | |
ledgerTable | string | |
ignore | readonly string[] | |
unmanaged | "drop" | "hold" |
ConvergenceSettingsinterfaceno test imports itinterface ConvergenceSettingsWhat a project says of convergence; what is not said is the default.
| Member | Type | What it is |
|---|---|---|
approval? | "autonomous" | "reviewed" | reviewed (the default) or autonomous. |
policy? | Partial<Policy> | |
ledgerTable? | string | The ledger's table; lifecycle_ledger by default. |
ignore? | readonly string[] | The names of tables the reader leaves out, besides the ledger's. |
unmanaged? | "drop" | "hold" | What to do with what is in the database and not in the model (a table, a column, an index or a constraint a person made): drop it, with approval (the default), or hold it, which leaves it alone and says so. |
defaultPolicyconstconst defaultPolicy: PolicyThe default policy: only what adds, and loses nothing.
Policyinterfaceno test imports itinterface PolicyWhat may be applied on first access with no one's approval.
| Member | Type | What it is |
|---|---|---|
enabled | boolean | Whether autonomous convergence is on at all; where it is off every plan is held. |
classes | readonly StepClass[] | |
reversibilities | readonly Reversibility[] | |
kinds | readonly string[] | The kinds of change that may be applied: by default only those that add. |