@bufbuild/protobuf 0.0.5 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/binary-encoding.js +2 -2
- package/dist/cjs/descriptor-registry.js +18 -60
- package/dist/cjs/descriptor-set.js +15 -37
- package/dist/cjs/google/protobuf/any_pb.js +11 -8
- package/dist/cjs/google/protobuf/api_pb.js +19 -18
- package/dist/cjs/google/protobuf/compiler/plugin_pb.js +23 -22
- package/dist/cjs/google/protobuf/descriptor_pb.js +149 -148
- package/dist/cjs/google/protobuf/duration_pb.js +14 -12
- package/dist/cjs/google/protobuf/empty_pb.js +7 -6
- package/dist/cjs/google/protobuf/field_mask_pb.js +8 -7
- package/dist/cjs/google/protobuf/source_context_pb.js +7 -6
- package/dist/cjs/google/protobuf/struct_pb.js +26 -22
- package/dist/cjs/google/protobuf/timestamp_pb.js +12 -10
- package/dist/cjs/google/protobuf/type_pb.js +37 -33
- package/dist/cjs/google/protobuf/wrappers_pb.js +69 -66
- package/dist/cjs/index.js +40 -4
- package/dist/cjs/message.js +2 -1
- package/dist/cjs/private/binary-format-common.js +4 -3
- package/dist/cjs/private/binary-format-proto2.js +3 -6
- package/dist/cjs/private/binary-format-proto3.js +2 -5
- package/dist/cjs/private/enum.js +1 -1
- package/dist/cjs/private/json-format-common.js +6 -5
- package/dist/cjs/private/message-type.js +2 -1
- package/dist/cjs/proto-int64.js +1 -1
- package/dist/cjs/proto2.js +6 -8
- package/dist/cjs/proto3.js +9 -12
- package/dist/esm/binary-encoding.js +2 -2
- package/dist/esm/descriptor-registry.js +18 -60
- package/dist/esm/descriptor-set.js +15 -37
- package/dist/esm/google/protobuf/any_pb.js +6 -3
- package/dist/esm/google/protobuf/api_pb.js +2 -1
- package/dist/esm/google/protobuf/compiler/plugin_pb.js +2 -1
- package/dist/esm/google/protobuf/descriptor_pb.js +2 -1
- package/dist/esm/google/protobuf/duration_pb.js +4 -2
- package/dist/esm/google/protobuf/empty_pb.js +2 -1
- package/dist/esm/google/protobuf/field_mask_pb.js +2 -1
- package/dist/esm/google/protobuf/source_context_pb.js +2 -1
- package/dist/esm/google/protobuf/struct_pb.js +6 -2
- package/dist/esm/google/protobuf/timestamp_pb.js +3 -1
- package/dist/esm/google/protobuf/type_pb.js +5 -1
- package/dist/esm/google/protobuf/wrappers_pb.js +4 -1
- package/dist/esm/index.js +25 -4
- package/dist/esm/message.js +2 -1
- package/dist/esm/private/binary-format-common.js +4 -3
- package/dist/esm/private/binary-format-proto2.js +3 -6
- package/dist/esm/private/binary-format-proto3.js +2 -5
- package/dist/esm/private/enum.js +1 -1
- package/dist/esm/private/json-format-common.js +6 -5
- package/dist/esm/private/message-type.js +2 -1
- package/dist/esm/proto-int64.js +1 -1
- package/dist/esm/proto2.js +6 -8
- package/dist/esm/proto3.js +9 -12
- package/dist/protobuf.cjs +2 -0
- package/dist/protobuf.cjs.map +1 -0
- package/dist/protobuf.esm.js +2 -0
- package/dist/protobuf.esm.js.map +1 -0
- package/dist/protobuf.modern.js +2 -0
- package/dist/protobuf.modern.js.map +1 -0
- package/dist/types/google/protobuf/any_pb.d.ts +6 -2
- package/dist/types/google/protobuf/api_pb.d.ts +5 -2
- package/dist/types/google/protobuf/compiler/plugin_pb.d.ts +5 -2
- package/dist/types/google/protobuf/descriptor_pb.d.ts +5 -2
- package/dist/types/google/protobuf/duration_pb.d.ts +5 -2
- package/dist/types/google/protobuf/empty_pb.d.ts +5 -2
- package/dist/types/google/protobuf/field_mask_pb.d.ts +5 -2
- package/dist/types/google/protobuf/source_context_pb.d.ts +5 -2
- package/dist/types/google/protobuf/struct_pb.d.ts +5 -2
- package/dist/types/google/protobuf/timestamp_pb.d.ts +5 -2
- package/dist/types/google/protobuf/type_pb.d.ts +5 -2
- package/dist/types/google/protobuf/wrappers_pb.d.ts +5 -2
- package/dist/types/index.d.ts +31 -2
- package/package.json +3 -2
- package/dist/cjs/index-runtime.js +0 -42
- package/dist/cjs/index-wkt.js +0 -42
- package/dist/esm/index-runtime.js +0 -25
- package/dist/esm/index-wkt.js +0 -26
- package/dist/types/index-runtime.d.ts +0 -19
- package/dist/types/index-wkt.d.ts +0 -12
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../message.js";
|
|
2
|
+
import { Message } from "../../message.js";
|
|
3
|
+
import type { JsonReadOptions, JsonValue, JsonWriteOptions } from "../../json-format.js";
|
|
4
|
+
import type { MessageType } from "../../message-type.js";
|
|
5
|
+
import type { FieldList } from "../../field-list.js";
|
|
6
|
+
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
3
7
|
/**
|
|
4
8
|
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
5
9
|
* URL that describes the type of the serialized message.
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../message.js";
|
|
2
|
+
import { Message } from "../../message.js";
|
|
3
3
|
import { Option, Syntax } from "./type_pb.js";
|
|
4
4
|
import { SourceContext } from "./source_context_pb.js";
|
|
5
|
+
import type { FieldList } from "../../field-list.js";
|
|
6
|
+
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
7
|
+
import type { JsonReadOptions, JsonValue } from "../../json-format.js";
|
|
5
8
|
/**
|
|
6
9
|
* Api is a light-weight descriptor for an API Interface.
|
|
7
10
|
*
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../../message.js";
|
|
2
|
+
import { Message } from "../../../message.js";
|
|
3
|
+
import type { FieldList } from "../../../field-list.js";
|
|
4
|
+
import type { BinaryReadOptions } from "../../../binary-format.js";
|
|
5
|
+
import type { JsonReadOptions, JsonValue } from "../../../json-format.js";
|
|
3
6
|
import { FileDescriptorProto, GeneratedCodeInfo } from "../descriptor_pb.js";
|
|
4
7
|
/**
|
|
5
8
|
* The version number of protocol compiler.
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../message.js";
|
|
2
|
+
import { Message } from "../../message.js";
|
|
3
|
+
import type { FieldList } from "../../field-list.js";
|
|
4
|
+
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
5
|
+
import type { JsonReadOptions, JsonValue } from "../../json-format.js";
|
|
3
6
|
/**
|
|
4
7
|
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
|
5
8
|
* files it parses.
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../message.js";
|
|
2
|
+
import { Message } from "../../message.js";
|
|
3
|
+
import type { JsonReadOptions, JsonValue, JsonWriteOptions } from "../../json-format.js";
|
|
4
|
+
import type { FieldList } from "../../field-list.js";
|
|
5
|
+
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
3
6
|
/**
|
|
4
7
|
* A Duration represents a signed, fixed-length span of time represented
|
|
5
8
|
* as a count of seconds and fractions of seconds at nanosecond
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../message.js";
|
|
2
|
+
import { Message } from "../../message.js";
|
|
3
|
+
import type { FieldList } from "../../field-list.js";
|
|
4
|
+
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
5
|
+
import type { JsonReadOptions, JsonValue } from "../../json-format.js";
|
|
3
6
|
/**
|
|
4
7
|
* A generic empty message that you can re-use to avoid defining duplicated
|
|
5
8
|
* empty messages in your APIs. A typical example is to use it as the request
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../message.js";
|
|
2
|
+
import { Message } from "../../message.js";
|
|
3
|
+
import type { JsonReadOptions, JsonValue, JsonWriteOptions } from "../../json-format.js";
|
|
4
|
+
import type { FieldList } from "../../field-list.js";
|
|
5
|
+
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
3
6
|
/**
|
|
4
7
|
* `FieldMask` represents a set of symbolic field paths, for example:
|
|
5
8
|
*
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../message.js";
|
|
2
|
+
import { Message } from "../../message.js";
|
|
3
|
+
import type { FieldList } from "../../field-list.js";
|
|
4
|
+
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
5
|
+
import type { JsonReadOptions, JsonValue } from "../../json-format.js";
|
|
3
6
|
/**
|
|
4
7
|
* `SourceContext` represents information about the source of a
|
|
5
8
|
* protobuf element, like the file in which it is defined.
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../message.js";
|
|
2
|
+
import { Message } from "../../message.js";
|
|
3
|
+
import type { JsonReadOptions, JsonValue, JsonWriteOptions } from "../../json-format.js";
|
|
4
|
+
import type { FieldList } from "../../field-list.js";
|
|
5
|
+
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
3
6
|
/**
|
|
4
7
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
5
8
|
* `Value` type union.
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../message.js";
|
|
2
|
+
import { Message } from "../../message.js";
|
|
3
|
+
import type { JsonReadOptions, JsonValue, JsonWriteOptions } from "../../json-format.js";
|
|
4
|
+
import type { FieldList } from "../../field-list.js";
|
|
5
|
+
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
3
6
|
/**
|
|
4
7
|
* A Timestamp represents a point in time independent of any time zone or local
|
|
5
8
|
* calendar, encoded as a count of seconds and fractions of seconds at
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../message.js";
|
|
2
|
+
import { Message } from "../../message.js";
|
|
3
3
|
import { SourceContext } from "./source_context_pb.js";
|
|
4
|
+
import type { FieldList } from "../../field-list.js";
|
|
5
|
+
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
6
|
+
import type { JsonReadOptions, JsonValue } from "../../json-format.js";
|
|
4
7
|
import { Any } from "./any_pb.js";
|
|
5
8
|
/**
|
|
6
9
|
* The syntax in which a protocol buffer element is defined.
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { Message } from "../../
|
|
1
|
+
import type { PartialMessage, PlainMessage } from "../../message.js";
|
|
2
|
+
import { Message } from "../../message.js";
|
|
3
|
+
import type { JsonReadOptions, JsonValue, JsonWriteOptions } from "../../json-format.js";
|
|
4
|
+
import type { FieldList } from "../../field-list.js";
|
|
5
|
+
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
3
6
|
/**
|
|
4
7
|
* Wrapper message for `double`.
|
|
5
8
|
*
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,31 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { proto3 } from "./proto3.js";
|
|
2
|
+
export { proto2 } from "./proto2.js";
|
|
3
|
+
export { protoInt64 } from "./proto-int64.js";
|
|
4
|
+
export { protoBase64 } from "./proto-base64.js";
|
|
5
|
+
export { Message, AnyMessage, PartialMessage, PlainMessage, } from "./message.js";
|
|
6
|
+
export type { FieldInfo } from "./field.js";
|
|
7
|
+
export type { FieldList } from "./field-list.js";
|
|
8
|
+
export { ScalarType } from "./field.js";
|
|
9
|
+
export type { MessageType } from "./message-type.js";
|
|
10
|
+
export type { EnumType, EnumValueInfo } from "./enum.js";
|
|
11
|
+
export type { ServiceType, MethodInfo, MethodInfoUnary, MethodInfoServerStreaming, MethodInfoClientStreaming, MethodInfoBiDiStreaming, } from "./service-type.js";
|
|
12
|
+
export { MethodKind, MethodIdempotency } from "./service-type.js";
|
|
13
|
+
export { TypeRegistry, IMessageTypeRegistry } from "./type-registry.js";
|
|
14
|
+
export { DescriptorRegistry } from "./descriptor-registry.js";
|
|
15
|
+
export { DescriptorSet } from "./descriptor-set.js";
|
|
16
|
+
export { WireType, BinaryWriter, BinaryReader } from "./binary-encoding.js";
|
|
17
|
+
export type { IBinaryReader, IBinaryWriter } from "./binary-encoding.js";
|
|
18
|
+
export type { BinaryFormat, BinaryWriteOptions, BinaryReadOptions, } from "./binary-format.js";
|
|
19
|
+
export { JsonFormat, JsonObject, JsonValue, JsonReadOptions, JsonWriteOptions, JsonWriteStringOptions, } from "./json-format.js";
|
|
20
|
+
export * from "./google/protobuf/compiler/plugin_pb.js";
|
|
21
|
+
export * from "./google/protobuf/api_pb.js";
|
|
22
|
+
export * from "./google/protobuf/any_pb.js";
|
|
23
|
+
export * from "./google/protobuf/descriptor_pb.js";
|
|
24
|
+
export * from "./google/protobuf/duration_pb.js";
|
|
25
|
+
export * from "./google/protobuf/empty_pb.js";
|
|
26
|
+
export * from "./google/protobuf/field_mask_pb.js";
|
|
27
|
+
export * from "./google/protobuf/source_context_pb.js";
|
|
28
|
+
export * from "./google/protobuf/struct_pb.js";
|
|
29
|
+
export * from "./google/protobuf/timestamp_pb.js";
|
|
30
|
+
export * from "./google/protobuf/type_pb.js";
|
|
31
|
+
export * from "./google/protobuf/wrappers_pb.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bufbuild/protobuf",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"license": "(Apache-2.0 AND BSD-3-Clause)",
|
|
5
5
|
"description": "A complete implementation of protocol buffers in TypeScript, suitable for web browsers and Node.js.",
|
|
6
6
|
"repository": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"build:cjs": "npx tsc --project tsconfig.json --module commonjs --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
|
|
16
16
|
"build:esm+types": "npx tsc --project tsconfig.json --module ES2015 --outDir ./dist/esm --declaration --declarationDir ./dist/types"
|
|
17
17
|
},
|
|
18
|
+
"main": "./dist/esm/index.js",
|
|
18
19
|
"type": "module",
|
|
19
20
|
"types": "./dist/types/index.d.ts",
|
|
20
21
|
"exports": {
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
"default": "./dist/esm/index.js"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
|
-
"typescript": "^4.7.
|
|
27
|
+
"typescript": "^4.7.4"
|
|
27
28
|
},
|
|
28
29
|
"files": [
|
|
29
30
|
"dist/**/"
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2021-2022 Buf Technologies, Inc.
|
|
3
|
-
//
|
|
4
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
// you may not use this file except in compliance with the License.
|
|
6
|
-
// You may obtain a copy of the License at
|
|
7
|
-
//
|
|
8
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
//
|
|
10
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
// See the License for the specific language governing permissions and
|
|
14
|
-
// limitations under the License.
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.BinaryReader = exports.BinaryWriter = exports.WireType = exports.DescriptorSet = exports.DescriptorRegistry = exports.TypeRegistry = exports.MethodIdempotency = exports.MethodKind = exports.ScalarType = exports.Message = exports.protoBase64 = exports.protoInt64 = exports.proto2 = exports.proto3 = void 0;
|
|
17
|
-
var proto3_js_1 = require("./proto3.js");
|
|
18
|
-
Object.defineProperty(exports, "proto3", { enumerable: true, get: function () { return proto3_js_1.proto3; } });
|
|
19
|
-
var proto2_js_1 = require("./proto2.js");
|
|
20
|
-
Object.defineProperty(exports, "proto2", { enumerable: true, get: function () { return proto2_js_1.proto2; } });
|
|
21
|
-
var proto_int64_js_1 = require("./proto-int64.js");
|
|
22
|
-
Object.defineProperty(exports, "protoInt64", { enumerable: true, get: function () { return proto_int64_js_1.protoInt64; } });
|
|
23
|
-
var proto_base64_js_1 = require("./proto-base64.js");
|
|
24
|
-
Object.defineProperty(exports, "protoBase64", { enumerable: true, get: function () { return proto_base64_js_1.protoBase64; } });
|
|
25
|
-
var message_js_1 = require("./message.js");
|
|
26
|
-
Object.defineProperty(exports, "Message", { enumerable: true, get: function () { return message_js_1.Message; } });
|
|
27
|
-
var field_js_1 = require("./field.js");
|
|
28
|
-
Object.defineProperty(exports, "ScalarType", { enumerable: true, get: function () { return field_js_1.ScalarType; } });
|
|
29
|
-
var service_type_js_1 = require("./service-type.js");
|
|
30
|
-
Object.defineProperty(exports, "MethodKind", { enumerable: true, get: function () { return service_type_js_1.MethodKind; } });
|
|
31
|
-
Object.defineProperty(exports, "MethodIdempotency", { enumerable: true, get: function () { return service_type_js_1.MethodIdempotency; } });
|
|
32
|
-
var type_registry_js_1 = require("./type-registry.js");
|
|
33
|
-
Object.defineProperty(exports, "TypeRegistry", { enumerable: true, get: function () { return type_registry_js_1.TypeRegistry; } });
|
|
34
|
-
var descriptor_registry_js_1 = require("./descriptor-registry.js");
|
|
35
|
-
Object.defineProperty(exports, "DescriptorRegistry", { enumerable: true, get: function () { return descriptor_registry_js_1.DescriptorRegistry; } });
|
|
36
|
-
var descriptor_set_js_1 = require("./descriptor-set.js");
|
|
37
|
-
Object.defineProperty(exports, "DescriptorSet", { enumerable: true, get: function () { return descriptor_set_js_1.DescriptorSet; } });
|
|
38
|
-
var binary_encoding_js_1 = require("./binary-encoding.js");
|
|
39
|
-
Object.defineProperty(exports, "WireType", { enumerable: true, get: function () { return binary_encoding_js_1.WireType; } });
|
|
40
|
-
Object.defineProperty(exports, "BinaryWriter", { enumerable: true, get: function () { return binary_encoding_js_1.BinaryWriter; } });
|
|
41
|
-
Object.defineProperty(exports, "BinaryReader", { enumerable: true, get: function () { return binary_encoding_js_1.BinaryReader; } });
|
|
42
|
-
var json_format_js_1 = require("./json-format.js");
|
package/dist/cjs/index-wkt.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2021-2022 Buf Technologies, Inc.
|
|
3
|
-
//
|
|
4
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
// you may not use this file except in compliance with the License.
|
|
6
|
-
// You may obtain a copy of the License at
|
|
7
|
-
//
|
|
8
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
//
|
|
10
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
// See the License for the specific language governing permissions and
|
|
14
|
-
// limitations under the License.
|
|
15
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
-
if (k2 === undefined) k2 = k;
|
|
17
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
-
}
|
|
21
|
-
Object.defineProperty(o, k2, desc);
|
|
22
|
-
}) : (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
o[k2] = m[k];
|
|
25
|
-
}));
|
|
26
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
// ideally, we would export these types with sub-path exports:
|
|
31
|
-
__exportStar(require("./google/protobuf/compiler/plugin_pb.js"), exports);
|
|
32
|
-
__exportStar(require("./google/protobuf/api_pb.js"), exports);
|
|
33
|
-
__exportStar(require("./google/protobuf/any_pb.js"), exports);
|
|
34
|
-
__exportStar(require("./google/protobuf/descriptor_pb.js"), exports);
|
|
35
|
-
__exportStar(require("./google/protobuf/duration_pb.js"), exports);
|
|
36
|
-
__exportStar(require("./google/protobuf/empty_pb.js"), exports);
|
|
37
|
-
__exportStar(require("./google/protobuf/field_mask_pb.js"), exports);
|
|
38
|
-
__exportStar(require("./google/protobuf/source_context_pb.js"), exports);
|
|
39
|
-
__exportStar(require("./google/protobuf/struct_pb.js"), exports);
|
|
40
|
-
__exportStar(require("./google/protobuf/timestamp_pb.js"), exports);
|
|
41
|
-
__exportStar(require("./google/protobuf/type_pb.js"), exports);
|
|
42
|
-
__exportStar(require("./google/protobuf/wrappers_pb.js"), exports);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Copyright 2021-2022 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
|
-
export { proto3 } from "./proto3.js";
|
|
15
|
-
export { proto2 } from "./proto2.js";
|
|
16
|
-
export { protoInt64 } from "./proto-int64.js";
|
|
17
|
-
export { protoBase64 } from "./proto-base64.js";
|
|
18
|
-
export { Message, } from "./message.js";
|
|
19
|
-
export { ScalarType } from "./field.js";
|
|
20
|
-
export { MethodKind, MethodIdempotency } from "./service-type.js";
|
|
21
|
-
export { TypeRegistry } from "./type-registry.js";
|
|
22
|
-
export { DescriptorRegistry } from "./descriptor-registry.js";
|
|
23
|
-
export { DescriptorSet } from "./descriptor-set.js";
|
|
24
|
-
export { WireType, BinaryWriter, BinaryReader } from "./binary-encoding.js";
|
|
25
|
-
export {} from "./json-format.js";
|
package/dist/esm/index-wkt.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// Copyright 2021-2022 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
|
-
// ideally, we would export these types with sub-path exports:
|
|
15
|
-
export * from "./google/protobuf/compiler/plugin_pb.js";
|
|
16
|
-
export * from "./google/protobuf/api_pb.js";
|
|
17
|
-
export * from "./google/protobuf/any_pb.js";
|
|
18
|
-
export * from "./google/protobuf/descriptor_pb.js";
|
|
19
|
-
export * from "./google/protobuf/duration_pb.js";
|
|
20
|
-
export * from "./google/protobuf/empty_pb.js";
|
|
21
|
-
export * from "./google/protobuf/field_mask_pb.js";
|
|
22
|
-
export * from "./google/protobuf/source_context_pb.js";
|
|
23
|
-
export * from "./google/protobuf/struct_pb.js";
|
|
24
|
-
export * from "./google/protobuf/timestamp_pb.js";
|
|
25
|
-
export * from "./google/protobuf/type_pb.js";
|
|
26
|
-
export * from "./google/protobuf/wrappers_pb.js";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { proto3 } from "./proto3.js";
|
|
2
|
-
export { proto2 } from "./proto2.js";
|
|
3
|
-
export { protoInt64 } from "./proto-int64.js";
|
|
4
|
-
export { protoBase64 } from "./proto-base64.js";
|
|
5
|
-
export { Message, AnyMessage, PartialMessage, PlainMessage, } from "./message.js";
|
|
6
|
-
export type { FieldInfo } from "./field.js";
|
|
7
|
-
export type { FieldList } from "./field-list.js";
|
|
8
|
-
export { ScalarType } from "./field.js";
|
|
9
|
-
export type { MessageType } from "./message-type.js";
|
|
10
|
-
export type { EnumType, EnumValueInfo } from "./enum.js";
|
|
11
|
-
export type { ServiceType, MethodInfo, MethodInfoUnary, MethodInfoServerStreaming, MethodInfoClientStreaming, MethodInfoBiDiStreaming, } from "./service-type.js";
|
|
12
|
-
export { MethodKind, MethodIdempotency } from "./service-type.js";
|
|
13
|
-
export { TypeRegistry, IMessageTypeRegistry } from "./type-registry.js";
|
|
14
|
-
export { DescriptorRegistry } from "./descriptor-registry.js";
|
|
15
|
-
export { DescriptorSet } from "./descriptor-set.js";
|
|
16
|
-
export { WireType, BinaryWriter, BinaryReader } from "./binary-encoding.js";
|
|
17
|
-
export type { IBinaryReader, IBinaryWriter } from "./binary-encoding.js";
|
|
18
|
-
export type { BinaryFormat, BinaryWriteOptions, BinaryReadOptions, } from "./binary-format.js";
|
|
19
|
-
export { JsonFormat, JsonObject, JsonValue, JsonReadOptions, JsonWriteOptions, JsonWriteStringOptions, } from "./json-format.js";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from "./google/protobuf/compiler/plugin_pb.js";
|
|
2
|
-
export * from "./google/protobuf/api_pb.js";
|
|
3
|
-
export * from "./google/protobuf/any_pb.js";
|
|
4
|
-
export * from "./google/protobuf/descriptor_pb.js";
|
|
5
|
-
export * from "./google/protobuf/duration_pb.js";
|
|
6
|
-
export * from "./google/protobuf/empty_pb.js";
|
|
7
|
-
export * from "./google/protobuf/field_mask_pb.js";
|
|
8
|
-
export * from "./google/protobuf/source_context_pb.js";
|
|
9
|
-
export * from "./google/protobuf/struct_pb.js";
|
|
10
|
-
export * from "./google/protobuf/timestamp_pb.js";
|
|
11
|
-
export * from "./google/protobuf/type_pb.js";
|
|
12
|
-
export * from "./google/protobuf/wrappers_pb.js";
|