@synapticon/motion-master-client 6.0.0-alpha.113 → 6.0.0-alpha.114
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/generated/Api.d.ts
CHANGED
|
@@ -1933,7 +1933,7 @@ export declare class Api<SecurityDataType = unknown> extends HttpClient<Security
|
|
|
1933
1933
|
*/
|
|
1934
1934
|
deleteParameterCache: (id: string, params?: RequestParams) => Promise<import("./http-client.js").HttpResponse<void, void>>;
|
|
1935
1935
|
/**
|
|
1936
|
-
* @description Returns every file in Motion Master's per-user cache directory, flattened: one entry per file with its full path relative to the cache root, whatever the nesting. Directories have no entries of their own. Independent of the bus — works whether or not a driver is initialised. The cache is a plain file store for data that should outlive a restart. The store itself neither validates nor interprets an upload — `PUT` accepts any bytes at any valid path, and putting a file here does not, on its own, make Motion Master do anything with it; the client chooses the paths. That is separate from whether a *feature* reads a given file, and several do: `parameters/` (the on-disk object-dictionary cache) and `dumps/` (`.mmpd` recorder dumps) are written and consumed by those features. `esis/` holds ESI files
|
|
1936
|
+
* @description Returns every file in Motion Master's per-user cache directory, flattened: one entry per file with its full path relative to the cache root, whatever the nesting. Directories have no entries of their own. Independent of the bus — works whether or not a driver is initialised. The cache is a plain file store for data that should outlive a restart. The store itself neither validates nor interprets an upload — `PUT` accepts any bytes at any valid path, and putting a file here does not, on its own, make Motion Master do anything with it; the client chooses the paths. That is separate from whether a *feature* reads a given file, and several do: `parameters/` (the on-disk object-dictionary cache) and `dumps/` (`.mmpd` recorder dumps) are written and consumed by those features. `esis/` holds ESI files, which a client adds and the firmware installation stores from each package it caches, named `esi-<vendor>-<version>.xml`; a device whose vendor and firmware version (0x100A) match a file takes the units, ranges, descriptions and options of its parameters from it at the next scan or parameter init. Their files appear in this listing alongside everything else, so a client must not assume every entry was uploaded through this API, nor that deleting one is inconsequential.
|
|
1937
1937
|
*
|
|
1938
1938
|
* @name ListUserCacheFiles
|
|
1939
1939
|
* @summary List the files in the user cache
|
package/dist/generated/Api.js
CHANGED
|
@@ -1268,7 +1268,7 @@ export class Api extends HttpClient {
|
|
|
1268
1268
|
...params,
|
|
1269
1269
|
});
|
|
1270
1270
|
/**
|
|
1271
|
-
* @description Returns every file in Motion Master's per-user cache directory, flattened: one entry per file with its full path relative to the cache root, whatever the nesting. Directories have no entries of their own. Independent of the bus — works whether or not a driver is initialised. The cache is a plain file store for data that should outlive a restart. The store itself neither validates nor interprets an upload — `PUT` accepts any bytes at any valid path, and putting a file here does not, on its own, make Motion Master do anything with it; the client chooses the paths. That is separate from whether a *feature* reads a given file, and several do: `parameters/` (the on-disk object-dictionary cache) and `dumps/` (`.mmpd` recorder dumps) are written and consumed by those features. `esis/` holds ESI files
|
|
1271
|
+
* @description Returns every file in Motion Master's per-user cache directory, flattened: one entry per file with its full path relative to the cache root, whatever the nesting. Directories have no entries of their own. Independent of the bus — works whether or not a driver is initialised. The cache is a plain file store for data that should outlive a restart. The store itself neither validates nor interprets an upload — `PUT` accepts any bytes at any valid path, and putting a file here does not, on its own, make Motion Master do anything with it; the client chooses the paths. That is separate from whether a *feature* reads a given file, and several do: `parameters/` (the on-disk object-dictionary cache) and `dumps/` (`.mmpd` recorder dumps) are written and consumed by those features. `esis/` holds ESI files, which a client adds and the firmware installation stores from each package it caches, named `esi-<vendor>-<version>.xml`; a device whose vendor and firmware version (0x100A) match a file takes the units, ranges, descriptions and options of its parameters from it at the next scan or parameter init. Their files appear in this listing alongside everything else, so a client must not assume every entry was uploaded through this API, nor that deleting one is inconsequential.
|
|
1272
1272
|
*
|
|
1273
1273
|
* @name ListUserCacheFiles
|
|
1274
1274
|
* @summary List the files in the user cache
|
|
@@ -1701,12 +1701,29 @@ export interface DeviceParameter {
|
|
|
1701
1701
|
* @example "rpm"
|
|
1702
1702
|
*/
|
|
1703
1703
|
unitSymbol?: string;
|
|
1704
|
-
/**
|
|
1704
|
+
/** The default value, decoded with the same logic as `value`. It comes from the SDO Info response of the slave. When the slave reports none, it comes from the device's ESI (see `esiFile`). Absent when neither source gives one. */
|
|
1705
1705
|
defaultValue?: ParameterValue;
|
|
1706
|
-
/**
|
|
1706
|
+
/** The minimum value, decoded with the same logic as `value`. It comes from the SDO Info response of the slave. When the slave reports none, it comes from the device's ESI (see `esiFile`). Absent when neither source gives one. */
|
|
1707
1707
|
minValue?: ParameterValue;
|
|
1708
|
-
/**
|
|
1708
|
+
/** The maximum value, decoded with the same logic as `value`. It comes from the SDO Info response of the slave. When the slave reports none, it comes from the device's ESI (see `esiFile`). Absent when neither source gives one. */
|
|
1709
1709
|
maxValue?: ParameterValue;
|
|
1710
|
+
/** What the entry does, from the device's ESI, as HTML. A record or array is described once, on subindex 0. Absent when the ESI gives no description. SOMANET ESIs carry one for most objects. */
|
|
1711
|
+
description?: string;
|
|
1712
|
+
/** The named values of an enumerated entry, from the device's ESI. Absent when the entry is not an enumeration. */
|
|
1713
|
+
options?: {
|
|
1714
|
+
/**
|
|
1715
|
+
* @format int64
|
|
1716
|
+
* @example 1
|
|
1717
|
+
*/
|
|
1718
|
+
value: number;
|
|
1719
|
+
/** @example "Enabled" */
|
|
1720
|
+
label: string;
|
|
1721
|
+
}[];
|
|
1722
|
+
/**
|
|
1723
|
+
* The file in the `esis` directory of the user cache that described this entry. Absent when the device has no ESI, or its ESI does not describe this entry. On a device whose other entries have one, an absent `esiFile` means the ESI and the firmware disagree.
|
|
1724
|
+
* @example "esi-000022d2-v5.6.11.xml"
|
|
1725
|
+
*/
|
|
1726
|
+
esiFile?: string;
|
|
1710
1727
|
/**
|
|
1711
1728
|
* Freshness of `value` relative to the device. `synced` — matches the device (last successful read or write); `pending` — set locally while offline or after a failed write, not yet confirmed on the device; `stale` — came from an earlier read or write, and the latest read of the object failed; `unknown` — never read, `value` is the type-appropriate default. A failed read turns `synced` into `stale` and keeps the value. It leaves `unknown` and `pending` unchanged. The next successful read sets `synced` again.
|
|
1712
1729
|
* @example "synced"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synapticon/motion-master-client",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.114",
|
|
4
4
|
"description": "Isomorphic TypeScript client for Motion Master: the generated HTTP API client, the WebSocket connection, and helpers.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|