@camstack/addon-import-alexa 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
@@ -12277,6 +12277,9 @@ var QueryFilterSchema = object({
12277
12277
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
12278
12278
  /** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
12279
12279
  whereNot: record(string(), unknown()).optional(),
12280
+ /** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
12281
+ * empty list excludes nothing. See `QueryFilter.whereNotIn`. */
12282
+ whereNotIn: record(string(), array(unknown())).optional(),
12280
12283
  orderBy: object({
12281
12284
  field: string(),
12282
12285
  direction: _enum(["asc", "desc"])
@@ -12297,7 +12300,8 @@ var MutationFilterSchema = object({
12297
12300
  where: record(string(), unknown()).optional(),
12298
12301
  whereIn: record(string(), array(unknown())).optional(),
12299
12302
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
12300
- whereNot: record(string(), unknown()).optional()
12303
+ whereNot: record(string(), unknown()).optional(),
12304
+ whereNotIn: record(string(), array(unknown())).optional()
12301
12305
  });
12302
12306
  /**
12303
12307
  * One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
@@ -19070,10 +19074,12 @@ var TrackSourceSchema = _enum([
19070
19074
  * Terminal for the plain `markForTrain` toggle: returning it to `staging` is
19071
19075
  * a deliberate action of the retrain page, not a side effect of a checkbox.
19072
19076
  *
19073
- * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` because
19074
- * the store's filter language has only positive equality and `whereIn` — no
19075
- * negation, no IS NULL — so a NULL would be unselectable by ANY predicate and
19076
- * would make the entire pre-column history immortal in one deploy.
19077
+ * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
19078
+ * every row is selectable by a positive predicate. (The filter language has
19079
+ * since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
19080
+ * of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
19081
+ * filtered on a NULLABLE column — see `excludeSources`. It did not when this
19082
+ * column was designed, and a NOT NULL column is still the better shape.)
19077
19083
  */
19078
19084
  var RetrainStatusSchema = _enum([
19079
19085
  "none",
@@ -19809,7 +19815,9 @@ var RecentTracksQueryInput = object({
19809
19815
  * whose class list is unreadable are kept, and the client's rule stays the
19810
19816
  * exact one.
19811
19817
  */
19812
- classes: array(string()).optional()
19818
+ classes: array(string()).optional(),
19819
+ /** See {@link ExcludeSourcesDoc}. */
19820
+ excludeSources: array(TrackSourceSchema).optional()
19813
19821
  });
19814
19822
  /**
19815
19823
  * A Summary (D359): the per-camera session envelope that references tracks.
@@ -20237,7 +20245,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20237
20245
  * selected is an operator who has not narrowed anything, and an empty
20238
20246
  * timeline would read as a camera that saw nothing.
20239
20247
  */
20240
- classes: array(string()).optional()
20248
+ classes: array(string()).optional(),
20249
+ /** See {@link ExcludeSourcesDoc}. */
20250
+ excludeSources: array(TrackSourceSchema).optional()
20241
20251
  }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20242
20252
  kind: "mutation",
20243
20253
  auth: "admin"
package/dist/addon.mjs CHANGED
@@ -12277,6 +12277,9 @@ var QueryFilterSchema = object({
12277
12277
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
12278
12278
  /** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
12279
12279
  whereNot: record(string(), unknown()).optional(),
12280
+ /** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
12281
+ * empty list excludes nothing. See `QueryFilter.whereNotIn`. */
12282
+ whereNotIn: record(string(), array(unknown())).optional(),
12280
12283
  orderBy: object({
12281
12284
  field: string(),
12282
12285
  direction: _enum(["asc", "desc"])
@@ -12297,7 +12300,8 @@ var MutationFilterSchema = object({
12297
12300
  where: record(string(), unknown()).optional(),
12298
12301
  whereIn: record(string(), array(unknown())).optional(),
12299
12302
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
12300
- whereNot: record(string(), unknown()).optional()
12303
+ whereNot: record(string(), unknown()).optional(),
12304
+ whereNotIn: record(string(), array(unknown())).optional()
12301
12305
  });
12302
12306
  /**
12303
12307
  * One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
@@ -19070,10 +19074,12 @@ var TrackSourceSchema = _enum([
19070
19074
  * Terminal for the plain `markForTrain` toggle: returning it to `staging` is
19071
19075
  * a deliberate action of the retrain page, not a side effect of a checkbox.
19072
19076
  *
19073
- * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` because
19074
- * the store's filter language has only positive equality and `whereIn` — no
19075
- * negation, no IS NULL — so a NULL would be unselectable by ANY predicate and
19076
- * would make the entire pre-column history immortal in one deploy.
19077
+ * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
19078
+ * every row is selectable by a positive predicate. (The filter language has
19079
+ * since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
19080
+ * of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
19081
+ * filtered on a NULLABLE column — see `excludeSources`. It did not when this
19082
+ * column was designed, and a NOT NULL column is still the better shape.)
19077
19083
  */
19078
19084
  var RetrainStatusSchema = _enum([
19079
19085
  "none",
@@ -19809,7 +19815,9 @@ var RecentTracksQueryInput = object({
19809
19815
  * whose class list is unreadable are kept, and the client's rule stays the
19810
19816
  * exact one.
19811
19817
  */
19812
- classes: array(string()).optional()
19818
+ classes: array(string()).optional(),
19819
+ /** See {@link ExcludeSourcesDoc}. */
19820
+ excludeSources: array(TrackSourceSchema).optional()
19813
19821
  });
19814
19822
  /**
19815
19823
  * A Summary (D359): the per-camera session envelope that references tracks.
@@ -20237,7 +20245,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20237
20245
  * selected is an operator who has not narrowed anything, and an empty
20238
20246
  * timeline would read as a camera that saw nothing.
20239
20247
  */
20240
- classes: array(string()).optional()
20248
+ classes: array(string()).optional(),
20249
+ /** See {@link ExcludeSourcesDoc}. */
20250
+ excludeSources: array(TrackSourceSchema).optional()
20241
20251
  }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20242
20252
  kind: "mutation",
20243
20253
  auth: "admin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.80",
3
+ "version": "0.2.81",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",