@camstack/addon-provider-petkit 0.2.81 → 0.2.82

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.
package/dist/addon.js CHANGED
@@ -13153,6 +13153,9 @@ var QueryFilterSchema = object({
13153
13153
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
13154
13154
  /** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
13155
13155
  whereNot: record(string(), unknown()).optional(),
13156
+ /** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
13157
+ * empty list excludes nothing. See `QueryFilter.whereNotIn`. */
13158
+ whereNotIn: record(string(), array(unknown())).optional(),
13156
13159
  orderBy: object({
13157
13160
  field: string(),
13158
13161
  direction: _enum(["asc", "desc"])
@@ -13173,7 +13176,8 @@ var MutationFilterSchema = object({
13173
13176
  where: record(string(), unknown()).optional(),
13174
13177
  whereIn: record(string(), array(unknown())).optional(),
13175
13178
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
13176
- whereNot: record(string(), unknown()).optional()
13179
+ whereNot: record(string(), unknown()).optional(),
13180
+ whereNotIn: record(string(), array(unknown())).optional()
13177
13181
  });
13178
13182
  /**
13179
13183
  * One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
@@ -19946,10 +19950,12 @@ var TrackSourceSchema = _enum([
19946
19950
  * Terminal for the plain `markForTrain` toggle: returning it to `staging` is
19947
19951
  * a deliberate action of the retrain page, not a side effect of a checkbox.
19948
19952
  *
19949
- * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` because
19950
- * the store's filter language has only positive equality and `whereIn` no
19951
- * negation, no IS NULL so a NULL would be unselectable by ANY predicate and
19952
- * would make the entire pre-column history immortal in one deploy.
19953
+ * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
19954
+ * every row is selectable by a positive predicate. (The filter language has
19955
+ * since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
19956
+ * of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
19957
+ * filtered on a NULLABLE column — see `excludeSources`. It did not when this
19958
+ * column was designed, and a NOT NULL column is still the better shape.)
19953
19959
  */
19954
19960
  var RetrainStatusSchema = _enum([
19955
19961
  "none",
@@ -20685,7 +20691,9 @@ var RecentTracksQueryInput = object({
20685
20691
  * whose class list is unreadable are kept, and the client's rule stays the
20686
20692
  * exact one.
20687
20693
  */
20688
- classes: array(string()).optional()
20694
+ classes: array(string()).optional(),
20695
+ /** See {@link ExcludeSourcesDoc}. */
20696
+ excludeSources: array(TrackSourceSchema).optional()
20689
20697
  });
20690
20698
  /**
20691
20699
  * A Summary (D359): the per-camera session envelope that references tracks.
@@ -21113,7 +21121,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21113
21121
  * selected is an operator who has not narrowed anything, and an empty
21114
21122
  * timeline would read as a camera that saw nothing.
21115
21123
  */
21116
- classes: array(string()).optional()
21124
+ classes: array(string()).optional(),
21125
+ /** See {@link ExcludeSourcesDoc}. */
21126
+ excludeSources: array(TrackSourceSchema).optional()
21117
21127
  }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
21118
21128
  kind: "mutation",
21119
21129
  auth: "admin"
package/dist/addon.mjs CHANGED
@@ -13152,6 +13152,9 @@ var QueryFilterSchema = object({
13152
13152
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
13153
13153
  /** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
13154
13154
  whereNot: record(string(), unknown()).optional(),
13155
+ /** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
13156
+ * empty list excludes nothing. See `QueryFilter.whereNotIn`. */
13157
+ whereNotIn: record(string(), array(unknown())).optional(),
13155
13158
  orderBy: object({
13156
13159
  field: string(),
13157
13160
  direction: _enum(["asc", "desc"])
@@ -13172,7 +13175,8 @@ var MutationFilterSchema = object({
13172
13175
  where: record(string(), unknown()).optional(),
13173
13176
  whereIn: record(string(), array(unknown())).optional(),
13174
13177
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
13175
- whereNot: record(string(), unknown()).optional()
13178
+ whereNot: record(string(), unknown()).optional(),
13179
+ whereNotIn: record(string(), array(unknown())).optional()
13176
13180
  });
13177
13181
  /**
13178
13182
  * One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
@@ -19945,10 +19949,12 @@ var TrackSourceSchema = _enum([
19945
19949
  * Terminal for the plain `markForTrain` toggle: returning it to `staging` is
19946
19950
  * a deliberate action of the retrain page, not a side effect of a checkbox.
19947
19951
  *
19948
- * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` because
19949
- * the store's filter language has only positive equality and `whereIn` no
19950
- * negation, no IS NULL so a NULL would be unselectable by ANY predicate and
19951
- * would make the entire pre-column history immortal in one deploy.
19952
+ * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
19953
+ * every row is selectable by a positive predicate. (The filter language has
19954
+ * since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
19955
+ * of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
19956
+ * filtered on a NULLABLE column — see `excludeSources`. It did not when this
19957
+ * column was designed, and a NOT NULL column is still the better shape.)
19952
19958
  */
19953
19959
  var RetrainStatusSchema = _enum([
19954
19960
  "none",
@@ -20684,7 +20690,9 @@ var RecentTracksQueryInput = object({
20684
20690
  * whose class list is unreadable are kept, and the client's rule stays the
20685
20691
  * exact one.
20686
20692
  */
20687
- classes: array(string()).optional()
20693
+ classes: array(string()).optional(),
20694
+ /** See {@link ExcludeSourcesDoc}. */
20695
+ excludeSources: array(TrackSourceSchema).optional()
20688
20696
  });
20689
20697
  /**
20690
20698
  * A Summary (D359): the per-camera session envelope that references tracks.
@@ -21112,7 +21120,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
21112
21120
  * selected is an operator who has not narrowed anything, and an empty
21113
21121
  * timeline would read as a camera that saw nothing.
21114
21122
  */
21115
- classes: array(string()).optional()
21123
+ classes: array(string()).optional(),
21124
+ /** See {@link ExcludeSourcesDoc}. */
21125
+ excludeSources: array(TrackSourceSchema).optional()
21116
21126
  }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
21117
21127
  kind: "mutation",
21118
21128
  auth: "admin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-petkit",
3
- "version": "0.2.81",
3
+ "version": "0.2.82",
4
4
  "description": "PetKit smart-feeder device-provider addon for CamStack — wraps the @apocaliss92/nodepetkit PetKit cloud client",
5
5
  "keywords": [
6
6
  "camstack",