@bufbuild/cel-spec
Version:
CEL definitions and test data
55 lines (54 loc) • 4.58 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.UnknownSetMatcherSchema = exports.ErrorSetMatcherSchema = exports.TypedResultSchema = exports.SimpleTestSchema = exports.SimpleTestSectionSchema = exports.SimpleTestFileSchema = exports.file_cel_expr_conformance_test_simple = 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");
/**
* Describes the file cel/expr/conformance/test/simple.proto.
*/
exports.file_cel_expr_conformance_test_simple = (0, codegenv2_1.fileDesc)("CiZjZWwvZXhwci9jb25mb3JtYW5jZS90ZXN0L3NpbXBsZS5wcm90bxIZY2VsLmV4cHIuY29uZm9ybWFuY2UudGVzdCJyCg5TaW1wbGVUZXN0RmlsZRIMCgRuYW1lGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEj0KB3NlY3Rpb24YAyADKAsyLC5jZWwuZXhwci5jb25mb3JtYW5jZS50ZXN0LlNpbXBsZVRlc3RTZWN0aW9uImsKEVNpbXBsZVRlc3RTZWN0aW9uEgwKBG5hbWUYASABKAkSEwoLZGVzY3JpcHRpb24YAiABKAkSMwoEdGVzdBgDIAMoCzIlLmNlbC5leHByLmNvbmZvcm1hbmNlLnRlc3QuU2ltcGxlVGVzdCKmBQoKU2ltcGxlVGVzdBIMCgRuYW1lGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgAS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IULmNlbC5leHByLlVua25vd25TZXRCUAodZGV2LmNlbC5leHByLmNvbmZvcm1hbmNlLnRlc3RCC1NpbXBsZVByb3RvUAFaHWNlbC5kZXYvZXhwci9jb25mb3JtYW5jZS90ZXN0+AEBYgZwcm90bzM", [checked_pb_js_1.file_cel_expr_checked, eval_pb_js_1.file_cel_expr_eval, value_pb_js_1.file_cel_expr_value]);
/**
* Describes the message cel.expr.conformance.test.SimpleTestFile.
* Use `create(SimpleTestFileSchema)` to create a new message.
*/
exports.SimpleTestFileSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_simple, 0);
/**
* Describes the message cel.expr.conformance.test.SimpleTestSection.
* Use `create(SimpleTestSectionSchema)` to create a new message.
*/
exports.SimpleTestSectionSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_simple, 1);
/**
* Describes the message cel.expr.conformance.test.SimpleTest.
* Use `create(SimpleTestSchema)` to create a new message.
*/
exports.SimpleTestSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_simple, 2);
/**
* Describes the message cel.expr.conformance.test.TypedResult.
* Use `create(TypedResultSchema)` to create a new message.
*/
exports.TypedResultSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_simple, 3);
/**
* Describes the message cel.expr.conformance.test.ErrorSetMatcher.
* Use `create(ErrorSetMatcherSchema)` to create a new message.
*/
exports.ErrorSetMatcherSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_simple, 4);
/**
* Describes the message cel.expr.conformance.test.UnknownSetMatcher.
* Use `create(UnknownSetMatcherSchema)` to create a new message.
*/
exports.UnknownSetMatcherSchema = (0, codegenv2_1.messageDesc)(exports.file_cel_expr_conformance_test_simple, 5);