Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: export all option types for Configuration CC #6413

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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