@squidcloud/client 1.0.336 → 1.0.337

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.
@@ -18,7 +18,7 @@ export interface CallApiOptions {
18
18
  /** If true, the response will be returned as-is without any processing. */
19
19
  nativeResponse?: boolean;
20
20
  /**
21
- * An optional string to override the default origin of the API (e.g. https://host:port). Useful for
21
+ * An optional string to override the default origin of the API (e.g. `https://host:port`). Useful for
22
22
  * scenarios such as testing, development, or accessing the API from different environments.
23
23
  */
24
24
  originOverride?: string;
@@ -50,7 +50,7 @@ export interface QueryMetricsRequestCommon {
50
50
  * even if there is no data for some values in the database.
51
51
  *
52
52
  * Example: Consider a tag 'isError' with two possible values: '0' and '1'.
53
- * When 'tagDomains' contains {'isError': ['0', '1']}, the result will include
53
+ * When 'tagDomains' contains `{'isError': ['0', '1']}`, the result will include
54
54
  * groups for both 'isError: 0' and 'isError: 1'. If the database lacks data for
55
55
  * 'isError: 1', the points in this group will be set to 'fillValue' (default is 'null').
56
56
  *
@@ -27,7 +27,7 @@ export declare abstract class BaseQueryBuilder<MyDocType extends DocumentData> {
27
27
  */
28
28
  abstract where(fieldName: (keyof MyDocType & FieldName) | string, operator: Operator | 'in' | 'not in', value: PrimitiveFieldType | Array<PrimitiveFieldType>): this;
29
29
  /**
30
- * A shortcut for where(fieldName, '==', value)
30
+ * A shortcut for `where(fieldName, '==', value)`
31
31
  *
32
32
  * @param fieldName The name of the field to query.
33
33
  * @param value The value to compare against.
@@ -35,56 +35,56 @@ export declare abstract class BaseQueryBuilder<MyDocType extends DocumentData> {
35
35
  */
36
36
  eq(fieldName: (keyof MyDocType & FieldName) | string, value: PrimitiveFieldType): this;
37
37
  /**
38
- * A shortcut for where(fieldName, '!=', value)
38
+ * A shortcut for `where(fieldName, '!=', value)`
39
39
  * @param fieldName The name of the field to query.
40
40
  * @param value The value to compare against.
41
41
  * @returns The query builder.
42
42
  */
43
43
  neq(fieldName: (keyof MyDocType & FieldName) | string, value: PrimitiveFieldType): this;
44
44
  /**
45
- * A shortcut for where(fieldName, 'in', value)
45
+ * A shortcut for `where(fieldName, 'in', value)`
46
46
  * @param fieldName The name of the field to query.
47
47
  * @param value An array of values to compare against.
48
48
  * @returns The query builder.
49
49
  */
50
50
  in(fieldName: (keyof MyDocType & FieldName) | string, value: Array<PrimitiveFieldType>): this;
51
51
  /**
52
- * A shortcut for where(fieldName, 'not in', value)
52
+ * A shortcut for `where(fieldName, 'not in', value)`
53
53
  * @param fieldName The name of the field to query.
54
54
  * @param value An array of values to compare against.
55
55
  * @returns The query builder.
56
56
  */
57
57
  nin(fieldName: (keyof MyDocType & FieldName) | string, value: Array<PrimitiveFieldType>): this;
58
58
  /**
59
- * A shortcut for where(fieldName, '>', value)
59
+ * A shortcut for `where(fieldName, '>', value)`
60
60
  * @param fieldName The name of the field to query.
61
61
  * @param value The value to compare against.
62
62
  * @returns The query builder.
63
63
  */
64
64
  gt(fieldName: (keyof MyDocType & FieldName) | string, value: PrimitiveFieldType): this;
65
65
  /**
66
- * A shortcut for where(fieldName, '>=', value)
66
+ * A shortcut for `where(fieldName, '>=', value)`
67
67
  * @param fieldName The name of the field to query.
68
68
  * @param value The value to compare against.
69
69
  * @returns The query builder.
70
70
  */
71
71
  gte(fieldName: (keyof MyDocType & FieldName) | string, value: PrimitiveFieldType): this;
72
72
  /**
73
- * A shortcut for where(fieldName, '<', value)
73
+ * A shortcut for `where(fieldName, '<', value)`
74
74
  * @param fieldName The name of the field to query.
75
75
  * @param value The value to compare against.
76
76
  * @returns The query builder.
77
77
  */
78
78
  lt(fieldName: (keyof MyDocType & FieldName) | string, value: PrimitiveFieldType): this;
79
79
  /**
80
- * A shortcut for where(fieldName, '<=', value)
80
+ * A shortcut for `where(fieldName, '<=', value)`
81
81
  * @param fieldName The name of the field to query.
82
82
  * @param value The value to compare against.
83
83
  * @returns The query builder.
84
84
  */
85
85
  lte(fieldName: (keyof MyDocType & FieldName) | string, value: PrimitiveFieldType): this;
86
86
  /**
87
- * A shortcut for where(fieldName, 'like', pattern).
87
+ * A shortcut for `where(fieldName, 'like', pattern).`
88
88
  *
89
89
  * @param fieldName The name of the field to query.
90
90
  * @param pattern The pattern to compare against. '%' matches 0 or more characters. '_' matches exactly one
@@ -95,7 +95,7 @@ export declare abstract class BaseQueryBuilder<MyDocType extends DocumentData> {
95
95
  */
96
96
  like(fieldName: (keyof MyDocType & FieldName) | string, pattern: string, caseSensitive?: boolean): this;
97
97
  /**
98
- * A shortcut for where(fieldName, 'not like', pattern).
98
+ * A shortcut for `where(fieldName, 'not like', pattern).`
99
99
  *
100
100
  * @param fieldName The name of the field to query.
101
101
  * @param pattern The pattern to compare against. '%' matches 0 or more characters. '_' matches exactly one
@@ -24,7 +24,7 @@ export interface OngoingQuery {
24
24
  subscribe: boolean;
25
25
  /**
26
26
  * In case of joins, and if this ongoing query is the root, this field emits all the supported observables
27
- * for example A.join(B, {...some join condition...}).join(C, {...some join condition}.
27
+ * for example `A.join(B, {...some join condition...}).join(C, {...some join condition}`.
28
28
  * This field will emit [A.subject.pipe(), B.subject.pipe(), C.subject.pipe()]. Any new supported queries will be
29
29
  * added here.
30
30
  */
@@ -1 +1 @@
1
- export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.336";
1
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.337";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.336",
3
+ "version": "1.0.337",
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",