@gadgetinc/dateilager 0.2.8 → 0.3.0
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/pb/fs_pb.client.d.ts +30 -0
- package/dist/cjs/pb/fs_pb.client.js +21 -0
- package/dist/cjs/pb/fs_pb.client.js.map +1 -1
- package/dist/cjs/pb/fs_pb.d.ts +138 -0
- package/dist/cjs/pb/fs_pb.js +337 -2
- package/dist/cjs/pb/fs_pb.js.map +1 -1
- package/dist/esm/pb/fs_pb.client.d.ts +30 -0
- package/dist/esm/pb/fs_pb.client.js +21 -0
- package/dist/esm/pb/fs_pb.client.js.map +1 -1
- package/dist/esm/pb/fs_pb.d.ts +138 -0
- package/dist/esm/pb/fs_pb.js +336 -1
- package/dist/esm/pb/fs_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
2
2
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
import type { GcContentsResponse } from "./fs_pb";
|
|
4
|
+
import type { GcContentsRequest } from "./fs_pb";
|
|
5
|
+
import type { GcRandomProjectsResponse } from "./fs_pb";
|
|
6
|
+
import type { GcRandomProjectsRequest } from "./fs_pb";
|
|
7
|
+
import type { GcProjectResponse } from "./fs_pb";
|
|
8
|
+
import type { GcProjectRequest } from "./fs_pb";
|
|
3
9
|
import type { ResetResponse } from "./fs_pb";
|
|
4
10
|
import type { ResetRequest } from "./fs_pb";
|
|
5
11
|
import type { SnapshotResponse } from "./fs_pb";
|
|
@@ -62,6 +68,18 @@ export interface IFsClient {
|
|
|
62
68
|
* @generated from protobuf rpc: Reset(pb.ResetRequest) returns (pb.ResetResponse);
|
|
63
69
|
*/
|
|
64
70
|
reset(input: ResetRequest, options?: RpcOptions): UnaryCall<ResetRequest, ResetResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* @generated from protobuf rpc: GcProject(pb.GcProjectRequest) returns (pb.GcProjectResponse);
|
|
73
|
+
*/
|
|
74
|
+
gcProject(input: GcProjectRequest, options?: RpcOptions): UnaryCall<GcProjectRequest, GcProjectResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* @generated from protobuf rpc: GcRandomProjects(pb.GcRandomProjectsRequest) returns (pb.GcRandomProjectsResponse);
|
|
77
|
+
*/
|
|
78
|
+
gcRandomProjects(input: GcRandomProjectsRequest, options?: RpcOptions): UnaryCall<GcRandomProjectsRequest, GcRandomProjectsResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* @generated from protobuf rpc: GcContents(pb.GcContentsRequest) returns (pb.GcContentsResponse);
|
|
81
|
+
*/
|
|
82
|
+
gcContents(input: GcContentsRequest, options?: RpcOptions): UnaryCall<GcContentsRequest, GcContentsResponse>;
|
|
65
83
|
}
|
|
66
84
|
/**
|
|
67
85
|
* @generated from protobuf service pb.Fs
|
|
@@ -110,4 +128,16 @@ export declare class FsClient implements IFsClient, ServiceInfo {
|
|
|
110
128
|
* @generated from protobuf rpc: Reset(pb.ResetRequest) returns (pb.ResetResponse);
|
|
111
129
|
*/
|
|
112
130
|
reset(input: ResetRequest, options?: RpcOptions): UnaryCall<ResetRequest, ResetResponse>;
|
|
131
|
+
/**
|
|
132
|
+
* @generated from protobuf rpc: GcProject(pb.GcProjectRequest) returns (pb.GcProjectResponse);
|
|
133
|
+
*/
|
|
134
|
+
gcProject(input: GcProjectRequest, options?: RpcOptions): UnaryCall<GcProjectRequest, GcProjectResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* @generated from protobuf rpc: GcRandomProjects(pb.GcRandomProjectsRequest) returns (pb.GcRandomProjectsResponse);
|
|
137
|
+
*/
|
|
138
|
+
gcRandomProjects(input: GcRandomProjectsRequest, options?: RpcOptions): UnaryCall<GcRandomProjectsRequest, GcRandomProjectsResponse>;
|
|
139
|
+
/**
|
|
140
|
+
* @generated from protobuf rpc: GcContents(pb.GcContentsRequest) returns (pb.GcContentsResponse);
|
|
141
|
+
*/
|
|
142
|
+
gcContents(input: GcContentsRequest, options?: RpcOptions): UnaryCall<GcContentsRequest, GcContentsResponse>;
|
|
113
143
|
}
|
|
@@ -96,6 +96,27 @@ class FsClient {
|
|
|
96
96
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
97
97
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
98
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* @generated from protobuf rpc: GcProject(pb.GcProjectRequest) returns (pb.GcProjectResponse);
|
|
101
|
+
*/
|
|
102
|
+
gcProject(input, options) {
|
|
103
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
104
|
+
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* @generated from protobuf rpc: GcRandomProjects(pb.GcRandomProjectsRequest) returns (pb.GcRandomProjectsResponse);
|
|
108
|
+
*/
|
|
109
|
+
gcRandomProjects(input, options) {
|
|
110
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
111
|
+
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @generated from protobuf rpc: GcContents(pb.GcContentsRequest) returns (pb.GcContentsResponse);
|
|
115
|
+
*/
|
|
116
|
+
gcContents(input, options) {
|
|
117
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
118
|
+
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
119
|
+
}
|
|
99
120
|
}
|
|
100
121
|
exports.FsClient = FsClient;
|
|
101
122
|
//# sourceMappingURL=fs_pb.client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs_pb.client.js","sourceRoot":"","sources":["../../../src/pb/fs_pb.client.ts"],"names":[],"mappings":";;;AAOA,mCAA6B;AAmB7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AAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,IAAA,4BAAc,EAAoC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC3G,CAAC;IACD;;OAEG;IACH,KAAK,CAAC,KAAmB,EAAE,OAAoB;QAC3C,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,IAAA,4BAAc,EAA8B,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACrG,CAAC;CACJ;AArED,4BAqEC","sourcesContent":["/* eslint-disable */\n// @generated by protobuf-ts 2.8.1 with parameter long_type_bigint,ts_nocheck,eslint_disable,add_pb_suffix\n// @generated from protobuf file \"fs.proto\" (package \"pb\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { Fs } from \"./fs_pb\";\nimport type { ResetResponse } from \"./fs_pb\";\nimport type { ResetRequest } from \"./fs_pb\";\nimport type { SnapshotResponse } from \"./fs_pb\";\nimport type { SnapshotRequest } from \"./fs_pb\";\nimport type { InspectResponse } from \"./fs_pb\";\nimport type { InspectRequest } from \"./fs_pb\";\nimport type { UpdateResponse } from \"./fs_pb\";\nimport type { UpdateRequest } from \"./fs_pb\";\nimport type { ClientStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { GetCompressResponse } from \"./fs_pb\";\nimport type { GetCompressRequest } from \"./fs_pb\";\nimport type { GetResponse } from \"./fs_pb\";\nimport type { GetRequest } from \"./fs_pb\";\nimport type { ServerStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { ListProjectsResponse } from \"./fs_pb\";\nimport type { ListProjectsRequest } from \"./fs_pb\";\nimport type { DeleteProjectResponse } from \"./fs_pb\";\nimport type { DeleteProjectRequest } from \"./fs_pb\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { NewProjectResponse } from \"./fs_pb\";\nimport type { NewProjectRequest } from \"./fs_pb\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service pb.Fs\n */\nexport interface IFsClient {\n /**\n * @generated from protobuf rpc: NewProject(pb.NewProjectRequest) returns (pb.NewProjectResponse);\n */\n newProject(input: NewProjectRequest, options?: RpcOptions): UnaryCall<NewProjectRequest, NewProjectResponse>;\n /**\n * @generated from protobuf rpc: DeleteProject(pb.DeleteProjectRequest) returns (pb.DeleteProjectResponse);\n */\n deleteProject(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, DeleteProjectResponse>;\n /**\n * @generated from protobuf rpc: ListProjects(pb.ListProjectsRequest) returns (pb.ListProjectsResponse);\n */\n listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse>;\n /**\n * @generated from protobuf rpc: Get(pb.GetRequest) returns (stream pb.GetResponse);\n */\n get(input: GetRequest, options?: RpcOptions): ServerStreamingCall<GetRequest, GetResponse>;\n /**\n * @generated from protobuf rpc: GetCompress(pb.GetCompressRequest) returns (stream pb.GetCompressResponse);\n */\n getCompress(input: GetCompressRequest, options?: RpcOptions): ServerStreamingCall<GetCompressRequest, GetCompressResponse>;\n /**\n * @generated from protobuf rpc: Update(stream pb.UpdateRequest) returns (pb.UpdateResponse);\n */\n update(options?: RpcOptions): ClientStreamingCall<UpdateRequest, UpdateResponse>;\n /**\n * @generated from protobuf rpc: Inspect(pb.InspectRequest) returns (pb.InspectResponse);\n */\n inspect(input: InspectRequest, options?: RpcOptions): UnaryCall<InspectRequest, InspectResponse>;\n /**\n * @generated from protobuf rpc: Snapshot(pb.SnapshotRequest) returns (pb.SnapshotResponse);\n */\n snapshot(input: SnapshotRequest, options?: RpcOptions): UnaryCall<SnapshotRequest, SnapshotResponse>;\n /**\n * @generated from protobuf rpc: Reset(pb.ResetRequest) returns (pb.ResetResponse);\n */\n reset(input: ResetRequest, options?: RpcOptions): UnaryCall<ResetRequest, ResetResponse>;\n}\n/**\n * @generated from protobuf service pb.Fs\n */\nexport class FsClient implements IFsClient, ServiceInfo {\n typeName = Fs.typeName;\n methods = Fs.methods;\n options = Fs.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: NewProject(pb.NewProjectRequest) returns (pb.NewProjectResponse);\n */\n newProject(input: NewProjectRequest, options?: RpcOptions): UnaryCall<NewProjectRequest, NewProjectResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<NewProjectRequest, NewProjectResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: DeleteProject(pb.DeleteProjectRequest) returns (pb.DeleteProjectResponse);\n */\n deleteProject(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, DeleteProjectResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteProjectRequest, DeleteProjectResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListProjects(pb.ListProjectsRequest) returns (pb.ListProjectsResponse);\n */\n listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListProjectsRequest, ListProjectsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: Get(pb.GetRequest) returns (stream pb.GetResponse);\n */\n get(input: GetRequest, options?: RpcOptions): ServerStreamingCall<GetRequest, GetResponse> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetRequest, GetResponse>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetCompress(pb.GetCompressRequest) returns (stream pb.GetCompressResponse);\n */\n getCompress(input: GetCompressRequest, options?: RpcOptions): ServerStreamingCall<GetCompressRequest, GetCompressResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetCompressRequest, GetCompressResponse>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: Update(stream pb.UpdateRequest) returns (pb.UpdateResponse);\n */\n update(options?: RpcOptions): ClientStreamingCall<UpdateRequest, UpdateResponse> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateRequest, UpdateResponse>(\"clientStreaming\", this._transport, method, opt);\n }\n /**\n * @generated from protobuf rpc: Inspect(pb.InspectRequest) returns (pb.InspectResponse);\n */\n inspect(input: InspectRequest, options?: RpcOptions): UnaryCall<InspectRequest, InspectResponse> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<InspectRequest, InspectResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: Snapshot(pb.SnapshotRequest) returns (pb.SnapshotResponse);\n */\n snapshot(input: SnapshotRequest, options?: RpcOptions): UnaryCall<SnapshotRequest, SnapshotResponse> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<SnapshotRequest, SnapshotResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: Reset(pb.ResetRequest) returns (pb.ResetResponse);\n */\n reset(input: ResetRequest, options?: RpcOptions): UnaryCall<ResetRequest, ResetResponse> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<ResetRequest, ResetResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"fs_pb.client.js","sourceRoot":"","sources":["../../../src/pb/fs_pb.client.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,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC7E,OAAO,IAAA,4BAAc,EAAwC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC/G,CAAC;CACJ;AA1FD,4BA0FC","sourcesContent":["/* eslint-disable */\n// @generated by protobuf-ts 2.8.1 with parameter long_type_bigint,ts_nocheck,eslint_disable,add_pb_suffix\n// @generated from protobuf file \"fs.proto\" (package \"pb\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { Fs } from \"./fs_pb\";\nimport type { GcContentsResponse } from \"./fs_pb\";\nimport type { GcContentsRequest } from \"./fs_pb\";\nimport type { GcRandomProjectsResponse } from \"./fs_pb\";\nimport type { GcRandomProjectsRequest } from \"./fs_pb\";\nimport type { GcProjectResponse } from \"./fs_pb\";\nimport type { GcProjectRequest } from \"./fs_pb\";\nimport type { ResetResponse } from \"./fs_pb\";\nimport type { ResetRequest } from \"./fs_pb\";\nimport type { SnapshotResponse } from \"./fs_pb\";\nimport type { SnapshotRequest } from \"./fs_pb\";\nimport type { InspectResponse } from \"./fs_pb\";\nimport type { InspectRequest } from \"./fs_pb\";\nimport type { UpdateResponse } from \"./fs_pb\";\nimport type { UpdateRequest } from \"./fs_pb\";\nimport type { ClientStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { GetCompressResponse } from \"./fs_pb\";\nimport type { GetCompressRequest } from \"./fs_pb\";\nimport type { GetResponse } from \"./fs_pb\";\nimport type { GetRequest } from \"./fs_pb\";\nimport type { ServerStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { ListProjectsResponse } from \"./fs_pb\";\nimport type { ListProjectsRequest } from \"./fs_pb\";\nimport type { DeleteProjectResponse } from \"./fs_pb\";\nimport type { DeleteProjectRequest } from \"./fs_pb\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { NewProjectResponse } from \"./fs_pb\";\nimport type { NewProjectRequest } from \"./fs_pb\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service pb.Fs\n */\nexport interface IFsClient {\n /**\n * @generated from protobuf rpc: NewProject(pb.NewProjectRequest) returns (pb.NewProjectResponse);\n */\n newProject(input: NewProjectRequest, options?: RpcOptions): UnaryCall<NewProjectRequest, NewProjectResponse>;\n /**\n * @generated from protobuf rpc: DeleteProject(pb.DeleteProjectRequest) returns (pb.DeleteProjectResponse);\n */\n deleteProject(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, DeleteProjectResponse>;\n /**\n * @generated from protobuf rpc: ListProjects(pb.ListProjectsRequest) returns (pb.ListProjectsResponse);\n */\n listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse>;\n /**\n * @generated from protobuf rpc: Get(pb.GetRequest) returns (stream pb.GetResponse);\n */\n get(input: GetRequest, options?: RpcOptions): ServerStreamingCall<GetRequest, GetResponse>;\n /**\n * @generated from protobuf rpc: GetCompress(pb.GetCompressRequest) returns (stream pb.GetCompressResponse);\n */\n getCompress(input: GetCompressRequest, options?: RpcOptions): ServerStreamingCall<GetCompressRequest, GetCompressResponse>;\n /**\n * @generated from protobuf rpc: Update(stream pb.UpdateRequest) returns (pb.UpdateResponse);\n */\n update(options?: RpcOptions): ClientStreamingCall<UpdateRequest, UpdateResponse>;\n /**\n * @generated from protobuf rpc: Inspect(pb.InspectRequest) returns (pb.InspectResponse);\n */\n inspect(input: InspectRequest, options?: RpcOptions): UnaryCall<InspectRequest, InspectResponse>;\n /**\n * @generated from protobuf rpc: Snapshot(pb.SnapshotRequest) returns (pb.SnapshotResponse);\n */\n snapshot(input: SnapshotRequest, options?: RpcOptions): UnaryCall<SnapshotRequest, SnapshotResponse>;\n /**\n * @generated from protobuf rpc: Reset(pb.ResetRequest) returns (pb.ResetResponse);\n */\n reset(input: ResetRequest, options?: RpcOptions): UnaryCall<ResetRequest, ResetResponse>;\n /**\n * @generated from protobuf rpc: GcProject(pb.GcProjectRequest) returns (pb.GcProjectResponse);\n */\n gcProject(input: GcProjectRequest, options?: RpcOptions): UnaryCall<GcProjectRequest, GcProjectResponse>;\n /**\n * @generated from protobuf rpc: GcRandomProjects(pb.GcRandomProjectsRequest) returns (pb.GcRandomProjectsResponse);\n */\n gcRandomProjects(input: GcRandomProjectsRequest, options?: RpcOptions): UnaryCall<GcRandomProjectsRequest, GcRandomProjectsResponse>;\n /**\n * @generated from protobuf rpc: GcContents(pb.GcContentsRequest) returns (pb.GcContentsResponse);\n */\n gcContents(input: GcContentsRequest, options?: RpcOptions): UnaryCall<GcContentsRequest, GcContentsResponse>;\n}\n/**\n * @generated from protobuf service pb.Fs\n */\nexport class FsClient implements IFsClient, ServiceInfo {\n typeName = Fs.typeName;\n methods = Fs.methods;\n options = Fs.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: NewProject(pb.NewProjectRequest) returns (pb.NewProjectResponse);\n */\n newProject(input: NewProjectRequest, options?: RpcOptions): UnaryCall<NewProjectRequest, NewProjectResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<NewProjectRequest, NewProjectResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: DeleteProject(pb.DeleteProjectRequest) returns (pb.DeleteProjectResponse);\n */\n deleteProject(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall<DeleteProjectRequest, DeleteProjectResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteProjectRequest, DeleteProjectResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListProjects(pb.ListProjectsRequest) returns (pb.ListProjectsResponse);\n */\n listProjects(input: ListProjectsRequest, options?: RpcOptions): UnaryCall<ListProjectsRequest, ListProjectsResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListProjectsRequest, ListProjectsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: Get(pb.GetRequest) returns (stream pb.GetResponse);\n */\n get(input: GetRequest, options?: RpcOptions): ServerStreamingCall<GetRequest, GetResponse> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetRequest, GetResponse>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetCompress(pb.GetCompressRequest) returns (stream pb.GetCompressResponse);\n */\n getCompress(input: GetCompressRequest, options?: RpcOptions): ServerStreamingCall<GetCompressRequest, GetCompressResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetCompressRequest, GetCompressResponse>(\"serverStreaming\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: Update(stream pb.UpdateRequest) returns (pb.UpdateResponse);\n */\n update(options?: RpcOptions): ClientStreamingCall<UpdateRequest, UpdateResponse> {\n const method = this.methods[5], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateRequest, UpdateResponse>(\"clientStreaming\", this._transport, method, opt);\n }\n /**\n * @generated from protobuf rpc: Inspect(pb.InspectRequest) returns (pb.InspectResponse);\n */\n inspect(input: InspectRequest, options?: RpcOptions): UnaryCall<InspectRequest, InspectResponse> {\n const method = this.methods[6], opt = this._transport.mergeOptions(options);\n return stackIntercept<InspectRequest, InspectResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: Snapshot(pb.SnapshotRequest) returns (pb.SnapshotResponse);\n */\n snapshot(input: SnapshotRequest, options?: RpcOptions): UnaryCall<SnapshotRequest, SnapshotResponse> {\n const method = this.methods[7], opt = this._transport.mergeOptions(options);\n return stackIntercept<SnapshotRequest, SnapshotResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: Reset(pb.ResetRequest) returns (pb.ResetResponse);\n */\n reset(input: ResetRequest, options?: RpcOptions): UnaryCall<ResetRequest, ResetResponse> {\n const method = this.methods[8], opt = this._transport.mergeOptions(options);\n return stackIntercept<ResetRequest, ResetResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GcProject(pb.GcProjectRequest) returns (pb.GcProjectResponse);\n */\n gcProject(input: GcProjectRequest, options?: RpcOptions): UnaryCall<GcProjectRequest, GcProjectResponse> {\n const method = this.methods[9], opt = this._transport.mergeOptions(options);\n return stackIntercept<GcProjectRequest, GcProjectResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GcRandomProjects(pb.GcRandomProjectsRequest) returns (pb.GcRandomProjectsResponse);\n */\n gcRandomProjects(input: GcRandomProjectsRequest, options?: RpcOptions): UnaryCall<GcRandomProjectsRequest, GcRandomProjectsResponse> {\n const method = this.methods[10], opt = this._transport.mergeOptions(options);\n return stackIntercept<GcRandomProjectsRequest, GcRandomProjectsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GcContents(pb.GcContentsRequest) returns (pb.GcContentsResponse);\n */\n gcContents(input: GcContentsRequest, options?: RpcOptions): UnaryCall<GcContentsRequest, GcContentsResponse> {\n const method = this.methods[11], opt = this._transport.mergeOptions(options);\n return stackIntercept<GcContentsRequest, GcContentsResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
|
package/dist/cjs/pb/fs_pb.d.ts
CHANGED
|
@@ -281,6 +281,84 @@ export interface ResetRequest {
|
|
|
281
281
|
*/
|
|
282
282
|
export interface ResetResponse {
|
|
283
283
|
}
|
|
284
|
+
/**
|
|
285
|
+
* @generated from protobuf message pb.GcProjectRequest
|
|
286
|
+
*/
|
|
287
|
+
export interface GcProjectRequest {
|
|
288
|
+
/**
|
|
289
|
+
* @generated from protobuf field: int64 project = 1;
|
|
290
|
+
*/
|
|
291
|
+
project: bigint;
|
|
292
|
+
/**
|
|
293
|
+
* @generated from protobuf field: int64 keep_versions = 2;
|
|
294
|
+
*/
|
|
295
|
+
keepVersions: bigint;
|
|
296
|
+
/**
|
|
297
|
+
* @generated from protobuf field: optional int64 from_version = 3;
|
|
298
|
+
*/
|
|
299
|
+
fromVersion?: bigint;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* @generated from protobuf message pb.GcProjectResponse
|
|
303
|
+
*/
|
|
304
|
+
export interface GcProjectResponse {
|
|
305
|
+
/**
|
|
306
|
+
* @generated from protobuf field: int64 count = 1;
|
|
307
|
+
*/
|
|
308
|
+
count: bigint;
|
|
309
|
+
/**
|
|
310
|
+
* @generated from protobuf field: int64 project = 2;
|
|
311
|
+
*/
|
|
312
|
+
project: bigint;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* @generated from protobuf message pb.GcRandomProjectsRequest
|
|
316
|
+
*/
|
|
317
|
+
export interface GcRandomProjectsRequest {
|
|
318
|
+
/**
|
|
319
|
+
* @generated from protobuf field: float sample = 1;
|
|
320
|
+
*/
|
|
321
|
+
sample: number;
|
|
322
|
+
/**
|
|
323
|
+
* @generated from protobuf field: int64 keep_versions = 2;
|
|
324
|
+
*/
|
|
325
|
+
keepVersions: bigint;
|
|
326
|
+
/**
|
|
327
|
+
* @generated from protobuf field: optional int64 from_version = 3;
|
|
328
|
+
*/
|
|
329
|
+
fromVersion?: bigint;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* @generated from protobuf message pb.GcRandomProjectsResponse
|
|
333
|
+
*/
|
|
334
|
+
export interface GcRandomProjectsResponse {
|
|
335
|
+
/**
|
|
336
|
+
* @generated from protobuf field: int64 count = 1;
|
|
337
|
+
*/
|
|
338
|
+
count: bigint;
|
|
339
|
+
/**
|
|
340
|
+
* @generated from protobuf field: repeated int64 projects = 2;
|
|
341
|
+
*/
|
|
342
|
+
projects: bigint[];
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* @generated from protobuf message pb.GcContentsRequest
|
|
346
|
+
*/
|
|
347
|
+
export interface GcContentsRequest {
|
|
348
|
+
/**
|
|
349
|
+
* @generated from protobuf field: float sample = 1;
|
|
350
|
+
*/
|
|
351
|
+
sample: number;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* @generated from protobuf message pb.GcContentsResponse
|
|
355
|
+
*/
|
|
356
|
+
export interface GcContentsResponse {
|
|
357
|
+
/**
|
|
358
|
+
* @generated from protobuf field: int64 count = 1;
|
|
359
|
+
*/
|
|
360
|
+
count: bigint;
|
|
361
|
+
}
|
|
284
362
|
declare class NewProjectRequest$Type extends MessageType<NewProjectRequest> {
|
|
285
363
|
constructor();
|
|
286
364
|
create(value?: PartialMessage<NewProjectRequest>): NewProjectRequest;
|
|
@@ -491,6 +569,66 @@ declare class ResetResponse$Type extends MessageType<ResetResponse> {
|
|
|
491
569
|
* @generated MessageType for protobuf message pb.ResetResponse
|
|
492
570
|
*/
|
|
493
571
|
export declare const ResetResponse: ResetResponse$Type;
|
|
572
|
+
declare class GcProjectRequest$Type extends MessageType<GcProjectRequest> {
|
|
573
|
+
constructor();
|
|
574
|
+
create(value?: PartialMessage<GcProjectRequest>): GcProjectRequest;
|
|
575
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GcProjectRequest): GcProjectRequest;
|
|
576
|
+
internalBinaryWrite(message: GcProjectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* @generated MessageType for protobuf message pb.GcProjectRequest
|
|
580
|
+
*/
|
|
581
|
+
export declare const GcProjectRequest: GcProjectRequest$Type;
|
|
582
|
+
declare class GcProjectResponse$Type extends MessageType<GcProjectResponse> {
|
|
583
|
+
constructor();
|
|
584
|
+
create(value?: PartialMessage<GcProjectResponse>): GcProjectResponse;
|
|
585
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GcProjectResponse): GcProjectResponse;
|
|
586
|
+
internalBinaryWrite(message: GcProjectResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* @generated MessageType for protobuf message pb.GcProjectResponse
|
|
590
|
+
*/
|
|
591
|
+
export declare const GcProjectResponse: GcProjectResponse$Type;
|
|
592
|
+
declare class GcRandomProjectsRequest$Type extends MessageType<GcRandomProjectsRequest> {
|
|
593
|
+
constructor();
|
|
594
|
+
create(value?: PartialMessage<GcRandomProjectsRequest>): GcRandomProjectsRequest;
|
|
595
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GcRandomProjectsRequest): GcRandomProjectsRequest;
|
|
596
|
+
internalBinaryWrite(message: GcRandomProjectsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
597
|
+
}
|
|
598
|
+
/**
|
|
599
|
+
* @generated MessageType for protobuf message pb.GcRandomProjectsRequest
|
|
600
|
+
*/
|
|
601
|
+
export declare const GcRandomProjectsRequest: GcRandomProjectsRequest$Type;
|
|
602
|
+
declare class GcRandomProjectsResponse$Type extends MessageType<GcRandomProjectsResponse> {
|
|
603
|
+
constructor();
|
|
604
|
+
create(value?: PartialMessage<GcRandomProjectsResponse>): GcRandomProjectsResponse;
|
|
605
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GcRandomProjectsResponse): GcRandomProjectsResponse;
|
|
606
|
+
internalBinaryWrite(message: GcRandomProjectsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* @generated MessageType for protobuf message pb.GcRandomProjectsResponse
|
|
610
|
+
*/
|
|
611
|
+
export declare const GcRandomProjectsResponse: GcRandomProjectsResponse$Type;
|
|
612
|
+
declare class GcContentsRequest$Type extends MessageType<GcContentsRequest> {
|
|
613
|
+
constructor();
|
|
614
|
+
create(value?: PartialMessage<GcContentsRequest>): GcContentsRequest;
|
|
615
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GcContentsRequest): GcContentsRequest;
|
|
616
|
+
internalBinaryWrite(message: GcContentsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* @generated MessageType for protobuf message pb.GcContentsRequest
|
|
620
|
+
*/
|
|
621
|
+
export declare const GcContentsRequest: GcContentsRequest$Type;
|
|
622
|
+
declare class GcContentsResponse$Type extends MessageType<GcContentsResponse> {
|
|
623
|
+
constructor();
|
|
624
|
+
create(value?: PartialMessage<GcContentsResponse>): GcContentsResponse;
|
|
625
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GcContentsResponse): GcContentsResponse;
|
|
626
|
+
internalBinaryWrite(message: GcContentsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
627
|
+
}
|
|
628
|
+
/**
|
|
629
|
+
* @generated MessageType for protobuf message pb.GcContentsResponse
|
|
630
|
+
*/
|
|
631
|
+
export declare const GcContentsResponse: GcContentsResponse$Type;
|
|
494
632
|
/**
|
|
495
633
|
* @generated ServiceType for protobuf service pb.Fs
|
|
496
634
|
*/
|
package/dist/cjs/pb/fs_pb.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Fs = exports.ResetResponse = exports.ResetRequest = exports.SnapshotResponse = exports.SnapshotRequest = exports.InspectResponse = exports.InspectRequest = exports.UpdateResponse = exports.UpdateRequest = exports.GetCompressResponse = exports.GetCompressRequest = exports.GetResponse = exports.GetRequest = exports.ObjectQuery = exports.Objekt = exports.ListProjectsResponse = exports.ListProjectsRequest = exports.Project = exports.DeleteProjectResponse = exports.DeleteProjectRequest = exports.NewProjectResponse = exports.NewProjectRequest = exports.GetCompressResponse_Format = void 0;
|
|
3
|
+
exports.Fs = exports.GcContentsResponse = exports.GcContentsRequest = exports.GcRandomProjectsResponse = exports.GcRandomProjectsRequest = exports.GcProjectResponse = exports.GcProjectRequest = exports.ResetResponse = exports.ResetRequest = exports.SnapshotResponse = exports.SnapshotRequest = exports.InspectResponse = exports.InspectRequest = exports.UpdateResponse = exports.UpdateRequest = exports.GetCompressResponse = exports.GetCompressRequest = exports.GetResponse = exports.GetRequest = exports.ObjectQuery = exports.Objekt = exports.ListProjectsResponse = exports.ListProjectsRequest = exports.Project = exports.DeleteProjectResponse = exports.DeleteProjectRequest = exports.NewProjectResponse = exports.NewProjectRequest = exports.GetCompressResponse_Format = void 0;
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @generated by protobuf-ts 2.8.1 with parameter long_type_bigint,ts_nocheck,eslint_disable,add_pb_suffix
|
|
6
6
|
// @generated from protobuf file "fs.proto" (package "pb", syntax proto3)
|
|
@@ -1072,6 +1072,338 @@ class ResetResponse$Type extends runtime_5.MessageType {
|
|
|
1072
1072
|
* @generated MessageType for protobuf message pb.ResetResponse
|
|
1073
1073
|
*/
|
|
1074
1074
|
exports.ResetResponse = new ResetResponse$Type();
|
|
1075
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1076
|
+
class GcProjectRequest$Type extends runtime_5.MessageType {
|
|
1077
|
+
constructor() {
|
|
1078
|
+
super("pb.GcProjectRequest", [
|
|
1079
|
+
{ no: 1, name: "project", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1080
|
+
{ no: 2, name: "keep_versions", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1081
|
+
{ no: 3, name: "from_version", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
1082
|
+
]);
|
|
1083
|
+
}
|
|
1084
|
+
create(value) {
|
|
1085
|
+
const message = { project: 0n, keepVersions: 0n };
|
|
1086
|
+
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1087
|
+
if (value !== undefined)
|
|
1088
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1089
|
+
return message;
|
|
1090
|
+
}
|
|
1091
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1092
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1093
|
+
while (reader.pos < end) {
|
|
1094
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1095
|
+
switch (fieldNo) {
|
|
1096
|
+
case /* int64 project */ 1:
|
|
1097
|
+
message.project = reader.int64().toBigInt();
|
|
1098
|
+
break;
|
|
1099
|
+
case /* int64 keep_versions */ 2:
|
|
1100
|
+
message.keepVersions = reader.int64().toBigInt();
|
|
1101
|
+
break;
|
|
1102
|
+
case /* optional int64 from_version */ 3:
|
|
1103
|
+
message.fromVersion = reader.int64().toBigInt();
|
|
1104
|
+
break;
|
|
1105
|
+
default:
|
|
1106
|
+
let u = options.readUnknownField;
|
|
1107
|
+
if (u === "throw")
|
|
1108
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1109
|
+
let d = reader.skip(wireType);
|
|
1110
|
+
if (u !== false)
|
|
1111
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
return message;
|
|
1115
|
+
}
|
|
1116
|
+
internalBinaryWrite(message, writer, options) {
|
|
1117
|
+
/* int64 project = 1; */
|
|
1118
|
+
if (message.project !== 0n)
|
|
1119
|
+
writer.tag(1, runtime_1.WireType.Varint).int64(message.project);
|
|
1120
|
+
/* int64 keep_versions = 2; */
|
|
1121
|
+
if (message.keepVersions !== 0n)
|
|
1122
|
+
writer.tag(2, runtime_1.WireType.Varint).int64(message.keepVersions);
|
|
1123
|
+
/* optional int64 from_version = 3; */
|
|
1124
|
+
if (message.fromVersion !== undefined)
|
|
1125
|
+
writer.tag(3, runtime_1.WireType.Varint).int64(message.fromVersion);
|
|
1126
|
+
let u = options.writeUnknownFields;
|
|
1127
|
+
if (u !== false)
|
|
1128
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1129
|
+
return writer;
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
/**
|
|
1133
|
+
* @generated MessageType for protobuf message pb.GcProjectRequest
|
|
1134
|
+
*/
|
|
1135
|
+
exports.GcProjectRequest = new GcProjectRequest$Type();
|
|
1136
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1137
|
+
class GcProjectResponse$Type extends runtime_5.MessageType {
|
|
1138
|
+
constructor() {
|
|
1139
|
+
super("pb.GcProjectResponse", [
|
|
1140
|
+
{ no: 1, name: "count", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1141
|
+
{ no: 2, name: "project", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
1142
|
+
]);
|
|
1143
|
+
}
|
|
1144
|
+
create(value) {
|
|
1145
|
+
const message = { count: 0n, project: 0n };
|
|
1146
|
+
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1147
|
+
if (value !== undefined)
|
|
1148
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1149
|
+
return message;
|
|
1150
|
+
}
|
|
1151
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1152
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1153
|
+
while (reader.pos < end) {
|
|
1154
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1155
|
+
switch (fieldNo) {
|
|
1156
|
+
case /* int64 count */ 1:
|
|
1157
|
+
message.count = reader.int64().toBigInt();
|
|
1158
|
+
break;
|
|
1159
|
+
case /* int64 project */ 2:
|
|
1160
|
+
message.project = reader.int64().toBigInt();
|
|
1161
|
+
break;
|
|
1162
|
+
default:
|
|
1163
|
+
let u = options.readUnknownField;
|
|
1164
|
+
if (u === "throw")
|
|
1165
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1166
|
+
let d = reader.skip(wireType);
|
|
1167
|
+
if (u !== false)
|
|
1168
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
return message;
|
|
1172
|
+
}
|
|
1173
|
+
internalBinaryWrite(message, writer, options) {
|
|
1174
|
+
/* int64 count = 1; */
|
|
1175
|
+
if (message.count !== 0n)
|
|
1176
|
+
writer.tag(1, runtime_1.WireType.Varint).int64(message.count);
|
|
1177
|
+
/* int64 project = 2; */
|
|
1178
|
+
if (message.project !== 0n)
|
|
1179
|
+
writer.tag(2, runtime_1.WireType.Varint).int64(message.project);
|
|
1180
|
+
let u = options.writeUnknownFields;
|
|
1181
|
+
if (u !== false)
|
|
1182
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1183
|
+
return writer;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
/**
|
|
1187
|
+
* @generated MessageType for protobuf message pb.GcProjectResponse
|
|
1188
|
+
*/
|
|
1189
|
+
exports.GcProjectResponse = new GcProjectResponse$Type();
|
|
1190
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1191
|
+
class GcRandomProjectsRequest$Type extends runtime_5.MessageType {
|
|
1192
|
+
constructor() {
|
|
1193
|
+
super("pb.GcRandomProjectsRequest", [
|
|
1194
|
+
{ no: 1, name: "sample", kind: "scalar", T: 2 /*ScalarType.FLOAT*/ },
|
|
1195
|
+
{ no: 2, name: "keep_versions", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1196
|
+
{ no: 3, name: "from_version", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
1197
|
+
]);
|
|
1198
|
+
}
|
|
1199
|
+
create(value) {
|
|
1200
|
+
const message = { sample: 0, keepVersions: 0n };
|
|
1201
|
+
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1202
|
+
if (value !== undefined)
|
|
1203
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1204
|
+
return message;
|
|
1205
|
+
}
|
|
1206
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1207
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1208
|
+
while (reader.pos < end) {
|
|
1209
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1210
|
+
switch (fieldNo) {
|
|
1211
|
+
case /* float sample */ 1:
|
|
1212
|
+
message.sample = reader.float();
|
|
1213
|
+
break;
|
|
1214
|
+
case /* int64 keep_versions */ 2:
|
|
1215
|
+
message.keepVersions = reader.int64().toBigInt();
|
|
1216
|
+
break;
|
|
1217
|
+
case /* optional int64 from_version */ 3:
|
|
1218
|
+
message.fromVersion = reader.int64().toBigInt();
|
|
1219
|
+
break;
|
|
1220
|
+
default:
|
|
1221
|
+
let u = options.readUnknownField;
|
|
1222
|
+
if (u === "throw")
|
|
1223
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1224
|
+
let d = reader.skip(wireType);
|
|
1225
|
+
if (u !== false)
|
|
1226
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
return message;
|
|
1230
|
+
}
|
|
1231
|
+
internalBinaryWrite(message, writer, options) {
|
|
1232
|
+
/* float sample = 1; */
|
|
1233
|
+
if (message.sample !== 0)
|
|
1234
|
+
writer.tag(1, runtime_1.WireType.Bit32).float(message.sample);
|
|
1235
|
+
/* int64 keep_versions = 2; */
|
|
1236
|
+
if (message.keepVersions !== 0n)
|
|
1237
|
+
writer.tag(2, runtime_1.WireType.Varint).int64(message.keepVersions);
|
|
1238
|
+
/* optional int64 from_version = 3; */
|
|
1239
|
+
if (message.fromVersion !== undefined)
|
|
1240
|
+
writer.tag(3, runtime_1.WireType.Varint).int64(message.fromVersion);
|
|
1241
|
+
let u = options.writeUnknownFields;
|
|
1242
|
+
if (u !== false)
|
|
1243
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1244
|
+
return writer;
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
/**
|
|
1248
|
+
* @generated MessageType for protobuf message pb.GcRandomProjectsRequest
|
|
1249
|
+
*/
|
|
1250
|
+
exports.GcRandomProjectsRequest = new GcRandomProjectsRequest$Type();
|
|
1251
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1252
|
+
class GcRandomProjectsResponse$Type extends runtime_5.MessageType {
|
|
1253
|
+
constructor() {
|
|
1254
|
+
super("pb.GcRandomProjectsResponse", [
|
|
1255
|
+
{ no: 1, name: "count", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1256
|
+
{ no: 2, name: "projects", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
1257
|
+
]);
|
|
1258
|
+
}
|
|
1259
|
+
create(value) {
|
|
1260
|
+
const message = { count: 0n, projects: [] };
|
|
1261
|
+
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1262
|
+
if (value !== undefined)
|
|
1263
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1264
|
+
return message;
|
|
1265
|
+
}
|
|
1266
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1267
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1268
|
+
while (reader.pos < end) {
|
|
1269
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1270
|
+
switch (fieldNo) {
|
|
1271
|
+
case /* int64 count */ 1:
|
|
1272
|
+
message.count = reader.int64().toBigInt();
|
|
1273
|
+
break;
|
|
1274
|
+
case /* repeated int64 projects */ 2:
|
|
1275
|
+
if (wireType === runtime_1.WireType.LengthDelimited)
|
|
1276
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
1277
|
+
message.projects.push(reader.int64().toBigInt());
|
|
1278
|
+
else
|
|
1279
|
+
message.projects.push(reader.int64().toBigInt());
|
|
1280
|
+
break;
|
|
1281
|
+
default:
|
|
1282
|
+
let u = options.readUnknownField;
|
|
1283
|
+
if (u === "throw")
|
|
1284
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1285
|
+
let d = reader.skip(wireType);
|
|
1286
|
+
if (u !== false)
|
|
1287
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
return message;
|
|
1291
|
+
}
|
|
1292
|
+
internalBinaryWrite(message, writer, options) {
|
|
1293
|
+
/* int64 count = 1; */
|
|
1294
|
+
if (message.count !== 0n)
|
|
1295
|
+
writer.tag(1, runtime_1.WireType.Varint).int64(message.count);
|
|
1296
|
+
/* repeated int64 projects = 2; */
|
|
1297
|
+
if (message.projects.length) {
|
|
1298
|
+
writer.tag(2, runtime_1.WireType.LengthDelimited).fork();
|
|
1299
|
+
for (let i = 0; i < message.projects.length; i++)
|
|
1300
|
+
writer.int64(message.projects[i]);
|
|
1301
|
+
writer.join();
|
|
1302
|
+
}
|
|
1303
|
+
let u = options.writeUnknownFields;
|
|
1304
|
+
if (u !== false)
|
|
1305
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1306
|
+
return writer;
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
/**
|
|
1310
|
+
* @generated MessageType for protobuf message pb.GcRandomProjectsResponse
|
|
1311
|
+
*/
|
|
1312
|
+
exports.GcRandomProjectsResponse = new GcRandomProjectsResponse$Type();
|
|
1313
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1314
|
+
class GcContentsRequest$Type extends runtime_5.MessageType {
|
|
1315
|
+
constructor() {
|
|
1316
|
+
super("pb.GcContentsRequest", [
|
|
1317
|
+
{ no: 1, name: "sample", kind: "scalar", T: 2 /*ScalarType.FLOAT*/ }
|
|
1318
|
+
]);
|
|
1319
|
+
}
|
|
1320
|
+
create(value) {
|
|
1321
|
+
const message = { sample: 0 };
|
|
1322
|
+
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1323
|
+
if (value !== undefined)
|
|
1324
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1325
|
+
return message;
|
|
1326
|
+
}
|
|
1327
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1328
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1329
|
+
while (reader.pos < end) {
|
|
1330
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1331
|
+
switch (fieldNo) {
|
|
1332
|
+
case /* float sample */ 1:
|
|
1333
|
+
message.sample = reader.float();
|
|
1334
|
+
break;
|
|
1335
|
+
default:
|
|
1336
|
+
let u = options.readUnknownField;
|
|
1337
|
+
if (u === "throw")
|
|
1338
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1339
|
+
let d = reader.skip(wireType);
|
|
1340
|
+
if (u !== false)
|
|
1341
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
return message;
|
|
1345
|
+
}
|
|
1346
|
+
internalBinaryWrite(message, writer, options) {
|
|
1347
|
+
/* float sample = 1; */
|
|
1348
|
+
if (message.sample !== 0)
|
|
1349
|
+
writer.tag(1, runtime_1.WireType.Bit32).float(message.sample);
|
|
1350
|
+
let u = options.writeUnknownFields;
|
|
1351
|
+
if (u !== false)
|
|
1352
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1353
|
+
return writer;
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
/**
|
|
1357
|
+
* @generated MessageType for protobuf message pb.GcContentsRequest
|
|
1358
|
+
*/
|
|
1359
|
+
exports.GcContentsRequest = new GcContentsRequest$Type();
|
|
1360
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1361
|
+
class GcContentsResponse$Type extends runtime_5.MessageType {
|
|
1362
|
+
constructor() {
|
|
1363
|
+
super("pb.GcContentsResponse", [
|
|
1364
|
+
{ no: 1, name: "count", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
1365
|
+
]);
|
|
1366
|
+
}
|
|
1367
|
+
create(value) {
|
|
1368
|
+
const message = { count: 0n };
|
|
1369
|
+
globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1370
|
+
if (value !== undefined)
|
|
1371
|
+
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
1372
|
+
return message;
|
|
1373
|
+
}
|
|
1374
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1375
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1376
|
+
while (reader.pos < end) {
|
|
1377
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1378
|
+
switch (fieldNo) {
|
|
1379
|
+
case /* int64 count */ 1:
|
|
1380
|
+
message.count = reader.int64().toBigInt();
|
|
1381
|
+
break;
|
|
1382
|
+
default:
|
|
1383
|
+
let u = options.readUnknownField;
|
|
1384
|
+
if (u === "throw")
|
|
1385
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1386
|
+
let d = reader.skip(wireType);
|
|
1387
|
+
if (u !== false)
|
|
1388
|
+
(u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
return message;
|
|
1392
|
+
}
|
|
1393
|
+
internalBinaryWrite(message, writer, options) {
|
|
1394
|
+
/* int64 count = 1; */
|
|
1395
|
+
if (message.count !== 0n)
|
|
1396
|
+
writer.tag(1, runtime_1.WireType.Varint).int64(message.count);
|
|
1397
|
+
let u = options.writeUnknownFields;
|
|
1398
|
+
if (u !== false)
|
|
1399
|
+
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1400
|
+
return writer;
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* @generated MessageType for protobuf message pb.GcContentsResponse
|
|
1405
|
+
*/
|
|
1406
|
+
exports.GcContentsResponse = new GcContentsResponse$Type();
|
|
1075
1407
|
/**
|
|
1076
1408
|
* @generated ServiceType for protobuf service pb.Fs
|
|
1077
1409
|
*/
|
|
@@ -1084,6 +1416,9 @@ exports.Fs = new runtime_rpc_1.ServiceType("pb.Fs", [
|
|
|
1084
1416
|
{ name: "Update", clientStreaming: true, options: {}, I: exports.UpdateRequest, O: exports.UpdateResponse },
|
|
1085
1417
|
{ name: "Inspect", options: {}, I: exports.InspectRequest, O: exports.InspectResponse },
|
|
1086
1418
|
{ name: "Snapshot", options: {}, I: exports.SnapshotRequest, O: exports.SnapshotResponse },
|
|
1087
|
-
{ name: "Reset", options: {}, I: exports.ResetRequest, O: exports.ResetResponse }
|
|
1419
|
+
{ name: "Reset", options: {}, I: exports.ResetRequest, O: exports.ResetResponse },
|
|
1420
|
+
{ name: "GcProject", options: {}, I: exports.GcProjectRequest, O: exports.GcProjectResponse },
|
|
1421
|
+
{ name: "GcRandomProjects", options: {}, I: exports.GcRandomProjectsRequest, O: exports.GcRandomProjectsResponse },
|
|
1422
|
+
{ name: "GcContents", options: {}, I: exports.GcContentsRequest, O: exports.GcContentsResponse }
|
|
1088
1423
|
]);
|
|
1089
1424
|
//# sourceMappingURL=fs_pb.js.map
|