@camstack/server 1.2.890 → 1.2.891
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/CHANGELOG.md +6 -0
- package/dist/api/trpc/generated-cap-routers.js +18 -0
- package/package.json +12 -16
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +4 -4
- package/system/dist/builtins/composer/composer.addon.mjs +4 -4
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +112 -15
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +112 -15
- package/system/dist/builtins/core-blocks/tags-service.d.ts +20 -3
- package/system/dist/builtins/core-blocks/tags-wiring.d.ts +15 -2
- package/system/dist/builtins/device-history/device-history.addon.js +2 -2
- package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +4 -4
- package/system/dist/builtins/keychain/index.mjs +4 -4
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/system/dist/builtins/local-network/local-network.addon.js +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +3 -3
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{capture-engine-C1vdBL88.js → capture-engine-DXz37Mjg.js} +1 -1
- package/system/dist/{capture-engine-B1bMuzVX.mjs → capture-engine-nmelnj-Y.mjs} +1 -1
- package/system/dist/{composition-sources-BfLlyKRe.js → composition-sources-BLn3cU74.js} +1 -1
- package/system/dist/{composition-sources-Dj6qn5PP.mjs → composition-sources-uphZtYtN.mjs} +1 -1
- package/system/dist/{constants-DuB_xXYx.js → constants-BAaGwvKn.js} +1 -1
- package/system/dist/{constants-Ba51ywI4.mjs → constants-DWU46D02.mjs} +1 -1
- package/system/dist/{device-ca-CkXjf3ms.mjs → device-ca-CK6mLB2w.mjs} +1 -1
- package/system/dist/{device-ca-CVjaotgX.js → device-ca-jbH_rqZh.js} +1 -1
- package/system/dist/{dist-BKojK6Wf.mjs → dist-Dgq9nuvh.mjs} +103 -11
- package/system/dist/{dist-BjhII4Uq.js → dist-m5beNMze.js} +108 -10
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-C0ehkt78.js → hub-identity-CKCA89XP.js} +1 -1
- package/system/dist/{hub-identity-C0qf888i.mjs → hub-identity-DlBBoHJC.mjs} +1 -1
- package/system/dist/{hub-mdns-ciao-BYe34S2Q.mjs → hub-mdns-ciao-B8uFW-RG.mjs} +2 -2
- package/system/dist/{hub-mdns-ciao-DJHjyjvT.js → hub-mdns-ciao-CqcCGPdi.js} +2 -2
- package/system/dist/index.js +8 -8
- package/system/dist/index.mjs +8 -8
- package/system/dist/{legacy-integration-rows-door-G6EceE_J.js → legacy-integration-rows-door-Co0gj1Lm.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-BEYgXSXr.mjs → legacy-integration-rows-door-HI4nmSe_.mjs} +1 -1
- package/system/dist/{rename-composition-block-D6bq3Twf.mjs → rename-composition-block-BthBMrXA.mjs} +1 -1
- package/system/dist/{rename-composition-block-D1mO51F9.js → rename-composition-block-UeVUYCwx.js} +1 -1
- package/system/dist/{restore-archive-CJvMq13C.js → restore-archive-CJLsfBwK.js} +1 -1
- package/system/dist/{restore-archive-FXsCWq_f.mjs → restore-archive-P-ICnU58.mjs} +1 -1
- package/system/dist/{wal-maintenance-COJ_JxrD.js → wal-maintenance-CUtwx-2Z.js} +0 -0
- package/system/dist/{wal-maintenance-Ci9Dl-lB.mjs → wal-maintenance-qWjb7_f2.mjs} +0 -0
- package/system/package.json +1 -1
|
@@ -94039,7 +94039,32 @@ var NcRuleInputSchema = zod.z.object({
|
|
|
94039
94039
|
* authored before this field meant. An editor turns it off by writing
|
|
94040
94040
|
* `false`, so it needs no `clear` key.
|
|
94041
94041
|
*/
|
|
94042
|
-
askVerdict: zod.z.boolean().optional()
|
|
94042
|
+
askVerdict: zod.z.boolean().optional(),
|
|
94043
|
+
/**
|
|
94044
|
+
* Operator tags (D1054), kept on the rule like a core block's. Absent = no
|
|
94045
|
+
* tags. `.optional()`, never `.default()`: a partial `updateRule` patch that
|
|
94046
|
+
* does not name `tags` keeps the stored ones (the store merges), and an
|
|
94047
|
+
* editor empties them by sending `[]` (the store drops an empty list).
|
|
94048
|
+
* Renamed or removed fleet-wide only through the `tags` cap, which writes
|
|
94049
|
+
* here with `setRuleTags`.
|
|
94050
|
+
*/
|
|
94051
|
+
tags: TagsFieldSchema.optional()
|
|
94052
|
+
});
|
|
94053
|
+
/**
|
|
94054
|
+
* The rule kinds that carry tags (D1054) — each one its own store. Every kind
|
|
94055
|
+
* labels its rules the same way; this names which store a tag write goes to.
|
|
94056
|
+
*/
|
|
94057
|
+
var NcTaggedRuleKindSchema = zod.z.enum([
|
|
94058
|
+
"event",
|
|
94059
|
+
"summary",
|
|
94060
|
+
"timelapse",
|
|
94061
|
+
"calendar-events"
|
|
94062
|
+
]);
|
|
94063
|
+
/** One rule's tags, as the `tags` cap reads them across every kind. */
|
|
94064
|
+
var NcRuleTagsEntrySchema = zod.z.object({
|
|
94065
|
+
kind: NcTaggedRuleKindSchema,
|
|
94066
|
+
ruleId: zod.z.string(),
|
|
94067
|
+
tags: zod.z.array(zod.z.string())
|
|
94043
94068
|
});
|
|
94044
94069
|
/**
|
|
94045
94070
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -95089,6 +95114,29 @@ var notificationRulesCapability = {
|
|
|
95089
95114
|
auth: "admin"
|
|
95090
95115
|
}),
|
|
95091
95116
|
/**
|
|
95117
|
+
* Every rule of every kind with its tags (D1054) — event rules, summaries,
|
|
95118
|
+
* timelapses and calendar-events rules. The `tags` cap counts and rewrites
|
|
95119
|
+
* from this one read; a rule without tags is listed with `[]`.
|
|
95120
|
+
*/
|
|
95121
|
+
listRuleTags: method(zod.z.object({}), zod.z.object({ rules: zod.z.array(NcRuleTagsEntrySchema) }), {
|
|
95122
|
+
kind: "query",
|
|
95123
|
+
auth: "admin"
|
|
95124
|
+
}),
|
|
95125
|
+
/**
|
|
95126
|
+
* Replace ONE rule's tags (D1054) and nothing else — the `tags` cap's rename
|
|
95127
|
+
* and remove write through this. `kind` names the store the rule lives in.
|
|
95128
|
+
* Normalised on write (trimmed, deduplicated case-insensitively); `[]`
|
|
95129
|
+
* clears them.
|
|
95130
|
+
*/
|
|
95131
|
+
setRuleTags: method(zod.z.object({
|
|
95132
|
+
kind: NcTaggedRuleKindSchema,
|
|
95133
|
+
ruleId: zod.z.string(),
|
|
95134
|
+
tags: TagsFieldSchema
|
|
95135
|
+
}), zod.z.object({ success: zod.z.literal(true) }), {
|
|
95136
|
+
kind: "mutation",
|
|
95137
|
+
auth: "admin"
|
|
95138
|
+
}),
|
|
95139
|
+
/**
|
|
95092
95140
|
* WHAT THE RULES ACTUALLY ASK the stream broker to retain, per camera.
|
|
95093
95141
|
*
|
|
95094
95142
|
* The notification centre owns the rules, so it is the only thing that can
|
|
@@ -107554,10 +107602,11 @@ var systemCapability = {
|
|
|
107554
107602
|
/**
|
|
107555
107603
|
* tags — the registry of tag STYLES and the one place that renames or removes a
|
|
107556
107604
|
* tag everywhere (D1054). A tag itself lives in the `tags` array of the record it
|
|
107557
|
-
* labels (a core block, a scheduler, a template, an action, a device
|
|
107605
|
+
* labels (a core block, a scheduler, a template, an action, a device, a
|
|
107606
|
+
* notification rule); only its
|
|
107558
107607
|
* colour token and icon are registered here. Provided by the core-blocks builtin,
|
|
107559
|
-
* the one place that knows every owner kind; devices
|
|
107560
|
-
* `deviceManager` over `ctx.api`.
|
|
107608
|
+
* the one place that knows every owner kind; devices and notification rules
|
|
107609
|
+
* are reached through `deviceManager` / `notificationRules` over `ctx.api`.
|
|
107561
107610
|
*
|
|
107562
107611
|
* Tags compare trimmed and case-insensitively. `list` is the union of styled tags
|
|
107563
107612
|
* and tags in use; a tag with no style answers a colour derived from its name and
|
|
@@ -107568,7 +107617,21 @@ var TagUsageCountsSchema = zod.z.object({
|
|
|
107568
107617
|
schedulers: zod.z.number().int().nonnegative(),
|
|
107569
107618
|
templates: zod.z.number().int().nonnegative(),
|
|
107570
107619
|
actions: zod.z.number().int().nonnegative(),
|
|
107571
|
-
devices: zod.z.number().int().nonnegative()
|
|
107620
|
+
devices: zod.z.number().int().nonnegative(),
|
|
107621
|
+
notificationRules: zod.z.number().int().nonnegative()
|
|
107622
|
+
});
|
|
107623
|
+
/**
|
|
107624
|
+
* The counts `list` answers. An owner that could not be read (a forked addon
|
|
107625
|
+
* that is down, redeploying or not installed) is `null` — unknown, never `0`
|
|
107626
|
+
* (D393) — and `list` still answers with the other owners' tags.
|
|
107627
|
+
*/
|
|
107628
|
+
var TagListCountsSchema = zod.z.object({
|
|
107629
|
+
coreBlocks: zod.z.number().int().nonnegative().nullable(),
|
|
107630
|
+
schedulers: zod.z.number().int().nonnegative().nullable(),
|
|
107631
|
+
templates: zod.z.number().int().nonnegative().nullable(),
|
|
107632
|
+
actions: zod.z.number().int().nonnegative().nullable(),
|
|
107633
|
+
devices: zod.z.number().int().nonnegative().nullable(),
|
|
107634
|
+
notificationRules: zod.z.number().int().nonnegative().nullable()
|
|
107572
107635
|
});
|
|
107573
107636
|
var TagEntrySchema = zod.z.object({
|
|
107574
107637
|
name: TagNameSchema,
|
|
@@ -107576,14 +107639,19 @@ var TagEntrySchema = zod.z.object({
|
|
|
107576
107639
|
icon: IconKeySchema,
|
|
107577
107640
|
/** `false` when the operator never chose a style: colour and icon are the derived defaults. */
|
|
107578
107641
|
styled: zod.z.boolean(),
|
|
107579
|
-
|
|
107642
|
+
/** Per owner kind; `null` = that owner could not be read on this call. */
|
|
107643
|
+
counts: TagListCountsSchema
|
|
107580
107644
|
});
|
|
107581
107645
|
var tagsCapability = {
|
|
107582
107646
|
name: "tags",
|
|
107583
107647
|
scope: "system",
|
|
107584
107648
|
mode: "singleton",
|
|
107585
107649
|
methods: {
|
|
107586
|
-
/**
|
|
107650
|
+
/**
|
|
107651
|
+
* Every tag: styled or in use, with how many records of each kind carry it.
|
|
107652
|
+
* An unreachable owner degrades that kind's count to `null`; the call still
|
|
107653
|
+
* answers.
|
|
107654
|
+
*/
|
|
107587
107655
|
list: method(zod.z.object({}), zod.z.array(TagEntrySchema), { auth: "protected" }),
|
|
107588
107656
|
/** Choose the colour and icon of a tag. The tag need not be in use. */
|
|
107589
107657
|
setStyle: method(zod.z.object({
|
|
@@ -107597,7 +107665,9 @@ var tagsCapability = {
|
|
|
107597
107665
|
/**
|
|
107598
107666
|
* Rename a tag on EVERY owner in one call. When `to` already exists the two
|
|
107599
107667
|
* merge and the TARGET's style wins (like `renameLocation`). An empty `to`
|
|
107600
|
-
* is refused before anything is written
|
|
107668
|
+
* is refused before anything is written, and so is any call while an owner
|
|
107669
|
+
* cannot be read (the error names the owner): a rename applied to
|
|
107670
|
+
* only some owners would split the fleet across two spellings.
|
|
107601
107671
|
*/
|
|
107602
107672
|
rename: method(zod.z.object({
|
|
107603
107673
|
from: zod.z.string(),
|
|
@@ -107606,7 +107676,7 @@ var tagsCapability = {
|
|
|
107606
107676
|
kind: "mutation",
|
|
107607
107677
|
auth: "admin"
|
|
107608
107678
|
}),
|
|
107609
|
-
/** Drop a tag from every owner and delete its style. */
|
|
107679
|
+
/** Drop a tag from every owner and delete its style. Refused like `rename` while an owner cannot be read. */
|
|
107610
107680
|
remove: method(zod.z.object({ name: zod.z.string() }), zod.z.object({ updated: TagUsageCountsSchema }), {
|
|
107611
107681
|
kind: "mutation",
|
|
107612
107682
|
auth: "admin"
|
|
@@ -108581,7 +108651,11 @@ var TerminalSessionInfoSchema = zod.z.object({
|
|
|
108581
108651
|
cols: zod.z.number().int().positive(),
|
|
108582
108652
|
rows: zod.z.number().int().positive(),
|
|
108583
108653
|
/** ms-epoch the session's pty was spawned. */
|
|
108584
|
-
startedAt: zod.z.number()
|
|
108654
|
+
startedAt: zod.z.number(),
|
|
108655
|
+
/** User id of the admin who opened it; `unattributed` when the caller was not passed. */
|
|
108656
|
+
openedBy: zod.z.string().optional(),
|
|
108657
|
+
/** ms-epoch of the last pty input or output — what the idle timeout measures. */
|
|
108658
|
+
lastActivityAt: zod.z.number().optional()
|
|
108585
108659
|
});
|
|
108586
108660
|
/**
|
|
108587
108661
|
* A profile the operator may open — a pre-declared, allowlisted program
|
|
@@ -125930,6 +126004,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
125930
126004
|
access: "view",
|
|
125931
126005
|
role: "admin"
|
|
125932
126006
|
},
|
|
126007
|
+
"notificationRules.listRuleTags": {
|
|
126008
|
+
capName: "notification-rules",
|
|
126009
|
+
capScope: "system",
|
|
126010
|
+
addonId: null,
|
|
126011
|
+
access: "view",
|
|
126012
|
+
role: "admin"
|
|
126013
|
+
},
|
|
125933
126014
|
"notificationRules.listSnoozes": {
|
|
125934
126015
|
capName: "notification-rules",
|
|
125935
126016
|
capScope: "system",
|
|
@@ -125986,6 +126067,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
125986
126067
|
access: "create",
|
|
125987
126068
|
role: "admin"
|
|
125988
126069
|
},
|
|
126070
|
+
"notificationRules.setRuleTags": {
|
|
126071
|
+
capName: "notification-rules",
|
|
126072
|
+
capScope: "system",
|
|
126073
|
+
addonId: null,
|
|
126074
|
+
access: "create",
|
|
126075
|
+
role: "admin"
|
|
126076
|
+
},
|
|
125989
126077
|
"notificationRules.testRule": {
|
|
125990
126078
|
capName: "notification-rules",
|
|
125991
126079
|
capScope: "system",
|
|
@@ -136097,6 +136185,8 @@ var TimelapseRuleInputSchema = zod.z.object({
|
|
|
136097
136185
|
/** Canonical notification priority ordinal (1..5); per-target overridable. */
|
|
136098
136186
|
priority: PriorityField.default(3),
|
|
136099
136187
|
/** Per-target settings keyed by target id (D1032) — absent = every target follows the rule. */
|
|
136188
|
+
/** Operator labels (D1054) — optional and NEVER defaulted: an absent key leaves the stored tags alone; `[]` clears them. Admin-only. */
|
|
136189
|
+
tags: TagsFieldSchema.optional(),
|
|
136100
136190
|
targetOverrides: NcTargetOverridesSchema.optional()
|
|
136101
136191
|
});
|
|
136102
136192
|
zod.z.object({
|
|
@@ -136115,6 +136205,8 @@ zod.z.object({
|
|
|
136115
136205
|
reportClasses: ReportClassesField.optional(),
|
|
136116
136206
|
priority: PriorityField.optional(),
|
|
136117
136207
|
/** Per-target settings keyed by target id (D1032) — absent = every target follows the rule. */
|
|
136208
|
+
/** Absent = keep the stored tags; `[]` clears them (D1054). Never defaulted. */
|
|
136209
|
+
tags: TagsFieldSchema.optional(),
|
|
136118
136210
|
targetOverrides: NcTargetOverridesSchema.optional()
|
|
136119
136211
|
});
|
|
136120
136212
|
TimelapseRuleInputSchema.extend({
|
|
@@ -137610,6 +137702,12 @@ Object.defineProperty(exports, "MigrationMetaSchema", {
|
|
|
137610
137702
|
return MigrationMetaSchema;
|
|
137611
137703
|
}
|
|
137612
137704
|
});
|
|
137705
|
+
Object.defineProperty(exports, "NcTaggedRuleKindSchema", {
|
|
137706
|
+
enumerable: true,
|
|
137707
|
+
get: function() {
|
|
137708
|
+
return NcTaggedRuleKindSchema;
|
|
137709
|
+
}
|
|
137710
|
+
});
|
|
137613
137711
|
Object.defineProperty(exports, "NetworkTunnelStartedDataSchema", {
|
|
137614
137712
|
enumerable: true,
|
|
137615
137713
|
get: function() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
2
|
+
const require_wal_maintenance = require("./wal-maintenance-CUtwx-2Z.js");
|
|
3
3
|
let node_worker_threads = require("node:worker_threads");
|
|
4
4
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-
|
|
1
|
+
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-qWjb7_f2.mjs";
|
|
2
2
|
import { parentPort, threadId, workerData } from "node:worker_threads";
|
|
3
3
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-m5beNMze.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Yc as defineRecordKinds } from "./dist-Dgq9nuvh.mjs";
|
|
2
2
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, _ as NameConstraints, a as KeyUsageFlags, c as Pkcs10CertificateRequest, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, g as GeneralSubtrees, h as GeneralSubtree, i as Extension, l as Pkcs10CertificateRequestGenerator, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension, v as GeneralName, x as AsnConvert } from "./x509.es-BRiJgOvu.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, webcrypto } from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { zl as userError } from "./dist-Dgq9nuvh.mjs";
|
|
3
3
|
import { f as X509Certificate$1 } from "./x509.es-BRiJgOvu.mjs";
|
|
4
|
-
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-
|
|
4
|
+
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-DlBBoHJC.mjs";
|
|
5
5
|
import { X509Certificate, createPrivateKey } from "node:crypto";
|
|
6
6
|
import { writeOwnerOnlyFileSync } from "@camstack/types/node";
|
|
7
7
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-m5beNMze.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
|
-
const require_hub_identity = require("./hub-identity-
|
|
4
|
+
const require_hub_identity = require("./hub-identity-CKCA89XP.js");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let _camstack_types_node = require("@camstack/types/node");
|
|
7
7
|
let node_fs = require("node:fs");
|
package/system/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
3
|
-
const require_dist = require("./dist-
|
|
4
|
-
const require_device_ca = require("./device-ca-
|
|
3
|
+
const require_dist = require("./dist-m5beNMze.js");
|
|
4
|
+
const require_device_ca = require("./device-ca-jbH_rqZh.js");
|
|
5
5
|
const require_read_all_rows$1 = require("./read-all-rows-CVoO1ONM.js");
|
|
6
6
|
const require_log_redactor = require("./log-redactor-BhIEMaG9.js");
|
|
7
7
|
const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
|
|
@@ -28,22 +28,22 @@ const require_builtins_loki_logging_index = require("./builtins/loki-logging/ind
|
|
|
28
28
|
const require_builtins_native_metrics_native_metrics_addon = require("./builtins/native-metrics/native-metrics.addon.js");
|
|
29
29
|
const require_builtins_device_history_device_history_addon = require("./builtins/device-history/device-history.addon.js");
|
|
30
30
|
const require_builtins_sqlite_storage_filesystem_storage_addon = require("./builtins/sqlite-storage/filesystem-storage.addon.js");
|
|
31
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
32
|
-
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-
|
|
31
|
+
const require_wal_maintenance = require("./wal-maintenance-CUtwx-2Z.js");
|
|
32
|
+
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-Co0gj1Lm.js");
|
|
33
33
|
const require_builtins_sqlite_storage_sqlite_settings_addon = require("./builtins/sqlite-storage/sqlite-settings.addon.js");
|
|
34
34
|
const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage/index.js");
|
|
35
35
|
const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
|
|
36
36
|
require("./builtins/storage-orchestrator/index.js");
|
|
37
|
-
const require_hub_identity = require("./hub-identity-
|
|
38
|
-
const require_constants = require("./constants-
|
|
37
|
+
const require_hub_identity = require("./hub-identity-CKCA89XP.js");
|
|
38
|
+
const require_constants = require("./constants-BAaGwvKn.js");
|
|
39
39
|
const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
|
|
40
40
|
require("./builtins/system-config/index.js");
|
|
41
41
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
42
42
|
const require_custom_action_registry = require("./custom-action-registry-CmWpSeMS.js");
|
|
43
|
-
const require_hub_mdns_ciao = require("./hub-mdns-ciao-
|
|
43
|
+
const require_hub_mdns_ciao = require("./hub-mdns-ciao-CqcCGPdi.js");
|
|
44
44
|
const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
|
|
45
45
|
const require_resource_monitor = require("./resource-monitor-mio9dSCT.js");
|
|
46
|
-
const require_restore_archive = require("./restore-archive-
|
|
46
|
+
const require_restore_archive = require("./restore-archive-CJLsfBwK.js");
|
|
47
47
|
const require_coral_accelerators = require("./coral-accelerators-BSVsBVzt.js");
|
|
48
48
|
let zod = require("zod");
|
|
49
49
|
let node_crypto = require("node:crypto");
|
package/system/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-
|
|
2
|
+
import { $c as expandCapMethods, A as CatalogFileSchema, Aa as procedureAuthKey, At as LOG_LEVEL_RANK, Bc as collectSecretMarkerRefs, Bi as lifecycleJobSchema, C as CATALOG_LANGS, Cl as parseJsonObject, Ei as isCollectionArrayMethod, El as readinessKey, Fi as kebabToCamel$1, Hl as withoutCallerStamp, Ji as looseSchema, Mc as asNumber, Mi as isObjectInput, Nc as asString$1, Ol as resolveCapMount, On as addonSettingsCapability, Pi as isVoidInput, Qs as DEVICE_STATUS_METHOD, Rn as bareAddonId, Ro as supportedRuntimes, Ut as PackageRequiresSchema, Wc as createEvent$1, Xc as emitDownForOwnedCaps, Xo as unmetRequirements, Xs as DATAPLANE_SECRET_HEADER$1, Yc as defineRecordKinds, Yl as EventCategory$1, Ys as CALLER_STAMPED_CAPABILITIES$1, Zr as extractNestedAddonId, Zs as DEVICE_SETTINGS_CONTRIBUTION_METHODS, a as AGENT_MDNS_SERVICE_TYPE, bi as isAddonInstanceId, fa as objectInputDeclaresAddonId, gc as ReadinessTimeoutError, go as scopesAllowDeviceCap, hc as ReadinessRegistry, ho as scopesAllowAddon, jc as asJsonObject$1, jl as scopeKey, jr as describeUnmet, jt as METHOD_ACCESS_MAP, ko as splitTranslationRef, mc as RUNTIME_DEFAULTS, o as AGENT_MDNS_TXT_KEYS, ol as isDebugChannelName, pa as objectInputDeclaresRequiredDeviceId, qi as logLevelAtMost, ql as errMsg$1, ro as resolveMethodAuth, s as ALL_CAPABILITY_DEFINITIONS, sr as compareVersions, tl as getDebugInterest, wi as isArrayOutputSchema, wl as parseJsonUnknown, yi as interpolate, zl as userError } from "./dist-Dgq9nuvh.mjs";
|
|
3
|
+
import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-CK6mLB2w.mjs";
|
|
4
4
|
import { t as require_read_all_rows } from "./read-all-rows-TaPqdWNF.mjs";
|
|
5
5
|
import { a as redactLogText, i as redactLogMeta, r as redactLogEntry, t as isCredentialKeyName } from "./log-redactor-XLDrPzOi.mjs";
|
|
6
6
|
import { AlertCenterAddon, n as lastCauseAfterChunk, r as readRunnerDisplayName, t as CRASH_BREAKER_ERROR_PREFIX } from "./builtins/alerts/alerts.addon.mjs";
|
|
@@ -27,22 +27,22 @@ import { LokiDestination, LokiLoggingAddon } from "./builtins/loki-logging/index
|
|
|
27
27
|
import NativeMetricsAddon, { a as NativeMetricsProvider, i as parseProcStatusRss, n as nodeProcReader, r as parseProcStat } from "./builtins/native-metrics/native-metrics.addon.mjs";
|
|
28
28
|
import { DeviceHistoryAddon } from "./builtins/device-history/device-history.addon.mjs";
|
|
29
29
|
import { FilesystemStorageAddon, t as FilesystemStorageProvider } from "./builtins/sqlite-storage/filesystem-storage.addon.mjs";
|
|
30
|
-
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-
|
|
31
|
-
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-
|
|
30
|
+
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-qWjb7_f2.mjs";
|
|
31
|
+
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-HI4nmSe_.mjs";
|
|
32
32
|
import { SqliteSettingsAddon } from "./builtins/sqlite-storage/sqlite-settings.addon.mjs";
|
|
33
33
|
import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
|
|
34
34
|
import { StorageOrchestratorAddon, a as createHubCapForwardService, i as HUB_CAP_FWD_SERVICE, o as stripForwardedCaller, r as HUB_CAP_FWD_ACTION, s as buildStorageLocationRegistry, t as StorageOrchestratorService, u as storageOrchestratorRecordKinds } from "./builtins/storage-orchestrator/storage-orchestrator.addon.mjs";
|
|
35
35
|
import "./builtins/storage-orchestrator/index.mjs";
|
|
36
|
-
import { A as evaluateExistingCert, B as AGENT_HTTPS_NAMES_COLLECTION, C as localCaCommonName, D as LEAF_RENEWAL_WINDOW_DAYS, E as CA_VALIDITY_DAYS, F as isConstrainedCa, H as AgentHttpsNames, I as isLocalOnlyHostname, L as permitsIdentity, M as PERMITTED_DNS_SUFFIXES, N as PERMITTED_IP_RANGES, O as MAX_LEAF_VALIDITY_DAYS, P as buildNameConstraintSet, R as permitsName, T as systemHostFacts, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, _ as pemDigest, a as AgentHttpsInstallError, c as certificateNames, d as describeHttpsLeaf, f as installAgentHttps, g as loadAgentHttps, h as issueAgentHttpsLeaf, i as loadOrCreateHubId, k as SERVER_AUTH_OID, l as collectAgentNames, m as isPrivateAddress, n as HUB_IDENTITY_RELATIVE, o as acceptAgentSans, p as isContainerBridgeAddress, r as isAnnouncedHubId, s as agentHttpsPaths, t as HUB_IDENTITY_FILE, u as createAgentHttpsRequest, v as pinnedHttpsCaFingerprint, w as collectCertIdentity, y as CA_COMMON_NAME, z as readNameConstraints } from "./hub-identity-
|
|
37
|
-
import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-
|
|
36
|
+
import { A as evaluateExistingCert, B as AGENT_HTTPS_NAMES_COLLECTION, C as localCaCommonName, D as LEAF_RENEWAL_WINDOW_DAYS, E as CA_VALIDITY_DAYS, F as isConstrainedCa, H as AgentHttpsNames, I as isLocalOnlyHostname, L as permitsIdentity, M as PERMITTED_DNS_SUFFIXES, N as PERMITTED_IP_RANGES, O as MAX_LEAF_VALIDITY_DAYS, P as buildNameConstraintSet, R as permitsName, T as systemHostFacts, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, _ as pemDigest, a as AgentHttpsInstallError, c as certificateNames, d as describeHttpsLeaf, f as installAgentHttps, g as loadAgentHttps, h as issueAgentHttpsLeaf, i as loadOrCreateHubId, k as SERVER_AUTH_OID, l as collectAgentNames, m as isPrivateAddress, n as HUB_IDENTITY_RELATIVE, o as acceptAgentSans, p as isContainerBridgeAddress, r as isAnnouncedHubId, s as agentHttpsPaths, t as HUB_IDENTITY_FILE, u as createAgentHttpsRequest, v as pinnedHttpsCaFingerprint, w as collectCertIdentity, y as CA_COMMON_NAME, z as readNameConstraints } from "./hub-identity-DlBBoHJC.mjs";
|
|
37
|
+
import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-DWU46D02.mjs";
|
|
38
38
|
import { $ as getProcessMeshCaState, A as emitProcessNodeRegistered, At as readCidrSetting, B as getProcessMeshTlsListenerState, C as verifyMembershipAnswer, Ct as isInsecureOrigin, D as ServiceBroker, Dt as createCidrMatcher, E as Errors, Et as readOriginSetting, F as onProcessNodeRegistered, G as MeshCertificateRegistry, H as setProcessMeshTlsListenerState, I as setProcessMeshHandshakeReporter, J as getProcessMeshCertificateRegistry, K as RENEWAL_ABANDONED, L as setProcessMeshPeerTransportLookup, M as getProcessNodeMeshTransport, N as getProcessPeerLeaf, O as setProcessMeshTlsEnabler, Ot as normalizeIp, P as isProcessVerifiedMeshPeer, Q as MeshCaKeeper, R as renewMeshCertificate, S as signMembershipProof, St as OPAQUE_ORIGIN, SystemConfigAddon, T as TlsTcpTransporter, Tt as parseOriginList, U as MESH_NODE_CERTIFICATES_COLLECTION, V as openMeshTlsWhenRevocationsLoaded, W as MESH_NODE_CERTIFICATES_COLUMNS, X as MeshCrl, Y as setProcessMeshCertificateRegistry, Z as processMeshCrl, _ as keyFingerprintShort, _t as isAllowedAgentDashboardReturnTo, a as dialableHubHost, at as generateMeshCa, b as MEMBERSHIP_PATHS, bt as verifyAgentUiUnlockTicket, c as PAIRING_MAX_CODE_ATTEMPTS, ct as issueMeshLeafForNode, d as PAIRING_PIN_DIGITS, dt as AGENT_DASHBOARD_ORIGINS_FIELD, et as requireProcessMeshCa, f as PAIRING_PROTOCOL, ft as AGENT_UI_UNLOCK_TTL_MS, g as describeCsr, gt as UnlockTicketJtiStore, h as computePairingSas, ht as AGENT_UI_UNLOCK_VERSION, i as AgentPairing, it as exportMeshPrivateKeyPem, j as getProcessMeshHandshakeReporter, k as dropProcessPeer, kt as parseCidrList, l as PAIRING_MAX_SESSIONS, lt as issueMeshLeafFromCsr, m as computePairingCommitment, mt as AGENT_UI_UNLOCK_USE, n as HubPairing, nt as caFingerprintCompact, o as hubHostFromMeshAddress, ot as generateMeshKeyPair, p as PAIRING_TTL_MS, pt as AGENT_UI_UNLOCK_TYP, q as describeMeshLeaf, r as PairingHttpError, rt as createMeshCsrPem, s as PAIRING_CODE_DIGITS, st as isValidAgentNodeId, tt as caFingerprint, u as PAIRING_PATHS, ut as loadMeshCa, v as signPairingProof, vt as mintAgentUiUnlockTicket, w as MESH_TLS_PORT_HELLO_FIELD, wt as normalizeOrigin, x as MembershipResponder, xt as InvalidCorsOriginError, y as verifyPairingProof, yt as parseAgentDashboardOrigins, z as revokeMeshCertificate } from "./builtins/system-config/system-config.addon.mjs";
|
|
39
39
|
import "./builtins/system-config/index.mjs";
|
|
40
40
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
41
41
|
import { C as isModelDownloaded, E as setHuggingFaceReachabilityObserver, T as revisionWeightUrl, _ as downloadFile, a as startEventLoopStallMonitor, b as fetchJson, c as createAuthenticatedFileServer, d as resolveFilePath, f as ModelDownloadService, g as deleteModelFromDisk, h as collectModelFiles, i as attributeStall, l as parseRangeHeader, m as adoptModelRevisions, n as STALL_REPORT_MS, o as createFileDataPlaneHandler, r as STALL_TICK_MS, s as contentTypeFor, t as CustomActionRegistry, u as parseTokenizedUrl, v as downloadModel, w as resolveFormatRevision, x as getModelFilePath, y as ensureModel } from "./custom-action-registry-B9zFBNVa.mjs";
|
|
42
|
-
import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-
|
|
42
|
+
import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-B8uFW-RG.mjs";
|
|
43
43
|
import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
|
|
44
44
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
|
|
45
|
-
import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-
|
|
45
|
+
import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-P-ICnU58.mjs";
|
|
46
46
|
import { r as nodeCoralFs, t as classifyCoralAccelerator } from "./coral-accelerators-DBlgWB8k.mjs";
|
|
47
47
|
import { z } from "zod";
|
|
48
48
|
import * as crypto$1 from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bc as collectSecretMarkerRefs } from "./dist-Dgq9nuvh.mjs";
|
|
2
2
|
//#region src/builtins/sqlite-storage/migrations/legacy-integration-rows-door.ts
|
|
3
3
|
/**
|
|
4
4
|
* Migration-only door for the leftover integration rows (planning#416).
|
package/system/dist/{rename-composition-block-D6bq3Twf.mjs → rename-composition-block-BthBMrXA.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ul as COMPOSED_DEVICE_STABLE_ID_PREFIX, ql as errMsg } from "./dist-Dgq9nuvh.mjs";
|
|
2
2
|
//#region src/builtins/core-blocks/rename-composition-block.ts
|
|
3
3
|
/**
|
|
4
4
|
* An operator rename of a composed device writes the composition block's
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as DATABASE_SNAPSHOT_SUFFIX,
|
|
1
|
+
import { I as DATABASE_SNAPSHOT_SUFFIX, Yc as defineRecordKinds, et as DataStoreDatabaseSchema } from "./dist-Dgq9nuvh.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { createCipheriv, createDecipheriv, createHash, createPrivateKey, createPublicKey, diffieHellman, generateKeyPairSync, hkdfSync, randomBytes } from "node:crypto";
|
|
4
4
|
import { Buffer as Buffer$1 } from "buffer";
|
|
Binary file
|
|
Binary file
|