Skip to content

Commit 60f4276

Browse files
committed
Formatting
1 parent 4adf98d commit 60f4276

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

packages/firestore/src/core/bound.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
* limitations under the License.
1616
*/
1717

18-
import {Document} from "../model/document";
19-
import {DocumentKey} from "../model/document_key";
20-
import {isReferenceValue, valueCompare, valueEquals} from "../model/values";
21-
import {Value as ProtoValue} from "../protos/firestore_proto_api";
22-
import {debugAssert} from "../util/assert";
18+
import { Document } from '../model/document';
19+
import { DocumentKey } from '../model/document_key';
20+
import { isReferenceValue, valueCompare, valueEquals } from '../model/values';
21+
import { Value as ProtoValue } from '../protos/firestore_proto_api';
22+
import { debugAssert } from '../util/assert';
2323

24-
import {Direction, OrderBy} from "./order_by";
24+
import { Direction, OrderBy } from './order_by';
2525

2626
/**
2727
* Represents a bound of a query.

packages/firestore/src/core/filter.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,20 @@
1515
* limitations under the License.
1616
*/
1717

18-
import {Document} from "../model/document";
19-
import {DocumentKey} from "../model/document_key";
20-
import {FieldPath} from "../model/path";
18+
import { Document } from '../model/document';
19+
import { DocumentKey } from '../model/document_key';
20+
import { FieldPath } from '../model/path';
2121
import {
2222
arrayValueContains,
2323
canonicalId,
2424
isArray,
2525
isReferenceValue,
2626
typeOrder,
27-
valueCompare, valueEquals
28-
} from "../model/values";
29-
import {Value as ProtoValue} from "../protos/firestore_proto_api";
30-
import {debugAssert, fail} from "../util/assert";
27+
valueCompare,
28+
valueEquals
29+
} from '../model/values';
30+
import { Value as ProtoValue } from '../protos/firestore_proto_api';
31+
import { debugAssert, fail } from '../util/assert';
3132

3233
// The operator of a FieldFilter
3334
export const enum Operator {
@@ -123,12 +124,12 @@ export class FieldFilter extends Filter {
123124
debugAssert(
124125
isArray(value),
125126
`Comparing on key with ${op.toString()}` +
126-
', but filter value not an ArrayValue'
127+
', but filter value not an ArrayValue'
127128
);
128129
debugAssert(
129130
(value.arrayValue.values || []).every(elem => isReferenceValue(elem)),
130131
`Comparing on key with ${op.toString()}` +
131-
', but an array value was not a RefValue'
132+
', but an array value was not a RefValue'
132133
);
133134

134135
return op === Operator.IN
@@ -462,7 +463,7 @@ function extractDocumentKeysFromArrayValue(
462463
debugAssert(
463464
isReferenceValue(v),
464465
`Comparing on key with ${op.toString()}, but an array value was not ` +
465-
`a ReferenceValue`
466+
`a ReferenceValue`
466467
);
467468
return DocumentKey.fromName(v.referenceValue);
468469
});

packages/firestore/src/core/order_by.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
import {FieldPath} from "../model/path";
18+
import { FieldPath } from '../model/path';
1919

2020
/**
2121
* The direction of sorting in an order by.

0 commit comments

Comments
 (0)