| 1 |
// Copyright 2021-2026 Buf Technologies, Inc. |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
/** |
| 15 |
* @private |
| 16 |
*/ |
| 17 |
export const packageName = "@bufbuild/protobuf"; |
| 18 |
/** |
| 19 |
* @private |
| 20 |
*/ |
| 21 |
export const wktPublicImportPaths = { |
| 22 |
"google/protobuf/compiler/plugin.proto": packageName + "/wkt", |
| 23 |
"google/protobuf/any.proto": packageName + "/wkt", |
| 24 |
"google/protobuf/api.proto": packageName + "/wkt", |
| 25 |
"google/protobuf/cpp_features.proto": packageName + "/wkt", |
| 26 |
"google/protobuf/descriptor.proto": packageName + "/wkt", |
| 27 |
"google/protobuf/duration.proto": packageName + "/wkt", |
| 28 |
"google/protobuf/empty.proto": packageName + "/wkt", |
| 29 |
"google/protobuf/field_mask.proto": packageName + "/wkt", |
| 30 |
"google/protobuf/go_features.proto": packageName + "/wkt", |
| 31 |
"google/protobuf/java_features.proto": packageName + "/wkt", |
| 32 |
"google/protobuf/source_context.proto": packageName + "/wkt", |
| 33 |
"google/protobuf/struct.proto": packageName + "/wkt", |
| 34 |
"google/protobuf/timestamp.proto": packageName + "/wkt", |
| 35 |
"google/protobuf/type.proto": packageName + "/wkt", |
| 36 |
"google/protobuf/wrappers.proto": packageName + "/wkt", |
| 37 |
}; |
| 38 |
/** |
| 39 |
* @private |
| 40 |
*/ |
| 41 |
// biome-ignore format: want this to read well |
| 42 |
export const symbols = { |
| 43 |
isMessage: { typeOnly: false, bootstrapWktFrom: "../../is-message.js", from: packageName }, |
| 44 |
Message: { typeOnly: true, bootstrapWktFrom: "../../types.js", from: packageName }, |
| 45 |
create: { typeOnly: false, bootstrapWktFrom: "../../create.js", from: packageName }, |
| 46 |
fromJson: { typeOnly: false, bootstrapWktFrom: "../../from-json.js", from: packageName }, |
| 47 |
fromJsonString: { typeOnly: false, bootstrapWktFrom: "../../from-json.js", from: packageName }, |
| 48 |
fromBinary: { typeOnly: false, bootstrapWktFrom: "../../from-binary.js", from: packageName }, |
| 49 |
toBinary: { typeOnly: false, bootstrapWktFrom: "../../to-binary.js", from: packageName }, |
| 50 |
toJson: { typeOnly: false, bootstrapWktFrom: "../../to-json.js", from: packageName }, |
| 51 |
toJsonString: { typeOnly: false, bootstrapWktFrom: "../../to-json.js", from: packageName }, |
| 52 |
protoInt64: { typeOnly: false, bootstrapWktFrom: "../../proto-int64.js", from: packageName }, |
| 53 |
JsonValue: { typeOnly: true, bootstrapWktFrom: "../../json-value.js", from: packageName }, |
| 54 |
JsonObject: { typeOnly: true, bootstrapWktFrom: "../../json-value.js", from: packageName }, |
| 55 |
UnknownEnum: { typeOnly: true, bootstrapWktFrom: "../../types.js", from: packageName }, |
| 56 |
codegen: { |
| 57 |
boot: { typeOnly: false, bootstrapWktFrom: "../../codegenv2/boot.js", from: packageName + "/codegenv2" }, |
| 58 |
fileDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv2/file.js", from: packageName + "/codegenv2" }, |
| 59 |
enumDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv2/enum.js", from: packageName + "/codegenv2" }, |
| 60 |
extDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv2/extension.js", from: packageName + "/codegenv2" }, |
| 61 |
messageDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv2/message.js", from: packageName + "/codegenv2" }, |
| 62 |
serviceDesc: { typeOnly: false, bootstrapWktFrom: "../../codegenv2/service.js", from: packageName + "/codegenv2" }, |
| 63 |
tsEnum: { typeOnly: false, bootstrapWktFrom: "../../codegenv2/enum.js", from: packageName + "/codegenv2" }, |
| 64 |
objEnum: { typeOnly: false, bootstrapWktFrom: "../../codegenv2/enum.js", from: packageName + "/codegenv2" }, |
| 65 |
GenFile: { typeOnly: true, bootstrapWktFrom: "../../codegenv2/types.js", from: packageName + "/codegenv2" }, |
| 66 |
GenEnum: { typeOnly: true, bootstrapWktFrom: "../../codegenv2/types.js", from: packageName + "/codegenv2" }, |
| 67 |
GenExtension: { typeOnly: true, bootstrapWktFrom: "../../codegenv2/types.js", from: packageName + "/codegenv2" }, |
| 68 |
GenMessage: { typeOnly: true, bootstrapWktFrom: "../../codegenv2/types.js", from: packageName + "/codegenv2" }, |
| 69 |
GenService: { typeOnly: true, bootstrapWktFrom: "../../codegenv2/types.js", from: packageName + "/codegenv2" }, |
| 70 |
}, |
| 71 |
}; |