@uniswap/client-data-api 0.0.15 → 0.0.16

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.
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
2
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
5
5
  */
@@ -117,6 +117,19 @@ export declare const createTokenFactoryPresignedUrl: {
117
117
  readonly typeName: "data.v1.DataApiService";
118
118
  };
119
119
  };
120
+ /**
121
+ * @generated from rpc data.v1.DataApiService.InvokeTokenFactorySubgraphSyncer
122
+ */
123
+ export declare const invokeTokenFactorySubgraphSyncer: {
124
+ readonly localName: "invokeTokenFactorySubgraphSyncer";
125
+ readonly name: "InvokeTokenFactorySubgraphSyncer";
126
+ readonly kind: MethodKind.Unary;
127
+ readonly I: typeof InvokeTokenFactorySubgraphSyncerRequest;
128
+ readonly O: typeof InvokeTokenFactorySubgraphSyncerResponse;
129
+ readonly service: {
130
+ readonly typeName: "data.v1.DataApiService";
131
+ };
132
+ };
120
133
  /**
121
134
  * @generated from rpc data.v1.DataApiService.GetPair
122
135
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
6
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
9
9
  */
@@ -121,6 +121,19 @@ export const createTokenFactoryPresignedUrl = {
121
121
  typeName: "data.v1.DataApiService"
122
122
  }
123
123
  };
124
+ /**
125
+ * @generated from rpc data.v1.DataApiService.InvokeTokenFactorySubgraphSyncer
126
+ */
127
+ export const invokeTokenFactorySubgraphSyncer = {
128
+ localName: "invokeTokenFactorySubgraphSyncer",
129
+ name: "InvokeTokenFactorySubgraphSyncer",
130
+ kind: MethodKind.Unary,
131
+ I: InvokeTokenFactorySubgraphSyncerRequest,
132
+ O: InvokeTokenFactorySubgraphSyncerResponse,
133
+ service: {
134
+ typeName: "data.v1.DataApiService"
135
+ }
136
+ };
124
137
  /**
125
138
  * @generated from rpc data.v1.DataApiService.GetPair
126
139
  */
@@ -1,4 +1,4 @@
1
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
1
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.DataApiService
@@ -87,6 +87,15 @@ export declare const DataApiService: {
87
87
  readonly O: typeof CreateTokenFactoryPresignedUrlResponse;
88
88
  readonly kind: MethodKind.Unary;
89
89
  };
90
+ /**
91
+ * @generated from rpc data.v1.DataApiService.InvokeTokenFactorySubgraphSyncer
92
+ */
93
+ readonly invokeTokenFactorySubgraphSyncer: {
94
+ readonly name: "InvokeTokenFactorySubgraphSyncer";
95
+ readonly I: typeof InvokeTokenFactorySubgraphSyncerRequest;
96
+ readonly O: typeof InvokeTokenFactorySubgraphSyncerResponse;
97
+ readonly kind: MethodKind.Unary;
98
+ };
90
99
  /**
91
100
  * @generated from rpc data.v1.DataApiService.GetPair
92
101
  */
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v1/api.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
5
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetRewardsRequest, GetRewardsResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, InvokeTokenFactorySubgraphSyncerRequest, InvokeTokenFactorySubgraphSyncerResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse } from "./api_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.DataApiService
@@ -91,6 +91,15 @@ export const DataApiService = {
91
91
  O: CreateTokenFactoryPresignedUrlResponse,
92
92
  kind: MethodKind.Unary,
93
93
  },
94
+ /**
95
+ * @generated from rpc data.v1.DataApiService.InvokeTokenFactorySubgraphSyncer
96
+ */
97
+ invokeTokenFactorySubgraphSyncer: {
98
+ name: "InvokeTokenFactorySubgraphSyncer",
99
+ I: InvokeTokenFactorySubgraphSyncerRequest,
100
+ O: InvokeTokenFactorySubgraphSyncerResponse,
101
+ kind: MethodKind.Unary,
102
+ },
94
103
  /**
95
104
  * @generated from rpc data.v1.DataApiService.GetPair
96
105
  */
@@ -546,6 +546,36 @@ export declare class CreateTokenFactoryPresignedUrlResponse extends Message<Crea
546
546
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTokenFactoryPresignedUrlResponse;
547
547
  static equals(a: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined, b: CreateTokenFactoryPresignedUrlResponse | PlainMessage<CreateTokenFactoryPresignedUrlResponse> | undefined): boolean;
548
548
  }
549
+ /**
550
+ * @generated from message data.v1.InvokeTokenFactorySubgraphSyncerRequest
551
+ */
552
+ export declare class InvokeTokenFactorySubgraphSyncerRequest extends Message<InvokeTokenFactorySubgraphSyncerRequest> {
553
+ constructor(data?: PartialMessage<InvokeTokenFactorySubgraphSyncerRequest>);
554
+ static readonly runtime: typeof proto3;
555
+ static readonly typeName = "data.v1.InvokeTokenFactorySubgraphSyncerRequest";
556
+ static readonly fields: FieldList;
557
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InvokeTokenFactorySubgraphSyncerRequest;
558
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InvokeTokenFactorySubgraphSyncerRequest;
559
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InvokeTokenFactorySubgraphSyncerRequest;
560
+ static equals(a: InvokeTokenFactorySubgraphSyncerRequest | PlainMessage<InvokeTokenFactorySubgraphSyncerRequest> | undefined, b: InvokeTokenFactorySubgraphSyncerRequest | PlainMessage<InvokeTokenFactorySubgraphSyncerRequest> | undefined): boolean;
561
+ }
562
+ /**
563
+ * @generated from message data.v1.InvokeTokenFactorySubgraphSyncerResponse
564
+ */
565
+ export declare class InvokeTokenFactorySubgraphSyncerResponse extends Message<InvokeTokenFactorySubgraphSyncerResponse> {
566
+ /**
567
+ * @generated from field: bool success = 1;
568
+ */
569
+ success: boolean;
570
+ constructor(data?: PartialMessage<InvokeTokenFactorySubgraphSyncerResponse>);
571
+ static readonly runtime: typeof proto3;
572
+ static readonly typeName = "data.v1.InvokeTokenFactorySubgraphSyncerResponse";
573
+ static readonly fields: FieldList;
574
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InvokeTokenFactorySubgraphSyncerResponse;
575
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InvokeTokenFactorySubgraphSyncerResponse;
576
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InvokeTokenFactorySubgraphSyncerResponse;
577
+ static equals(a: InvokeTokenFactorySubgraphSyncerResponse | PlainMessage<InvokeTokenFactorySubgraphSyncerResponse> | undefined, b: InvokeTokenFactorySubgraphSyncerResponse | PlainMessage<InvokeTokenFactorySubgraphSyncerResponse> | undefined): boolean;
578
+ }
549
579
  /**
550
580
  * @generated from message data.v1.GetPairRequest
551
581
  */
@@ -822,6 +822,60 @@ CreateTokenFactoryPresignedUrlResponse.typeName = "data.v1.CreateTokenFactoryPre
822
822
  CreateTokenFactoryPresignedUrlResponse.fields = proto3.util.newFieldList(() => [
823
823
  { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
824
824
  ]);
825
+ /**
826
+ * @generated from message data.v1.InvokeTokenFactorySubgraphSyncerRequest
827
+ */
828
+ export class InvokeTokenFactorySubgraphSyncerRequest extends Message {
829
+ constructor(data) {
830
+ super();
831
+ proto3.util.initPartial(data, this);
832
+ }
833
+ static fromBinary(bytes, options) {
834
+ return new InvokeTokenFactorySubgraphSyncerRequest().fromBinary(bytes, options);
835
+ }
836
+ static fromJson(jsonValue, options) {
837
+ return new InvokeTokenFactorySubgraphSyncerRequest().fromJson(jsonValue, options);
838
+ }
839
+ static fromJsonString(jsonString, options) {
840
+ return new InvokeTokenFactorySubgraphSyncerRequest().fromJsonString(jsonString, options);
841
+ }
842
+ static equals(a, b) {
843
+ return proto3.util.equals(InvokeTokenFactorySubgraphSyncerRequest, a, b);
844
+ }
845
+ }
846
+ InvokeTokenFactorySubgraphSyncerRequest.runtime = proto3;
847
+ InvokeTokenFactorySubgraphSyncerRequest.typeName = "data.v1.InvokeTokenFactorySubgraphSyncerRequest";
848
+ InvokeTokenFactorySubgraphSyncerRequest.fields = proto3.util.newFieldList(() => []);
849
+ /**
850
+ * @generated from message data.v1.InvokeTokenFactorySubgraphSyncerResponse
851
+ */
852
+ export class InvokeTokenFactorySubgraphSyncerResponse extends Message {
853
+ constructor(data) {
854
+ super();
855
+ /**
856
+ * @generated from field: bool success = 1;
857
+ */
858
+ this.success = false;
859
+ proto3.util.initPartial(data, this);
860
+ }
861
+ static fromBinary(bytes, options) {
862
+ return new InvokeTokenFactorySubgraphSyncerResponse().fromBinary(bytes, options);
863
+ }
864
+ static fromJson(jsonValue, options) {
865
+ return new InvokeTokenFactorySubgraphSyncerResponse().fromJson(jsonValue, options);
866
+ }
867
+ static fromJsonString(jsonString, options) {
868
+ return new InvokeTokenFactorySubgraphSyncerResponse().fromJsonString(jsonString, options);
869
+ }
870
+ static equals(a, b) {
871
+ return proto3.util.equals(InvokeTokenFactorySubgraphSyncerResponse, a, b);
872
+ }
873
+ }
874
+ InvokeTokenFactorySubgraphSyncerResponse.runtime = proto3;
875
+ InvokeTokenFactorySubgraphSyncerResponse.typeName = "data.v1.InvokeTokenFactorySubgraphSyncerResponse";
876
+ InvokeTokenFactorySubgraphSyncerResponse.fields = proto3.util.newFieldList(() => [
877
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
878
+ ]);
825
879
  /**
826
880
  * @generated from message data.v1.GetPairRequest
827
881
  */
@@ -0,0 +1,15 @@
1
+ import { MethodKind } from "@bufbuild/protobuf";
2
+ import { IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
3
+ /**
4
+ * @generated from rpc data.v1.WorkerService.IngestPoolsFromS3
5
+ */
6
+ export declare const ingestPoolsFromS3: {
7
+ readonly localName: "ingestPoolsFromS3";
8
+ readonly name: "IngestPoolsFromS3";
9
+ readonly kind: MethodKind.Unary;
10
+ readonly I: typeof IngestPoolsFromS3Request;
11
+ readonly O: typeof IngestPoolsFromS3Response;
12
+ readonly service: {
13
+ readonly typeName: "data.v1.WorkerService";
14
+ };
15
+ };
@@ -0,0 +1,19 @@
1
+ // @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts"
2
+ // @generated from file data/v1/workerService.proto (package data.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { MethodKind } from "@bufbuild/protobuf";
6
+ import { IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
7
+ /**
8
+ * @generated from rpc data.v1.WorkerService.IngestPoolsFromS3
9
+ */
10
+ export const ingestPoolsFromS3 = {
11
+ localName: "ingestPoolsFromS3",
12
+ name: "IngestPoolsFromS3",
13
+ kind: MethodKind.Unary,
14
+ I: IngestPoolsFromS3Request,
15
+ O: IngestPoolsFromS3Response,
16
+ service: {
17
+ typeName: "data.v1.WorkerService"
18
+ }
19
+ };
@@ -0,0 +1,19 @@
1
+ import { IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ /**
4
+ * @generated from service data.v1.WorkerService
5
+ */
6
+ export declare const WorkerService: {
7
+ readonly typeName: "data.v1.WorkerService";
8
+ readonly methods: {
9
+ /**
10
+ * @generated from rpc data.v1.WorkerService.IngestPoolsFromS3
11
+ */
12
+ readonly ingestPoolsFromS3: {
13
+ readonly name: "IngestPoolsFromS3";
14
+ readonly I: typeof IngestPoolsFromS3Request;
15
+ readonly O: typeof IngestPoolsFromS3Response;
16
+ readonly kind: MethodKind.Unary;
17
+ };
18
+ };
19
+ };
@@ -0,0 +1,23 @@
1
+ // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
2
+ // @generated from file data/v1/workerService.proto (package data.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { IngestPoolsFromS3Request, IngestPoolsFromS3Response } from "./workerService_pb.js";
6
+ import { MethodKind } from "@bufbuild/protobuf";
7
+ /**
8
+ * @generated from service data.v1.WorkerService
9
+ */
10
+ export const WorkerService = {
11
+ typeName: "data.v1.WorkerService",
12
+ methods: {
13
+ /**
14
+ * @generated from rpc data.v1.WorkerService.IngestPoolsFromS3
15
+ */
16
+ ingestPoolsFromS3: {
17
+ name: "IngestPoolsFromS3",
18
+ I: IngestPoolsFromS3Request,
19
+ O: IngestPoolsFromS3Response,
20
+ kind: MethodKind.Unary,
21
+ },
22
+ }
23
+ };
@@ -0,0 +1,74 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ /**
4
+ * @generated from message data.v1.IngestPoolsFromS3Request
5
+ */
6
+ export declare class IngestPoolsFromS3Request extends Message<IngestPoolsFromS3Request> {
7
+ /**
8
+ * @generated from field: data.v1.Bucket bucket = 1;
9
+ */
10
+ bucket?: Bucket;
11
+ /**
12
+ * @generated from field: data.v1.S3Object object = 2;
13
+ */
14
+ object?: S3Object;
15
+ /**
16
+ * @generated from field: string reason = 3;
17
+ */
18
+ reason: string;
19
+ constructor(data?: PartialMessage<IngestPoolsFromS3Request>);
20
+ static readonly runtime: typeof proto3;
21
+ static readonly typeName = "data.v1.IngestPoolsFromS3Request";
22
+ static readonly fields: FieldList;
23
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngestPoolsFromS3Request;
24
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngestPoolsFromS3Request;
25
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngestPoolsFromS3Request;
26
+ static equals(a: IngestPoolsFromS3Request | PlainMessage<IngestPoolsFromS3Request> | undefined, b: IngestPoolsFromS3Request | PlainMessage<IngestPoolsFromS3Request> | undefined): boolean;
27
+ }
28
+ /**
29
+ * @generated from message data.v1.Bucket
30
+ */
31
+ export declare class Bucket extends Message<Bucket> {
32
+ /**
33
+ * @generated from field: string name = 1;
34
+ */
35
+ name: string;
36
+ constructor(data?: PartialMessage<Bucket>);
37
+ static readonly runtime: typeof proto3;
38
+ static readonly typeName = "data.v1.Bucket";
39
+ static readonly fields: FieldList;
40
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Bucket;
41
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Bucket;
42
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Bucket;
43
+ static equals(a: Bucket | PlainMessage<Bucket> | undefined, b: Bucket | PlainMessage<Bucket> | undefined): boolean;
44
+ }
45
+ /**
46
+ * @generated from message data.v1.S3Object
47
+ */
48
+ export declare class S3Object extends Message<S3Object> {
49
+ /**
50
+ * @generated from field: string key = 1;
51
+ */
52
+ key: string;
53
+ constructor(data?: PartialMessage<S3Object>);
54
+ static readonly runtime: typeof proto3;
55
+ static readonly typeName = "data.v1.S3Object";
56
+ static readonly fields: FieldList;
57
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): S3Object;
58
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): S3Object;
59
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): S3Object;
60
+ static equals(a: S3Object | PlainMessage<S3Object> | undefined, b: S3Object | PlainMessage<S3Object> | undefined): boolean;
61
+ }
62
+ /**
63
+ * @generated from message data.v1.IngestPoolsFromS3Response
64
+ */
65
+ export declare class IngestPoolsFromS3Response extends Message<IngestPoolsFromS3Response> {
66
+ constructor(data?: PartialMessage<IngestPoolsFromS3Response>);
67
+ static readonly runtime: typeof proto3;
68
+ static readonly typeName = "data.v1.IngestPoolsFromS3Response";
69
+ static readonly fields: FieldList;
70
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IngestPoolsFromS3Response;
71
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IngestPoolsFromS3Response;
72
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IngestPoolsFromS3Response;
73
+ static equals(a: IngestPoolsFromS3Response | PlainMessage<IngestPoolsFromS3Response> | undefined, b: IngestPoolsFromS3Response | PlainMessage<IngestPoolsFromS3Response> | undefined): boolean;
74
+ }
@@ -0,0 +1,121 @@
1
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
2
+ // @generated from file data/v1/workerService.proto (package data.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { Message, proto3 } from "@bufbuild/protobuf";
6
+ /**
7
+ * @generated from message data.v1.IngestPoolsFromS3Request
8
+ */
9
+ export class IngestPoolsFromS3Request extends Message {
10
+ constructor(data) {
11
+ super();
12
+ /**
13
+ * @generated from field: string reason = 3;
14
+ */
15
+ this.reason = "";
16
+ proto3.util.initPartial(data, this);
17
+ }
18
+ static fromBinary(bytes, options) {
19
+ return new IngestPoolsFromS3Request().fromBinary(bytes, options);
20
+ }
21
+ static fromJson(jsonValue, options) {
22
+ return new IngestPoolsFromS3Request().fromJson(jsonValue, options);
23
+ }
24
+ static fromJsonString(jsonString, options) {
25
+ return new IngestPoolsFromS3Request().fromJsonString(jsonString, options);
26
+ }
27
+ static equals(a, b) {
28
+ return proto3.util.equals(IngestPoolsFromS3Request, a, b);
29
+ }
30
+ }
31
+ IngestPoolsFromS3Request.runtime = proto3;
32
+ IngestPoolsFromS3Request.typeName = "data.v1.IngestPoolsFromS3Request";
33
+ IngestPoolsFromS3Request.fields = proto3.util.newFieldList(() => [
34
+ { no: 1, name: "bucket", kind: "message", T: Bucket },
35
+ { no: 2, name: "object", kind: "message", T: S3Object },
36
+ { no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
37
+ ]);
38
+ /**
39
+ * @generated from message data.v1.Bucket
40
+ */
41
+ export class Bucket extends Message {
42
+ constructor(data) {
43
+ super();
44
+ /**
45
+ * @generated from field: string name = 1;
46
+ */
47
+ this.name = "";
48
+ proto3.util.initPartial(data, this);
49
+ }
50
+ static fromBinary(bytes, options) {
51
+ return new Bucket().fromBinary(bytes, options);
52
+ }
53
+ static fromJson(jsonValue, options) {
54
+ return new Bucket().fromJson(jsonValue, options);
55
+ }
56
+ static fromJsonString(jsonString, options) {
57
+ return new Bucket().fromJsonString(jsonString, options);
58
+ }
59
+ static equals(a, b) {
60
+ return proto3.util.equals(Bucket, a, b);
61
+ }
62
+ }
63
+ Bucket.runtime = proto3;
64
+ Bucket.typeName = "data.v1.Bucket";
65
+ Bucket.fields = proto3.util.newFieldList(() => [
66
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
67
+ ]);
68
+ /**
69
+ * @generated from message data.v1.S3Object
70
+ */
71
+ export class S3Object extends Message {
72
+ constructor(data) {
73
+ super();
74
+ /**
75
+ * @generated from field: string key = 1;
76
+ */
77
+ this.key = "";
78
+ proto3.util.initPartial(data, this);
79
+ }
80
+ static fromBinary(bytes, options) {
81
+ return new S3Object().fromBinary(bytes, options);
82
+ }
83
+ static fromJson(jsonValue, options) {
84
+ return new S3Object().fromJson(jsonValue, options);
85
+ }
86
+ static fromJsonString(jsonString, options) {
87
+ return new S3Object().fromJsonString(jsonString, options);
88
+ }
89
+ static equals(a, b) {
90
+ return proto3.util.equals(S3Object, a, b);
91
+ }
92
+ }
93
+ S3Object.runtime = proto3;
94
+ S3Object.typeName = "data.v1.S3Object";
95
+ S3Object.fields = proto3.util.newFieldList(() => [
96
+ { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
97
+ ]);
98
+ /**
99
+ * @generated from message data.v1.IngestPoolsFromS3Response
100
+ */
101
+ export class IngestPoolsFromS3Response extends Message {
102
+ constructor(data) {
103
+ super();
104
+ proto3.util.initPartial(data, this);
105
+ }
106
+ static fromBinary(bytes, options) {
107
+ return new IngestPoolsFromS3Response().fromBinary(bytes, options);
108
+ }
109
+ static fromJson(jsonValue, options) {
110
+ return new IngestPoolsFromS3Response().fromJson(jsonValue, options);
111
+ }
112
+ static fromJsonString(jsonString, options) {
113
+ return new IngestPoolsFromS3Response().fromJsonString(jsonString, options);
114
+ }
115
+ static equals(a, b) {
116
+ return proto3.util.equals(IngestPoolsFromS3Response, a, b);
117
+ }
118
+ }
119
+ IngestPoolsFromS3Response.runtime = proto3;
120
+ IngestPoolsFromS3Response.typeName = "data.v1.IngestPoolsFromS3Response";
121
+ IngestPoolsFromS3Response.fields = proto3.util.newFieldList(() => []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },