Skip to content

Commit

Permalink
fix: export all option types for Configuration CC (#6413)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone authored Oct 17, 2023
1 parent f82fb3e commit 7e15361
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/cc/src/cc/ConfigurationCC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const ConfigurationCCValues = Object.freeze({
}),
});

/** @publicAPI */
export type ConfigurationCCAPISetOptions =
& {
parameter: number;
Expand Down Expand Up @@ -1580,6 +1581,7 @@ alters capabilities: ${!!properties.altersCapabilities}`;
}
}

/** @publicAPI */
export interface ConfigurationCCReportOptions extends CCCommandOptions {
parameter: number;
value: ConfigValue;
Expand Down Expand Up @@ -2282,6 +2284,7 @@ export class ConfigurationCCBulkGet extends ConfigurationCC {
}
}

/** @publicAPI */
export interface ConfigurationCCNameReportOptions extends CCCommandOptions {
parameter: number;
name: string;
Expand Down Expand Up @@ -2428,6 +2431,7 @@ export class ConfigurationCCNameGet extends ConfigurationCC {
}
}

/** @publicAPI */
export interface ConfigurationCCInfoReportOptions extends CCCommandOptions {
parameter: number;
info: string;
Expand Down Expand Up @@ -2587,6 +2591,7 @@ export class ConfigurationCCInfoGet extends ConfigurationCC {
}
}

/** @publicAPI */
export interface ConfigurationCCPropertiesReportOptions
extends CCCommandOptions
{
Expand Down
8 changes: 7 additions & 1 deletion packages/cc/src/cc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,13 @@ export {
ColorSwitchCCSupportedReport,
ColorSwitchCCValues,
} from "./ColorSwitchCC";
export type { ConfigurationCCAPISetOptions } from "./ConfigurationCC";
export type {
ConfigurationCCAPISetOptions,
ConfigurationCCInfoReportOptions,
ConfigurationCCNameReportOptions,
ConfigurationCCPropertiesReportOptions,
ConfigurationCCReportOptions,
} from "./ConfigurationCC";
export {
ConfigurationCC,
ConfigurationCCBulkGet,
Expand Down

0 comments on commit 7e15361

Please sign in to comment.