@bufbuild/cel-spec
Version:
CEL definitions and test data
56 lines (55 loc) • 4.39 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_google_protobuf_descriptor, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
/**
* Describes the file cel/expr/conformance/env_config.proto.
*/
export const file_cel_expr_conformance_env_config = /*@__PURE__*/ fileDesc("CiVjZWwvZXhwci9jb25mb3JtYW5jZS9lbnZfY29uZmlnLnByb3RvEhRjZWwuZXhwci5jb25mb3JtYW5jZSKSBQoLRW52aXJvbm1lbnQSDAoEbmFtZRgBIAEoCRITCgtkZXNjcmlwdGlvbhgCIAEoCRIRCgljb250YWluZXIYAyABKAkSOQoHaW1wb3J0cxgEIAMoCzIoLmNlbC5leHByLmNvbmZvcm1hbmNlLkVudmlyb25tZW50LkltcG9ydBIzCgZzdGRsaWIYBSABKAsyIy5jZWwuZXhwci5jb25mb3JtYW5jZS5MaWJyYXJ5U3Vic2V0EjMKCmV4dGVuc2lvbnMYBiADKAsyHy5jZWwuZXhwci5jb25mb3JtYW5jZS5FeHRlbnNpb24SSwoQY29udGV4dF92YXJpYWJsZRgHIAEoCzIxLmNlbC5leHByLmNvbmZvcm1hbmNlLkVudmlyb25tZW50LkNvbnRleHRWYXJpYWJsZRIkCgxkZWNsYXJhdGlvbnMYCCADKAsyDi5jZWwuZXhwci5EZWNsEjMKCnZhbGlkYXRvcnMYCSADKAsyHy5jZWwuZXhwci5jb25mb3JtYW5jZS5WYWxpZGF0b3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_descriptor]);
/**
* Describes the message cel.expr.conformance.Environment.
* Use `create(EnvironmentSchema)` to create a new message.
*/
export const EnvironmentSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_env_config, 0);
/**
* Describes the message cel.expr.conformance.Environment.Import.
* Use `create(Environment_ImportSchema)` to create a new message.
*/
export const Environment_ImportSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_env_config, 0, 0);
/**
* Describes the message cel.expr.conformance.Environment.ContextVariable.
* Use `create(Environment_ContextVariableSchema)` to create a new message.
*/
export const Environment_ContextVariableSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_env_config, 0, 1);
/**
* Describes the message cel.expr.conformance.Validator.
* Use `create(ValidatorSchema)` to create a new message.
*/
export const ValidatorSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_env_config, 1);
/**
* Describes the message cel.expr.conformance.Feature.
* Use `create(FeatureSchema)` to create a new message.
*/
export const FeatureSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_env_config, 2);
/**
* Describes the message cel.expr.conformance.Extension.
* Use `create(ExtensionSchema)` to create a new message.
*/
export const ExtensionSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_env_config, 3);
/**
* Describes the message cel.expr.conformance.LibrarySubset.
* Use `create(LibrarySubsetSchema)` to create a new message.
*/
export const LibrarySubsetSchema = /*@__PURE__*/ messageDesc(file_cel_expr_conformance_env_config, 4);