@enyo-energy/energy-app-sdk 0.0.161 → 0.0.162
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.
|
@@ -144,7 +144,6 @@ export interface EnergyAppPackagePermission {
|
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
146
|
* A specific device model supported by an Energy App package.
|
|
147
|
-
* Used inside {@link EnergyAppPackageCompatibilityVendor.models} to enumerate
|
|
148
147
|
* the concrete models the package has been verified to work with.
|
|
149
148
|
*/
|
|
150
149
|
export interface EnergyAppPackageCompatibilityModel {
|
|
@@ -171,11 +170,6 @@ export interface EnergyAppPackageCompatibilityModel {
|
|
|
171
170
|
export interface EnergyAppPackageCompatibilityVendor {
|
|
172
171
|
/** Human-readable vendor name (e.g. "SolarEdge", "Fronius") */
|
|
173
172
|
vendorName: string;
|
|
174
|
-
/**
|
|
175
|
-
* Optional vendor logo path, mirroring the package-level `logo` field.
|
|
176
|
-
* Useful when the host wants to render a vendor list in the store.
|
|
177
|
-
*/
|
|
178
|
-
logo?: string;
|
|
179
173
|
/** Models from this vendor that the package supports */
|
|
180
174
|
models: EnergyAppPackageCompatibilityModel[];
|
|
181
175
|
}
|
|
@@ -206,13 +200,13 @@ export interface EnergyAppPackageDefinition {
|
|
|
206
200
|
/** If the energy app should be visible in the enyo store. Default is true*/
|
|
207
201
|
showInStore?: boolean;
|
|
208
202
|
/**
|
|
209
|
-
*
|
|
203
|
+
* declaration of vendors and models this package is compatible with.
|
|
210
204
|
* Each entry pairs a vendor with the concrete models the package supports,
|
|
211
205
|
* allowing the enyo Store and onboarding flows to surface accurate
|
|
212
206
|
* compatibility information to users. Omit when the package targets a
|
|
213
207
|
* single vendor implicitly or has no fixed compatibility surface.
|
|
214
208
|
*/
|
|
215
|
-
compatibility
|
|
209
|
+
compatibility: EnergyAppPackageCompatibilityVendor[];
|
|
216
210
|
}
|
|
217
211
|
/**
|
|
218
212
|
* Defines an Energy App package with automatic SDK version injection.
|
package/dist/cjs/version.cjs
CHANGED
|
@@ -9,7 +9,7 @@ exports.getSdkVersion = getSdkVersion;
|
|
|
9
9
|
/**
|
|
10
10
|
* Current version of the enyo Energy App SDK.
|
|
11
11
|
*/
|
|
12
|
-
exports.SDK_VERSION = '0.0.
|
|
12
|
+
exports.SDK_VERSION = '0.0.162';
|
|
13
13
|
/**
|
|
14
14
|
* Gets the current SDK version.
|
|
15
15
|
* @returns The semantic version string of the SDK
|
package/dist/cjs/version.d.cts
CHANGED
|
@@ -144,7 +144,6 @@ export interface EnergyAppPackagePermission {
|
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
146
|
* A specific device model supported by an Energy App package.
|
|
147
|
-
* Used inside {@link EnergyAppPackageCompatibilityVendor.models} to enumerate
|
|
148
147
|
* the concrete models the package has been verified to work with.
|
|
149
148
|
*/
|
|
150
149
|
export interface EnergyAppPackageCompatibilityModel {
|
|
@@ -171,11 +170,6 @@ export interface EnergyAppPackageCompatibilityModel {
|
|
|
171
170
|
export interface EnergyAppPackageCompatibilityVendor {
|
|
172
171
|
/** Human-readable vendor name (e.g. "SolarEdge", "Fronius") */
|
|
173
172
|
vendorName: string;
|
|
174
|
-
/**
|
|
175
|
-
* Optional vendor logo path, mirroring the package-level `logo` field.
|
|
176
|
-
* Useful when the host wants to render a vendor list in the store.
|
|
177
|
-
*/
|
|
178
|
-
logo?: string;
|
|
179
173
|
/** Models from this vendor that the package supports */
|
|
180
174
|
models: EnergyAppPackageCompatibilityModel[];
|
|
181
175
|
}
|
|
@@ -206,13 +200,13 @@ export interface EnergyAppPackageDefinition {
|
|
|
206
200
|
/** If the energy app should be visible in the enyo store. Default is true*/
|
|
207
201
|
showInStore?: boolean;
|
|
208
202
|
/**
|
|
209
|
-
*
|
|
203
|
+
* declaration of vendors and models this package is compatible with.
|
|
210
204
|
* Each entry pairs a vendor with the concrete models the package supports,
|
|
211
205
|
* allowing the enyo Store and onboarding flows to surface accurate
|
|
212
206
|
* compatibility information to users. Omit when the package targets a
|
|
213
207
|
* single vendor implicitly or has no fixed compatibility surface.
|
|
214
208
|
*/
|
|
215
|
-
compatibility
|
|
209
|
+
compatibility: EnergyAppPackageCompatibilityVendor[];
|
|
216
210
|
}
|
|
217
211
|
/**
|
|
218
212
|
* Defines an Energy App package with automatic SDK version injection.
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED