updateProperties Method
updateProperties(txn, codeSpec) @beta
Update the Json properties of an existing CodeSpec.
updateProperties(txn: EditTxn, codeSpec: CodeSpec): void
@throws if unable to update the codeSpec.
| Parameter | Type | Description |
|---|---|---|
| txn | EditTxn | The active EditTxn. |
| codeSpec | CodeSpec | The codeSpec holding Json properties values to update. |
Returns - void
updateProperties(codeSpec)
Deprecated Use CodeSpecs.updateProperties(txn, codeSpec) instead.
Update the Json properties of an existing CodeSpec.
updateProperties(codeSpec: CodeSpec): void
@throws if unable to update the codeSpec.
| Parameter | Type | Description |
|---|---|---|
| codeSpec | CodeSpec | The codeSpec holding Json properties values to update. |
Returns - void
Defined in
- backend/src/CodeSpecs.ts Line 211
Last Updated: 18 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.