Skip to content

Commit

Permalink
docs: update typed documentation and API report 🤖 (#6529)
Browse files Browse the repository at this point in the history
Co-authored-by: Al Calzone <[email protected]>
  • Loading branch information
zwave-js-bot and AlCalzone authored Nov 30, 2023
1 parent b4fb2b5 commit e922683
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api/config-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ interface GenericDeviceClass {
readonly requiresSecurity?: boolean;
readonly supportedCCs: readonly CommandClasses[];
readonly controlledCCs: readonly CommandClasses[];
readonly maySupportBasicCC: boolean;
readonly specific: ReadonlyMap<number, SpecificDeviceClass>;
}
```
Expand All @@ -429,6 +430,7 @@ interface SpecificDeviceClass {
readonly requiresSecurity?: boolean;
readonly supportedCCs: readonly CommandClasses[];
readonly controlledCCs: readonly CommandClasses[];
readonly maySupportBasicCC: boolean;
}
```

Expand Down
2 changes: 2 additions & 0 deletions docs/api/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,7 @@ interface GenericDeviceClass {
readonly requiresSecurity?: boolean;
readonly supportedCCs: readonly CommandClasses[];
readonly controlledCCs: readonly CommandClasses[];
readonly maySupportBasicCC: boolean;
readonly specific: ReadonlyMap<number, SpecificDeviceClass>;
}
```
Expand All @@ -921,6 +922,7 @@ interface SpecificDeviceClass {
readonly requiresSecurity?: boolean;
readonly supportedCCs: readonly CommandClasses[];
readonly controlledCCs: readonly CommandClasses[];
readonly maySupportBasicCC: boolean;
}
```

Expand Down
4 changes: 4 additions & 0 deletions packages/config/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,8 @@ export class GenericDeviceClass {
// (undocumented)
readonly label: string;
// (undocumented)
readonly maySupportBasicCC: boolean;
// (undocumented)
readonly requiresSecurity?: boolean;
// (undocumented)
readonly specific: ReadonlyMap<number, SpecificDeviceClass>;
Expand Down Expand Up @@ -975,6 +977,8 @@ export class SpecificDeviceClass {
// (undocumented)
readonly label: string;
// (undocumented)
readonly maySupportBasicCC: boolean;
// (undocumented)
readonly requiresSecurity?: boolean;
// (undocumented)
readonly supportedCCs: readonly CommandClasses[];
Expand Down
2 changes: 2 additions & 0 deletions packages/zwave-js/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,9 @@ export class Endpoint implements IZWaveEndpoint {
invokeCCAPI<CC extends CCNameOrId, TMethod extends keyof TAPI, TAPI extends Record<string, (...args: any[]) => any> = CommandClasses_2 extends CC ? any : Omit<CCNameOrId, CommandClasses_2> extends CC ? any : APIMethodsOf<CC>>(cc: CC, method: TMethod, ...args: Parameters<TAPI[TMethod]>): ReturnType<TAPI[TMethod]>;
isCCSecure(cc: CommandClasses_2): boolean;
maybeAddBasicCCAsFallback(): void;
maySupportBasicCC(): boolean;
readonly nodeId: number;
removeBasicCCSupportIfForbidden(): void;
removeCC(cc: CommandClasses_2): void;
protected reset(): void;
supportsCC(cc: CommandClasses_2): boolean;
Expand Down

0 comments on commit e922683

Please sign in to comment.