@caronashow/api 0.2.0 → 0.2.2

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,4 +1,4 @@
1
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { MatchGroup } from "./groups_pb";
3
3
  import type { DriverPoint, OrganizationPoint, PassengerPoint } from "./points_pb";
4
4
  import type { DirectRoute } from "./routes_pb";
@@ -7,37 +7,14 @@ import type { Message } from "@bufbuild/protobuf";
7
7
  * Describes the file caronashow/poc/v1/poc.proto.
8
8
  */
9
9
  export declare const file_caronashow_poc_v1_poc: GenFile;
10
- /**
11
- * @generated from message caronashow.poc.v1.ListDatasetsRequest
12
- */
13
- export type ListDatasetsRequest = Message<"caronashow.poc.v1.ListDatasetsRequest"> & {};
14
- /**
15
- * Describes the message caronashow.poc.v1.ListDatasetsRequest.
16
- * Use `create(ListDatasetsRequestSchema)` to create a new message.
17
- */
18
- export declare const ListDatasetsRequestSchema: GenMessage<ListDatasetsRequest>;
19
- /**
20
- * @generated from message caronashow.poc.v1.ListDatasetsResponse
21
- */
22
- export type ListDatasetsResponse = Message<"caronashow.poc.v1.ListDatasetsResponse"> & {
23
- /**
24
- * @generated from field: repeated string dataset_ids = 1;
25
- */
26
- datasetIds: string[];
27
- };
28
- /**
29
- * Describes the message caronashow.poc.v1.ListDatasetsResponse.
30
- * Use `create(ListDatasetsResponseSchema)` to create a new message.
31
- */
32
- export declare const ListDatasetsResponseSchema: GenMessage<ListDatasetsResponse>;
33
10
  /**
34
11
  * @generated from message caronashow.poc.v1.GetMapPointsRequest
35
12
  */
36
13
  export type GetMapPointsRequest = Message<"caronashow.poc.v1.GetMapPointsRequest"> & {
37
14
  /**
38
- * @generated from field: string dataset_id = 1;
15
+ * @generated from field: caronashow.poc.v1.Dataset dataset = 1;
39
16
  */
40
- datasetId: string;
17
+ dataset: Dataset;
41
18
  };
42
19
  /**
43
20
  * Describes the message caronashow.poc.v1.GetMapPointsRequest.
@@ -71,9 +48,9 @@ export declare const GetMapPointsResponseSchema: GenMessage<GetMapPointsResponse
71
48
  */
72
49
  export type GetDirectRoutesRequest = Message<"caronashow.poc.v1.GetDirectRoutesRequest"> & {
73
50
  /**
74
- * @generated from field: string dataset_id = 1;
51
+ * @generated from field: caronashow.poc.v1.Dataset dataset = 1;
75
52
  */
76
- datasetId: string;
53
+ dataset: Dataset;
77
54
  };
78
55
  /**
79
56
  * Describes the message caronashow.poc.v1.GetDirectRoutesRequest.
@@ -99,9 +76,9 @@ export declare const GetDirectRoutesResponseSchema: GenMessage<GetDirectRoutesRe
99
76
  */
100
77
  export type GetMapPointGroupsRequest = Message<"caronashow.poc.v1.GetMapPointGroupsRequest"> & {
101
78
  /**
102
- * @generated from field: string dataset_id = 1;
79
+ * @generated from field: caronashow.poc.v1.Dataset dataset = 1;
103
80
  */
104
- datasetId: string;
81
+ dataset: Dataset;
105
82
  };
106
83
  /**
107
84
  * Describes the message caronashow.poc.v1.GetMapPointGroupsRequest.
@@ -127,9 +104,9 @@ export declare const GetMapPointGroupsResponseSchema: GenMessage<GetMapPointGrou
127
104
  */
128
105
  export type GetOptimizedRoutesRequest = Message<"caronashow.poc.v1.GetOptimizedRoutesRequest"> & {
129
106
  /**
130
- * @generated from field: string dataset_id = 1;
107
+ * @generated from field: caronashow.poc.v1.Dataset dataset = 1;
131
108
  */
132
- datasetId: string;
109
+ dataset: Dataset;
133
110
  };
134
111
  /**
135
112
  * Describes the message caronashow.poc.v1.GetOptimizedRoutesRequest.
@@ -151,17 +128,34 @@ export type GetOptimizedRoutesResponse = Message<"caronashow.poc.v1.GetOptimized
151
128
  */
152
129
  export declare const GetOptimizedRoutesResponseSchema: GenMessage<GetOptimizedRoutesResponse>;
153
130
  /**
154
- * @generated from service caronashow.poc.v1.PocService
131
+ * @generated from enum caronashow.poc.v1.Dataset
155
132
  */
156
- export declare const PocService: GenService<{
133
+ export declare enum Dataset {
157
134
  /**
158
- * @generated from rpc caronashow.poc.v1.PocService.ListDatasets
135
+ * @generated from enum value: DATASET_UNSPECIFIED = 0;
159
136
  */
160
- listDatasets: {
161
- methodKind: "unary";
162
- input: typeof ListDatasetsRequestSchema;
163
- output: typeof ListDatasetsResponseSchema;
164
- };
137
+ UNSPECIFIED = 0,
138
+ /**
139
+ * @generated from enum value: DATASET_ATLANTA_10 = 1;
140
+ */
141
+ ATLANTA_10 = 1,
142
+ /**
143
+ * @generated from enum value: DATASET_ATLANTA_25 = 2;
144
+ */
145
+ ATLANTA_25 = 2,
146
+ /**
147
+ * @generated from enum value: DATASET_ATLANTA_50 = 3;
148
+ */
149
+ ATLANTA_50 = 3
150
+ }
151
+ /**
152
+ * Describes the enum caronashow.poc.v1.Dataset.
153
+ */
154
+ export declare const DatasetSchema: GenEnum<Dataset>;
155
+ /**
156
+ * @generated from service caronashow.poc.v1.PocService
157
+ */
158
+ export declare const PocService: GenService<{
165
159
  /**
166
160
  * @generated from rpc caronashow.poc.v1.PocService.GetMapPoints
167
161
  */
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "module": "src/index.ts",
4
4
  "main": "dist/index.cjs",
5
5
  "types": "dist/index.d.ts",
6
- "version": "0.2.0",
6
+ "version": "0.2.2",
7
7
  "description": "CaronaShow API definitions",
8
8
  "author": "Lucas Santos <zerowhy.server@protonmail.com>",
9
9
  "license": "MIT",