@companion-surface/base 0.3.0 → 0.3.1
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
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.1](https://github.com/bitfocus/companion-surface-api/compare/companion-surface-base-v0.3.0...companion-surface-base-v0.3.1) (2025-10-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* expose expression to check if remote connections match ([9071e5b](https://github.com/bitfocus/companion-surface-api/commit/9071e5b7082b4f47ffb21a9dfba893fb3d3681da))
|
|
9
|
+
|
|
3
10
|
## [0.3.0](https://github.com/bitfocus/companion-surface-api/compare/companion-surface-base-v0.2.0...companion-surface-base-v0.3.0) (2025-10-28)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -22,9 +22,18 @@ export interface SurfacePluginRemote<TInfo> extends EventEmitter<SurfacePluginRe
|
|
|
22
22
|
/**
|
|
23
23
|
* Get any configuration fields needed for configuring a remote connection
|
|
24
24
|
*
|
|
25
|
-
* Note: This gets
|
|
25
|
+
* Note: This gets fetched once during plugin initialisation. Changes made after this will not be detected
|
|
26
26
|
*/
|
|
27
27
|
readonly configFields: SomeCompanionInputField[];
|
|
28
|
+
/**
|
|
29
|
+
* An expression to use to check if two configs refer to the same remote surface connection.
|
|
30
|
+
* Often this should not include every field, as some affect behaviour rather than the identity of the connection
|
|
31
|
+
*
|
|
32
|
+
* This uses the companion expression syntax, one object can be accessed like $(objA:address) and the other like $(objB:address)
|
|
33
|
+
*
|
|
34
|
+
* Note: This gets fetched once during plugin initialisation. Changes made after this will not be detected
|
|
35
|
+
*/
|
|
36
|
+
readonly checkConfigMatchesExpression: string | null;
|
|
28
37
|
/**
|
|
29
38
|
* Setup one or more connections to remote surfaces
|
|
30
39
|
* @param connectionInfos Info about the connections to add
|
|
@@ -1 +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