This commit is contained in:
seb
2026-09-24 23:26:25 +02:00
parent 075b1f0ddc
commit f8f61a1212
40 changed files with 1245 additions and 337 deletions

View File

@@ -14,6 +14,7 @@ Deletes a unit for the user's selected company by its SI code.
| --- | --- | --- |
| `googleAuthId` | `number` | The id of the Google auth user. |
| `si` | `string` | The SI code of the unit to delete. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -40,6 +41,7 @@ Lists the units available for the user's selected company.
| Name | Type | Description |
| --- | --- | --- |
| `googleAuthId` | `number` | The id of the Google auth user. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -69,6 +71,7 @@ Creates or updates a unit for the user's selected company, keyed by its SI code.
| `input.basesifactor` | `number` | The base SI factor (must be > 0). |
| `input.symbol` | `string` | The unit symbol. |
| `input.name` | `string` | The unit name. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**