@camstack/addon-matter-broker 0.2.80 → 0.2.81

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
@@ -12114,6 +12114,9 @@ var QueryFilterSchema = object({
12114
12114
  whereBetween: record(string$2(), tuple([unknown(), unknown()])).optional(),
12115
12115
  /** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
12116
12116
  whereNot: record(string$2(), unknown()).optional(),
12117
+ /** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
12118
+ * empty list excludes nothing. See `QueryFilter.whereNotIn`. */
12119
+ whereNotIn: record(string$2(), array(unknown())).optional(),
12117
12120
  orderBy: object({
12118
12121
  field: string$2(),
12119
12122
  direction: _enum(["asc", "desc"])
@@ -12134,7 +12137,8 @@ var MutationFilterSchema = object({
12134
12137
  where: record(string$2(), unknown()).optional(),
12135
12138
  whereIn: record(string$2(), array(unknown())).optional(),
12136
12139
  whereBetween: record(string$2(), tuple([unknown(), unknown()])).optional(),
12137
- whereNot: record(string$2(), unknown()).optional()
12140
+ whereNot: record(string$2(), unknown()).optional(),
12141
+ whereNotIn: record(string$2(), array(unknown())).optional()
12138
12142
  });
12139
12143
  /**
12140
12144
  * One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
@@ -18907,10 +18911,12 @@ var TrackSourceSchema = _enum([
18907
18911
  * Terminal for the plain `markForTrain` toggle: returning it to `staging` is
18908
18912
  * a deliberate action of the retrain page, not a side effect of a checkbox.
18909
18913
  *
18910
- * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` because
18911
- * the store's filter language has only positive equality and `whereIn` — no
18912
- * negation, no IS NULL — so a NULL would be unselectable by ANY predicate and
18913
- * would make the entire pre-column history immortal in one deploy.
18914
+ * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
18915
+ * every row is selectable by a positive predicate. (The filter language has
18916
+ * since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
18917
+ * of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
18918
+ * filtered on a NULLABLE column — see `excludeSources`. It did not when this
18919
+ * column was designed, and a NOT NULL column is still the better shape.)
18914
18920
  */
18915
18921
  var RetrainStatusSchema = _enum([
18916
18922
  "none",
@@ -19646,7 +19652,9 @@ var RecentTracksQueryInput = object({
19646
19652
  * whose class list is unreadable are kept, and the client's rule stays the
19647
19653
  * exact one.
19648
19654
  */
19649
- classes: array(string$2()).optional()
19655
+ classes: array(string$2()).optional(),
19656
+ /** See {@link ExcludeSourcesDoc}. */
19657
+ excludeSources: array(TrackSourceSchema).optional()
19650
19658
  });
19651
19659
  /**
19652
19660
  * A Summary (D359): the per-camera session envelope that references tracks.
@@ -20074,7 +20082,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20074
20082
  * selected is an operator who has not narrowed anything, and an empty
20075
20083
  * timeline would read as a camera that saw nothing.
20076
20084
  */
20077
- classes: array(string$2()).optional()
20085
+ classes: array(string$2()).optional(),
20086
+ /** See {@link ExcludeSourcesDoc}. */
20087
+ excludeSources: array(TrackSourceSchema).optional()
20078
20088
  }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string$2() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20079
20089
  kind: "mutation",
20080
20090
  auth: "admin"
package/dist/addon.mjs CHANGED
@@ -12112,6 +12112,9 @@ var QueryFilterSchema = object({
12112
12112
  whereBetween: record(string$2(), tuple([unknown(), unknown()])).optional(),
12113
12113
  /** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
12114
12114
  whereNot: record(string$2(), unknown()).optional(),
12115
+ /** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
12116
+ * empty list excludes nothing. See `QueryFilter.whereNotIn`. */
12117
+ whereNotIn: record(string$2(), array(unknown())).optional(),
12115
12118
  orderBy: object({
12116
12119
  field: string$2(),
12117
12120
  direction: _enum(["asc", "desc"])
@@ -12132,7 +12135,8 @@ var MutationFilterSchema = object({
12132
12135
  where: record(string$2(), unknown()).optional(),
12133
12136
  whereIn: record(string$2(), array(unknown())).optional(),
12134
12137
  whereBetween: record(string$2(), tuple([unknown(), unknown()])).optional(),
12135
- whereNot: record(string$2(), unknown()).optional()
12138
+ whereNot: record(string$2(), unknown()).optional(),
12139
+ whereNotIn: record(string$2(), array(unknown())).optional()
12136
12140
  });
12137
12141
  /**
12138
12142
  * One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
@@ -18905,10 +18909,12 @@ var TrackSourceSchema = _enum([
18905
18909
  * Terminal for the plain `markForTrain` toggle: returning it to `staging` is
18906
18910
  * a deliberate action of the retrain page, not a side effect of a checkbox.
18907
18911
  *
18908
- * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` because
18909
- * the store's filter language has only positive equality and `whereIn` — no
18910
- * negation, no IS NULL — so a NULL would be unselectable by ANY predicate and
18911
- * would make the entire pre-column history immortal in one deploy.
18912
+ * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
18913
+ * every row is selectable by a positive predicate. (The filter language has
18914
+ * since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
18915
+ * of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
18916
+ * filtered on a NULLABLE column — see `excludeSources`. It did not when this
18917
+ * column was designed, and a NOT NULL column is still the better shape.)
18912
18918
  */
18913
18919
  var RetrainStatusSchema = _enum([
18914
18920
  "none",
@@ -19644,7 +19650,9 @@ var RecentTracksQueryInput = object({
19644
19650
  * whose class list is unreadable are kept, and the client's rule stays the
19645
19651
  * exact one.
19646
19652
  */
19647
- classes: array(string$2()).optional()
19653
+ classes: array(string$2()).optional(),
19654
+ /** See {@link ExcludeSourcesDoc}. */
19655
+ excludeSources: array(TrackSourceSchema).optional()
19648
19656
  });
19649
19657
  /**
19650
19658
  * A Summary (D359): the per-camera session envelope that references tracks.
@@ -20072,7 +20080,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20072
20080
  * selected is an operator who has not narrowed anything, and an empty
20073
20081
  * timeline would read as a camera that saw nothing.
20074
20082
  */
20075
- classes: array(string$2()).optional()
20083
+ classes: array(string$2()).optional(),
20084
+ /** See {@link ExcludeSourcesDoc}. */
20085
+ excludeSources: array(TrackSourceSchema).optional()
20076
20086
  }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string$2() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20077
20087
  kind: "mutation",
20078
20088
  auth: "admin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.2.80",
3
+ "version": "0.2.81",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",