Debian Codegraph @

node/@bufbuild/protobuf/dist/commonjs/wkt/json.js

raw
1 "use strict";
2 // Copyright 2021-2026 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.durationSecondsMax = exports.durationSecondsMin = exports.timestampMsMax = exports.timestampMsMin = void 0;
17 /**
18 * Minimum google.protobuf.Timestamp in milliseconds (inclusive).
19 * Only enforced in ProtoJSON.
20 *
21 * @private
22 */
23 exports.timestampMsMin = Date.parse("0001-01-01T00:00:00Z");
24 /**
25 * Maximum google.protobuf.Timestamp in milliseconds (inclusive).
26 * Only enforced in ProtoJSON.
27 *
28 * @private
29 */
30 exports.timestampMsMax = Date.parse("9999-12-31T23:59:59Z");
31 /**
32 * Minimum google.protobuf.Duration in seconds.
33 * Only enforced in ProtoJSON.
34 *
35 * @private
36 */
37 exports.durationSecondsMin = -315576000000;
38 /**
39 * Maximum google.protobuf.Duration in seconds.
40 * Only enforced in ProtoJSON.
41 *
42 * @private
43 */
44 exports.durationSecondsMax = 315576000000;