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

Remove unused proto enum #10

Merged
merged 1 commit into from
Oct 28, 2024
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
52 changes: 2 additions & 50 deletions proto/authcontrol.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 2 additions & 9 deletions proto/authcontrol.gen.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
// access-control v0.1.0 0663b6b5e7ad3ac6e14c16e3ce83f94925816f5c
// access-control v0.1.0 6a54309f1e61a16d610e9179d6cafe4fa4b1e594
// --
// Code generated by [email protected] with [email protected] generator. DO NOT EDIT.
//
Expand All @@ -16,7 +16,7 @@ export const WebRPCVersion = "v1"
export const WebRPCSchemaVersion = "v0.1.0"

// Schema hash generated from your RIDL schema
export const WebRPCSchemaHash = "0663b6b5e7ad3ac6e14c16e3ce83f94925816f5c"
export const WebRPCSchemaHash = "6a54309f1e61a16d610e9179d6cafe4fa4b1e594"

type WebrpcGenVersions = {
webrpcGenVersion: string;
Expand Down Expand Up @@ -81,13 +81,6 @@ export enum SessionType {
Service = 'Service'
}

export enum UserPermission {
UNAUTHORIZED = 'UNAUTHORIZED',
READ = 'READ',
READ_WRITE = 'READ_WRITE',
ADMIN = 'ADMIN'
}



const createHTTPRequest = (body: object = {}, headers: object = {}, signal: AbortSignal | null = null): object => {
Expand Down
6 changes: 0 additions & 6 deletions proto/authcontrol.ridl
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ enum SessionType: uint16
- Admin
- Service

enum UserPermission: uint16
- UNAUTHORIZED
- READ
- READ_WRITE
- ADMIN


error 0001 Unauthorized "Unauthorized access" HTTP 401
error 0002 PermissionDenied "Permission denied" HTTP 403
Expand Down
Loading