@cerbos/core
Version:
Common types used by the Cerbos client libraries
24 lines (18 loc) • 459 B
text/typescript
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
// source: cerbos/schema/v1/schema.proto
/* eslint-disable */
export const protobufPackage = "cerbos.schema.v1";
export interface ValidationError {
path: string;
message: string;
source: ValidationError_Source;
}
export enum ValidationError_Source {
SOURCE_UNSPECIFIED = 0,
SOURCE_PRINCIPAL = 1,
SOURCE_RESOURCE = 2,
}
export interface Schema {
id: string;
definition: Uint8Array;
}