@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
|
}
|
|
@@ -93,5 +93,26 @@ export class FsClient {
|
|
|
93
93
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
94
94
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* @generated from protobuf rpc: GcProject(pb.GcProjectRequest) returns (pb.GcProjectResponse);
|
|
98
|
+
*/
|
|
99
|
+
gcProject(input, options) {
|
|
100
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
101
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @generated from protobuf rpc: GcRandomProjects(pb.GcRandomProjectsRequest) returns (pb.GcRandomProjectsResponse);
|
|
105
|
+
*/
|
|
106
|
+
gcRandomProjects(input, options) {
|
|
107
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
108
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* @generated from protobuf rpc: GcContents(pb.GcContentsRequest) returns (pb.GcContentsResponse);
|
|
112
|
+
*/
|
|
113
|
+
gcContents(input, options) {
|
|
114
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
115
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
116
|
+
}
|
|
96
117
|
}
|
|
97
118
|
//# 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,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAmB7B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA8C1D;;GAEG;A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OAAO,cAAc,CAAoC,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,cAAc,CAA8B,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACrG,CAAC;CACJ","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.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAyB7B,OAAO,EAAE,cAAc,EAAE,M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C7E,OAAO,cAAc,CAAwC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC/G,CAAC;CACJ","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/esm/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/esm/pb/fs_pb.js
CHANGED
|
@@ -1069,6 +1069,338 @@ class ResetResponse$Type extends MessageType {
|
|
|
1069
1069
|
* @generated MessageType for protobuf message pb.ResetResponse
|
|
1070
1070
|
*/
|
|
1071
1071
|
export const ResetResponse = new ResetResponse$Type();
|
|
1072
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1073
|
+
class GcProjectRequest$Type extends MessageType {
|
|
1074
|
+
constructor() {
|
|
1075
|
+
super("pb.GcProjectRequest", [
|
|
1076
|
+
{ no: 1, name: "project", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1077
|
+
{ no: 2, name: "keep_versions", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1078
|
+
{ no: 3, name: "from_version", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
1079
|
+
]);
|
|
1080
|
+
}
|
|
1081
|
+
create(value) {
|
|
1082
|
+
const message = { project: 0n, keepVersions: 0n };
|
|
1083
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1084
|
+
if (value !== undefined)
|
|
1085
|
+
reflectionMergePartial(this, message, value);
|
|
1086
|
+
return message;
|
|
1087
|
+
}
|
|
1088
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1089
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1090
|
+
while (reader.pos < end) {
|
|
1091
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1092
|
+
switch (fieldNo) {
|
|
1093
|
+
case /* int64 project */ 1:
|
|
1094
|
+
message.project = reader.int64().toBigInt();
|
|
1095
|
+
break;
|
|
1096
|
+
case /* int64 keep_versions */ 2:
|
|
1097
|
+
message.keepVersions = reader.int64().toBigInt();
|
|
1098
|
+
break;
|
|
1099
|
+
case /* optional int64 from_version */ 3:
|
|
1100
|
+
message.fromVersion = reader.int64().toBigInt();
|
|
1101
|
+
break;
|
|
1102
|
+
default:
|
|
1103
|
+
let u = options.readUnknownField;
|
|
1104
|
+
if (u === "throw")
|
|
1105
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1106
|
+
let d = reader.skip(wireType);
|
|
1107
|
+
if (u !== false)
|
|
1108
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
return message;
|
|
1112
|
+
}
|
|
1113
|
+
internalBinaryWrite(message, writer, options) {
|
|
1114
|
+
/* int64 project = 1; */
|
|
1115
|
+
if (message.project !== 0n)
|
|
1116
|
+
writer.tag(1, WireType.Varint).int64(message.project);
|
|
1117
|
+
/* int64 keep_versions = 2; */
|
|
1118
|
+
if (message.keepVersions !== 0n)
|
|
1119
|
+
writer.tag(2, WireType.Varint).int64(message.keepVersions);
|
|
1120
|
+
/* optional int64 from_version = 3; */
|
|
1121
|
+
if (message.fromVersion !== undefined)
|
|
1122
|
+
writer.tag(3, WireType.Varint).int64(message.fromVersion);
|
|
1123
|
+
let u = options.writeUnknownFields;
|
|
1124
|
+
if (u !== false)
|
|
1125
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1126
|
+
return writer;
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
/**
|
|
1130
|
+
* @generated MessageType for protobuf message pb.GcProjectRequest
|
|
1131
|
+
*/
|
|
1132
|
+
export const GcProjectRequest = new GcProjectRequest$Type();
|
|
1133
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1134
|
+
class GcProjectResponse$Type extends MessageType {
|
|
1135
|
+
constructor() {
|
|
1136
|
+
super("pb.GcProjectResponse", [
|
|
1137
|
+
{ no: 1, name: "count", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1138
|
+
{ no: 2, name: "project", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
1139
|
+
]);
|
|
1140
|
+
}
|
|
1141
|
+
create(value) {
|
|
1142
|
+
const message = { count: 0n, project: 0n };
|
|
1143
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1144
|
+
if (value !== undefined)
|
|
1145
|
+
reflectionMergePartial(this, message, value);
|
|
1146
|
+
return message;
|
|
1147
|
+
}
|
|
1148
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1149
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1150
|
+
while (reader.pos < end) {
|
|
1151
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1152
|
+
switch (fieldNo) {
|
|
1153
|
+
case /* int64 count */ 1:
|
|
1154
|
+
message.count = reader.int64().toBigInt();
|
|
1155
|
+
break;
|
|
1156
|
+
case /* int64 project */ 2:
|
|
1157
|
+
message.project = reader.int64().toBigInt();
|
|
1158
|
+
break;
|
|
1159
|
+
default:
|
|
1160
|
+
let u = options.readUnknownField;
|
|
1161
|
+
if (u === "throw")
|
|
1162
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1163
|
+
let d = reader.skip(wireType);
|
|
1164
|
+
if (u !== false)
|
|
1165
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
return message;
|
|
1169
|
+
}
|
|
1170
|
+
internalBinaryWrite(message, writer, options) {
|
|
1171
|
+
/* int64 count = 1; */
|
|
1172
|
+
if (message.count !== 0n)
|
|
1173
|
+
writer.tag(1, WireType.Varint).int64(message.count);
|
|
1174
|
+
/* int64 project = 2; */
|
|
1175
|
+
if (message.project !== 0n)
|
|
1176
|
+
writer.tag(2, WireType.Varint).int64(message.project);
|
|
1177
|
+
let u = options.writeUnknownFields;
|
|
1178
|
+
if (u !== false)
|
|
1179
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1180
|
+
return writer;
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
/**
|
|
1184
|
+
* @generated MessageType for protobuf message pb.GcProjectResponse
|
|
1185
|
+
*/
|
|
1186
|
+
export const GcProjectResponse = new GcProjectResponse$Type();
|
|
1187
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1188
|
+
class GcRandomProjectsRequest$Type extends MessageType {
|
|
1189
|
+
constructor() {
|
|
1190
|
+
super("pb.GcRandomProjectsRequest", [
|
|
1191
|
+
{ no: 1, name: "sample", kind: "scalar", T: 2 /*ScalarType.FLOAT*/ },
|
|
1192
|
+
{ no: 2, name: "keep_versions", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1193
|
+
{ no: 3, name: "from_version", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
1194
|
+
]);
|
|
1195
|
+
}
|
|
1196
|
+
create(value) {
|
|
1197
|
+
const message = { sample: 0, keepVersions: 0n };
|
|
1198
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1199
|
+
if (value !== undefined)
|
|
1200
|
+
reflectionMergePartial(this, message, value);
|
|
1201
|
+
return message;
|
|
1202
|
+
}
|
|
1203
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1204
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1205
|
+
while (reader.pos < end) {
|
|
1206
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1207
|
+
switch (fieldNo) {
|
|
1208
|
+
case /* float sample */ 1:
|
|
1209
|
+
message.sample = reader.float();
|
|
1210
|
+
break;
|
|
1211
|
+
case /* int64 keep_versions */ 2:
|
|
1212
|
+
message.keepVersions = reader.int64().toBigInt();
|
|
1213
|
+
break;
|
|
1214
|
+
case /* optional int64 from_version */ 3:
|
|
1215
|
+
message.fromVersion = reader.int64().toBigInt();
|
|
1216
|
+
break;
|
|
1217
|
+
default:
|
|
1218
|
+
let u = options.readUnknownField;
|
|
1219
|
+
if (u === "throw")
|
|
1220
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1221
|
+
let d = reader.skip(wireType);
|
|
1222
|
+
if (u !== false)
|
|
1223
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
return message;
|
|
1227
|
+
}
|
|
1228
|
+
internalBinaryWrite(message, writer, options) {
|
|
1229
|
+
/* float sample = 1; */
|
|
1230
|
+
if (message.sample !== 0)
|
|
1231
|
+
writer.tag(1, WireType.Bit32).float(message.sample);
|
|
1232
|
+
/* int64 keep_versions = 2; */
|
|
1233
|
+
if (message.keepVersions !== 0n)
|
|
1234
|
+
writer.tag(2, WireType.Varint).int64(message.keepVersions);
|
|
1235
|
+
/* optional int64 from_version = 3; */
|
|
1236
|
+
if (message.fromVersion !== undefined)
|
|
1237
|
+
writer.tag(3, WireType.Varint).int64(message.fromVersion);
|
|
1238
|
+
let u = options.writeUnknownFields;
|
|
1239
|
+
if (u !== false)
|
|
1240
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1241
|
+
return writer;
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* @generated MessageType for protobuf message pb.GcRandomProjectsRequest
|
|
1246
|
+
*/
|
|
1247
|
+
export const GcRandomProjectsRequest = new GcRandomProjectsRequest$Type();
|
|
1248
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1249
|
+
class GcRandomProjectsResponse$Type extends MessageType {
|
|
1250
|
+
constructor() {
|
|
1251
|
+
super("pb.GcRandomProjectsResponse", [
|
|
1252
|
+
{ no: 1, name: "count", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1253
|
+
{ no: 2, name: "projects", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
1254
|
+
]);
|
|
1255
|
+
}
|
|
1256
|
+
create(value) {
|
|
1257
|
+
const message = { count: 0n, projects: [] };
|
|
1258
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1259
|
+
if (value !== undefined)
|
|
1260
|
+
reflectionMergePartial(this, message, value);
|
|
1261
|
+
return message;
|
|
1262
|
+
}
|
|
1263
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1264
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1265
|
+
while (reader.pos < end) {
|
|
1266
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1267
|
+
switch (fieldNo) {
|
|
1268
|
+
case /* int64 count */ 1:
|
|
1269
|
+
message.count = reader.int64().toBigInt();
|
|
1270
|
+
break;
|
|
1271
|
+
case /* repeated int64 projects */ 2:
|
|
1272
|
+
if (wireType === WireType.LengthDelimited)
|
|
1273
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
1274
|
+
message.projects.push(reader.int64().toBigInt());
|
|
1275
|
+
else
|
|
1276
|
+
message.projects.push(reader.int64().toBigInt());
|
|
1277
|
+
break;
|
|
1278
|
+
default:
|
|
1279
|
+
let u = options.readUnknownField;
|
|
1280
|
+
if (u === "throw")
|
|
1281
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1282
|
+
let d = reader.skip(wireType);
|
|
1283
|
+
if (u !== false)
|
|
1284
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
return message;
|
|
1288
|
+
}
|
|
1289
|
+
internalBinaryWrite(message, writer, options) {
|
|
1290
|
+
/* int64 count = 1; */
|
|
1291
|
+
if (message.count !== 0n)
|
|
1292
|
+
writer.tag(1, WireType.Varint).int64(message.count);
|
|
1293
|
+
/* repeated int64 projects = 2; */
|
|
1294
|
+
if (message.projects.length) {
|
|
1295
|
+
writer.tag(2, WireType.LengthDelimited).fork();
|
|
1296
|
+
for (let i = 0; i < message.projects.length; i++)
|
|
1297
|
+
writer.int64(message.projects[i]);
|
|
1298
|
+
writer.join();
|
|
1299
|
+
}
|
|
1300
|
+
let u = options.writeUnknownFields;
|
|
1301
|
+
if (u !== false)
|
|
1302
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1303
|
+
return writer;
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
/**
|
|
1307
|
+
* @generated MessageType for protobuf message pb.GcRandomProjectsResponse
|
|
1308
|
+
*/
|
|
1309
|
+
export const GcRandomProjectsResponse = new GcRandomProjectsResponse$Type();
|
|
1310
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1311
|
+
class GcContentsRequest$Type extends MessageType {
|
|
1312
|
+
constructor() {
|
|
1313
|
+
super("pb.GcContentsRequest", [
|
|
1314
|
+
{ no: 1, name: "sample", kind: "scalar", T: 2 /*ScalarType.FLOAT*/ }
|
|
1315
|
+
]);
|
|
1316
|
+
}
|
|
1317
|
+
create(value) {
|
|
1318
|
+
const message = { sample: 0 };
|
|
1319
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1320
|
+
if (value !== undefined)
|
|
1321
|
+
reflectionMergePartial(this, message, value);
|
|
1322
|
+
return message;
|
|
1323
|
+
}
|
|
1324
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1325
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1326
|
+
while (reader.pos < end) {
|
|
1327
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1328
|
+
switch (fieldNo) {
|
|
1329
|
+
case /* float sample */ 1:
|
|
1330
|
+
message.sample = reader.float();
|
|
1331
|
+
break;
|
|
1332
|
+
default:
|
|
1333
|
+
let u = options.readUnknownField;
|
|
1334
|
+
if (u === "throw")
|
|
1335
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1336
|
+
let d = reader.skip(wireType);
|
|
1337
|
+
if (u !== false)
|
|
1338
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
return message;
|
|
1342
|
+
}
|
|
1343
|
+
internalBinaryWrite(message, writer, options) {
|
|
1344
|
+
/* float sample = 1; */
|
|
1345
|
+
if (message.sample !== 0)
|
|
1346
|
+
writer.tag(1, WireType.Bit32).float(message.sample);
|
|
1347
|
+
let u = options.writeUnknownFields;
|
|
1348
|
+
if (u !== false)
|
|
1349
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1350
|
+
return writer;
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
/**
|
|
1354
|
+
* @generated MessageType for protobuf message pb.GcContentsRequest
|
|
1355
|
+
*/
|
|
1356
|
+
export const GcContentsRequest = new GcContentsRequest$Type();
|
|
1357
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1358
|
+
class GcContentsResponse$Type extends MessageType {
|
|
1359
|
+
constructor() {
|
|
1360
|
+
super("pb.GcContentsResponse", [
|
|
1361
|
+
{ no: 1, name: "count", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
1362
|
+
]);
|
|
1363
|
+
}
|
|
1364
|
+
create(value) {
|
|
1365
|
+
const message = { count: 0n };
|
|
1366
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1367
|
+
if (value !== undefined)
|
|
1368
|
+
reflectionMergePartial(this, message, value);
|
|
1369
|
+
return message;
|
|
1370
|
+
}
|
|
1371
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1372
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1373
|
+
while (reader.pos < end) {
|
|
1374
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1375
|
+
switch (fieldNo) {
|
|
1376
|
+
case /* int64 count */ 1:
|
|
1377
|
+
message.count = reader.int64().toBigInt();
|
|
1378
|
+
break;
|
|
1379
|
+
default:
|
|
1380
|
+
let u = options.readUnknownField;
|
|
1381
|
+
if (u === "throw")
|
|
1382
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1383
|
+
let d = reader.skip(wireType);
|
|
1384
|
+
if (u !== false)
|
|
1385
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
return message;
|
|
1389
|
+
}
|
|
1390
|
+
internalBinaryWrite(message, writer, options) {
|
|
1391
|
+
/* int64 count = 1; */
|
|
1392
|
+
if (message.count !== 0n)
|
|
1393
|
+
writer.tag(1, WireType.Varint).int64(message.count);
|
|
1394
|
+
let u = options.writeUnknownFields;
|
|
1395
|
+
if (u !== false)
|
|
1396
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1397
|
+
return writer;
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
/**
|
|
1401
|
+
* @generated MessageType for protobuf message pb.GcContentsResponse
|
|
1402
|
+
*/
|
|
1403
|
+
export const GcContentsResponse = new GcContentsResponse$Type();
|
|
1072
1404
|
/**
|
|
1073
1405
|
* @generated ServiceType for protobuf service pb.Fs
|
|
1074
1406
|
*/
|
|
@@ -1081,6 +1413,9 @@ export const Fs = new ServiceType("pb.Fs", [
|
|
|
1081
1413
|
{ name: "Update", clientStreaming: true, options: {}, I: UpdateRequest, O: UpdateResponse },
|
|
1082
1414
|
{ name: "Inspect", options: {}, I: InspectRequest, O: InspectResponse },
|
|
1083
1415
|
{ name: "Snapshot", options: {}, I: SnapshotRequest, O: SnapshotResponse },
|
|
1084
|
-
{ name: "Reset", options: {}, I: ResetRequest, O: ResetResponse }
|
|
1416
|
+
{ name: "Reset", options: {}, I: ResetRequest, O: ResetResponse },
|
|
1417
|
+
{ name: "GcProject", options: {}, I: GcProjectRequest, O: GcProjectResponse },
|
|
1418
|
+
{ name: "GcRandomProjects", options: {}, I: GcRandomProjectsRequest, O: GcRandomProjectsResponse },
|
|
1419
|
+
{ name: "GcContents", options: {}, I: GcContentsRequest, O: GcContentsResponse }
|
|
1085
1420
|
]);
|
|
1086
1421
|
//# sourceMappingURL=fs_pb.js.map
|