@camstack/addon-provider-reolink 1.2.59 → 1.2.60

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
@@ -5943,6 +5943,40 @@ var BaseAddon = class {
5943
5943
  deviceSettingsSchema() {
5944
5944
  return null;
5945
5945
  }
5946
+ /**
5947
+ * INTEGRATION-LEVEL SETTINGS — declare which of this addon's global sections
5948
+ * ARE the configuration of its integration.
5949
+ *
5950
+ * Return the `ConfigSection.id`s, from {@link globalSettingsSchema}, that an
5951
+ * operator should find on the addon's integration page (System →
5952
+ * Integrations → <name>) rather than only in the cluster-wide list of every
5953
+ * addon. Empty (the default) means the addon has no integration-level
5954
+ * settings and no such surface is offered — this is opt-in, because whether
5955
+ * an addon's configuration IS its integration's configuration depends on the
5956
+ * nature of the integration.
5957
+ *
5958
+ * WHAT THIS IS NOT. It is not a scope. The selected sections keep living in
5959
+ * the ONE global schema, in the ONE addon store, written by the ONE
5960
+ * `updateGlobalSettings` path. There is deliberately no
5961
+ * `updateIntegrationSettings`: a second write path is how a surface acquires
5962
+ * a second store key, and this repo has shipped that twice (`btmPath@hub`,
5963
+ * D266). Selecting sections cannot introduce a key that selecting cannot.
5964
+ *
5965
+ * WHY IT IS A LIST OF SECTION IDS AND NOT A MARKER ON THE SECTION.
5966
+ * `ConfigFieldBase` used to carry `scope?: 'device' | 'global'` and it was
5967
+ * removed with the reason recorded at
5968
+ * `packages/types/src/interfaces/config-ui.ts:249` — *"a field's scope is
5969
+ * determined by WHICH schema it lives in, not by a field-level marker."* A
5970
+ * marker sprinkled across sections also has to borrow a field that already
5971
+ * means something else; borrowing `section.tab` put the literal word
5972
+ * "integration" into an operator-facing tab bar, because `tab` means "how to
5973
+ * GROUP this visually" and cannot also mean "where this lives" (D269
5974
+ * supersedes D268). One declaration, in one place, next to the schema whose
5975
+ * ids it names.
5976
+ */
5977
+ integrationSettingSections() {
5978
+ return [];
5979
+ }
5946
5980
  async getGlobalSettings(overlay, cap, nodeId) {
5947
5981
  const schema = this.globalSettingsSchema(cap);
5948
5982
  if (!schema) return { sections: [] };
@@ -5953,6 +5987,55 @@ var BaseAddon = class {
5953
5987
  } : projected);
5954
5988
  }
5955
5989
  /**
5990
+ * The integration-level view of this addon's settings: exactly the sections
5991
+ * named by {@link integrationSettingSections}, hydrated from the SAME store
5992
+ * `getGlobalSettings` reads, and narrowed to cluster-scoped fields.
5993
+ *
5994
+ * Returns `null` when the addon declared nothing — an addon that opts out has
5995
+ * no integration settings surface at all, rather than an empty one that reads
5996
+ * as a failed load.
5997
+ *
5998
+ * Three properties hold BY CONSTRUCTION, which is why they are here in core
5999
+ * and not in whichever UI happens to render this:
6000
+ *
6001
+ * 1. **One key.** The payload is a SUBSET of the global schema, so a field
6002
+ * shown here is the same field, with the same bare key, that the addon's
6003
+ * own page shows. There is no integration-specific writer — callers save
6004
+ * through `updateGlobalSettings` — so a second store key is unreachable,
6005
+ * not merely discouraged.
6006
+ * 2. **No node scope.** `perNode: true` fields are DROPPED. Their store key
6007
+ * is `<key>@<nodeId>` and an integration is not a node; whichever node
6008
+ * such a field silently picked would be a wrong answer for the operator
6009
+ * who opened the page (D266).
6010
+ * 3. **No silent typo.** A declared id that names no section throws. The
6011
+ * alternative — skip it — turns a rename into a surface that quietly
6012
+ * empties, which looks exactly like an addon with nothing to configure.
6013
+ */
6014
+ async getIntegrationSettings(nodeId) {
6015
+ const declared = this.integrationSettingSections();
6016
+ if (declared.length === 0) return null;
6017
+ const schema = this.globalSettingsSchema();
6018
+ if (!schema) throw new Error(`${this.constructor.name}: integrationSettingSections() names [${declared.join(", ")}] but globalSettingsSchema() returns null.`);
6019
+ const byId = new Map(schema.sections.map((section) => [section.id, section]));
6020
+ const sections = [];
6021
+ for (const id of declared) {
6022
+ const section = byId.get(id);
6023
+ if (!section) throw new Error(`${this.constructor.name}: integrationSettingSections() names unknown section "${id}". Known sections: [${[...byId.keys()].join(", ")}].`);
6024
+ const fields = dropPerNodeFields(section.fields);
6025
+ if (fields.length === 0) continue;
6026
+ sections.push({
6027
+ ...section,
6028
+ fields
6029
+ });
6030
+ }
6031
+ if (sections.length === 0) return null;
6032
+ const projected = await this.resolveGlobalStore(nodeId);
6033
+ return hydrateSchema({
6034
+ ...schema,
6035
+ sections
6036
+ }, projected);
6037
+ }
6038
+ /**
5956
6039
  * The raw addon store PROJECTED onto the target node's bare per-node keys:
5957
6040
  * every `perNode: true` field carries THAT node's scoped value on its bare
5958
6041
  * key (absent scoped key ⇒ key absent, so the schema `default` wins — no
@@ -6256,6 +6339,41 @@ var BaseAddon = class {
6256
6339
  * `hydrateSchema` does. Valueless structural fields (separator/info/…)
6257
6340
  * don't declare `perNode` and are excluded by the `in` narrowing.
6258
6341
  */
6342
+ /**
6343
+ * The same fields with every `perNode: true` one removed, recursing into layout
6344
+ * containers exactly as {@link collectPerNodeFieldKeys} does. A container left
6345
+ * with no child is dropped rather than rendered empty.
6346
+ *
6347
+ * Used by `getIntegrationSettings`: an integration is not a node, so a field
6348
+ * whose store key is `<key>@<nodeId>` has no node to belong to there.
6349
+ */
6350
+ function dropPerNodeFields(fields) {
6351
+ const kept = [];
6352
+ for (const field of fields) {
6353
+ if (field.type === "group") {
6354
+ const inner = dropPerNodeFields(field.fields);
6355
+ if (inner.length > 0) kept.push({
6356
+ ...field,
6357
+ fields: inner
6358
+ });
6359
+ continue;
6360
+ }
6361
+ if (field.type === "sub-tabs") {
6362
+ const tabs = field.tabs.map((tab) => ({
6363
+ ...tab,
6364
+ fields: dropPerNodeFields(tab.fields)
6365
+ })).filter((tab) => tab.fields.length > 0);
6366
+ if (tabs.length > 0) kept.push({
6367
+ ...field,
6368
+ tabs
6369
+ });
6370
+ continue;
6371
+ }
6372
+ if ("perNode" in field && field.perNode === true) continue;
6373
+ kept.push(field);
6374
+ }
6375
+ return kept;
6376
+ }
6259
6377
  function collectPerNodeFieldKeys(fields) {
6260
6378
  const collected = [];
6261
6379
  for (const field of fields) {
@@ -9863,6 +9981,9 @@ method(object({
9863
9981
  kind: "mutation",
9864
9982
  auth: "admin"
9865
9983
  }), method(object({
9984
+ addonId: string(),
9985
+ nodeId: string().optional()
9986
+ }), SettingsSchemaWithValuesSchema.nullable()), method(object({
9866
9987
  addonId: string(),
9867
9988
  deviceId: number(),
9868
9989
  nodeId: string().optional()
@@ -32545,6 +32666,12 @@ Object.freeze({
32545
32666
  addonId: null,
32546
32667
  access: "view"
32547
32668
  },
32669
+ "addonSettings.getIntegrationSettings": {
32670
+ capName: "addon-settings",
32671
+ capScope: "system",
32672
+ addonId: null,
32673
+ access: "view"
32674
+ },
32548
32675
  "addonSettings.updateDeviceSettings": {
32549
32676
  capName: "addon-settings",
32550
32677
  capScope: "system",
@@ -240899,6 +241026,12 @@ var ReolinkEmailPushServer = class {
240899
241026
  //#endregion
240900
241027
  //#region src/email-push-schema.ts
240901
241028
  /**
241029
+ * The ids of the sections above, in render order — the value the addon hands
241030
+ * to `BaseAddon.integrationSettingSections()`. Exported so the declaration and
241031
+ * the schema cannot drift: core throws if an id here names no section.
241032
+ */
241033
+ var EMAIL_PUSH_SECTION_IDS = ["email-push", "email-push-auth"];
241034
+ /**
240902
241035
  * Addon-level settings UI for the Reolink email/SMTP push intake.
240903
241036
  *
240904
241037
  * Rendered under the provider's addon settings (Cluster → addon config).
@@ -240910,6 +241043,28 @@ var ReolinkEmailPushServer = class {
240910
241043
  * `requiresRestart` is intentionally NOT set — the provider handles the
240911
241044
  * restart itself in `onConfigChanged` (a targeted SMTP rebind, not a full
240912
241045
  * addon teardown).
241046
+ *
241047
+ * ── These sections ARE the Reolink integration's configuration ──────────
241048
+ *
241049
+ * Both are declared in `ReolinkAddon.integrationSettingSections()`, so core
241050
+ * serves them on System → Integrations → Reolink. The operator looks for "the
241051
+ * Reolink SMTP port" under Reolink; this puts it there.
241052
+ *
241053
+ * They EARN that placement, and the reason is the test any future declaration
241054
+ * must pass: they configure ONE SMTP server in ONE provider process, serving
241055
+ * every Reolink camera at once. There is no per-camera copy to confuse them
241056
+ * with, which is exactly why a per-camera home would be nonsense and a
241057
+ * per-integration home is correct. A setting that differs per camera belongs
241058
+ * in `deviceSettingsSchema`, never here.
241059
+ *
241060
+ * The declaration does not move the values: they remain the same bare keys in
241061
+ * the same addon store, still reachable from System → Settings, still written
241062
+ * by `updateGlobalSettings` — there is no integration-specific writer at all.
241063
+ * See ADR-0269.
241064
+ *
241065
+ * `tab` is deliberately NOT used to express this. It means "how to group this
241066
+ * visually", and an earlier design that overloaded it put the literal word
241067
+ * "integration" into an operator-facing tab bar (D268 → D269).
240913
241068
  */
240914
241069
  function buildEmailPushSettingsSchema(recommendedHost) {
240915
241070
  return { sections: [{
@@ -241278,9 +241433,30 @@ var ReolinkProviderAddon = class extends BaseDeviceProvider {
241278
241433
  this.ctx.logger.warn("email-push: restart after settings change failed", { meta: { error: err instanceof Error ? err.message : String(err) } });
241279
241434
  });
241280
241435
  }
241281
- async getGlobalSettings() {
241282
- const raw = await this.resolveGlobalStore();
241283
- return hydrateSchema(buildEmailPushSettingsSchema(listLanHosts()[0] ?? "127.0.0.1"), raw);
241436
+ /**
241437
+ * The addon's global settings schema.
241438
+ *
241439
+ * This used to override `getGlobalSettings()` wholesale, on the belief that a
241440
+ * dynamic `recommendedHost` could not come from a static schema declaration.
241441
+ * It can: `listLanHosts()` is synchronous, so the schema builder runs here
241442
+ * and `BaseAddon.getGlobalSettings` does the identical
241443
+ * `resolveGlobalStore` + `hydrateSchema` the override did by hand.
241444
+ *
241445
+ * Declaring the SCHEMA rather than overriding the GETTER is what lets core
241446
+ * serve `getIntegrationSettings()` — it selects the declared sections out of
241447
+ * this schema, so an addon that hides its schema behind a getter has nothing
241448
+ * for core to select from.
241449
+ */
241450
+ globalSettingsSchema() {
241451
+ return buildEmailPushSettingsSchema(listLanHosts()[0] ?? "127.0.0.1");
241452
+ }
241453
+ /**
241454
+ * Both email-push sections ARE this integration's configuration — one SMTP
241455
+ * server serving every Reolink camera. See `email-push-schema.ts` for why
241456
+ * that earns a per-integration home and not a per-camera one.
241457
+ */
241458
+ integrationSettingSections() {
241459
+ return EMAIL_PUSH_SECTION_IDS;
241284
241460
  }
241285
241461
  async onInitialize() {
241286
241462
  const regs = await super.onInitialize();
package/dist/addon.mjs CHANGED
@@ -5938,6 +5938,40 @@ var BaseAddon = class {
5938
5938
  deviceSettingsSchema() {
5939
5939
  return null;
5940
5940
  }
5941
+ /**
5942
+ * INTEGRATION-LEVEL SETTINGS — declare which of this addon's global sections
5943
+ * ARE the configuration of its integration.
5944
+ *
5945
+ * Return the `ConfigSection.id`s, from {@link globalSettingsSchema}, that an
5946
+ * operator should find on the addon's integration page (System →
5947
+ * Integrations → <name>) rather than only in the cluster-wide list of every
5948
+ * addon. Empty (the default) means the addon has no integration-level
5949
+ * settings and no such surface is offered — this is opt-in, because whether
5950
+ * an addon's configuration IS its integration's configuration depends on the
5951
+ * nature of the integration.
5952
+ *
5953
+ * WHAT THIS IS NOT. It is not a scope. The selected sections keep living in
5954
+ * the ONE global schema, in the ONE addon store, written by the ONE
5955
+ * `updateGlobalSettings` path. There is deliberately no
5956
+ * `updateIntegrationSettings`: a second write path is how a surface acquires
5957
+ * a second store key, and this repo has shipped that twice (`btmPath@hub`,
5958
+ * D266). Selecting sections cannot introduce a key that selecting cannot.
5959
+ *
5960
+ * WHY IT IS A LIST OF SECTION IDS AND NOT A MARKER ON THE SECTION.
5961
+ * `ConfigFieldBase` used to carry `scope?: 'device' | 'global'` and it was
5962
+ * removed with the reason recorded at
5963
+ * `packages/types/src/interfaces/config-ui.ts:249` — *"a field's scope is
5964
+ * determined by WHICH schema it lives in, not by a field-level marker."* A
5965
+ * marker sprinkled across sections also has to borrow a field that already
5966
+ * means something else; borrowing `section.tab` put the literal word
5967
+ * "integration" into an operator-facing tab bar, because `tab` means "how to
5968
+ * GROUP this visually" and cannot also mean "where this lives" (D269
5969
+ * supersedes D268). One declaration, in one place, next to the schema whose
5970
+ * ids it names.
5971
+ */
5972
+ integrationSettingSections() {
5973
+ return [];
5974
+ }
5941
5975
  async getGlobalSettings(overlay, cap, nodeId) {
5942
5976
  const schema = this.globalSettingsSchema(cap);
5943
5977
  if (!schema) return { sections: [] };
@@ -5948,6 +5982,55 @@ var BaseAddon = class {
5948
5982
  } : projected);
5949
5983
  }
5950
5984
  /**
5985
+ * The integration-level view of this addon's settings: exactly the sections
5986
+ * named by {@link integrationSettingSections}, hydrated from the SAME store
5987
+ * `getGlobalSettings` reads, and narrowed to cluster-scoped fields.
5988
+ *
5989
+ * Returns `null` when the addon declared nothing — an addon that opts out has
5990
+ * no integration settings surface at all, rather than an empty one that reads
5991
+ * as a failed load.
5992
+ *
5993
+ * Three properties hold BY CONSTRUCTION, which is why they are here in core
5994
+ * and not in whichever UI happens to render this:
5995
+ *
5996
+ * 1. **One key.** The payload is a SUBSET of the global schema, so a field
5997
+ * shown here is the same field, with the same bare key, that the addon's
5998
+ * own page shows. There is no integration-specific writer — callers save
5999
+ * through `updateGlobalSettings` — so a second store key is unreachable,
6000
+ * not merely discouraged.
6001
+ * 2. **No node scope.** `perNode: true` fields are DROPPED. Their store key
6002
+ * is `<key>@<nodeId>` and an integration is not a node; whichever node
6003
+ * such a field silently picked would be a wrong answer for the operator
6004
+ * who opened the page (D266).
6005
+ * 3. **No silent typo.** A declared id that names no section throws. The
6006
+ * alternative — skip it — turns a rename into a surface that quietly
6007
+ * empties, which looks exactly like an addon with nothing to configure.
6008
+ */
6009
+ async getIntegrationSettings(nodeId) {
6010
+ const declared = this.integrationSettingSections();
6011
+ if (declared.length === 0) return null;
6012
+ const schema = this.globalSettingsSchema();
6013
+ if (!schema) throw new Error(`${this.constructor.name}: integrationSettingSections() names [${declared.join(", ")}] but globalSettingsSchema() returns null.`);
6014
+ const byId = new Map(schema.sections.map((section) => [section.id, section]));
6015
+ const sections = [];
6016
+ for (const id of declared) {
6017
+ const section = byId.get(id);
6018
+ if (!section) throw new Error(`${this.constructor.name}: integrationSettingSections() names unknown section "${id}". Known sections: [${[...byId.keys()].join(", ")}].`);
6019
+ const fields = dropPerNodeFields(section.fields);
6020
+ if (fields.length === 0) continue;
6021
+ sections.push({
6022
+ ...section,
6023
+ fields
6024
+ });
6025
+ }
6026
+ if (sections.length === 0) return null;
6027
+ const projected = await this.resolveGlobalStore(nodeId);
6028
+ return hydrateSchema({
6029
+ ...schema,
6030
+ sections
6031
+ }, projected);
6032
+ }
6033
+ /**
5951
6034
  * The raw addon store PROJECTED onto the target node's bare per-node keys:
5952
6035
  * every `perNode: true` field carries THAT node's scoped value on its bare
5953
6036
  * key (absent scoped key ⇒ key absent, so the schema `default` wins — no
@@ -6251,6 +6334,41 @@ var BaseAddon = class {
6251
6334
  * `hydrateSchema` does. Valueless structural fields (separator/info/…)
6252
6335
  * don't declare `perNode` and are excluded by the `in` narrowing.
6253
6336
  */
6337
+ /**
6338
+ * The same fields with every `perNode: true` one removed, recursing into layout
6339
+ * containers exactly as {@link collectPerNodeFieldKeys} does. A container left
6340
+ * with no child is dropped rather than rendered empty.
6341
+ *
6342
+ * Used by `getIntegrationSettings`: an integration is not a node, so a field
6343
+ * whose store key is `<key>@<nodeId>` has no node to belong to there.
6344
+ */
6345
+ function dropPerNodeFields(fields) {
6346
+ const kept = [];
6347
+ for (const field of fields) {
6348
+ if (field.type === "group") {
6349
+ const inner = dropPerNodeFields(field.fields);
6350
+ if (inner.length > 0) kept.push({
6351
+ ...field,
6352
+ fields: inner
6353
+ });
6354
+ continue;
6355
+ }
6356
+ if (field.type === "sub-tabs") {
6357
+ const tabs = field.tabs.map((tab) => ({
6358
+ ...tab,
6359
+ fields: dropPerNodeFields(tab.fields)
6360
+ })).filter((tab) => tab.fields.length > 0);
6361
+ if (tabs.length > 0) kept.push({
6362
+ ...field,
6363
+ tabs
6364
+ });
6365
+ continue;
6366
+ }
6367
+ if ("perNode" in field && field.perNode === true) continue;
6368
+ kept.push(field);
6369
+ }
6370
+ return kept;
6371
+ }
6254
6372
  function collectPerNodeFieldKeys(fields) {
6255
6373
  const collected = [];
6256
6374
  for (const field of fields) {
@@ -9858,6 +9976,9 @@ method(object({
9858
9976
  kind: "mutation",
9859
9977
  auth: "admin"
9860
9978
  }), method(object({
9979
+ addonId: string(),
9980
+ nodeId: string().optional()
9981
+ }), SettingsSchemaWithValuesSchema.nullable()), method(object({
9861
9982
  addonId: string(),
9862
9983
  deviceId: number(),
9863
9984
  nodeId: string().optional()
@@ -32540,6 +32661,12 @@ Object.freeze({
32540
32661
  addonId: null,
32541
32662
  access: "view"
32542
32663
  },
32664
+ "addonSettings.getIntegrationSettings": {
32665
+ capName: "addon-settings",
32666
+ capScope: "system",
32667
+ addonId: null,
32668
+ access: "view"
32669
+ },
32543
32670
  "addonSettings.updateDeviceSettings": {
32544
32671
  capName: "addon-settings",
32545
32672
  capScope: "system",
@@ -240879,6 +241006,12 @@ var ReolinkEmailPushServer = class {
240879
241006
  //#endregion
240880
241007
  //#region src/email-push-schema.ts
240881
241008
  /**
241009
+ * The ids of the sections above, in render order — the value the addon hands
241010
+ * to `BaseAddon.integrationSettingSections()`. Exported so the declaration and
241011
+ * the schema cannot drift: core throws if an id here names no section.
241012
+ */
241013
+ var EMAIL_PUSH_SECTION_IDS = ["email-push", "email-push-auth"];
241014
+ /**
240882
241015
  * Addon-level settings UI for the Reolink email/SMTP push intake.
240883
241016
  *
240884
241017
  * Rendered under the provider's addon settings (Cluster → addon config).
@@ -240890,6 +241023,28 @@ var ReolinkEmailPushServer = class {
240890
241023
  * `requiresRestart` is intentionally NOT set — the provider handles the
240891
241024
  * restart itself in `onConfigChanged` (a targeted SMTP rebind, not a full
240892
241025
  * addon teardown).
241026
+ *
241027
+ * ── These sections ARE the Reolink integration's configuration ──────────
241028
+ *
241029
+ * Both are declared in `ReolinkAddon.integrationSettingSections()`, so core
241030
+ * serves them on System → Integrations → Reolink. The operator looks for "the
241031
+ * Reolink SMTP port" under Reolink; this puts it there.
241032
+ *
241033
+ * They EARN that placement, and the reason is the test any future declaration
241034
+ * must pass: they configure ONE SMTP server in ONE provider process, serving
241035
+ * every Reolink camera at once. There is no per-camera copy to confuse them
241036
+ * with, which is exactly why a per-camera home would be nonsense and a
241037
+ * per-integration home is correct. A setting that differs per camera belongs
241038
+ * in `deviceSettingsSchema`, never here.
241039
+ *
241040
+ * The declaration does not move the values: they remain the same bare keys in
241041
+ * the same addon store, still reachable from System → Settings, still written
241042
+ * by `updateGlobalSettings` — there is no integration-specific writer at all.
241043
+ * See ADR-0269.
241044
+ *
241045
+ * `tab` is deliberately NOT used to express this. It means "how to group this
241046
+ * visually", and an earlier design that overloaded it put the literal word
241047
+ * "integration" into an operator-facing tab bar (D268 → D269).
240893
241048
  */
240894
241049
  function buildEmailPushSettingsSchema(recommendedHost) {
240895
241050
  return { sections: [{
@@ -241258,9 +241413,30 @@ var ReolinkProviderAddon = class extends BaseDeviceProvider {
241258
241413
  this.ctx.logger.warn("email-push: restart after settings change failed", { meta: { error: err instanceof Error ? err.message : String(err) } });
241259
241414
  });
241260
241415
  }
241261
- async getGlobalSettings() {
241262
- const raw = await this.resolveGlobalStore();
241263
- return hydrateSchema(buildEmailPushSettingsSchema(listLanHosts()[0] ?? "127.0.0.1"), raw);
241416
+ /**
241417
+ * The addon's global settings schema.
241418
+ *
241419
+ * This used to override `getGlobalSettings()` wholesale, on the belief that a
241420
+ * dynamic `recommendedHost` could not come from a static schema declaration.
241421
+ * It can: `listLanHosts()` is synchronous, so the schema builder runs here
241422
+ * and `BaseAddon.getGlobalSettings` does the identical
241423
+ * `resolveGlobalStore` + `hydrateSchema` the override did by hand.
241424
+ *
241425
+ * Declaring the SCHEMA rather than overriding the GETTER is what lets core
241426
+ * serve `getIntegrationSettings()` — it selects the declared sections out of
241427
+ * this schema, so an addon that hides its schema behind a getter has nothing
241428
+ * for core to select from.
241429
+ */
241430
+ globalSettingsSchema() {
241431
+ return buildEmailPushSettingsSchema(listLanHosts()[0] ?? "127.0.0.1");
241432
+ }
241433
+ /**
241434
+ * Both email-push sections ARE this integration's configuration — one SMTP
241435
+ * server serving every Reolink camera. See `email-push-schema.ts` for why
241436
+ * that earns a per-integration home and not a per-camera one.
241437
+ */
241438
+ integrationSettingSections() {
241439
+ return EMAIL_PUSH_SECTION_IDS;
241264
241440
  }
241265
241441
  async onInitialize() {
241266
241442
  const regs = await super.onInitialize();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-reolink",
3
- "version": "1.2.59",
3
+ "version": "1.2.60",
4
4
  "description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
5
5
  "keywords": [
6
6
  "camstack",