Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
chore: fix eslint and typecheck issues
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
  • Loading branch information
galexrt committed Nov 6, 2023
1 parent ac13025 commit 5334b0d
Show file tree
Hide file tree
Showing 49 changed files with 545 additions and 703 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Checkout the [configuration documentation here](docs/configuration.md).
* Run server: `make run-server`
* Installing the frontend dependencies: `yarn`
* Run frontend dev server: `yarn dev`
* Run type check for frotnend: `yarn typecheck`

### VSCode/Codium Users

Expand All @@ -47,6 +48,7 @@ For running the data-control-center a kubeconfig file is currently required. A [
* Must run `prettier` format on any changed files. For Codium/VSCode users that should automatically be configured due to the settings in [`.vscode/` folder](.vscode/).
* Protobuf files: Must follow the [Protobuf Style Guide - buf](https://buf.build/docs/best-practices/style-guide).
* ESLint is used for style checking.
* Use Nuxt3 components/wrappers were it makes sense.

## License

Expand Down
12 changes: 6 additions & 6 deletions api/services/ceph/v1/ceph.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ option go_package = "github.com/koor-tech/data-control-center/gen/go/api/service
message GetCephUsersRequest {}

message GetCephUsersResponse {
repeated api.resources.ceph.v1.User cephUsers = 1;
repeated api.resources.ceph.v1.User ceph_users = 1;
}

message CreatCephUsersRequest {
api.resources.ceph.v1.User cephUser = 1;
message CreateCephUsersRequest {
api.resources.ceph.v1.User ceph_user = 1;
}

message CephUsersResponse {
api.resources.ceph.v1.User cephUser = 1;
message CreateCephUsersResponse {
api.resources.ceph.v1.User ceph_user = 1;
}

service CephService {
rpc GetCephUsers(GetCephUsersRequest) returns (GetCephUsersResponse) {}
rpc CreateCephUsers(CreatCephUsersRequest) returns (CephUsersResponse) {}
rpc CreateCephUsers(CreateCephUsersRequest) returns (CreateCephUsersResponse) {}
}
20 changes: 10 additions & 10 deletions docs/grpc-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
- [AuthService](#api-services-auth-v1-AuthService)

- [api/services/ceph/v1/ceph.proto](#api_services_ceph_v1_ceph-proto)
- [CephUsersResponse](#api-services-ceph-v1-CephUsersResponse)
- [CreatCephUsersRequest](#api-services-ceph-v1-CreatCephUsersRequest)
- [CreateCephUsersRequest](#api-services-ceph-v1-CreateCephUsersRequest)
- [CreateCephUsersResponse](#api-services-ceph-v1-CreateCephUsersResponse)
- [GetCephUsersRequest](#api-services-ceph-v1-GetCephUsersRequest)
- [GetCephUsersResponse](#api-services-ceph-v1-GetCephUsersResponse)

Expand Down Expand Up @@ -848,30 +848,30 @@ https://golang.org/pkg/database/sql/driver/#Valuer



<a name="api-services-ceph-v1-CephUsersResponse"></a>
<a name="api-services-ceph-v1-CreateCephUsersRequest"></a>

### CephUsersResponse
### CreateCephUsersRequest



| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| cephUser | [api.resources.ceph.v1.User](#api-resources-ceph-v1-User) | | |
| ceph_user | [api.resources.ceph.v1.User](#api-resources-ceph-v1-User) | | |






<a name="api-services-ceph-v1-CreatCephUsersRequest"></a>
<a name="api-services-ceph-v1-CreateCephUsersResponse"></a>

### CreatCephUsersRequest
### CreateCephUsersResponse



| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| cephUser | [api.resources.ceph.v1.User](#api-resources-ceph-v1-User) | | |
| ceph_user | [api.resources.ceph.v1.User](#api-resources-ceph-v1-User) | | |



Expand All @@ -896,7 +896,7 @@ https://golang.org/pkg/database/sql/driver/#Valuer

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| cephUsers | [api.resources.ceph.v1.User](#api-resources-ceph-v1-User) | repeated | |
| ceph_users | [api.resources.ceph.v1.User](#api-resources-ceph-v1-User) | repeated | |



Expand All @@ -917,7 +917,7 @@ https://golang.org/pkg/database/sql/driver/#Valuer
| Method Name | Request Type | Response Type | Description |
| ----------- | ------------ | ------------- | ------------|
| GetCephUsers | [GetCephUsersRequest](#api-services-ceph-v1-GetCephUsersRequest) | [GetCephUsersResponse](#api-services-ceph-v1-GetCephUsersResponse) | |
| CreateCephUsers | [CreatCephUsersRequest](#api-services-ceph-v1-CreatCephUsersRequest) | [CephUsersResponse](#api-services-ceph-v1-CephUsersResponse) | |
| CreateCephUsers | [CreateCephUsersRequest](#api-services-ceph-v1-CreateCephUsersRequest) | [CreateCephUsersResponse](#api-services-ceph-v1-CreateCephUsersResponse) | |



Expand Down
153 changes: 77 additions & 76 deletions gen/go/api/services/ceph/v1/ceph.pb.go

Large diffs are not rendered by default.

Loading

0 comments on commit 5334b0d

Please sign in to comment.