Skip to content

Commit 889d5d7

Browse files
Make client name field public (#472)
1 parent e3d9df6 commit 889d5d7

File tree

24 files changed

+26
-23
lines changed

24 files changed

+26
-23
lines changed

src/components/arm/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { GetGeometriesRequest } from '../../gen/common/v1/common_pb';
2323
*/
2424
export class ArmClient implements Arm {
2525
private client: PromiseClient<typeof ArmService>;
26-
private readonly name: string;
26+
public readonly name: string;
2727
private readonly options: Options;
2828
public callOptions: CallOptions = { headers: {} as Record<string, string> };
2929

src/components/base/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { GetGeometriesRequest } from '../../gen/common/v1/common_pb';
2323
*/
2424
export class BaseClient implements Base {
2525
private client: PromiseClient<typeof BaseService>;
26-
private readonly name: string;
26+
public readonly name: string;
2727
private readonly options: Options;
2828
public callOptions: CallOptions = { headers: {} as Record<string, string> };
2929

src/components/board/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { type Board, type PowerMode, type Tick } from './board';
2727
*/
2828
export class BoardClient implements Board {
2929
private client: PromiseClient<typeof BoardService>;
30-
private readonly name: string;
30+
public readonly name: string;
3131
private readonly options: Options;
3232
public callOptions: CallOptions = { headers: {} as Record<string, string> };
3333

src/components/button/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type { Button } from './button';
1414
*/
1515
export class ButtonClient implements Button {
1616
private client: PromiseClient<typeof ButtonService>;
17-
private readonly name: string;
17+
public readonly name: string;
1818
private readonly options: Options;
1919
public callOptions: CallOptions = { headers: {} as Record<string, string> };
2020

src/components/camera/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const PointCloudPCD: MimeType = 'pointcloud/pcd';
2222
*/
2323
export class CameraClient implements Camera {
2424
private client: PromiseClient<typeof CameraService>;
25-
private readonly name: string;
25+
public readonly name: string;
2626
private readonly options: Options;
2727
public callOptions: CallOptions = { headers: {} as Record<string, string> };
2828

src/components/encoder/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { EncoderPositionType, type Encoder } from './encoder';
1818
*/
1919
export class EncoderClient implements Encoder {
2020
private client: PromiseClient<typeof EncoderService>;
21-
private readonly name: string;
21+
public readonly name: string;
2222
private readonly options: Options;
2323
public callOptions: CallOptions = { headers: {} as Record<string, string> };
2424

src/components/gantry/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { GetGeometriesRequest } from '../../gen/common/v1/common_pb';
2222
*/
2323
export class GantryClient implements Gantry {
2424
private client: PromiseClient<typeof GantryService>;
25-
private readonly name: string;
25+
public readonly name: string;
2626
private readonly options: Options;
2727
public callOptions: CallOptions = { headers: {} as Record<string, string> };
2828

src/components/generic/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { GetGeometriesRequest } from '../../gen/common/v1/common_pb';
1414
*/
1515
export class GenericClient implements Generic {
1616
private client: PromiseClient<typeof GenericService>;
17-
private readonly name: string;
17+
public readonly name: string;
1818
private readonly options: Options;
1919
public callOptions: CallOptions = { headers: {} as Record<string, string> };
2020

src/components/gripper/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { GetGeometriesRequest } from '../../gen/common/v1/common_pb';
2020
*/
2121
export class GripperClient implements Gripper {
2222
private client: PromiseClient<typeof GripperService>;
23-
private readonly name: string;
23+
public readonly name: string;
2424
private readonly options: Options;
2525
public callOptions: CallOptions = { headers: {} as Record<string, string> };
2626

src/components/input-controller/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import type { InputController, InputControllerEvent } from './input-controller';
1818
*/
1919
export class InputControllerClient implements InputController {
2020
private client: PromiseClient<typeof InputControllerService>;
21-
private readonly name: string;
21+
public readonly name: string;
2222
private readonly options: Options;
2323
public callOptions: CallOptions = { headers: {} as Record<string, string> };
2424

0 commit comments

Comments
 (0)