UNPKG

@bufbuild/cel-spec

Version:

CEL definitions and test data

45 lines (44 loc) 2.85 kB
// Copyright 2024-2025 Buf Technologies, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; import { file_google_protobuf_any, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt"; /** * Describes the file cel/expr/value.proto. */ export const file_cel_expr_value = /*@__PURE__*/ fileDesc("ChRjZWwvZXhwci92YWx1ZS5wcm90bxIIY2VsLmV4cHIikAMKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFAoKYm9vbF92YWx1ZRgCIAEoCEgAEhUKC2ludDY0X3ZhbHVlGAMgASgDSAASFgoMdWludDY0X3ZhbHVlGAQgASgESAASFgoMZG91YmxlX3ZhbHVlGAUgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAYgASgJSAASFQoLYnl0ZXNfdmFsdWUYByABKAxIABIpCgplbnVtX3ZhbHVlGAkgASgLMhMuY2VsLmV4cHIuRW51bVZhbHVlSAASLAoMb2JqZWN0X3ZhbHVlGAogASgLMhQuZ29vZ2xlLnByb3RvYnVmLkFueUgAEicKCW1hcF92YWx1ZRgLIAEoCzISLmNlbC5leHByLk1hcFZhbHVlSAASKQoKbGlzdF92YWx1ZRgMIAEoCzITLmNlbC5leHByLkxpc3RWYWx1ZUgAEhQKCnR5cGVfdmFsdWUYDyABKAlIAEIGCgRraW5kIigKCUVudW1WYWx1ZRIMCgR0eXBlGAEgASgJEg0KBXZhbHVlGAIgASgFIiwKCUxpc3RWYWx1ZRIfCgZ2YWx1ZXMYASADKAsyDy5jZWwuZXhwci5WYWx1ZSJ8CghNYXBWYWx1ZRIpCgdlbnRyaWVzGAEgAygLMhguY2VsLmV4cHIuTWFwVmFsdWUuRW50cnkaRQoFRW50cnkSHAoDa2V5GAEgASgLMg8uY2VsLmV4cHIuVmFsdWUSHgoFdmFsdWUYAiABKAsyDy5jZWwuZXhwci5WYWx1ZUItCgxkZXYuY2VsLmV4cHJCClZhbHVlUHJvdG9QAVoMY2VsLmRldi9leHBy+AEBYgZwcm90bzM", [file_google_protobuf_any, file_google_protobuf_struct]); /** * Describes the message cel.expr.Value. * Use `create(ValueSchema)` to create a new message. */ export const ValueSchema = /*@__PURE__*/ messageDesc(file_cel_expr_value, 0); /** * Describes the message cel.expr.EnumValue. * Use `create(EnumValueSchema)` to create a new message. */ export const EnumValueSchema = /*@__PURE__*/ messageDesc(file_cel_expr_value, 1); /** * Describes the message cel.expr.ListValue. * Use `create(ListValueSchema)` to create a new message. */ export const ListValueSchema = /*@__PURE__*/ messageDesc(file_cel_expr_value, 2); /** * Describes the message cel.expr.MapValue. * Use `create(MapValueSchema)` to create a new message. */ export const MapValueSchema = /*@__PURE__*/ messageDesc(file_cel_expr_value, 3); /** * Describes the message cel.expr.MapValue.Entry. * Use `create(MapValue_EntrySchema)` to create a new message. */ export const MapValue_EntrySchema = /*@__PURE__*/ messageDesc(file_cel_expr_value, 3, 0);