@cerbos/core
Version:
Common types used by the Cerbos client libraries
27 lines (22 loc) • 627 B
text/typescript
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
// source: google/api/http.proto
/* eslint-disable */
export const protobufPackage = "google.api";
export interface HttpRule {
selector: string;
pattern?:
| { $case: "get"; get: string }
| { $case: "put"; put: string }
| { $case: "post"; post: string }
| { $case: "delete"; delete: string }
| { $case: "patch"; patch: string }
| { $case: "custom"; custom: CustomHttpPattern }
| undefined;
body: string;
responseBody: string;
additionalBindings: HttpRule[];
}
export interface CustomHttpPattern {
kind: string;
path: string;
}