@camstack/addon-mqtt-broker 1.2.132 → 1.2.133
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/mqtt-broker.addon.js +24 -78
- package/dist/mqtt-broker.addon.mjs +24 -78
- package/package.json +1 -1
|
@@ -5594,7 +5594,7 @@ var ZodIssueCode = {
|
|
|
5594
5594
|
var ZodFirstPartyTypeKind;
|
|
5595
5595
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5596
5596
|
//#endregion
|
|
5597
|
-
//#region ../types/dist/sleep-
|
|
5597
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5598
5598
|
/**
|
|
5599
5599
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5600
5600
|
* window to float samples (D455).
|
|
@@ -8212,7 +8212,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
8212
8212
|
secretPaths: array(string().min(1)).default([]),
|
|
8213
8213
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8214
8214
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8215
|
-
/**
|
|
8215
|
+
/**
|
|
8216
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8217
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8218
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8219
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8220
|
+
* removal still sends it. Never set it.
|
|
8221
|
+
*/
|
|
8216
8222
|
adoptsFrom: string().min(1).optional(),
|
|
8217
8223
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8218
8224
|
transactFamily: string().min(1).optional(),
|
|
@@ -8287,7 +8293,6 @@ function defineRecordKinds(specs) {
|
|
|
8287
8293
|
maxDataBytes: spec.maxDataBytes,
|
|
8288
8294
|
secretPaths: [...secretPaths],
|
|
8289
8295
|
secretArrayKeys: spec.secretArrayKeys === void 0 ? void 0 : { ...spec.secretArrayKeys },
|
|
8290
|
-
adoptsFrom: spec.adoptsFrom,
|
|
8291
8296
|
transactFamily: spec.transactFamily,
|
|
8292
8297
|
entry: spec.entry === void 0 ? void 0 : {
|
|
8293
8298
|
title: spec.entry.title,
|
|
@@ -8331,7 +8336,6 @@ function defineEntryKind(name, spec) {
|
|
|
8331
8336
|
...spec.database === void 0 ? {} : { database: spec.database },
|
|
8332
8337
|
...spec.indexes === void 0 ? {} : { indexes: spec.indexes },
|
|
8333
8338
|
...spec.secretArrayKeys === void 0 ? {} : { secretArrayKeys: spec.secretArrayKeys },
|
|
8334
|
-
...spec.adoptsFrom === void 0 ? {} : { adoptsFrom: spec.adoptsFrom },
|
|
8335
8339
|
entry: {
|
|
8336
8340
|
title: spec.title,
|
|
8337
8341
|
...spec.nameField === void 0 ? {} : { nameField: spec.nameField }
|
|
@@ -8340,25 +8344,6 @@ function defineEntryKind(name, spec) {
|
|
|
8340
8344
|
if (defined === void 0) throw new DeclarationRefusedError(`entry kind "${name}" was not built`);
|
|
8341
8345
|
return defined;
|
|
8342
8346
|
}
|
|
8343
|
-
/**
|
|
8344
|
-
* Legacy source for broker entry adoption (B2): brokers live in addon-settings
|
|
8345
|
-
* as one row `<addonId>.brokers` whose value is an array until records-adopt
|
|
8346
|
-
* copies them into the entry kind.
|
|
8347
|
-
*/
|
|
8348
|
-
var SETTINGS_BROKERS_ADOPTS_PREFIX = "@settings-brokers/";
|
|
8349
|
-
/** The `adoptsFrom` value for an addon's broker entry kind. */
|
|
8350
|
-
function settingsBrokersAdoptsFrom(addonId) {
|
|
8351
|
-
return `${SETTINGS_BROKERS_ADOPTS_PREFIX}${addonId}`;
|
|
8352
|
-
}
|
|
8353
|
-
/**
|
|
8354
|
-
* Legacy source for entry adoption (B3): a list stored under addon-settings
|
|
8355
|
-
* `<addonId>.<key>` until records-adopt copies rows into the entry kind.
|
|
8356
|
-
*/
|
|
8357
|
-
var SETTINGS_ARRAY_ADOPTS_PREFIX = "@settings-array/";
|
|
8358
|
-
/** The `adoptsFrom` value for an addon-settings array field. */
|
|
8359
|
-
function settingsArrayAdoptsFrom(addonId, settingsKey) {
|
|
8360
|
-
return `${SETTINGS_ARRAY_ADOPTS_PREFIX}${addonId}/${settingsKey}`;
|
|
8361
|
-
}
|
|
8362
8347
|
/** Shared Zod schemas used across streaming capabilities. */
|
|
8363
8348
|
var CamProfileSchema = _enum([
|
|
8364
8349
|
"high",
|
|
@@ -16952,11 +16937,12 @@ var DeclareKindResultSchema = object({
|
|
|
16952
16937
|
kindId: number().int(),
|
|
16953
16938
|
state: RecordKindStateSchema,
|
|
16954
16939
|
createdIndexes: array(string()),
|
|
16955
|
-
/**
|
|
16956
|
-
|
|
16957
|
-
|
|
16958
|
-
|
|
16959
|
-
|
|
16940
|
+
/**
|
|
16941
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16942
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16943
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16944
|
+
*/
|
|
16945
|
+
adoptionPending: _null()
|
|
16960
16946
|
});
|
|
16961
16947
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16962
16948
|
var SecretRefsList = array(string());
|
|
@@ -17129,26 +17115,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
17129
17115
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
17130
17116
|
owner: string().min(1),
|
|
17131
17117
|
kind: RecordKindNameSchema
|
|
17132
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
17133
|
-
owner: string().min(1),
|
|
17134
|
-
kind: RecordKindNameSchema,
|
|
17135
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
17136
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
17137
|
-
complete: boolean().optional()
|
|
17138
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
17139
|
-
kind: "mutation",
|
|
17140
|
-
auth: "admin"
|
|
17141
|
-
}), method(object({
|
|
17142
|
-
collection: string().min(1),
|
|
17143
|
-
cursor: string().optional(),
|
|
17144
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
17145
|
-
}), object({
|
|
17146
|
-
rows: array(object({
|
|
17147
|
-
id: string(),
|
|
17148
|
-
data: record(string(), unknown())
|
|
17149
|
-
})),
|
|
17150
|
-
nextCursor: string().nullable()
|
|
17151
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
17118
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
17152
17119
|
/**
|
|
17153
17120
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
17154
17121
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -64346,6 +64313,12 @@ Object.freeze({
|
|
|
64346
64313
|
addonId: null,
|
|
64347
64314
|
access: "view"
|
|
64348
64315
|
},
|
|
64316
|
+
"deviceHistory.queryMany": {
|
|
64317
|
+
capName: "device-history",
|
|
64318
|
+
capScope: "system",
|
|
64319
|
+
addonId: null,
|
|
64320
|
+
access: "view"
|
|
64321
|
+
},
|
|
64349
64322
|
"deviceHistory.queryNode": {
|
|
64350
64323
|
capName: "device-history",
|
|
64351
64324
|
capScope: "system",
|
|
@@ -69566,24 +69539,12 @@ Object.freeze({
|
|
|
69566
69539
|
addonId: null,
|
|
69567
69540
|
access: "create"
|
|
69568
69541
|
},
|
|
69569
|
-
"storageAdmin.adoptRecords": {
|
|
69570
|
-
capName: "storage-admin",
|
|
69571
|
-
capScope: "system",
|
|
69572
|
-
addonId: null,
|
|
69573
|
-
access: "create"
|
|
69574
|
-
},
|
|
69575
69542
|
"storageAdmin.dropCollection": {
|
|
69576
69543
|
capName: "storage-admin",
|
|
69577
69544
|
capScope: "system",
|
|
69578
69545
|
addonId: null,
|
|
69579
69546
|
access: "delete"
|
|
69580
69547
|
},
|
|
69581
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
69582
|
-
capName: "storage-admin",
|
|
69583
|
-
capScope: "system",
|
|
69584
|
-
addonId: null,
|
|
69585
|
-
access: "view"
|
|
69586
|
-
},
|
|
69587
69548
|
"storageAdmin.listKinds": {
|
|
69588
69549
|
capName: "storage-admin",
|
|
69589
69550
|
capScope: "system",
|
|
@@ -69596,12 +69557,6 @@ Object.freeze({
|
|
|
69596
69557
|
addonId: null,
|
|
69597
69558
|
access: "view"
|
|
69598
69559
|
},
|
|
69599
|
-
"storageAdmin.readLegacyCollection": {
|
|
69600
|
-
capName: "storage-admin",
|
|
69601
|
-
capScope: "system",
|
|
69602
|
-
addonId: null,
|
|
69603
|
-
access: "view"
|
|
69604
|
-
},
|
|
69605
69560
|
"storageAdmin.readRecords": {
|
|
69606
69561
|
capName: "storage-admin",
|
|
69607
69562
|
capScope: "system",
|
|
@@ -73416,12 +73371,6 @@ Object.freeze({
|
|
|
73416
73371
|
form: "single",
|
|
73417
73372
|
optional: false
|
|
73418
73373
|
}],
|
|
73419
|
-
"storageAdmin.adoptRecords": [{
|
|
73420
|
-
name: "records",
|
|
73421
|
-
form: "object-array",
|
|
73422
|
-
optional: false,
|
|
73423
|
-
itemField: "deviceId"
|
|
73424
|
-
}],
|
|
73425
73374
|
"storageAdmin.readRecords": [{
|
|
73426
73375
|
name: "deviceId",
|
|
73427
73376
|
form: "single",
|
|
@@ -107070,8 +107019,7 @@ var mqttBrokersEntryKind = defineEntryKind("brokers", {
|
|
|
107070
107019
|
clientIdPrefix: string().optional(),
|
|
107071
107020
|
onboard: mqttOnboardDescriptorSchema.optional()
|
|
107072
107021
|
}),
|
|
107073
|
-
writeTrigger: "an operator adds or removes an external MQTT broker entry"
|
|
107074
|
-
adoptsFrom: settingsBrokersAdoptsFrom("mqtt-broker")
|
|
107022
|
+
writeTrigger: "an operator adds or removes an external MQTT broker entry"
|
|
107075
107023
|
});
|
|
107076
107024
|
//#endregion
|
|
107077
107025
|
//#region src/mqtt-entry-record-kinds.ts
|
|
@@ -107084,8 +107032,7 @@ var MqttClientBodySchema = entryBody({ passwordHash: string() });
|
|
|
107084
107032
|
var mqttClientEntryKind = defineEntryKind("mqtt-client", {
|
|
107085
107033
|
title: "MQTT embedded clients",
|
|
107086
107034
|
schema: MqttClientBodySchema,
|
|
107087
|
-
writeTrigger: "an operator adds or removes an embedded MQTT client credential"
|
|
107088
|
-
adoptsFrom: settingsArrayAdoptsFrom("mqtt-broker", "embeddedClients")
|
|
107035
|
+
writeTrigger: "an operator adds or removes an embedded MQTT client credential"
|
|
107089
107036
|
});
|
|
107090
107037
|
var MqttAclBodySchema = entryBody({
|
|
107091
107038
|
username: string().min(1),
|
|
@@ -107095,8 +107042,7 @@ var MqttAclBodySchema = entryBody({
|
|
|
107095
107042
|
var mqttAclEntryKind = defineEntryKind("mqtt-acl-rule", {
|
|
107096
107043
|
title: "MQTT ACL rules",
|
|
107097
107044
|
schema: MqttAclBodySchema,
|
|
107098
|
-
writeTrigger: "an operator edits embedded broker ACL rules"
|
|
107099
|
-
adoptsFrom: settingsArrayAdoptsFrom("mqtt-broker", "embeddedAcl")
|
|
107045
|
+
writeTrigger: "an operator edits embedded broker ACL rules"
|
|
107100
107046
|
});
|
|
107101
107047
|
//#endregion
|
|
107102
107048
|
//#region src/mqtt-broker-store.ts
|
|
@@ -5587,7 +5587,7 @@ var ZodIssueCode = {
|
|
|
5587
5587
|
var ZodFirstPartyTypeKind;
|
|
5588
5588
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5589
5589
|
//#endregion
|
|
5590
|
-
//#region ../types/dist/sleep-
|
|
5590
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5591
5591
|
/**
|
|
5592
5592
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5593
5593
|
* window to float samples (D455).
|
|
@@ -8205,7 +8205,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
8205
8205
|
secretPaths: array(string().min(1)).default([]),
|
|
8206
8206
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8207
8207
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8208
|
-
/**
|
|
8208
|
+
/**
|
|
8209
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8210
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8211
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8212
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8213
|
+
* removal still sends it. Never set it.
|
|
8214
|
+
*/
|
|
8209
8215
|
adoptsFrom: string().min(1).optional(),
|
|
8210
8216
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8211
8217
|
transactFamily: string().min(1).optional(),
|
|
@@ -8280,7 +8286,6 @@ function defineRecordKinds(specs) {
|
|
|
8280
8286
|
maxDataBytes: spec.maxDataBytes,
|
|
8281
8287
|
secretPaths: [...secretPaths],
|
|
8282
8288
|
secretArrayKeys: spec.secretArrayKeys === void 0 ? void 0 : { ...spec.secretArrayKeys },
|
|
8283
|
-
adoptsFrom: spec.adoptsFrom,
|
|
8284
8289
|
transactFamily: spec.transactFamily,
|
|
8285
8290
|
entry: spec.entry === void 0 ? void 0 : {
|
|
8286
8291
|
title: spec.entry.title,
|
|
@@ -8324,7 +8329,6 @@ function defineEntryKind(name, spec) {
|
|
|
8324
8329
|
...spec.database === void 0 ? {} : { database: spec.database },
|
|
8325
8330
|
...spec.indexes === void 0 ? {} : { indexes: spec.indexes },
|
|
8326
8331
|
...spec.secretArrayKeys === void 0 ? {} : { secretArrayKeys: spec.secretArrayKeys },
|
|
8327
|
-
...spec.adoptsFrom === void 0 ? {} : { adoptsFrom: spec.adoptsFrom },
|
|
8328
8332
|
entry: {
|
|
8329
8333
|
title: spec.title,
|
|
8330
8334
|
...spec.nameField === void 0 ? {} : { nameField: spec.nameField }
|
|
@@ -8333,25 +8337,6 @@ function defineEntryKind(name, spec) {
|
|
|
8333
8337
|
if (defined === void 0) throw new DeclarationRefusedError(`entry kind "${name}" was not built`);
|
|
8334
8338
|
return defined;
|
|
8335
8339
|
}
|
|
8336
|
-
/**
|
|
8337
|
-
* Legacy source for broker entry adoption (B2): brokers live in addon-settings
|
|
8338
|
-
* as one row `<addonId>.brokers` whose value is an array until records-adopt
|
|
8339
|
-
* copies them into the entry kind.
|
|
8340
|
-
*/
|
|
8341
|
-
var SETTINGS_BROKERS_ADOPTS_PREFIX = "@settings-brokers/";
|
|
8342
|
-
/** The `adoptsFrom` value for an addon's broker entry kind. */
|
|
8343
|
-
function settingsBrokersAdoptsFrom(addonId) {
|
|
8344
|
-
return `${SETTINGS_BROKERS_ADOPTS_PREFIX}${addonId}`;
|
|
8345
|
-
}
|
|
8346
|
-
/**
|
|
8347
|
-
* Legacy source for entry adoption (B3): a list stored under addon-settings
|
|
8348
|
-
* `<addonId>.<key>` until records-adopt copies rows into the entry kind.
|
|
8349
|
-
*/
|
|
8350
|
-
var SETTINGS_ARRAY_ADOPTS_PREFIX = "@settings-array/";
|
|
8351
|
-
/** The `adoptsFrom` value for an addon-settings array field. */
|
|
8352
|
-
function settingsArrayAdoptsFrom(addonId, settingsKey) {
|
|
8353
|
-
return `${SETTINGS_ARRAY_ADOPTS_PREFIX}${addonId}/${settingsKey}`;
|
|
8354
|
-
}
|
|
8355
8340
|
/** Shared Zod schemas used across streaming capabilities. */
|
|
8356
8341
|
var CamProfileSchema = _enum([
|
|
8357
8342
|
"high",
|
|
@@ -16945,11 +16930,12 @@ var DeclareKindResultSchema = object({
|
|
|
16945
16930
|
kindId: number().int(),
|
|
16946
16931
|
state: RecordKindStateSchema,
|
|
16947
16932
|
createdIndexes: array(string()),
|
|
16948
|
-
/**
|
|
16949
|
-
|
|
16950
|
-
|
|
16951
|
-
|
|
16952
|
-
|
|
16933
|
+
/**
|
|
16934
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16935
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16936
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16937
|
+
*/
|
|
16938
|
+
adoptionPending: _null()
|
|
16953
16939
|
});
|
|
16954
16940
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16955
16941
|
var SecretRefsList = array(string());
|
|
@@ -17122,26 +17108,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
17122
17108
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
17123
17109
|
owner: string().min(1),
|
|
17124
17110
|
kind: RecordKindNameSchema
|
|
17125
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
17126
|
-
owner: string().min(1),
|
|
17127
|
-
kind: RecordKindNameSchema,
|
|
17128
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
17129
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
17130
|
-
complete: boolean().optional()
|
|
17131
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
17132
|
-
kind: "mutation",
|
|
17133
|
-
auth: "admin"
|
|
17134
|
-
}), method(object({
|
|
17135
|
-
collection: string().min(1),
|
|
17136
|
-
cursor: string().optional(),
|
|
17137
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
17138
|
-
}), object({
|
|
17139
|
-
rows: array(object({
|
|
17140
|
-
id: string(),
|
|
17141
|
-
data: record(string(), unknown())
|
|
17142
|
-
})),
|
|
17143
|
-
nextCursor: string().nullable()
|
|
17144
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
17111
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
17145
17112
|
/**
|
|
17146
17113
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
17147
17114
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -64339,6 +64306,12 @@ Object.freeze({
|
|
|
64339
64306
|
addonId: null,
|
|
64340
64307
|
access: "view"
|
|
64341
64308
|
},
|
|
64309
|
+
"deviceHistory.queryMany": {
|
|
64310
|
+
capName: "device-history",
|
|
64311
|
+
capScope: "system",
|
|
64312
|
+
addonId: null,
|
|
64313
|
+
access: "view"
|
|
64314
|
+
},
|
|
64342
64315
|
"deviceHistory.queryNode": {
|
|
64343
64316
|
capName: "device-history",
|
|
64344
64317
|
capScope: "system",
|
|
@@ -69559,24 +69532,12 @@ Object.freeze({
|
|
|
69559
69532
|
addonId: null,
|
|
69560
69533
|
access: "create"
|
|
69561
69534
|
},
|
|
69562
|
-
"storageAdmin.adoptRecords": {
|
|
69563
|
-
capName: "storage-admin",
|
|
69564
|
-
capScope: "system",
|
|
69565
|
-
addonId: null,
|
|
69566
|
-
access: "create"
|
|
69567
|
-
},
|
|
69568
69535
|
"storageAdmin.dropCollection": {
|
|
69569
69536
|
capName: "storage-admin",
|
|
69570
69537
|
capScope: "system",
|
|
69571
69538
|
addonId: null,
|
|
69572
69539
|
access: "delete"
|
|
69573
69540
|
},
|
|
69574
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
69575
|
-
capName: "storage-admin",
|
|
69576
|
-
capScope: "system",
|
|
69577
|
-
addonId: null,
|
|
69578
|
-
access: "view"
|
|
69579
|
-
},
|
|
69580
69541
|
"storageAdmin.listKinds": {
|
|
69581
69542
|
capName: "storage-admin",
|
|
69582
69543
|
capScope: "system",
|
|
@@ -69589,12 +69550,6 @@ Object.freeze({
|
|
|
69589
69550
|
addonId: null,
|
|
69590
69551
|
access: "view"
|
|
69591
69552
|
},
|
|
69592
|
-
"storageAdmin.readLegacyCollection": {
|
|
69593
|
-
capName: "storage-admin",
|
|
69594
|
-
capScope: "system",
|
|
69595
|
-
addonId: null,
|
|
69596
|
-
access: "view"
|
|
69597
|
-
},
|
|
69598
69553
|
"storageAdmin.readRecords": {
|
|
69599
69554
|
capName: "storage-admin",
|
|
69600
69555
|
capScope: "system",
|
|
@@ -73409,12 +73364,6 @@ Object.freeze({
|
|
|
73409
73364
|
form: "single",
|
|
73410
73365
|
optional: false
|
|
73411
73366
|
}],
|
|
73412
|
-
"storageAdmin.adoptRecords": [{
|
|
73413
|
-
name: "records",
|
|
73414
|
-
form: "object-array",
|
|
73415
|
-
optional: false,
|
|
73416
|
-
itemField: "deviceId"
|
|
73417
|
-
}],
|
|
73418
73367
|
"storageAdmin.readRecords": [{
|
|
73419
73368
|
name: "deviceId",
|
|
73420
73369
|
form: "single",
|
|
@@ -107063,8 +107012,7 @@ var mqttBrokersEntryKind = defineEntryKind("brokers", {
|
|
|
107063
107012
|
clientIdPrefix: string().optional(),
|
|
107064
107013
|
onboard: mqttOnboardDescriptorSchema.optional()
|
|
107065
107014
|
}),
|
|
107066
|
-
writeTrigger: "an operator adds or removes an external MQTT broker entry"
|
|
107067
|
-
adoptsFrom: settingsBrokersAdoptsFrom("mqtt-broker")
|
|
107015
|
+
writeTrigger: "an operator adds or removes an external MQTT broker entry"
|
|
107068
107016
|
});
|
|
107069
107017
|
//#endregion
|
|
107070
107018
|
//#region src/mqtt-entry-record-kinds.ts
|
|
@@ -107077,8 +107025,7 @@ var MqttClientBodySchema = entryBody({ passwordHash: string() });
|
|
|
107077
107025
|
var mqttClientEntryKind = defineEntryKind("mqtt-client", {
|
|
107078
107026
|
title: "MQTT embedded clients",
|
|
107079
107027
|
schema: MqttClientBodySchema,
|
|
107080
|
-
writeTrigger: "an operator adds or removes an embedded MQTT client credential"
|
|
107081
|
-
adoptsFrom: settingsArrayAdoptsFrom("mqtt-broker", "embeddedClients")
|
|
107028
|
+
writeTrigger: "an operator adds or removes an embedded MQTT client credential"
|
|
107082
107029
|
});
|
|
107083
107030
|
var MqttAclBodySchema = entryBody({
|
|
107084
107031
|
username: string().min(1),
|
|
@@ -107088,8 +107035,7 @@ var MqttAclBodySchema = entryBody({
|
|
|
107088
107035
|
var mqttAclEntryKind = defineEntryKind("mqtt-acl-rule", {
|
|
107089
107036
|
title: "MQTT ACL rules",
|
|
107090
107037
|
schema: MqttAclBodySchema,
|
|
107091
|
-
writeTrigger: "an operator edits embedded broker ACL rules"
|
|
107092
|
-
adoptsFrom: settingsArrayAdoptsFrom("mqtt-broker", "embeddedAcl")
|
|
107038
|
+
writeTrigger: "an operator edits embedded broker ACL rules"
|
|
107093
107039
|
});
|
|
107094
107040
|
//#endregion
|
|
107095
107041
|
//#region src/mqtt-broker-store.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.133",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|