@squidcloud/client 1.0.238 → 1.0.240

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -140,7 +140,7 @@ export declare abstract class BaseQueryBuilder<MyDocType extends DocumentData> {
140
140
  * @param asc Whether to sort in ascending order. Defaults to true.
141
141
  * @returns The query builder.
142
142
  */
143
- abstract sortBy(fieldName: keyof MyDocType & FieldName, asc?: boolean): this;
143
+ abstract sortBy(fieldName: (keyof MyDocType & FieldName) | string, asc?: boolean): this;
144
144
  }
145
145
  /** A query builder that can be used to build a query that returns a list of documents. */
146
146
  export declare class QueryBuilder<DocumentType extends DocumentData> extends BaseQueryBuilder<DocumentType> implements SnapshotEmitter<DocumentReference<DocumentType>>, HasDereference {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.238",
3
+ "version": "1.0.240",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/typescript-client/src/index.d.ts",