mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-06 03:00:23 +00:00
Update prettier to latest. Remove tslint (#1641)
* Rev up prettier * Reformat * Remove deprecated tslint * Remove call to tslint and update package-lock.json
This commit is contained in:
@@ -58,7 +58,7 @@ export default class ConflictId {
|
||||
"OK",
|
||||
() => this.loadConflict(),
|
||||
"Cancel",
|
||||
undefined
|
||||
undefined,
|
||||
);
|
||||
} else {
|
||||
this.loadConflict();
|
||||
@@ -78,7 +78,7 @@ export default class ConflictId {
|
||||
try {
|
||||
const currentDocumentContent = await readDocument(
|
||||
this.container.collection,
|
||||
this.buildDocumentIdFromConflict(this.partitionKeyValue)
|
||||
this.buildDocumentIdFromConflict(this.partitionKeyValue),
|
||||
);
|
||||
|
||||
if (this.operationType === Constants.ConflictOperationType.Replace) {
|
||||
@@ -126,7 +126,7 @@ export default class ConflictId {
|
||||
const conflictDocumentRid = Constants.HashRoutePrefixes.docsWithIds(
|
||||
this.container.collection.getDatabase().rid,
|
||||
this.container.collection.rid,
|
||||
this.resourceId
|
||||
this.resourceId,
|
||||
);
|
||||
const partitionKeyValueResolved = partitionKeyValue || this.partitionKeyValue;
|
||||
let id = this.resourceId;
|
||||
@@ -147,7 +147,7 @@ export default class ConflictId {
|
||||
partitionKeyProperty: this.partitionKeyProperty,
|
||||
partitionKey: this.partitionKey,
|
||||
},
|
||||
partitionKeyValueResolved
|
||||
partitionKeyValueResolved,
|
||||
);
|
||||
|
||||
documentId.partitionKeyProperties = [this.partitionKeyProperty];
|
||||
|
||||
Reference in New Issue
Block a user