mirror of
https://github.com/DeterminateSystems/update-flake-lock.git
synced 2025-07-01 19:03:49 +03:00
Update detsys-ts
for: Merge pull request #101 from DeterminateSystems/gustavderdrache/write-correlation
(e252a66f00e041869f7e402e579141f7b8ab1edf
)
This commit is contained in:
parent
203bba74fe
commit
9e234f294f
3 changed files with 444 additions and 398 deletions
387
dist/index.js
vendored
387
dist/index.js
vendored
|
@ -474,13 +474,13 @@ exports.CacheService = exports.GetCacheEntryDownloadURLResponse = exports.GetCac
|
|||
// @generated by protobuf-ts 2.9.1 with parameter long_type_string,client_none,generate_dependencies
|
||||
// @generated from protobuf file "results/api/v1/cache.proto" (package "github.actions.results.api.v1", syntax proto3)
|
||||
// tslint:disable
|
||||
const runtime_rpc_1 = __nccwpck_require__(8784);
|
||||
const runtime_1 = __nccwpck_require__(3780);
|
||||
const runtime_2 = __nccwpck_require__(3780);
|
||||
const runtime_3 = __nccwpck_require__(3780);
|
||||
const runtime_4 = __nccwpck_require__(3780);
|
||||
const runtime_5 = __nccwpck_require__(3780);
|
||||
const cachemetadata_1 = __nccwpck_require__(1573);
|
||||
const runtime_rpc_1 = __nccwpck_require__(2229);
|
||||
const runtime_1 = __nccwpck_require__(6765);
|
||||
const runtime_2 = __nccwpck_require__(6765);
|
||||
const runtime_3 = __nccwpck_require__(6765);
|
||||
const runtime_4 = __nccwpck_require__(6765);
|
||||
const runtime_5 = __nccwpck_require__(6765);
|
||||
const cachemetadata_1 = __nccwpck_require__(3954);
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class CreateCacheEntryRequest$Type extends runtime_5.MessageType {
|
||||
constructor() {
|
||||
|
@ -933,17 +933,17 @@ exports.CacheServiceClientProtobuf = CacheServiceClientProtobuf;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 1573:
|
||||
/***/ 3954:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.CacheMetadata = void 0;
|
||||
const runtime_1 = __nccwpck_require__(3780);
|
||||
const runtime_2 = __nccwpck_require__(3780);
|
||||
const runtime_3 = __nccwpck_require__(3780);
|
||||
const runtime_4 = __nccwpck_require__(3780);
|
||||
const runtime_5 = __nccwpck_require__(3780);
|
||||
const runtime_1 = __nccwpck_require__(6765);
|
||||
const runtime_2 = __nccwpck_require__(6765);
|
||||
const runtime_3 = __nccwpck_require__(6765);
|
||||
const runtime_4 = __nccwpck_require__(6765);
|
||||
const runtime_5 = __nccwpck_require__(6765);
|
||||
const cachescope_1 = __nccwpck_require__(7182);
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class CacheMetadata$Type extends runtime_5.MessageType {
|
||||
|
@ -1009,11 +1009,11 @@ exports.CacheMetadata = new CacheMetadata$Type();
|
|||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.CacheScope = void 0;
|
||||
const runtime_1 = __nccwpck_require__(3780);
|
||||
const runtime_2 = __nccwpck_require__(3780);
|
||||
const runtime_3 = __nccwpck_require__(3780);
|
||||
const runtime_4 = __nccwpck_require__(3780);
|
||||
const runtime_5 = __nccwpck_require__(3780);
|
||||
const runtime_1 = __nccwpck_require__(6765);
|
||||
const runtime_2 = __nccwpck_require__(6765);
|
||||
const runtime_3 = __nccwpck_require__(6765);
|
||||
const runtime_4 = __nccwpck_require__(6765);
|
||||
const runtime_5 = __nccwpck_require__(6765);
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class CacheScope$Type extends runtime_5.MessageType {
|
||||
constructor() {
|
||||
|
@ -32560,7 +32560,7 @@ exports.newPipeline = newPipeline;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 5613:
|
||||
/***/ 6444:
|
||||
/***/ (function(__unused_webpack_module, exports) {
|
||||
|
||||
|
||||
|
@ -32617,7 +32617,7 @@ exports.ClientStreamingCall = ClientStreamingCall;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8477:
|
||||
/***/ 6110:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -32710,7 +32710,7 @@ exports.Deferred = Deferred;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7494:
|
||||
/***/ 3515:
|
||||
/***/ (function(__unused_webpack_module, exports) {
|
||||
|
||||
|
||||
|
@ -32766,7 +32766,7 @@ exports.DuplexStreamingCall = DuplexStreamingCall;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8784:
|
||||
/***/ 2229:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
|
@ -32774,50 +32774,50 @@ exports.DuplexStreamingCall = DuplexStreamingCall;
|
|||
// Note: we do not use `export * from ...` to help tree shakers,
|
||||
// webpack verbose output hints that this should be useful
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
var service_type_1 = __nccwpck_require__(7816);
|
||||
var service_type_1 = __nccwpck_require__(2927);
|
||||
Object.defineProperty(exports, "ServiceType", ({ enumerable: true, get: function () { return service_type_1.ServiceType; } }));
|
||||
var reflection_info_1 = __nccwpck_require__(1772);
|
||||
var reflection_info_1 = __nccwpck_require__(1817);
|
||||
Object.defineProperty(exports, "readMethodOptions", ({ enumerable: true, get: function () { return reflection_info_1.readMethodOptions; } }));
|
||||
Object.defineProperty(exports, "readMethodOption", ({ enumerable: true, get: function () { return reflection_info_1.readMethodOption; } }));
|
||||
Object.defineProperty(exports, "readServiceOption", ({ enumerable: true, get: function () { return reflection_info_1.readServiceOption; } }));
|
||||
var rpc_error_1 = __nccwpck_require__(472);
|
||||
var rpc_error_1 = __nccwpck_require__(3361);
|
||||
Object.defineProperty(exports, "RpcError", ({ enumerable: true, get: function () { return rpc_error_1.RpcError; } }));
|
||||
var rpc_options_1 = __nccwpck_require__(6607);
|
||||
var rpc_options_1 = __nccwpck_require__(6457);
|
||||
Object.defineProperty(exports, "mergeRpcOptions", ({ enumerable: true, get: function () { return rpc_options_1.mergeRpcOptions; } }));
|
||||
var rpc_output_stream_1 = __nccwpck_require__(1290);
|
||||
var rpc_output_stream_1 = __nccwpck_require__(9607);
|
||||
Object.defineProperty(exports, "RpcOutputStreamController", ({ enumerable: true, get: function () { return rpc_output_stream_1.RpcOutputStreamController; } }));
|
||||
var test_transport_1 = __nccwpck_require__(7694);
|
||||
var test_transport_1 = __nccwpck_require__(2753);
|
||||
Object.defineProperty(exports, "TestTransport", ({ enumerable: true, get: function () { return test_transport_1.TestTransport; } }));
|
||||
var deferred_1 = __nccwpck_require__(8477);
|
||||
var deferred_1 = __nccwpck_require__(6110);
|
||||
Object.defineProperty(exports, "Deferred", ({ enumerable: true, get: function () { return deferred_1.Deferred; } }));
|
||||
Object.defineProperty(exports, "DeferredState", ({ enumerable: true, get: function () { return deferred_1.DeferredState; } }));
|
||||
var duplex_streaming_call_1 = __nccwpck_require__(7494);
|
||||
var duplex_streaming_call_1 = __nccwpck_require__(3515);
|
||||
Object.defineProperty(exports, "DuplexStreamingCall", ({ enumerable: true, get: function () { return duplex_streaming_call_1.DuplexStreamingCall; } }));
|
||||
var client_streaming_call_1 = __nccwpck_require__(5613);
|
||||
var client_streaming_call_1 = __nccwpck_require__(6444);
|
||||
Object.defineProperty(exports, "ClientStreamingCall", ({ enumerable: true, get: function () { return client_streaming_call_1.ClientStreamingCall; } }));
|
||||
var server_streaming_call_1 = __nccwpck_require__(5489);
|
||||
var server_streaming_call_1 = __nccwpck_require__(7688);
|
||||
Object.defineProperty(exports, "ServerStreamingCall", ({ enumerable: true, get: function () { return server_streaming_call_1.ServerStreamingCall; } }));
|
||||
var unary_call_1 = __nccwpck_require__(5772);
|
||||
var unary_call_1 = __nccwpck_require__(1539);
|
||||
Object.defineProperty(exports, "UnaryCall", ({ enumerable: true, get: function () { return unary_call_1.UnaryCall; } }));
|
||||
var rpc_interceptor_1 = __nccwpck_require__(7373);
|
||||
var rpc_interceptor_1 = __nccwpck_require__(5992);
|
||||
Object.defineProperty(exports, "stackIntercept", ({ enumerable: true, get: function () { return rpc_interceptor_1.stackIntercept; } }));
|
||||
Object.defineProperty(exports, "stackDuplexStreamingInterceptors", ({ enumerable: true, get: function () { return rpc_interceptor_1.stackDuplexStreamingInterceptors; } }));
|
||||
Object.defineProperty(exports, "stackClientStreamingInterceptors", ({ enumerable: true, get: function () { return rpc_interceptor_1.stackClientStreamingInterceptors; } }));
|
||||
Object.defineProperty(exports, "stackServerStreamingInterceptors", ({ enumerable: true, get: function () { return rpc_interceptor_1.stackServerStreamingInterceptors; } }));
|
||||
Object.defineProperty(exports, "stackUnaryInterceptors", ({ enumerable: true, get: function () { return rpc_interceptor_1.stackUnaryInterceptors; } }));
|
||||
var server_call_context_1 = __nccwpck_require__(2396);
|
||||
var server_call_context_1 = __nccwpck_require__(9029);
|
||||
Object.defineProperty(exports, "ServerCallContextController", ({ enumerable: true, get: function () { return server_call_context_1.ServerCallContextController; } }));
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 1772:
|
||||
/***/ 1817:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.readServiceOption = exports.readMethodOption = exports.readMethodOptions = exports.normalizeMethodInfo = void 0;
|
||||
const runtime_1 = __nccwpck_require__(3780);
|
||||
const runtime_1 = __nccwpck_require__(6765);
|
||||
/**
|
||||
* Turns PartialMethodInfo into MethodInfo.
|
||||
*/
|
||||
|
@ -32875,7 +32875,7 @@ exports.readServiceOption = readServiceOption;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 472:
|
||||
/***/ 3361:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -32918,13 +32918,13 @@ exports.RpcError = RpcError;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7373:
|
||||
/***/ 5992:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.stackDuplexStreamingInterceptors = exports.stackClientStreamingInterceptors = exports.stackServerStreamingInterceptors = exports.stackUnaryInterceptors = exports.stackIntercept = void 0;
|
||||
const runtime_1 = __nccwpck_require__(3780);
|
||||
const runtime_1 = __nccwpck_require__(6765);
|
||||
/**
|
||||
* Creates a "stack" of of all interceptors specified in the given `RpcOptions`.
|
||||
* Used by generated client implementations.
|
||||
|
@ -32999,13 +32999,13 @@ exports.stackDuplexStreamingInterceptors = stackDuplexStreamingInterceptors;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 6607:
|
||||
/***/ 6457:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.mergeRpcOptions = void 0;
|
||||
const runtime_1 = __nccwpck_require__(3780);
|
||||
const runtime_1 = __nccwpck_require__(6765);
|
||||
/**
|
||||
* Merges custom RPC options with defaults. Returns a new instance and keeps
|
||||
* the "defaults" and the "options" unmodified.
|
||||
|
@ -33072,14 +33072,14 @@ function copy(a, into) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 1290:
|
||||
/***/ 9607:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.RpcOutputStreamController = void 0;
|
||||
const deferred_1 = __nccwpck_require__(8477);
|
||||
const runtime_1 = __nccwpck_require__(3780);
|
||||
const deferred_1 = __nccwpck_require__(6110);
|
||||
const runtime_1 = __nccwpck_require__(6765);
|
||||
/**
|
||||
* A `RpcOutputStream` that you control.
|
||||
*/
|
||||
|
@ -33249,7 +33249,7 @@ exports.RpcOutputStreamController = RpcOutputStreamController;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2396:
|
||||
/***/ 9029:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -33316,7 +33316,7 @@ exports.ServerCallContextController = ServerCallContextController;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 5489:
|
||||
/***/ 7688:
|
||||
/***/ (function(__unused_webpack_module, exports) {
|
||||
|
||||
|
||||
|
@ -33373,13 +33373,13 @@ exports.ServerStreamingCall = ServerStreamingCall;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7816:
|
||||
/***/ 2927:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.ServiceType = void 0;
|
||||
const reflection_info_1 = __nccwpck_require__(1772);
|
||||
const reflection_info_1 = __nccwpck_require__(1817);
|
||||
class ServiceType {
|
||||
constructor(typeName, methods, options) {
|
||||
this.typeName = typeName;
|
||||
|
@ -33392,7 +33392,7 @@ exports.ServiceType = ServiceType;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7694:
|
||||
/***/ 2753:
|
||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||
|
||||
|
||||
|
@ -33407,14 +33407,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||
};
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.TestTransport = void 0;
|
||||
const rpc_error_1 = __nccwpck_require__(472);
|
||||
const runtime_1 = __nccwpck_require__(3780);
|
||||
const rpc_output_stream_1 = __nccwpck_require__(1290);
|
||||
const rpc_options_1 = __nccwpck_require__(6607);
|
||||
const unary_call_1 = __nccwpck_require__(5772);
|
||||
const server_streaming_call_1 = __nccwpck_require__(5489);
|
||||
const client_streaming_call_1 = __nccwpck_require__(5613);
|
||||
const duplex_streaming_call_1 = __nccwpck_require__(7494);
|
||||
const rpc_error_1 = __nccwpck_require__(3361);
|
||||
const runtime_1 = __nccwpck_require__(6765);
|
||||
const rpc_output_stream_1 = __nccwpck_require__(9607);
|
||||
const rpc_options_1 = __nccwpck_require__(6457);
|
||||
const unary_call_1 = __nccwpck_require__(1539);
|
||||
const server_streaming_call_1 = __nccwpck_require__(7688);
|
||||
const client_streaming_call_1 = __nccwpck_require__(6444);
|
||||
const duplex_streaming_call_1 = __nccwpck_require__(3515);
|
||||
/**
|
||||
* Transport for testing.
|
||||
*/
|
||||
|
@ -33720,7 +33720,7 @@ class TestInputStream {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 5772:
|
||||
/***/ 1539:
|
||||
/***/ (function(__unused_webpack_module, exports) {
|
||||
|
||||
|
||||
|
@ -33776,7 +33776,7 @@ exports.UnaryCall = UnaryCall;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 196:
|
||||
/***/ 6387:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -33826,7 +33826,7 @@ exports.assertFloat32 = assertFloat32;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 6785:
|
||||
/***/ 5050:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -33951,7 +33951,7 @@ exports.base64encode = base64encode;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2882:
|
||||
/***/ 1573:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -34058,15 +34058,15 @@ var WireType;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 3831:
|
||||
/***/ 8386:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.BinaryReader = exports.binaryReadOptions = void 0;
|
||||
const binary_format_contract_1 = __nccwpck_require__(2882);
|
||||
const pb_long_1 = __nccwpck_require__(507);
|
||||
const goog_varint_1 = __nccwpck_require__(205);
|
||||
const binary_format_contract_1 = __nccwpck_require__(1573);
|
||||
const pb_long_1 = __nccwpck_require__(8986);
|
||||
const goog_varint_1 = __nccwpck_require__(6620);
|
||||
const defaultsRead = {
|
||||
readUnknownField: true,
|
||||
readerFactory: bytes => new BinaryReader(bytes),
|
||||
|
@ -34248,15 +34248,15 @@ exports.BinaryReader = BinaryReader;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8295:
|
||||
/***/ 7954:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.BinaryWriter = exports.binaryWriteOptions = void 0;
|
||||
const pb_long_1 = __nccwpck_require__(507);
|
||||
const goog_varint_1 = __nccwpck_require__(205);
|
||||
const assert_1 = __nccwpck_require__(196);
|
||||
const pb_long_1 = __nccwpck_require__(8986);
|
||||
const goog_varint_1 = __nccwpck_require__(6620);
|
||||
const assert_1 = __nccwpck_require__(6387);
|
||||
const defaultsWrite = {
|
||||
writeUnknownFields: true,
|
||||
writerFactory: () => new BinaryWriter(),
|
||||
|
@ -34487,7 +34487,7 @@ exports.BinaryWriter = BinaryWriter;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8607:
|
||||
/***/ 1094:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -34581,7 +34581,7 @@ exports.listEnumNumbers = listEnumNumbers;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 205:
|
||||
/***/ 6620:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -34862,7 +34862,7 @@ exports.varint32read = varint32read;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 3780:
|
||||
/***/ 6765:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
|
@ -34871,46 +34871,46 @@ exports.varint32read = varint32read;
|
|||
// webpack verbose output hints that this should be useful
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
// Convenience JSON typings and corresponding type guards
|
||||
var json_typings_1 = __nccwpck_require__(9438);
|
||||
var json_typings_1 = __nccwpck_require__(1978);
|
||||
Object.defineProperty(exports, "typeofJsonValue", ({ enumerable: true, get: function () { return json_typings_1.typeofJsonValue; } }));
|
||||
Object.defineProperty(exports, "isJsonObject", ({ enumerable: true, get: function () { return json_typings_1.isJsonObject; } }));
|
||||
// Base 64 encoding
|
||||
var base64_1 = __nccwpck_require__(6785);
|
||||
var base64_1 = __nccwpck_require__(5050);
|
||||
Object.defineProperty(exports, "base64decode", ({ enumerable: true, get: function () { return base64_1.base64decode; } }));
|
||||
Object.defineProperty(exports, "base64encode", ({ enumerable: true, get: function () { return base64_1.base64encode; } }));
|
||||
// UTF8 encoding
|
||||
var protobufjs_utf8_1 = __nccwpck_require__(800);
|
||||
var protobufjs_utf8_1 = __nccwpck_require__(305);
|
||||
Object.defineProperty(exports, "utf8read", ({ enumerable: true, get: function () { return protobufjs_utf8_1.utf8read; } }));
|
||||
// Binary format contracts, options for reading and writing, for example
|
||||
var binary_format_contract_1 = __nccwpck_require__(2882);
|
||||
var binary_format_contract_1 = __nccwpck_require__(1573);
|
||||
Object.defineProperty(exports, "WireType", ({ enumerable: true, get: function () { return binary_format_contract_1.WireType; } }));
|
||||
Object.defineProperty(exports, "mergeBinaryOptions", ({ enumerable: true, get: function () { return binary_format_contract_1.mergeBinaryOptions; } }));
|
||||
Object.defineProperty(exports, "UnknownFieldHandler", ({ enumerable: true, get: function () { return binary_format_contract_1.UnknownFieldHandler; } }));
|
||||
// Standard IBinaryReader implementation
|
||||
var binary_reader_1 = __nccwpck_require__(3831);
|
||||
var binary_reader_1 = __nccwpck_require__(8386);
|
||||
Object.defineProperty(exports, "BinaryReader", ({ enumerable: true, get: function () { return binary_reader_1.BinaryReader; } }));
|
||||
Object.defineProperty(exports, "binaryReadOptions", ({ enumerable: true, get: function () { return binary_reader_1.binaryReadOptions; } }));
|
||||
// Standard IBinaryWriter implementation
|
||||
var binary_writer_1 = __nccwpck_require__(8295);
|
||||
var binary_writer_1 = __nccwpck_require__(7954);
|
||||
Object.defineProperty(exports, "BinaryWriter", ({ enumerable: true, get: function () { return binary_writer_1.BinaryWriter; } }));
|
||||
Object.defineProperty(exports, "binaryWriteOptions", ({ enumerable: true, get: function () { return binary_writer_1.binaryWriteOptions; } }));
|
||||
// Int64 and UInt64 implementations required for the binary format
|
||||
var pb_long_1 = __nccwpck_require__(507);
|
||||
var pb_long_1 = __nccwpck_require__(8986);
|
||||
Object.defineProperty(exports, "PbLong", ({ enumerable: true, get: function () { return pb_long_1.PbLong; } }));
|
||||
Object.defineProperty(exports, "PbULong", ({ enumerable: true, get: function () { return pb_long_1.PbULong; } }));
|
||||
// JSON format contracts, options for reading and writing, for example
|
||||
var json_format_contract_1 = __nccwpck_require__(7789);
|
||||
var json_format_contract_1 = __nccwpck_require__(7738);
|
||||
Object.defineProperty(exports, "jsonReadOptions", ({ enumerable: true, get: function () { return json_format_contract_1.jsonReadOptions; } }));
|
||||
Object.defineProperty(exports, "jsonWriteOptions", ({ enumerable: true, get: function () { return json_format_contract_1.jsonWriteOptions; } }));
|
||||
Object.defineProperty(exports, "mergeJsonOptions", ({ enumerable: true, get: function () { return json_format_contract_1.mergeJsonOptions; } }));
|
||||
// Message type contract
|
||||
var message_type_contract_1 = __nccwpck_require__(7867);
|
||||
var message_type_contract_1 = __nccwpck_require__(5090);
|
||||
Object.defineProperty(exports, "MESSAGE_TYPE", ({ enumerable: true, get: function () { return message_type_contract_1.MESSAGE_TYPE; } }));
|
||||
// Message type implementation via reflection
|
||||
var message_type_1 = __nccwpck_require__(3052);
|
||||
var message_type_1 = __nccwpck_require__(3703);
|
||||
Object.defineProperty(exports, "MessageType", ({ enumerable: true, get: function () { return message_type_1.MessageType; } }));
|
||||
// Reflection info, generated by the plugin, exposed to the user, used by reflection ops
|
||||
var reflection_info_1 = __nccwpck_require__(4576);
|
||||
var reflection_info_1 = __nccwpck_require__(2593);
|
||||
Object.defineProperty(exports, "ScalarType", ({ enumerable: true, get: function () { return reflection_info_1.ScalarType; } }));
|
||||
Object.defineProperty(exports, "LongType", ({ enumerable: true, get: function () { return reflection_info_1.LongType; } }));
|
||||
Object.defineProperty(exports, "RepeatType", ({ enumerable: true, get: function () { return reflection_info_1.RepeatType; } }));
|
||||
|
@ -34919,44 +34919,44 @@ Object.defineProperty(exports, "readFieldOptions", ({ enumerable: true, get: fun
|
|||
Object.defineProperty(exports, "readFieldOption", ({ enumerable: true, get: function () { return reflection_info_1.readFieldOption; } }));
|
||||
Object.defineProperty(exports, "readMessageOption", ({ enumerable: true, get: function () { return reflection_info_1.readMessageOption; } }));
|
||||
// Message operations via reflection
|
||||
var reflection_type_check_1 = __nccwpck_require__(9979);
|
||||
var reflection_type_check_1 = __nccwpck_require__(7440);
|
||||
Object.defineProperty(exports, "ReflectionTypeCheck", ({ enumerable: true, get: function () { return reflection_type_check_1.ReflectionTypeCheck; } }));
|
||||
var reflection_create_1 = __nccwpck_require__(8884);
|
||||
var reflection_create_1 = __nccwpck_require__(7429);
|
||||
Object.defineProperty(exports, "reflectionCreate", ({ enumerable: true, get: function () { return reflection_create_1.reflectionCreate; } }));
|
||||
var reflection_scalar_default_1 = __nccwpck_require__(6492);
|
||||
var reflection_scalar_default_1 = __nccwpck_require__(9653);
|
||||
Object.defineProperty(exports, "reflectionScalarDefault", ({ enumerable: true, get: function () { return reflection_scalar_default_1.reflectionScalarDefault; } }));
|
||||
var reflection_merge_partial_1 = __nccwpck_require__(6853);
|
||||
var reflection_merge_partial_1 = __nccwpck_require__(1713);
|
||||
Object.defineProperty(exports, "reflectionMergePartial", ({ enumerable: true, get: function () { return reflection_merge_partial_1.reflectionMergePartial; } }));
|
||||
var reflection_equals_1 = __nccwpck_require__(1925);
|
||||
var reflection_equals_1 = __nccwpck_require__(9808);
|
||||
Object.defineProperty(exports, "reflectionEquals", ({ enumerable: true, get: function () { return reflection_equals_1.reflectionEquals; } }));
|
||||
var reflection_binary_reader_1 = __nccwpck_require__(7505);
|
||||
var reflection_binary_reader_1 = __nccwpck_require__(8026);
|
||||
Object.defineProperty(exports, "ReflectionBinaryReader", ({ enumerable: true, get: function () { return reflection_binary_reader_1.ReflectionBinaryReader; } }));
|
||||
var reflection_binary_writer_1 = __nccwpck_require__(7581);
|
||||
var reflection_binary_writer_1 = __nccwpck_require__(1322);
|
||||
Object.defineProperty(exports, "ReflectionBinaryWriter", ({ enumerable: true, get: function () { return reflection_binary_writer_1.ReflectionBinaryWriter; } }));
|
||||
var reflection_json_reader_1 = __nccwpck_require__(8792);
|
||||
var reflection_json_reader_1 = __nccwpck_require__(1159);
|
||||
Object.defineProperty(exports, "ReflectionJsonReader", ({ enumerable: true, get: function () { return reflection_json_reader_1.ReflectionJsonReader; } }));
|
||||
var reflection_json_writer_1 = __nccwpck_require__(5380);
|
||||
var reflection_json_writer_1 = __nccwpck_require__(8807);
|
||||
Object.defineProperty(exports, "ReflectionJsonWriter", ({ enumerable: true, get: function () { return reflection_json_writer_1.ReflectionJsonWriter; } }));
|
||||
var reflection_contains_message_type_1 = __nccwpck_require__(2532);
|
||||
var reflection_contains_message_type_1 = __nccwpck_require__(403);
|
||||
Object.defineProperty(exports, "containsMessageType", ({ enumerable: true, get: function () { return reflection_contains_message_type_1.containsMessageType; } }));
|
||||
// Oneof helpers
|
||||
var oneof_1 = __nccwpck_require__(8505);
|
||||
var oneof_1 = __nccwpck_require__(4972);
|
||||
Object.defineProperty(exports, "isOneofGroup", ({ enumerable: true, get: function () { return oneof_1.isOneofGroup; } }));
|
||||
Object.defineProperty(exports, "setOneofValue", ({ enumerable: true, get: function () { return oneof_1.setOneofValue; } }));
|
||||
Object.defineProperty(exports, "getOneofValue", ({ enumerable: true, get: function () { return oneof_1.getOneofValue; } }));
|
||||
Object.defineProperty(exports, "clearOneofValue", ({ enumerable: true, get: function () { return oneof_1.clearOneofValue; } }));
|
||||
Object.defineProperty(exports, "getSelectedOneofValue", ({ enumerable: true, get: function () { return oneof_1.getSelectedOneofValue; } }));
|
||||
// Enum object type guard and reflection util, may be interesting to the user.
|
||||
var enum_object_1 = __nccwpck_require__(8607);
|
||||
var enum_object_1 = __nccwpck_require__(1094);
|
||||
Object.defineProperty(exports, "listEnumValues", ({ enumerable: true, get: function () { return enum_object_1.listEnumValues; } }));
|
||||
Object.defineProperty(exports, "listEnumNames", ({ enumerable: true, get: function () { return enum_object_1.listEnumNames; } }));
|
||||
Object.defineProperty(exports, "listEnumNumbers", ({ enumerable: true, get: function () { return enum_object_1.listEnumNumbers; } }));
|
||||
Object.defineProperty(exports, "isEnumObject", ({ enumerable: true, get: function () { return enum_object_1.isEnumObject; } }));
|
||||
// lowerCamelCase() is exported for plugin, rpc-runtime and other rpc packages
|
||||
var lower_camel_case_1 = __nccwpck_require__(5807);
|
||||
var lower_camel_case_1 = __nccwpck_require__(3536);
|
||||
Object.defineProperty(exports, "lowerCamelCase", ({ enumerable: true, get: function () { return lower_camel_case_1.lowerCamelCase; } }));
|
||||
// assertion functions are exported for plugin, may also be useful to user
|
||||
var assert_1 = __nccwpck_require__(196);
|
||||
var assert_1 = __nccwpck_require__(6387);
|
||||
Object.defineProperty(exports, "assert", ({ enumerable: true, get: function () { return assert_1.assert; } }));
|
||||
Object.defineProperty(exports, "assertNever", ({ enumerable: true, get: function () { return assert_1.assertNever; } }));
|
||||
Object.defineProperty(exports, "assertInt32", ({ enumerable: true, get: function () { return assert_1.assertInt32; } }));
|
||||
|
@ -34966,7 +34966,7 @@ Object.defineProperty(exports, "assertFloat32", ({ enumerable: true, get: functi
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7789:
|
||||
/***/ 7738:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -35008,7 +35008,7 @@ exports.mergeJsonOptions = mergeJsonOptions;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 9438:
|
||||
/***/ 1978:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -35040,7 +35040,7 @@ exports.isJsonObject = isJsonObject;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 5807:
|
||||
/***/ 3536:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -35082,7 +35082,7 @@ exports.lowerCamelCase = lowerCamelCase;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7867:
|
||||
/***/ 5090:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -35099,27 +35099,28 @@ exports.MESSAGE_TYPE = Symbol.for("protobuf-ts/message-type");
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 3052:
|
||||
/***/ 3703:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.MessageType = void 0;
|
||||
const message_type_contract_1 = __nccwpck_require__(7867);
|
||||
const reflection_info_1 = __nccwpck_require__(4576);
|
||||
const reflection_type_check_1 = __nccwpck_require__(9979);
|
||||
const reflection_json_reader_1 = __nccwpck_require__(8792);
|
||||
const reflection_json_writer_1 = __nccwpck_require__(5380);
|
||||
const reflection_binary_reader_1 = __nccwpck_require__(7505);
|
||||
const reflection_binary_writer_1 = __nccwpck_require__(7581);
|
||||
const reflection_create_1 = __nccwpck_require__(8884);
|
||||
const reflection_merge_partial_1 = __nccwpck_require__(6853);
|
||||
const json_typings_1 = __nccwpck_require__(9438);
|
||||
const json_format_contract_1 = __nccwpck_require__(7789);
|
||||
const reflection_equals_1 = __nccwpck_require__(1925);
|
||||
const binary_writer_1 = __nccwpck_require__(8295);
|
||||
const binary_reader_1 = __nccwpck_require__(3831);
|
||||
const message_type_contract_1 = __nccwpck_require__(5090);
|
||||
const reflection_info_1 = __nccwpck_require__(2593);
|
||||
const reflection_type_check_1 = __nccwpck_require__(7440);
|
||||
const reflection_json_reader_1 = __nccwpck_require__(1159);
|
||||
const reflection_json_writer_1 = __nccwpck_require__(8807);
|
||||
const reflection_binary_reader_1 = __nccwpck_require__(8026);
|
||||
const reflection_binary_writer_1 = __nccwpck_require__(1322);
|
||||
const reflection_create_1 = __nccwpck_require__(7429);
|
||||
const reflection_merge_partial_1 = __nccwpck_require__(1713);
|
||||
const json_typings_1 = __nccwpck_require__(1978);
|
||||
const json_format_contract_1 = __nccwpck_require__(7738);
|
||||
const reflection_equals_1 = __nccwpck_require__(9808);
|
||||
const binary_writer_1 = __nccwpck_require__(7954);
|
||||
const binary_reader_1 = __nccwpck_require__(8386);
|
||||
const baseDescriptors = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));
|
||||
const messageTypeDescriptor = baseDescriptors[message_type_contract_1.MESSAGE_TYPE] = {};
|
||||
/**
|
||||
* This standard message type provides reflection-based
|
||||
* operations to work with a message.
|
||||
|
@ -35130,7 +35131,8 @@ class MessageType {
|
|||
this.typeName = name;
|
||||
this.fields = fields.map(reflection_info_1.normalizeFieldInfo);
|
||||
this.options = options !== null && options !== void 0 ? options : {};
|
||||
this.messagePrototype = Object.create(null, Object.assign(Object.assign({}, baseDescriptors), { [message_type_contract_1.MESSAGE_TYPE]: { value: this } }));
|
||||
messageTypeDescriptor.value = this;
|
||||
this.messagePrototype = Object.create(null, baseDescriptors);
|
||||
this.refTypeCheck = new reflection_type_check_1.ReflectionTypeCheck(this);
|
||||
this.refJsonReader = new reflection_json_reader_1.ReflectionJsonReader(this);
|
||||
this.refJsonWriter = new reflection_json_writer_1.ReflectionJsonWriter(this);
|
||||
|
@ -35281,7 +35283,7 @@ exports.MessageType = MessageType;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8505:
|
||||
/***/ 4972:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -35402,13 +35404,13 @@ exports.getSelectedOneofValue = getSelectedOneofValue;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 507:
|
||||
/***/ 8986:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.PbLong = exports.PbULong = exports.detectBi = void 0;
|
||||
const goog_varint_1 = __nccwpck_require__(205);
|
||||
const goog_varint_1 = __nccwpck_require__(6620);
|
||||
let BI;
|
||||
function detectBi() {
|
||||
const dv = new DataView(new ArrayBuffer(8));
|
||||
|
@ -35647,7 +35649,7 @@ PbLong.ZERO = new PbLong(0, 0);
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 800:
|
||||
/***/ 305:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -35729,16 +35731,16 @@ exports.utf8read = utf8read;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7505:
|
||||
/***/ 8026:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.ReflectionBinaryReader = void 0;
|
||||
const binary_format_contract_1 = __nccwpck_require__(2882);
|
||||
const reflection_info_1 = __nccwpck_require__(4576);
|
||||
const reflection_long_convert_1 = __nccwpck_require__(2808);
|
||||
const reflection_scalar_default_1 = __nccwpck_require__(6492);
|
||||
const binary_format_contract_1 = __nccwpck_require__(1573);
|
||||
const reflection_info_1 = __nccwpck_require__(2593);
|
||||
const reflection_long_convert_1 = __nccwpck_require__(8029);
|
||||
const reflection_scalar_default_1 = __nccwpck_require__(9653);
|
||||
/**
|
||||
* Reads proto3 messages in binary format using reflection information.
|
||||
*
|
||||
|
@ -35919,16 +35921,16 @@ exports.ReflectionBinaryReader = ReflectionBinaryReader;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7581:
|
||||
/***/ 1322:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.ReflectionBinaryWriter = void 0;
|
||||
const binary_format_contract_1 = __nccwpck_require__(2882);
|
||||
const reflection_info_1 = __nccwpck_require__(4576);
|
||||
const assert_1 = __nccwpck_require__(196);
|
||||
const pb_long_1 = __nccwpck_require__(507);
|
||||
const binary_format_contract_1 = __nccwpck_require__(1573);
|
||||
const reflection_info_1 = __nccwpck_require__(2593);
|
||||
const assert_1 = __nccwpck_require__(6387);
|
||||
const pb_long_1 = __nccwpck_require__(8986);
|
||||
/**
|
||||
* Writes proto3 messages in binary format using reflection information.
|
||||
*
|
||||
|
@ -36159,13 +36161,13 @@ exports.ReflectionBinaryWriter = ReflectionBinaryWriter;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2532:
|
||||
/***/ 403:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.containsMessageType = void 0;
|
||||
const message_type_contract_1 = __nccwpck_require__(7867);
|
||||
const message_type_contract_1 = __nccwpck_require__(5090);
|
||||
/**
|
||||
* Check if the provided object is a proto message.
|
||||
*
|
||||
|
@ -36180,14 +36182,14 @@ exports.containsMessageType = containsMessageType;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8884:
|
||||
/***/ 7429:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.reflectionCreate = void 0;
|
||||
const reflection_scalar_default_1 = __nccwpck_require__(6492);
|
||||
const message_type_contract_1 = __nccwpck_require__(7867);
|
||||
const reflection_scalar_default_1 = __nccwpck_require__(9653);
|
||||
const message_type_contract_1 = __nccwpck_require__(5090);
|
||||
/**
|
||||
* Creates an instance of the generic message, using the field
|
||||
* information.
|
||||
|
@ -36235,13 +36237,13 @@ exports.reflectionCreate = reflectionCreate;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 1925:
|
||||
/***/ 9808:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.reflectionEquals = void 0;
|
||||
const reflection_info_1 = __nccwpck_require__(4576);
|
||||
const reflection_info_1 = __nccwpck_require__(2593);
|
||||
/**
|
||||
* Determines whether two message of the same type have the same field values.
|
||||
* Checks for deep equality, traversing repeated fields, oneof groups, maps
|
||||
|
@ -36319,13 +36321,13 @@ function repeatedMsgEq(type, a, b) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 4576:
|
||||
/***/ 2593:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.readMessageOption = exports.readFieldOption = exports.readFieldOptions = exports.normalizeFieldInfo = exports.RepeatType = exports.LongType = exports.ScalarType = void 0;
|
||||
const lower_camel_case_1 = __nccwpck_require__(5807);
|
||||
const lower_camel_case_1 = __nccwpck_require__(3536);
|
||||
/**
|
||||
* Scalar value types. This is a subset of field types declared by protobuf
|
||||
* enum google.protobuf.FieldDescriptorProto.Type The types GROUP and MESSAGE
|
||||
|
@ -36484,18 +36486,18 @@ exports.readMessageOption = readMessageOption;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8792:
|
||||
/***/ 1159:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.ReflectionJsonReader = void 0;
|
||||
const json_typings_1 = __nccwpck_require__(9438);
|
||||
const base64_1 = __nccwpck_require__(6785);
|
||||
const reflection_info_1 = __nccwpck_require__(4576);
|
||||
const pb_long_1 = __nccwpck_require__(507);
|
||||
const assert_1 = __nccwpck_require__(196);
|
||||
const reflection_long_convert_1 = __nccwpck_require__(2808);
|
||||
const json_typings_1 = __nccwpck_require__(1978);
|
||||
const base64_1 = __nccwpck_require__(5050);
|
||||
const reflection_info_1 = __nccwpck_require__(2593);
|
||||
const pb_long_1 = __nccwpck_require__(8986);
|
||||
const assert_1 = __nccwpck_require__(6387);
|
||||
const reflection_long_convert_1 = __nccwpck_require__(8029);
|
||||
/**
|
||||
* Reads proto3 messages in canonical JSON format using reflection information.
|
||||
*
|
||||
|
@ -36808,16 +36810,16 @@ exports.ReflectionJsonReader = ReflectionJsonReader;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 5380:
|
||||
/***/ 8807:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.ReflectionJsonWriter = void 0;
|
||||
const base64_1 = __nccwpck_require__(6785);
|
||||
const pb_long_1 = __nccwpck_require__(507);
|
||||
const reflection_info_1 = __nccwpck_require__(4576);
|
||||
const assert_1 = __nccwpck_require__(196);
|
||||
const base64_1 = __nccwpck_require__(5050);
|
||||
const pb_long_1 = __nccwpck_require__(8986);
|
||||
const reflection_info_1 = __nccwpck_require__(2593);
|
||||
const assert_1 = __nccwpck_require__(6387);
|
||||
/**
|
||||
* Writes proto3 messages in canonical JSON format using reflection
|
||||
* information.
|
||||
|
@ -37045,13 +37047,13 @@ exports.ReflectionJsonWriter = ReflectionJsonWriter;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2808:
|
||||
/***/ 8029:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.reflectionLongConvert = void 0;
|
||||
const reflection_info_1 = __nccwpck_require__(4576);
|
||||
const reflection_info_1 = __nccwpck_require__(2593);
|
||||
/**
|
||||
* Utility method to convert a PbLong or PbUlong to a JavaScript
|
||||
* representation during runtime.
|
||||
|
@ -37076,7 +37078,7 @@ exports.reflectionLongConvert = reflectionLongConvert;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 6853:
|
||||
/***/ 1713:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
|
||||
|
@ -37173,15 +37175,15 @@ exports.reflectionMergePartial = reflectionMergePartial;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 6492:
|
||||
/***/ 9653:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.reflectionScalarDefault = void 0;
|
||||
const reflection_info_1 = __nccwpck_require__(4576);
|
||||
const reflection_long_convert_1 = __nccwpck_require__(2808);
|
||||
const pb_long_1 = __nccwpck_require__(507);
|
||||
const reflection_info_1 = __nccwpck_require__(2593);
|
||||
const reflection_long_convert_1 = __nccwpck_require__(8029);
|
||||
const pb_long_1 = __nccwpck_require__(8986);
|
||||
/**
|
||||
* Creates the default value for a scalar type.
|
||||
*/
|
||||
|
@ -37217,14 +37219,14 @@ exports.reflectionScalarDefault = reflectionScalarDefault;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 9979:
|
||||
/***/ 7440:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.ReflectionTypeCheck = void 0;
|
||||
const reflection_info_1 = __nccwpck_require__(4576);
|
||||
const oneof_1 = __nccwpck_require__(8505);
|
||||
const reflection_info_1 = __nccwpck_require__(2593);
|
||||
const oneof_1 = __nccwpck_require__(4972);
|
||||
// noinspection JSMethodCanBeStatic
|
||||
class ReflectionTypeCheck {
|
||||
constructor(info) {
|
||||
|
@ -89476,7 +89478,7 @@ var cache = __nccwpck_require__(7389);
|
|||
var external_child_process_ = __nccwpck_require__(5317);
|
||||
// EXTERNAL MODULE: external "path"
|
||||
var external_path_ = __nccwpck_require__(6928);
|
||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+356b8986c3908_3c7aef4db71f7bb813aab3de6ca73c6b/node_modules/detsys-ts/dist/index.js
|
||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/detsys-ts@https+++codeload.github.com+DeterminateSystems+detsys-ts+tar.gz+e252a66f00e04_9fd6a6e489bb0835b02375f0d78a610e/node_modules/detsys-ts/dist/index.js
|
||||
var __defProp = Object.defineProperty;
|
||||
var __export = (target, all) => {
|
||||
for (var name in all)
|
||||
|
@ -89920,7 +89922,8 @@ function identify(projectName) {
|
|||
"GITHUB_REPOSITORY_OWNER",
|
||||
"GITHUB_REPOSITORY_OWNER_ID"
|
||||
])
|
||||
}
|
||||
},
|
||||
is_ci: true
|
||||
};
|
||||
core.debug("Correlation data:");
|
||||
core.debug(JSON.stringify(ident, null, 2));
|
||||
|
@ -90362,6 +90365,7 @@ var EVENT_ARTIFACT_CACHE_HIT = "artifact_cache_hit";
|
|||
var EVENT_ARTIFACT_CACHE_MISS = "artifact_cache_miss";
|
||||
var EVENT_ARTIFACT_CACHE_PERSIST = "artifact_cache_persist";
|
||||
var EVENT_PREFLIGHT_REQUIRE_NIX_DENIED = "preflight-require-nix-denied";
|
||||
var EVENT_STORE_IDENTITY_FAILED = "store_identity_failed";
|
||||
var FACT_ARTIFACT_FETCHED_FROM_CACHE = "artifact_fetched_from_cache";
|
||||
var FACT_ENDED_WITH_EXCEPTION = "ended_with_exception";
|
||||
var FACT_FINAL_EXCEPTION = "final_exception";
|
||||
|
@ -90386,6 +90390,49 @@ var PROGRAM_NAME_CRASH_DENY_LIST = [
|
|||
"nix-store-tests",
|
||||
"nix-util-tests"
|
||||
];
|
||||
var determinateStateDir = "/var/lib/determinate";
|
||||
var determinateIdentityFile = external_path_.join(determinateStateDir, "identity.json");
|
||||
var isRoot = external_os_.userInfo().uid === 0;
|
||||
async function sudoEnsureDeterminateStateDir() {
|
||||
const code = await exec.exec("sudo", [
|
||||
"mkdir",
|
||||
"-p",
|
||||
determinateStateDir
|
||||
]);
|
||||
if (code !== 0) {
|
||||
throw new Error(`sudo mkdir -p exit: ${code}`);
|
||||
}
|
||||
}
|
||||
async function ensureDeterminateStateDir() {
|
||||
if (isRoot) {
|
||||
await (0,promises_namespaceObject.mkdir)(determinateStateDir, { recursive: true });
|
||||
} else {
|
||||
return sudoEnsureDeterminateStateDir();
|
||||
}
|
||||
}
|
||||
async function sudoWriteCorrelationHashes(hashes) {
|
||||
const buffer = Buffer.from(hashes);
|
||||
const code = await exec.exec(
|
||||
"sudo",
|
||||
["tee", determinateIdentityFile],
|
||||
{
|
||||
input: buffer,
|
||||
// Ignore output from tee
|
||||
outStream: (0,external_fs_.createWriteStream)("/dev/null")
|
||||
}
|
||||
);
|
||||
if (code !== 0) {
|
||||
throw new Error(`sudo tee exit: ${code}`);
|
||||
}
|
||||
}
|
||||
async function writeCorrelationHashes(hashes) {
|
||||
await ensureDeterminateStateDir();
|
||||
if (isRoot) {
|
||||
await promises_namespaceObject.writeFile(determinateIdentityFile, hashes, "utf-8");
|
||||
} else {
|
||||
return sudoWriteCorrelationHashes(hashes);
|
||||
}
|
||||
}
|
||||
var DetSysAction = class {
|
||||
determineExecutionPhase() {
|
||||
const currentPhase = core.getState(STATE_KEY_EXECUTION_PHASE);
|
||||
|
@ -90564,9 +90611,13 @@ var DetSysAction = class {
|
|||
async executeAsync() {
|
||||
try {
|
||||
await this.checkIn();
|
||||
process.env.DETSYS_CORRELATION = JSON.stringify(
|
||||
this.getCorrelationHashes()
|
||||
);
|
||||
const correlationHashes = JSON.stringify(this.getCorrelationHashes());
|
||||
process.env.DETSYS_CORRELATION = correlationHashes;
|
||||
try {
|
||||
await writeCorrelationHashes(correlationHashes);
|
||||
} catch (error3) {
|
||||
this.recordEvent(EVENT_STORE_IDENTITY_FAILED, { error: String(error3) });
|
||||
}
|
||||
if (!await this.preflightRequireNix()) {
|
||||
this.recordEvent(EVENT_PREFLIGHT_REQUIRE_NIX_DENIED);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue