@camstack/addon-admin-ui 1.2.645 → 1.2.646
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 +20 -0
- package/dist/assets/Addons-XDq92kO2.js +5 -0
- package/dist/assets/{AdminPage-CgQxV6oS.js → AdminPage-Bdna98Ou.js} +1 -1
- package/dist/assets/AdminSectionedPage-BReYGJXb.js +1 -0
- package/dist/assets/AiProfiles-Bw8hGoO0.js +3 -0
- package/dist/assets/{BootstrapSettingsForm-BoEmD1zV.js → BootstrapSettingsForm-c18LdxYs.js} +1 -1
- package/dist/assets/Build-48zeU1Yw.js +40 -0
- package/dist/assets/{Calendars-DJwzxqLu.js → Calendars-B2Wez_3o.js} +1 -1
- package/dist/assets/{CameraGrids-BgccN5Pj.js → CameraGrids-BpGte0K0.js} +1 -1
- package/dist/assets/{Cluster-BsENeR0i.js → Cluster-CAB19PAX.js} +1 -1
- package/dist/assets/CompositionBlockEditor-BN5J817G.js +2 -0
- package/dist/assets/{CompositionEditorPage-TUBCxwY3.js → CompositionEditorPage-7ta40LxI.js} +1 -1
- package/dist/assets/Data-C_ebBdlu.js +2 -0
- package/dist/assets/DeviceDetail-GEBcTe6R.js +2 -0
- package/dist/assets/{Devices-RQLZEgPY.js → Devices-C42wiSOq.js} +1 -1
- package/dist/assets/{EmbedDevicePage-ZLq8d2iA.js → EmbedDevicePage-SFb5MyT-.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-CAIQaXj7.js → EmbedPlayerPage-DUcN1y4L.js} +1 -1
- package/dist/assets/History-B1fPhKG2.js +1 -0
- package/dist/assets/Identity-Bp3HGCWd.js +1 -0
- package/dist/assets/InstancesTable-BGtfLCCP.js +1 -0
- package/dist/assets/IntegrationDetail-CMMQieRt.js +1 -0
- package/dist/assets/IntegrationWizard-BaM2i4NA.js +1 -0
- package/dist/assets/{Integrations-uNKI4ENy.js → Integrations-Cx2N6swv.js} +2 -2
- package/dist/assets/Integrations-GPlT8cKN.js +1 -0
- package/dist/assets/Library-Bz4-Eas4.js +1 -0
- package/dist/assets/Locations-DmfVYXMw.js +3 -0
- package/dist/assets/Logs-CIvaD3Yw.js +1 -0
- package/dist/assets/{MaskShapeCanvas-B3zP9xT5.js → MaskShapeCanvas-niZe5zHf.js} +1 -1
- package/dist/assets/{MotionZonesSettings-DKBKT9aJ.js → MotionZonesSettings-Dsi2Uff2.js} +1 -1
- package/dist/assets/MyAccess-D7pNURUg.js +2 -0
- package/dist/assets/Network-B7ImKtCW.js +1 -0
- package/dist/assets/NodeAddonsSettingsPanel-B1FzoINc.js +2 -0
- package/dist/assets/Notifications-BHBA5V_j.js +1 -0
- package/dist/assets/Pipeline-DIMjhsfr.js +1 -0
- package/dist/assets/{PrivacyMaskSettings-CK9hqTRF.js → PrivacyMaskSettings-CwxOqudr.js} +1 -1
- package/dist/assets/Recordings-DULk3APi.js +1 -0
- package/dist/assets/{RemoteGrid-i8wKPofF.js → RemoteGrid-B9MFH8gq.js} +1 -1
- package/dist/assets/{ScanSubnetEditor-DgQG14u4.js → ScanSubnetEditor-ChB1ff9j.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-C7BzyuY3.js → SceneMonitorEditor-DjbQscIc.js} +1 -1
- package/dist/assets/SessionsList-GQ9o6e6I.js +2 -0
- package/dist/assets/{Showroom-v5DKHm7R.js → Showroom-B4IQCR63.js} +1 -1
- package/dist/assets/StorageLocationsTable-51VLoqz4.js +1 -0
- package/dist/assets/{System-jjlBGk9U.js → System-DMGCcspI.js} +1 -1
- package/dist/assets/{Templates-DKBo80nE.js → Templates-DWije3Aq.js} +1 -1
- package/dist/assets/{Terminal-CFo4OCRV.js → Terminal-D20GDY9B.js} +5 -5
- package/dist/assets/{TrainingProviders-LmHCsEEc.js → TrainingProviders-BHjFCr-v.js} +1 -1
- package/dist/assets/{Viewer-KhrX-QoU.js → Viewer-DBUCXKwT.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BPtmPLBq.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CgTKovwO.js} +1 -1
- package/dist/assets/{action-draft-Ct8_GVdJ.js → action-draft-BGdFoh4X.js} +1 -1
- package/dist/assets/{ai-page.helpers-3SnxNBNh.js → ai-page.helpers-WItq2Zfb.js} +1 -1
- package/dist/assets/{assignment-candidates-CMQomrma.js → assignment-candidates-BP248h74.js} +1 -1
- package/dist/assets/{authed-media-CS1SYJIb.js → authed-media-BbpEDtXm.js} +1 -1
- package/dist/assets/{board-model-COvoDWAk.js → board-model-v3Qi2ADW.js} +1 -1
- package/dist/assets/client-CqZcg6J1.js +1057 -0
- package/dist/assets/command-vocab-kJ1oxCcS.js +1 -0
- package/dist/assets/create-composition-fA2f0nzR.js +1 -0
- package/dist/assets/device-detail-9hSNMll_.js +1 -0
- package/dist/assets/{device-integration-icon-dOu9Eloe.js → device-integration-icon-Cyu0nfTA.js} +1 -1
- package/dist/assets/device-picker-model-CtTFN_cS.js +1 -0
- package/dist/assets/{dist-BSIDIvPv.js → dist-C25WO9pF.js} +1 -1
- package/dist/assets/dist-CYAeZRwB.js +1057 -0
- package/dist/assets/{format-CnAMMCKO.js → format-D-8gnxE4.js} +1 -1
- package/dist/assets/{hostInit-5hZWUgB1.js → hostInit-Bi8yQqpB.js} +1 -1
- package/dist/assets/i18n-jsJQRNVP.js +1 -0
- package/dist/assets/icons-DMftZDY6.js +1 -0
- package/dist/assets/index-56F3KEmN.js +4 -0
- package/dist/assets/index-DcUA-A3F.css +2 -0
- package/dist/assets/{linked-devices-model-C9-KwysR.js → linked-devices-model-BHQYp9mv.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-da7ca43d.js → mf-entry-bootstrap-0-3894ac98.js} +2 -2
- package/dist/assets/mount-CtTFN_cS.js +1 -0
- package/dist/assets/{notification-rule-status-CXntp3K9.js → notification-rule-status-OMG9AAuW.js} +1 -1
- package/dist/assets/player-overlays-COha2Q7D.js +1 -0
- package/dist/assets/remoteEntry-D7QWxsvZ.js +1 -0
- package/dist/assets/src-COXDtqhI.js +253 -0
- package/dist/assets/step-inspector-model-B2KsfsAh.js +1 -0
- package/dist/assets/{use-scenes-feed-BoR1Y-VE.js → use-scenes-feed-BUwlMJxG.js} +1 -1
- package/dist/assets/{use-stationary-objects-DkXKafj7.js → use-stationary-objects-BadkNxb8.js} +1 -1
- package/dist/assets/{useAdminDeviceRemoval-DkVpT6r5.js → useAdminDeviceRemoval-B63tTVbh.js} +1 -1
- package/dist/assets/useEventInvalidation-CtTFN_cS.js +1 -0
- package/dist/assets/{useNodeUrlSelection--lZvqvct.js → useNodeUrlSelection-CWhY2Xjn.js} +1 -1
- package/dist/assets/useTemplateSave-BHO2U-WX.js +1 -0
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-T6WBMt1q.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BMXyrASR.js} +2 -2
- package/dist/index.html +8 -8
- package/dist/server/addon.js +339 -38
- package/package.json +2 -2
- package/dist/assets/Addons-CWDe2ysB.js +0 -5
- package/dist/assets/AdminSectionedPage-CSjSmB74.js +0 -1
- package/dist/assets/AiProfiles-DnluoNPk.js +0 -3
- package/dist/assets/Build-DMVoPRyS.js +0 -40
- package/dist/assets/CompositionBlockEditor-DudbSZVo.js +0 -2
- package/dist/assets/Data-DOpOAfYo.js +0 -2
- package/dist/assets/DeviceDetail-CIRWTBj8.js +0 -2
- package/dist/assets/History-y3xgB62I.js +0 -1
- package/dist/assets/Identity-Dfwm4Ys2.js +0 -1
- package/dist/assets/InstancesTable-DB74t0Si.js +0 -1
- package/dist/assets/IntegrationDetail-Bg4fgH_7.js +0 -1
- package/dist/assets/IntegrationWizard-B_hF-vL9.js +0 -1
- package/dist/assets/Integrations-BzHSRaCH.js +0 -1
- package/dist/assets/Library-IqKySZef.js +0 -1
- package/dist/assets/Locations-BzytI3mX.js +0 -3
- package/dist/assets/Logs-BQWbxkE0.js +0 -1
- package/dist/assets/MyAccess-t_EwSJ61.js +0 -2
- package/dist/assets/Network-w5dWUXr3.js +0 -1
- package/dist/assets/NodeAddonsSettingsPanel-Bd8yv-Cb.js +0 -2
- package/dist/assets/Notifications-BZPoCLb7.js +0 -1
- package/dist/assets/Pipeline-AOTD3jWE.js +0 -1
- package/dist/assets/Recordings-Ck1Xvyur.js +0 -1
- package/dist/assets/SessionsList-Cg0IcV2U.js +0 -2
- package/dist/assets/StorageLocationsTable-Bs0wRBcX.js +0 -1
- package/dist/assets/client-BkrADwlo.js +0 -951
- package/dist/assets/command-vocab-_m2oGZgY.js +0 -1
- package/dist/assets/create-composition-B8m0P0Ka.js +0 -1
- package/dist/assets/device-detail-G-NTu_Fh.js +0 -1
- package/dist/assets/device-picker-model-Crk-zo39.js +0 -1
- package/dist/assets/dist-DD36UXJv.js +0 -951
- package/dist/assets/i18n-BArP6ThS.js +0 -1
- package/dist/assets/icons-2IlNe3Rh.js +0 -1
- package/dist/assets/index-0ukvsxX5.css +0 -2
- package/dist/assets/index-B5lClYc_.js +0 -4
- package/dist/assets/mount-Crk-zo39.js +0 -1
- package/dist/assets/player-overlays-BGlMiuNC.js +0 -1
- package/dist/assets/remoteEntry-Oo10s4gX.js +0 -1
- package/dist/assets/src-BNDWAXGm.js +0 -230
- package/dist/assets/step-inspector-model-DXIzeAZ0.js +0 -1
- package/dist/assets/useEventInvalidation-Crk-zo39.js +0 -1
- package/dist/assets/useTemplateSave-NBDCe0sx.js +0 -1
package/dist/server/addon.js
CHANGED
|
@@ -5912,7 +5912,7 @@ var ZodIssueCode = {
|
|
|
5912
5912
|
var ZodFirstPartyTypeKind;
|
|
5913
5913
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5914
5914
|
//#endregion
|
|
5915
|
-
//#region ../types/dist/sleep-
|
|
5915
|
+
//#region ../types/dist/sleep-D0roI_CZ.mjs
|
|
5916
5916
|
/**
|
|
5917
5917
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5918
5918
|
* window to float samples (D455).
|
|
@@ -15296,6 +15296,10 @@ Object.freeze({
|
|
|
15296
15296
|
"path": "lastEvent.eventType",
|
|
15297
15297
|
"valueType": "string"
|
|
15298
15298
|
},
|
|
15299
|
+
{
|
|
15300
|
+
"path": "lastEvent.sourceId",
|
|
15301
|
+
"valueType": "string"
|
|
15302
|
+
},
|
|
15299
15303
|
{
|
|
15300
15304
|
"path": "lastEvent.timestamp",
|
|
15301
15305
|
"valueType": "number"
|
|
@@ -43581,9 +43585,12 @@ function convertLegacyWhen(half) {
|
|
|
43581
43585
|
* every caller — automations, Actions, and the notification centre, which runs
|
|
43582
43586
|
* only Actions (planning#473).
|
|
43583
43587
|
*/
|
|
43588
|
+
/** The longest one `wait` step lasts. It is cut by a restart of the run and does not survive a hub restart. */
|
|
43589
|
+
var WAIT_MAX_SECONDS = 3600;
|
|
43590
|
+
var WAIT_TOO_LONG = `a wait is at most one hour (${WAIT_MAX_SECONDS} s)`;
|
|
43584
43591
|
var AutomationWaitStepSchema = object({
|
|
43585
43592
|
kind: literal("wait"),
|
|
43586
|
-
seconds: number$1().min(0).max(
|
|
43593
|
+
seconds: number$1().min(0).max(WAIT_MAX_SECONDS, WAIT_TOO_LONG)
|
|
43587
43594
|
});
|
|
43588
43595
|
/** The legacy `deviceId` of a cap step: still READ, never written (D983). */
|
|
43589
43596
|
var LegacyStepDeviceSchema = union([
|
|
@@ -43653,39 +43660,227 @@ var elseNeedsIf = {
|
|
|
43653
43660
|
path: ["else"]
|
|
43654
43661
|
};
|
|
43655
43662
|
var GuardedWaitStepSchema = AutomationWaitStepSchema.extend(stepGuardShape).refine((step) => step.else === void 0 || step.if !== void 0, elseNeedsIf);
|
|
43656
|
-
var GuardedCapStepSchema = AutomationCapStepBaseSchema.extend(stepGuardShape).refine((step) => step.target !== void 0 || step.deviceId !== void 0, {
|
|
43657
|
-
message: "a cap step needs a target",
|
|
43658
|
-
path: ["target"]
|
|
43659
|
-
}).refine((step) => step.target?.kind !== "domain" || step.actionId !== void 0, {
|
|
43660
|
-
message: "a domain target needs the vocabulary action it applies to (actionId)",
|
|
43661
|
-
path: ["actionId"]
|
|
43662
|
-
}).refine((step) => step.else === void 0 || step.if !== void 0, elseNeedsIf);
|
|
43663
43663
|
/**
|
|
43664
43664
|
* A step of a STANDALONE list (an action, a scheduler point, a preset): the
|
|
43665
43665
|
* same two step kinds an automation runs, minus a guard that reads the
|
|
43666
43666
|
* automation's trigger, which such a list does not have.
|
|
43667
43667
|
*/
|
|
43668
|
-
var ActionStepSchema = discriminatedUnion("kind", [GuardedWaitStepSchema,
|
|
43668
|
+
var ActionStepSchema = discriminatedUnion("kind", [GuardedWaitStepSchema, AutomationCapStepBaseSchema.extend(stepGuardShape).refine((step) => step.target !== void 0 || step.deviceId !== void 0, {
|
|
43669
|
+
message: "a cap step needs a target",
|
|
43670
|
+
path: ["target"]
|
|
43671
|
+
}).refine((step) => step.target?.kind !== "domain" || step.actionId !== void 0, {
|
|
43672
|
+
message: "a domain target needs the vocabulary action it applies to (actionId)",
|
|
43673
|
+
path: ["actionId"]
|
|
43674
|
+
}).refine((step) => step.else === void 0 || step.if !== void 0, elseNeedsIf)]).superRefine((step, ctx) => {
|
|
43669
43675
|
if (step.if !== void 0 && hasTriggeredByLeaves(step.if)) ctx.addIssue({
|
|
43670
43676
|
code: "custom",
|
|
43671
43677
|
message: TRIGGERED_BY_NEEDS_AUTOMATION,
|
|
43672
43678
|
path: ["if"]
|
|
43673
43679
|
});
|
|
43674
43680
|
});
|
|
43681
|
+
/**
|
|
43682
|
+
* Flow control of an AUTOMATION's list (#500). A standalone list (an action, a
|
|
43683
|
+
* scheduler point, a preset) stays `wait` and `cap`: it has no run of its own
|
|
43684
|
+
* to end and no variable bag to write.
|
|
43685
|
+
*/
|
|
43686
|
+
var continueOnErrorShape = {
|
|
43687
|
+
/** A failure of this step is traced `failed-continued` and the next step runs. */
|
|
43688
|
+
continueOnError: literal(true).optional() };
|
|
43689
|
+
/** An automation's cap step: the shared guarded cap step, plus `continueOnError`. */
|
|
43690
|
+
var AutomationGuardedCapStepSchema = AutomationCapStepBaseSchema.extend({
|
|
43691
|
+
...stepGuardShape,
|
|
43692
|
+
...continueOnErrorShape
|
|
43693
|
+
}).refine((step) => step.target !== void 0 || step.deviceId !== void 0, {
|
|
43694
|
+
message: "a cap step needs a target",
|
|
43695
|
+
path: ["target"]
|
|
43696
|
+
}).refine((step) => step.target?.kind !== "domain" || step.actionId !== void 0, {
|
|
43697
|
+
message: "a domain target needs the vocabulary action it applies to (actionId)",
|
|
43698
|
+
path: ["actionId"]
|
|
43699
|
+
}).refine((step) => step.else === void 0 || step.if !== void 0, elseNeedsIf);
|
|
43700
|
+
/** End the run here, on purpose. `reason` may carry `{{vars.x}}` slots. */
|
|
43701
|
+
var AutomationStopStepSchema = object({
|
|
43702
|
+
kind: literal("stop"),
|
|
43703
|
+
reason: string().min(1, "a stop needs a reason: it is what the run trace shows").max(200),
|
|
43704
|
+
/** `ok`: the run ends as a success. `failed`: it ends as a failure, with the reason. */
|
|
43705
|
+
outcome: _enum(["ok", "failed"]),
|
|
43706
|
+
/** Stop only when this reads true; false or unknown does not stop. */
|
|
43707
|
+
if: AutomationWhenSchema.optional()
|
|
43708
|
+
});
|
|
43709
|
+
var SET_VAR_NAME_RE = /^[A-Za-z_][A-Za-z0-9_]{0,39}$/;
|
|
43710
|
+
/** Names the run itself writes and reads (`leaf` is what `triggered-by` judges): a step may not overwrite them. */
|
|
43711
|
+
var RESERVED_RUN_VARS = [
|
|
43712
|
+
"kind",
|
|
43713
|
+
"leaf",
|
|
43714
|
+
"at"
|
|
43715
|
+
];
|
|
43716
|
+
/**
|
|
43717
|
+
* Write variables into the run's bag, for the steps after it. SUBSTITUTION
|
|
43718
|
+
* only, never evaluation: a text value may carry `{{vars.x}}` slots.
|
|
43719
|
+
*/
|
|
43720
|
+
var AutomationSetStepSchema = object({
|
|
43721
|
+
kind: literal("set"),
|
|
43722
|
+
vars: record(string(), union([
|
|
43723
|
+
string().max(500),
|
|
43724
|
+
number$1(),
|
|
43725
|
+
boolean()
|
|
43726
|
+
])).refine((vars) => Object.keys(vars).every((name) => SET_VAR_NAME_RE.test(name)), { message: "a variable name is letters, digits and _, not starting with a digit (max 40)" }).refine((vars) => Object.keys(vars).length >= 1, { message: "set needs at least one variable" }).refine((vars) => Object.keys(vars).length <= 20, { message: `set holds at most 20 variables` }).refine((vars) => Object.keys(vars).every((name) => !RESERVED_RUN_VARS.includes(name)), { message: `the names ${RESERVED_RUN_VARS.join(", ")} belong to the run and cannot be set` }),
|
|
43727
|
+
/** Set only when this reads true; false or unknown leaves the bag as it is. */
|
|
43728
|
+
if: AutomationWhenSchema.optional()
|
|
43729
|
+
});
|
|
43730
|
+
var AutomationRunActionStepSchema = object({
|
|
43731
|
+
kind: literal("action"),
|
|
43732
|
+
/** An entry of the `actions` surface (`internal:<uuid>` or `<addonId>:<localId>`). */
|
|
43733
|
+
actionId: string().min(1),
|
|
43734
|
+
/** Values for the action's declared variables; the others take their default. */
|
|
43735
|
+
variables: record(string(), union([
|
|
43736
|
+
string(),
|
|
43737
|
+
number$1(),
|
|
43738
|
+
boolean()
|
|
43739
|
+
])).optional(),
|
|
43740
|
+
...continueOnErrorShape
|
|
43741
|
+
});
|
|
43742
|
+
/**
|
|
43743
|
+
* A step INSIDE a branch of a `choose`: a flow step with no condition of its
|
|
43744
|
+
* own (the branch is the condition) and no block inside it. Strict, so an `if`
|
|
43745
|
+
* written on such a step is refused rather than dropped.
|
|
43746
|
+
*/
|
|
43747
|
+
/** The longest a `wait-until` may wait: six hours. */
|
|
43748
|
+
var WAIT_UNTIL_TIMEOUT_MAX_S = 21600;
|
|
43749
|
+
/**
|
|
43750
|
+
* Pause the run until a condition is true (#500). The timeout is mandatory: a
|
|
43751
|
+
* run never waits without an end. `onTimeout` says what a wait that ran out
|
|
43752
|
+
* does: `continue` goes on to the next step, `stop` ends the run as a failure.
|
|
43753
|
+
* A condition that cannot be read is not "true": the wait goes on (D49).
|
|
43754
|
+
*/
|
|
43755
|
+
var AutomationWaitUntilStepSchema = object({
|
|
43756
|
+
kind: literal("wait-until"),
|
|
43757
|
+
when: AutomationWhenSchema,
|
|
43758
|
+
timeoutS: number$1().int().min(1, "a wait needs a timeout of at least one second").max(WAIT_UNTIL_TIMEOUT_MAX_S, `a wait for a condition is at most six hours (${WAIT_UNTIL_TIMEOUT_MAX_S} s)`),
|
|
43759
|
+
onTimeout: _enum(["continue", "stop"])
|
|
43760
|
+
}).strict();
|
|
43761
|
+
/** The step kinds that hold steps of their own, or pause on a condition: they nest two levels at most. */
|
|
43762
|
+
var BLOCK_STEP_KINDS = [
|
|
43763
|
+
"choose",
|
|
43764
|
+
"repeat",
|
|
43765
|
+
"parallel",
|
|
43766
|
+
"wait-until"
|
|
43767
|
+
];
|
|
43768
|
+
var NEST_TOO_DEEP = `steps nest two levels at most: a step inside a nested choose or repeat can be a plain step only`;
|
|
43769
|
+
function kindOf(input) {
|
|
43770
|
+
return typeof input === "object" && input !== null ? Reflect.get(input, "kind") : void 0;
|
|
43771
|
+
}
|
|
43772
|
+
/** Where the nesting ends, a block step is refused in words rather than as an unknown kind. */
|
|
43773
|
+
function nestTooDeep(issue) {
|
|
43774
|
+
const kind = kindOf(issue.input);
|
|
43775
|
+
return typeof kind === "string" && BLOCK_STEP_KINDS.includes(kind) ? NEST_TOO_DEEP : void 0;
|
|
43776
|
+
}
|
|
43777
|
+
var plainStepSchemas = [
|
|
43778
|
+
AutomationWaitStepSchema.strict(),
|
|
43779
|
+
AutomationCapStepBaseSchema.extend(continueOnErrorShape).strict().refine((step) => step.target !== void 0 || step.deviceId !== void 0, {
|
|
43780
|
+
message: "a cap step needs a target",
|
|
43781
|
+
path: ["target"]
|
|
43782
|
+
}).refine((step) => step.target?.kind !== "domain" || step.actionId !== void 0, {
|
|
43783
|
+
message: "a domain target needs the vocabulary action it applies to (actionId)",
|
|
43784
|
+
path: ["actionId"]
|
|
43785
|
+
}),
|
|
43786
|
+
AutomationStopStepSchema.omit({ if: true }).strict(),
|
|
43787
|
+
AutomationSetStepSchema.omit({ if: true }).strict(),
|
|
43788
|
+
AutomationRunActionStepSchema.strict()
|
|
43789
|
+
];
|
|
43790
|
+
/**
|
|
43791
|
+
* A plain step: a flow step with no condition of its own and no step inside
|
|
43792
|
+
* it. The second (last) level of nesting holds these only.
|
|
43793
|
+
*/
|
|
43794
|
+
var AutomationBranchStepSchema = discriminatedUnion("kind", plainStepSchemas, { error: nestTooDeep });
|
|
43795
|
+
/** A step that can run beside others: it writes no variable and does not end the run. */
|
|
43796
|
+
var AutomationParallelMemberSchema = AutomationBranchStepSchema.refine((step) => step.kind === "cap" || step.kind === "action" || step.kind === "wait", "a parallel holds device commands, actions and waits only: a set or a stop beside other steps has no order");
|
|
43797
|
+
/**
|
|
43798
|
+
* Several steps at once (#500): all are started together and all are awaited.
|
|
43799
|
+
* A failure fails the run once the others finished, as in a sequence; a member
|
|
43800
|
+
* marked "continue if this fails" does not.
|
|
43801
|
+
*/
|
|
43802
|
+
var AutomationParallelStepSchema = object({
|
|
43803
|
+
kind: literal("parallel"),
|
|
43804
|
+
steps: array(AutomationParallelMemberSchema).min(2, "a parallel needs at least two steps").max(5, `a parallel takes at most 5 steps`)
|
|
43805
|
+
}).strict();
|
|
43806
|
+
var REPEAT_NEEDS_MAX = "a repeat on a condition needs a maximum number of iterations";
|
|
43807
|
+
/** A loop on a condition: the bound is mandatory, so a run never loops without an end. */
|
|
43808
|
+
var repeatConditionShape = {
|
|
43809
|
+
when: AutomationWhenSchema,
|
|
43810
|
+
maxIterations: number$1({ error: REPEAT_NEEDS_MAX }).int().min(1, REPEAT_NEEDS_MAX).max(50, `a repeat on a condition runs at most 50 times`),
|
|
43811
|
+
/** A pause between two iterations, never after the last. */
|
|
43812
|
+
waitS: number$1().int().min(1).max(WAIT_MAX_SECONDS, WAIT_TOO_LONG).optional()
|
|
43813
|
+
};
|
|
43814
|
+
/** What decides how many times a `repeat` runs. */
|
|
43815
|
+
var AutomationRepeatLoopSchema = discriminatedUnion("by", [
|
|
43816
|
+
object({
|
|
43817
|
+
by: literal("count"),
|
|
43818
|
+
count: number$1().int().min(1).max(20, `a repeat runs at most 20 times`)
|
|
43819
|
+
}).strict(),
|
|
43820
|
+
object({
|
|
43821
|
+
by: literal("while"),
|
|
43822
|
+
...repeatConditionShape
|
|
43823
|
+
}).strict(),
|
|
43824
|
+
object({
|
|
43825
|
+
by: literal("until"),
|
|
43826
|
+
...repeatConditionShape
|
|
43827
|
+
}).strict(),
|
|
43828
|
+
object({
|
|
43829
|
+
by: literal("forEach"),
|
|
43830
|
+
target: object({
|
|
43831
|
+
kind: literal("devices"),
|
|
43832
|
+
ids: array(number$1().int()).min(1, "a repeat over devices needs at least one device").max(50, `a repeat over devices takes at most 50 devices`)
|
|
43833
|
+
}).strict()
|
|
43834
|
+
}).strict()
|
|
43835
|
+
]);
|
|
43836
|
+
/**
|
|
43837
|
+
* The same steps several times (#500). Every form is bounded at save, so a
|
|
43838
|
+
* run cannot loop without an end. A failure or a `stop` in the steps ends the
|
|
43839
|
+
* loop and the run, as in a sequence.
|
|
43840
|
+
*/
|
|
43841
|
+
function repeatSchemaOf(step) {
|
|
43842
|
+
return object({
|
|
43843
|
+
kind: literal("repeat"),
|
|
43844
|
+
loop: AutomationRepeatLoopSchema,
|
|
43845
|
+
steps: array(step).min(1, "a repeat needs at least one step").max(10, `a repeat takes at most 10 steps`)
|
|
43846
|
+
}).strict();
|
|
43847
|
+
}
|
|
43848
|
+
/**
|
|
43849
|
+
* One step, several ways (#500): the branches are read in order and the FIRST
|
|
43850
|
+
* whose condition is true runs; `else` runs when every branch is false. A
|
|
43851
|
+
* branch that cannot be read ends the choice: nothing runs, not the branches
|
|
43852
|
+
* after it and not the else (D49). The #472 `if` / `else` of a wait or cap
|
|
43853
|
+
* step is the one-branch case and stays as it is stored.
|
|
43854
|
+
*/
|
|
43855
|
+
function chooseSchemaOf(step) {
|
|
43856
|
+
const steps = array(step).max(10);
|
|
43857
|
+
return object({
|
|
43858
|
+
kind: literal("choose"),
|
|
43859
|
+
branches: array(object({
|
|
43860
|
+
if: AutomationWhenSchema,
|
|
43861
|
+
steps: steps.min(1, "a branch needs at least one step")
|
|
43862
|
+
})).min(1, "a choose needs at least one branch").max(6, `a choose takes at most 6 branches`),
|
|
43863
|
+
else: steps.optional()
|
|
43864
|
+
});
|
|
43865
|
+
}
|
|
43866
|
+
var AutomationBodyStepSchema = discriminatedUnion("kind", [
|
|
43867
|
+
...plainStepSchemas,
|
|
43868
|
+
AutomationWaitUntilStepSchema,
|
|
43869
|
+
AutomationParallelStepSchema,
|
|
43870
|
+
chooseSchemaOf(AutomationBranchStepSchema),
|
|
43871
|
+
repeatSchemaOf(AutomationBranchStepSchema)
|
|
43872
|
+
]);
|
|
43873
|
+
var AutomationRepeatStepSchema = repeatSchemaOf(AutomationBodyStepSchema);
|
|
43675
43874
|
var AutomationActionSchema = discriminatedUnion("kind", [
|
|
43676
43875
|
GuardedWaitStepSchema,
|
|
43677
|
-
|
|
43678
|
-
|
|
43679
|
-
|
|
43680
|
-
|
|
43681
|
-
|
|
43682
|
-
|
|
43683
|
-
|
|
43684
|
-
|
|
43685
|
-
number$1(),
|
|
43686
|
-
boolean()
|
|
43687
|
-
])).optional()
|
|
43688
|
-
}),
|
|
43876
|
+
AutomationGuardedCapStepSchema,
|
|
43877
|
+
AutomationStopStepSchema,
|
|
43878
|
+
AutomationSetStepSchema,
|
|
43879
|
+
chooseSchemaOf(AutomationBodyStepSchema),
|
|
43880
|
+
AutomationWaitUntilStepSchema,
|
|
43881
|
+
AutomationParallelStepSchema,
|
|
43882
|
+
AutomationRepeatStepSchema,
|
|
43883
|
+
AutomationRunActionStepSchema,
|
|
43689
43884
|
object({
|
|
43690
43885
|
kind: literal("code"),
|
|
43691
43886
|
/** Compiled into the automation's OWN block by esbuild — not a third
|
|
@@ -43748,11 +43943,6 @@ function convertLegacyRecipe(legacy) {
|
|
|
43748
43943
|
...rest
|
|
43749
43944
|
};
|
|
43750
43945
|
}
|
|
43751
|
-
/**
|
|
43752
|
-
* Where recipes are PARSED (the core-blocks cap, the MCP tool, the literal a
|
|
43753
|
-
* saved block carries): the new shape as it is, or the old shape converted to
|
|
43754
|
-
* it. The output type is always the new one.
|
|
43755
|
-
*/
|
|
43756
43946
|
var AutomationRecipeSchema = union([CurrentAutomationRecipeSchema, LegacyAutomationRecipeSchema.transform(convertLegacyRecipe)]);
|
|
43757
43947
|
var DETECTION_DESCRIPTIONS = {
|
|
43758
43948
|
deviceId: "the camera that saw it",
|
|
@@ -43837,12 +44027,16 @@ var HoldOverrideSchema = discriminatedUnion("mode", [object({ mode: literal("res
|
|
|
43837
44027
|
})]);
|
|
43838
44028
|
/** A missed edge up to this late still runs. */
|
|
43839
44029
|
var DEFAULT_MAX_LATE_MS = 10 * 6e4;
|
|
44030
|
+
var SchedulerStepSchema = ActionStepSchema.refine((step) => step.kind !== "wait" || step.seconds <= 300, {
|
|
44031
|
+
message: `a scheduler point waits at most five minutes (300 s); put a longer wait in an action`,
|
|
44032
|
+
path: ["seconds"]
|
|
44033
|
+
});
|
|
43840
44034
|
var SchedulerPointSchema = object({
|
|
43841
44035
|
id: string().min(1).max(64),
|
|
43842
44036
|
at: SchedulerTimeSpecSchema,
|
|
43843
44037
|
mode: SchedulerPointModeSchema,
|
|
43844
44038
|
/** The actions of an `edge` or `hold`; a `release` has none. */
|
|
43845
|
-
steps: array(
|
|
44039
|
+
steps: array(SchedulerStepSchema).max(20).default([]),
|
|
43846
44040
|
/** Checked when the point runs (an edge) or is applied (a hold). */
|
|
43847
44041
|
conditions: SchedulerStateTreeSchema.optional(),
|
|
43848
44042
|
/** Hold only; absent means `respect`. */
|
|
@@ -44110,18 +44304,46 @@ var StepTraceBaseSchema = object({
|
|
|
44110
44304
|
]).optional(),
|
|
44111
44305
|
/** Why the condition read what it read, in the evaluator's own words. */
|
|
44112
44306
|
conditionReason: string().optional(),
|
|
44113
|
-
/** `empty`: the target resolved to no device, so nothing was done — never silently `ok`. `skipped`: its `if` was false (or unknown) and nothing ran in its place. */
|
|
44307
|
+
/** `empty`: the target resolved to no device, so nothing was done — never silently `ok`. `skipped`: its `if` was false (or unknown) and nothing ran in its place. `failed-continued`: it failed and was marked to be passed over (#500). */
|
|
44114
44308
|
outcome: _enum([
|
|
44115
44309
|
"ok",
|
|
44116
44310
|
"error",
|
|
44117
44311
|
"not-run",
|
|
44118
44312
|
"empty",
|
|
44119
|
-
"skipped"
|
|
44313
|
+
"skipped",
|
|
44314
|
+
"failed-continued",
|
|
44315
|
+
"timed-out"
|
|
44120
44316
|
]),
|
|
44121
44317
|
message: string().optional()
|
|
44122
44318
|
});
|
|
44319
|
+
/** What a block step adds to its row: which list ran, what each branch read, how many rounds. */
|
|
44320
|
+
var blockTraceShape = {
|
|
44321
|
+
/** A `choose` step (#500): the list that ran, `branches.<n>` or `else`. Absent when none did. */
|
|
44322
|
+
branch: string().optional(),
|
|
44323
|
+
/** A `choose` step: what each branch read, in order, up to the one that decided. */
|
|
44324
|
+
branchChecks: array(object({
|
|
44325
|
+
condition: _enum([
|
|
44326
|
+
"true",
|
|
44327
|
+
"false",
|
|
44328
|
+
"unknown"
|
|
44329
|
+
]),
|
|
44330
|
+
conditionReason: string().optional()
|
|
44331
|
+
})).optional(),
|
|
44332
|
+
/** A `repeat` step (#500): how many times its steps ran. */
|
|
44333
|
+
iterations: number$1().int().optional()
|
|
44334
|
+
};
|
|
44335
|
+
/** A step one level down: it may be a block step itself, whose own steps are plain rows (the nesting ends there). */
|
|
44336
|
+
var NestedStepTraceSchema = StepTraceBaseSchema.extend({
|
|
44337
|
+
...blockTraceShape,
|
|
44338
|
+
steps: array(StepTraceBaseSchema).optional()
|
|
44339
|
+
});
|
|
44123
44340
|
/** A step trace; the `else` steps that ran are one level of the same shape (the nesting is bounded at one). */
|
|
44124
|
-
var AutomationStepTraceSchema = StepTraceBaseSchema.extend({
|
|
44341
|
+
var AutomationStepTraceSchema = StepTraceBaseSchema.extend({
|
|
44342
|
+
else: array(StepTraceBaseSchema).optional(),
|
|
44343
|
+
...blockTraceShape,
|
|
44344
|
+
/** A `choose` step: the steps of the list that ran. A `parallel`: its members. A `repeat`: the LAST iteration. */
|
|
44345
|
+
steps: array(NestedStepTraceSchema).optional()
|
|
44346
|
+
});
|
|
44125
44347
|
var AutomationRunTraceSchema = object({
|
|
44126
44348
|
runId: string().min(1),
|
|
44127
44349
|
startedAt: number$1(),
|
|
@@ -44528,7 +44750,9 @@ var AddonHttpRouteSchema = object({
|
|
|
44528
44750
|
]).optional(),
|
|
44529
44751
|
description: string().optional(),
|
|
44530
44752
|
/** The hub limits this route per client address before the handler runs. */
|
|
44531
|
-
rateLimit: _enum(["auth"]).optional()
|
|
44753
|
+
rateLimit: _enum(["auth"]).optional(),
|
|
44754
|
+
/** Served once per integration instance; the handler reads `instanceId`. */
|
|
44755
|
+
perInstance: boolean().optional()
|
|
44532
44756
|
});
|
|
44533
44757
|
/**
|
|
44534
44758
|
* Cross-process route invocation envelope. The hub captures the
|
|
@@ -44545,6 +44769,8 @@ var InvokeRequestSchema = object({
|
|
|
44545
44769
|
query: record(string(), string()),
|
|
44546
44770
|
body: unknown(),
|
|
44547
44771
|
headers: record(string(), string()),
|
|
44772
|
+
/** The instance the hub resolved for a `perInstance` route. */
|
|
44773
|
+
instanceId: string().optional(),
|
|
44548
44774
|
user: object({
|
|
44549
44775
|
id: string(),
|
|
44550
44776
|
username: string(),
|
|
@@ -53722,25 +53948,71 @@ var EnumSensorStatusSchema = object({
|
|
|
53722
53948
|
lastFetchedAt: number$1()
|
|
53723
53949
|
});
|
|
53724
53950
|
DeviceType.Sensor;
|
|
53951
|
+
var EventVocabularyKindSchema = _enum([
|
|
53952
|
+
"press",
|
|
53953
|
+
"long-press",
|
|
53954
|
+
"long-press-start",
|
|
53955
|
+
"release",
|
|
53956
|
+
"repeat",
|
|
53957
|
+
"double-press",
|
|
53958
|
+
"other"
|
|
53959
|
+
]);
|
|
53960
|
+
/** The part of the device an event comes from: a button, a channel. */
|
|
53961
|
+
var EventVocabularySourceSchema = object({
|
|
53962
|
+
id: string().min(1),
|
|
53963
|
+
label: string().min(1)
|
|
53964
|
+
});
|
|
53965
|
+
/** One scalar field of an event's `data`, by dotted path. */
|
|
53966
|
+
var EventVocabularyFieldSchema = object({
|
|
53967
|
+
path: string().min(1),
|
|
53968
|
+
kind: _enum([
|
|
53969
|
+
"string",
|
|
53970
|
+
"number",
|
|
53971
|
+
"boolean",
|
|
53972
|
+
"enum"
|
|
53973
|
+
]),
|
|
53974
|
+
enumValues: array(string()).optional(),
|
|
53975
|
+
label: string().min(1).optional()
|
|
53976
|
+
});
|
|
53977
|
+
var EventVocabularyEntrySchema = object({
|
|
53978
|
+
/** The native token, verbatim. */
|
|
53979
|
+
id: string().min(1),
|
|
53980
|
+
source: EventVocabularySourceSchema.optional(),
|
|
53981
|
+
label: string().min(1),
|
|
53982
|
+
description: string().optional(),
|
|
53983
|
+
kind: EventVocabularyKindSchema.optional(),
|
|
53984
|
+
payload: array(EventVocabularyFieldSchema).optional()
|
|
53985
|
+
});
|
|
53725
53986
|
/**
|
|
53726
53987
|
* Generic stateless event emitter. Installed on a `DeviceType.EventEmitter`
|
|
53727
53988
|
* device. Carries the device's EXACT declared event vocabulary verbatim
|
|
53728
53989
|
* (NO normalization). Two shapes:
|
|
53729
|
-
* - structured source (HA `event.*` entity) → `
|
|
53730
|
-
* declared
|
|
53731
|
-
* - generic/legacy source (HA bus events, e.g. zha_event) → `
|
|
53990
|
+
* - structured source (HA `event.*` entity) → `vocabulary` is the fixed
|
|
53991
|
+
* declared set (e.g. press_short, press_long, …).
|
|
53992
|
+
* - generic/legacy source (HA bus events, e.g. zha_event) → `vocabulary`
|
|
53732
53993
|
* is [] (open) and `lastEvent.data` carries the complex payload.
|
|
53994
|
+
* `vocabulary` (D1044) names each event for a person and types it for a
|
|
53995
|
+
* rule; `eventTypes` is its list of native tokens, kept for older readers.
|
|
53996
|
+
* A fire names the part of the device it came from in `sourceId` when the
|
|
53997
|
+
* vocabulary declares sources (a remote's buttons).
|
|
53733
53998
|
* `seq` is monotonic so two identical events still produce distinct slice writes.
|
|
53734
53999
|
*/
|
|
53735
54000
|
var EventFireSchema = object({
|
|
53736
54001
|
deviceId: number$1(),
|
|
53737
54002
|
eventType: string(),
|
|
54003
|
+
sourceId: string().optional(),
|
|
53738
54004
|
data: record(string(), unknown()).nullable(),
|
|
53739
54005
|
timestamp: number$1().meta(readingMeta("none")),
|
|
53740
54006
|
seq: number$1().meta(readingMeta("count"))
|
|
53741
54007
|
});
|
|
53742
54008
|
var EventEmitterStatusSchema = object({
|
|
53743
54009
|
eventTypes: array(string()),
|
|
54010
|
+
/**
|
|
54011
|
+
* Required of a provider by the type. A status written before the field
|
|
54012
|
+
* existed still parses, as an empty vocabulary: read it through
|
|
54013
|
+
* `readEventVocabulary`, which then answers with the plain tokens.
|
|
54014
|
+
*/
|
|
54015
|
+
vocabulary: array(EventVocabularyEntrySchema).default([]),
|
|
53744
54016
|
lastEvent: EventFireSchema.nullable(),
|
|
53745
54017
|
eventCountSinceStart: number$1().meta(readingMeta("count"))
|
|
53746
54018
|
});
|
|
@@ -67899,7 +68171,18 @@ var OauthIntegrationDescriptorSchema = object({
|
|
|
67899
68171
|
* The value is baked into the authorization code at `/authorize` and travels
|
|
67900
68172
|
* on the tokens, so editing this field changes FUTURE links only.
|
|
67901
68173
|
*/
|
|
67902
|
-
refreshTokenTtlSec: union([number$1().int().positive(), literal("never")]).optional()
|
|
68174
|
+
refreshTokenTtlSec: union([number$1().int().positive(), literal("never")]).optional(),
|
|
68175
|
+
/**
|
|
68176
|
+
* The integration instances an account can be linked to (planning#415),
|
|
68177
|
+
* beside the default one. `/api/oauth2/authorize?instance=<id>` is accepted
|
|
68178
|
+
* only for an id listed here; with no `instance=` the link is made to the
|
|
68179
|
+
* default instance, which is never listed and always accepted — it is the
|
|
68180
|
+
* address third parties already hold. Omit for a single-instance integration.
|
|
68181
|
+
*/
|
|
68182
|
+
instances: array(object({
|
|
68183
|
+
id: string(),
|
|
68184
|
+
displayName: string()
|
|
68185
|
+
})).optional()
|
|
67903
68186
|
});
|
|
67904
68187
|
method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" });
|
|
67905
68188
|
/**
|
|
@@ -74028,6 +74311,13 @@ var SsoBridgeClaimsSchema = object({
|
|
|
74028
74311
|
/** OAuth authorization-code binding — set only on `oauth-code` tokens. */
|
|
74029
74312
|
redirectUri: string().optional(),
|
|
74030
74313
|
integrationId: string().optional(),
|
|
74314
|
+
/**
|
|
74315
|
+
* The integration INSTANCE an OAuth link was made for (planning#415). Set on
|
|
74316
|
+
* `oauth-code`, `oauth-access` and `oauth-refresh` tokens of a link made
|
|
74317
|
+
* with `instance=`; absent on a link to the default instance. A cloud relay
|
|
74318
|
+
* reads it off the access token to route; the hub answers from the session.
|
|
74319
|
+
*/
|
|
74320
|
+
instanceId: string().optional(),
|
|
74031
74321
|
/** JWT ID — unique per issued code; consumed-set enforces single-use. */
|
|
74032
74322
|
jti: string().optional(),
|
|
74033
74323
|
/** PKCE S256 challenge — set only on `oauth-code` tokens issued to a public
|
|
@@ -76109,6 +76399,8 @@ var OauthSessionSummarySchema = object({
|
|
|
76109
76399
|
userId: string(),
|
|
76110
76400
|
username: string(),
|
|
76111
76401
|
integrationId: string(),
|
|
76402
|
+
/** The instance the link was made for; `null` = the default instance. */
|
|
76403
|
+
instanceId: string().nullable().optional(),
|
|
76112
76404
|
scopes: array(TokenScopeSchema),
|
|
76113
76405
|
createdAt: number$1(),
|
|
76114
76406
|
lastUsedAt: number$1(),
|
|
@@ -76208,6 +76500,9 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(_void(), ob
|
|
|
76208
76500
|
access: "view"
|
|
76209
76501
|
}), method(object({
|
|
76210
76502
|
integrationId: string(),
|
|
76503
|
+
/** The integration instance the link is for. Omit for the default
|
|
76504
|
+
* instance — never pass the addon id to mean it. */
|
|
76505
|
+
instanceId: string().optional(),
|
|
76211
76506
|
userId: string(),
|
|
76212
76507
|
username: string(),
|
|
76213
76508
|
scopes: array(TokenScopeSchema),
|
|
@@ -76246,7 +76541,13 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(_void(), ob
|
|
|
76246
76541
|
}), method(object({ token: string() }), object({
|
|
76247
76542
|
userId: string(),
|
|
76248
76543
|
username: string(),
|
|
76249
|
-
scopes: array(TokenScopeSchema)
|
|
76544
|
+
scopes: array(TokenScopeSchema),
|
|
76545
|
+
/** The instance the link was made for, read from the SESSION.
|
|
76546
|
+
* Absent = the default instance. `oauthLinkServesInstance` is the
|
|
76547
|
+
* helper a per-instance route calls to compare it with the instance
|
|
76548
|
+
* of its path; no route declares `perInstance` yet (the Alexa
|
|
76549
|
+
* per-instance route, T3, is the first consumer). */
|
|
76550
|
+
instanceId: string().optional()
|
|
76250
76551
|
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
76251
76552
|
userId: string(),
|
|
76252
76553
|
issuer: string()
|
|
@@ -95443,7 +95744,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
95443
95744
|
capability: adminUiCapability,
|
|
95444
95745
|
provider: {
|
|
95445
95746
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
95446
|
-
getVersion: async () => ({ version: "1.2.
|
|
95747
|
+
getVersion: async () => ({ version: "1.2.646" })
|
|
95447
95748
|
}
|
|
95448
95749
|
}];
|
|
95449
95750
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-admin-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.646",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Admin UI — Vite frontend build and server-side addon",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"requires": {
|
|
53
|
-
"server": ">=1.2.
|
|
53
|
+
"server": ">=1.2.842"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|