@bufbuild/cel-spec
Version:
CEL definitions and test data
57 lines (56 loc) • 4.54 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.
Object.defineProperty(exports, "__esModule", { value: true });
exports.TestOutputSchema = exports.InputValueSchema = exports.InputContextSchema = exports.TestCaseSchema = exports.TestSectionSchema = exports.TestSuiteSchema = exports.file_cel_expr_conformance_test_suite = void 0;
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
const checked_pb_js_1 = require("../../checked_pb.js");
const eval_pb_js_1 = require("../../eval_pb.js");
const value_pb_js_1 = require("../../value_pb.js");
const env_config_pb_js_1 = require("../env_config_pb.js");
const wkt_1 = require("@bufbuild/protobuf/wkt");
/**
* Describes the file cel/expr/conformance/test/suite.proto.
*/
exports.file_cel_expr_conformance_test_suite = (0, codegenv2_1.fileDesc)("CiVjZWwvZXhwci9jb25mb3JtYW5jZS90ZXN0L3N1aXRlLnByb3RvEhljZWwuZXhwci5jb25mb3JtYW5jZS50ZXN0ImgKCVRlc3RTdWl0ZRIMCgRuYW1lGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEjgKCHNlY3Rpb25zGAMgAygLMiYuY2VsLmV4cHIuY29uZm9ybWFuY2UudGVzdC5UZXN0U2VjdGlvbiJkCgtUZXN0U2VjdGlvbhIMCgRuYW1lGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEjIKBXRlc3RzGAMgAygLMiMuY2VsLmV4cHIuY29uZm9ybWFuY2UudGVzdC5UZXN0Q2FzZSKzAwoIVGVzdENhc2USDAoEbmFtZRgBIAEoCRITCgtkZXNjcmlwdG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9ybWFuY2UvdGVzdPgBAWIGcHJvdG8z", [checked_pb_js_1.file_cel_expr_checked, eval_pb_js_1.file_cel_expr_eval, value_pb_js_1.file_cel_expr_value, env_config_pb_js_1.file_cel_expr_conformance_env_config, wkt_1.file_google_protobuf_any]);
/**
* Describes the message cel.expr.conformance.test.TestSuite.
* Use `create(TestSuiteSchema)` to create a new message.
*/
exports.TestSuiteSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_suite, 0);
/**
* Describes the message cel.expr.conformance.test.TestSection.
* Use `create(TestSectionSchema)` to create a new message.
*/
exports.TestSectionSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_suite, 1);
/**
* Describes the message cel.expr.conformance.test.TestCase.
* Use `create(TestCaseSchema)` to create a new message.
*/
exports.TestCaseSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_suite, 2);
/**
* Describes the message cel.expr.conformance.test.InputContext.
* Use `create(InputContextSchema)` to create a new message.
*/
exports.InputContextSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_suite, 3);
/**
* Describes the message cel.expr.conformance.test.InputValue.
* Use `create(InputValueSchema)` to create a new message.
*/
exports.InputValueSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_suite, 4);
/**
* Describes the message cel.expr.conformance.test.TestOutput.
* Use `create(TestOutputSchema)` to create a new message.
*/
exports.TestOutputSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_suite, 5);