Skip to content

Commit

Permalink
remove unused proto (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
klaidliadon authored Oct 28, 2024
1 parent 82b904f commit 86f2003
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 65 deletions.
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

0 comments on commit 86f2003

Please sign in to comment.