UNPKG

@cerbos/core

Version:

Common types used by the @cerbos/grpc, @cerbos/http, and @cerbos/embedded client libraries

16 lines 404 B
export declare const protobufPackage = "cerbos.schema.v1"; export interface ValidationError { path: string; message: string; source: ValidationError_Source; } export declare enum ValidationError_Source { SOURCE_UNSPECIFIED = 0, SOURCE_PRINCIPAL = 1, SOURCE_RESOURCE = 2 } export interface Schema { id: string; definition: Uint8Array; } //# sourceMappingURL=schema.d.ts.map