@camstack/addon-smtp-nodemailer 1.2.104 → 1.2.105

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.
@@ -13262,6 +13262,43 @@ var ExposeInputSchema = object({
13262
13262
  });
13263
13263
  var UnexposeInputSchema = object({ deviceId: string() });
13264
13264
  method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
13265
+ /** Wire/storage schema for one icon id. */
13266
+ var LocationIconIdSchema = _enum([
13267
+ "map-pin",
13268
+ "house",
13269
+ "door-open",
13270
+ "sofa",
13271
+ "utensils",
13272
+ "bed-double",
13273
+ "bath",
13274
+ "briefcase",
13275
+ "car",
13276
+ "circle-parking",
13277
+ "route",
13278
+ "trees",
13279
+ "umbrella",
13280
+ "waves-ladder",
13281
+ "fence",
13282
+ "package",
13283
+ "warehouse",
13284
+ "store",
13285
+ "sun",
13286
+ "radar"
13287
+ ]);
13288
+ /**
13289
+ * One (location, icon) assignment as it travels.
13290
+ *
13291
+ * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
13292
+ * operator's casing. The registry matches labels trimmed + case-insensitively
13293
+ * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
13294
+ * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
13295
+ * map keyed on the displayed casing would orphan its entry on exactly that
13296
+ * edit. Consumers join by keying their own label through `locationIconKey`.
13297
+ */
13298
+ var LocationIconAssignmentSchema = object({
13299
+ locationKey: string(),
13300
+ icon: LocationIconIdSchema
13301
+ });
13265
13302
  var ProviderStatusSchema = object({
13266
13303
  connected: boolean(),
13267
13304
  deviceCount: number(),
@@ -13773,6 +13810,12 @@ method(object({
13773
13810
  }), object({ moved: number() }), {
13774
13811
  kind: "mutation",
13775
13812
  auth: "admin"
13813
+ }), method(_void(), array(LocationIconAssignmentSchema)), method(object({
13814
+ location: string(),
13815
+ icon: LocationIconIdSchema.nullable()
13816
+ }), _void(), {
13817
+ kind: "mutation",
13818
+ auth: "admin"
13776
13819
  }), method(object({
13777
13820
  deviceId: number(),
13778
13821
  disabled: boolean()
@@ -32609,6 +32652,12 @@ Object.freeze({
32609
32652
  addonId: null,
32610
32653
  access: "view"
32611
32654
  },
32655
+ "deviceManager.listLocationIcons": {
32656
+ capName: "device-manager",
32657
+ capScope: "system",
32658
+ addonId: null,
32659
+ access: "view"
32660
+ },
32612
32661
  "deviceManager.listLocations": {
32613
32662
  capName: "device-manager",
32614
32663
  capScope: "system",
@@ -32753,6 +32802,12 @@ Object.freeze({
32753
32802
  addonId: null,
32754
32803
  access: "create"
32755
32804
  },
32805
+ "deviceManager.setLocationIcon": {
32806
+ capName: "device-manager",
32807
+ capScope: "system",
32808
+ addonId: null,
32809
+ access: "create"
32810
+ },
32756
32811
  "deviceManager.setMetadata": {
32757
32812
  capName: "device-manager",
32758
32813
  capScope: "system",
@@ -13260,6 +13260,43 @@ var ExposeInputSchema = object({
13260
13260
  });
13261
13261
  var UnexposeInputSchema = object({ deviceId: string() });
13262
13262
  method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
13263
+ /** Wire/storage schema for one icon id. */
13264
+ var LocationIconIdSchema = _enum([
13265
+ "map-pin",
13266
+ "house",
13267
+ "door-open",
13268
+ "sofa",
13269
+ "utensils",
13270
+ "bed-double",
13271
+ "bath",
13272
+ "briefcase",
13273
+ "car",
13274
+ "circle-parking",
13275
+ "route",
13276
+ "trees",
13277
+ "umbrella",
13278
+ "waves-ladder",
13279
+ "fence",
13280
+ "package",
13281
+ "warehouse",
13282
+ "store",
13283
+ "sun",
13284
+ "radar"
13285
+ ]);
13286
+ /**
13287
+ * One (location, icon) assignment as it travels.
13288
+ *
13289
+ * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
13290
+ * operator's casing. The registry matches labels trimmed + case-insensitively
13291
+ * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
13292
+ * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
13293
+ * map keyed on the displayed casing would orphan its entry on exactly that
13294
+ * edit. Consumers join by keying their own label through `locationIconKey`.
13295
+ */
13296
+ var LocationIconAssignmentSchema = object({
13297
+ locationKey: string(),
13298
+ icon: LocationIconIdSchema
13299
+ });
13263
13300
  var ProviderStatusSchema = object({
13264
13301
  connected: boolean(),
13265
13302
  deviceCount: number(),
@@ -13771,6 +13808,12 @@ method(object({
13771
13808
  }), object({ moved: number() }), {
13772
13809
  kind: "mutation",
13773
13810
  auth: "admin"
13811
+ }), method(_void(), array(LocationIconAssignmentSchema)), method(object({
13812
+ location: string(),
13813
+ icon: LocationIconIdSchema.nullable()
13814
+ }), _void(), {
13815
+ kind: "mutation",
13816
+ auth: "admin"
13774
13817
  }), method(object({
13775
13818
  deviceId: number(),
13776
13819
  disabled: boolean()
@@ -32607,6 +32650,12 @@ Object.freeze({
32607
32650
  addonId: null,
32608
32651
  access: "view"
32609
32652
  },
32653
+ "deviceManager.listLocationIcons": {
32654
+ capName: "device-manager",
32655
+ capScope: "system",
32656
+ addonId: null,
32657
+ access: "view"
32658
+ },
32610
32659
  "deviceManager.listLocations": {
32611
32660
  capName: "device-manager",
32612
32661
  capScope: "system",
@@ -32751,6 +32800,12 @@ Object.freeze({
32751
32800
  addonId: null,
32752
32801
  access: "create"
32753
32802
  },
32803
+ "deviceManager.setLocationIcon": {
32804
+ capName: "device-manager",
32805
+ capScope: "system",
32806
+ addonId: null,
32807
+ access: "create"
32808
+ },
32754
32809
  "deviceManager.setMetadata": {
32755
32810
  capName: "device-manager",
32756
32811
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.104",
3
+ "version": "1.2.105",
4
4
  "description": "SMTP email provider addon for CamStack — wraps `nodemailer` and registers a `smtp-provider` cap collection entry. Used by magic-link login + notifier addons.",
5
5
  "keywords": [
6
6
  "camstack",