Skip to content

Commit 068e7ff

Browse files
committed
Add test
1 parent 7c8e609 commit 068e7ff

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@labkey/api",
3-
"version": "1.43.1-fb-transactionAuditDetails.1",
3+
"version": "1.43.1-fb-transactionAuditDetails.2",
44
"description": "JavaScript client API for LabKey Server",
55
"scripts": {
66
"build": "npm run build:dist && npm run build:docs",

src/labkey/query/Rows.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,11 @@ export interface SaveRowsResponse {
273273
}
274274

275275
export interface SaveRowsOptions extends RequestCallbackOptions<SaveRowsResponse> {
276+
277+
/**
278+
* Optional audit details to record in the transaction audit log for this command.
279+
*/
280+
auditDetails?: any;
276281
/**
277282
* Version of the API. If this is 13.2 or higher, a request that fails
278283
* validation will be returned as a successful response. Use the 'errorCount' and 'committed' properties in the
@@ -370,6 +375,7 @@ export function saveRows(options: SaveRowsOptions): XMLHttpRequest {
370375
// options = queryArguments(arguments);
371376
// }
372377
const jsonData = {
378+
auditDetails: options.auditDetails,
373379
apiVersion: options.apiVersion,
374380
commands: options.commands,
375381
containerPath: options.containerPath,

0 commit comments

Comments
 (0)