@bufbuild/cel-spec
Version:
CEL definitions and test data
52 lines (51 loc) • 4.21 kB
JavaScript
// 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_cel_expr_checked } from "../../checked_pb.js";
import { file_cel_expr_eval } from "../../eval_pb.js";
import { file_cel_expr_value } from "../../value_pb.js";
/**
* Describes the file cel/expr/conformance/test/simple.proto.
*/
export const file_cel_expr_conformance_test_simple = /*@__PURE__*/ fileDesc("CiZjZWwvZXhwci9jb25mb3JtYW5jZS90ZXN0L3NpbXBsZS5wcm90bxIZY2VsLmV4cHIuY29uZm9ybWFuY2UudGVzdCJyCg5TaW1wbGVUZXN0RmlsZRIMCgRuYW1lGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEj0KB3NlY3Rpb24YAyADKAsyLC5jZWwuZXhwci5jb25mb3JtYW5jZS50ZXN0LlNpbXBsZVRlc3RTZWN0aW9uImsKEVNpbXBsZVRlc3RTZWN0aW9uEgwKBG5hbWUYASABKAkSEwoLZGVzY3JpcHRpb24YAiABKAkSMwoEdGVzdBgDIAMoCzIlLmNlbC5leHByLmNvbmZvcm1hbmNlLnRlc3QuU2ltcGxlVGVzdCKmBQoKU2ltcGxlVGVzdBIMCgRuYW1lGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEgwKBGV4cHIYAyABKAkSFgoOZGlzYWJsZV9tYWNyb3MYBCABKAgSFQoNZGlzYWJsZV9jaGVjaxgFIAEoCBISCgpjaGVja19vbmx5GA8gASgIEiAKCHR5cGVfZW52GAYgAygLMg4uY2VsLm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", [file_cel_expr_checked, file_cel_expr_eval, file_cel_expr_value]);
/**
* Describes the message cel.expr.conformance.test.SimpleTestFile.
* Use `create(SimpleTestFileSchema)` to create a new message.
*/
export const SimpleTestFileSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_test_simple, 0);
/**
* Describes the message cel.expr.conformance.test.SimpleTestSection.
* Use `create(SimpleTestSectionSchema)` to create a new message.
*/
export const SimpleTestSectionSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_test_simple, 1);
/**
* Describes the message cel.expr.conformance.test.SimpleTest.
* Use `create(SimpleTestSchema)` to create a new message.
*/
export const SimpleTestSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_test_simple, 2);
/**
* Describes the message cel.expr.conformance.test.TypedResult.
* Use `create(TypedResultSchema)` to create a new message.
*/
export const TypedResultSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_test_simple, 3);
/**
* Describes the message cel.expr.conformance.test.ErrorSetMatcher.
* Use `create(ErrorSetMatcherSchema)` to create a new message.
*/
export const ErrorSetMatcherSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_test_simple, 4);
/**
* Describes the message cel.expr.conformance.test.UnknownSetMatcher.
* Use `create(UnknownSetMatcherSchema)` to create a new message.
*/
export const UnknownSetMatcherSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_test_simple, 5);