@wenlarge/communication 1.0.7 → 1.0.8
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.
|
@@ -26,18 +26,79 @@ export interface GetAllWorkflowRequest {
|
|
|
26
26
|
export interface GetAllWorkflowResponse {
|
|
27
27
|
workflows: WorkflowResponse[];
|
|
28
28
|
}
|
|
29
|
+
/** NODE SERVICE COMPS */
|
|
30
|
+
export interface NodeCreateRequest {
|
|
31
|
+
workflowId: string;
|
|
32
|
+
name: string;
|
|
33
|
+
type: string;
|
|
34
|
+
positionX: number;
|
|
35
|
+
positionY: number;
|
|
36
|
+
inputSchema: string;
|
|
37
|
+
outputSchema: string;
|
|
38
|
+
config: string;
|
|
39
|
+
nextNodeIds: string[];
|
|
40
|
+
}
|
|
41
|
+
export interface NodeUpdateRequest {
|
|
42
|
+
id: string;
|
|
43
|
+
name: string;
|
|
44
|
+
type: string;
|
|
45
|
+
positionX: number;
|
|
46
|
+
positionY: number;
|
|
47
|
+
nextNodeIds: string[];
|
|
48
|
+
inputSchema: string;
|
|
49
|
+
outputSchema: string;
|
|
50
|
+
config: string;
|
|
51
|
+
}
|
|
52
|
+
export interface NodeDeleteRequest {
|
|
53
|
+
id: string;
|
|
54
|
+
}
|
|
55
|
+
export interface NodeGetAllRequest {
|
|
56
|
+
workflowId: string;
|
|
57
|
+
}
|
|
58
|
+
export interface NodeGetAllResponse {
|
|
59
|
+
nodes: NodeResponse[];
|
|
60
|
+
}
|
|
61
|
+
export interface NodeGetByIdRequest {
|
|
62
|
+
id: string;
|
|
63
|
+
}
|
|
64
|
+
export interface NodeGetByIdResponse {
|
|
65
|
+
node?: NodeResponse | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface NodeResponse {
|
|
68
|
+
id: string;
|
|
69
|
+
name: string;
|
|
70
|
+
type: string;
|
|
71
|
+
positionX: number;
|
|
72
|
+
positionY: number;
|
|
73
|
+
inputSchema: string;
|
|
74
|
+
outputSchema: string;
|
|
75
|
+
config: string;
|
|
76
|
+
nextNodeIds: string[];
|
|
77
|
+
createdAt: string;
|
|
78
|
+
updatedAt: string;
|
|
79
|
+
}
|
|
29
80
|
export declare const WORKFLOW_PACKAGE_NAME = "workflow";
|
|
30
81
|
export interface WorkflowServiceClient {
|
|
31
82
|
create(request: CreateWorkflowRequest, metadata?: Metadata): Observable<WorkflowResponse>;
|
|
32
83
|
getAll(request: GetAllWorkflowRequest, metadata?: Metadata): Observable<GetAllWorkflowResponse>;
|
|
33
84
|
delete(request: DeleteWorkflowRequest, metadata?: Metadata): Observable<Empty>;
|
|
34
85
|
update(request: UpdateWorkflowRequest, metadata?: Metadata): Observable<WorkflowResponse>;
|
|
86
|
+
createNode(request: NodeCreateRequest, metadata?: Metadata): Observable<NodeResponse>;
|
|
87
|
+
getAllNode(request: NodeGetAllRequest, metadata?: Metadata): Observable<NodeGetAllResponse>;
|
|
88
|
+
getByIdNode(request: NodeGetByIdRequest, metadata?: Metadata): Observable<NodeGetByIdResponse>;
|
|
89
|
+
updateNode(request: NodeUpdateRequest, metadata?: Metadata): Observable<NodeResponse>;
|
|
90
|
+
deleteNode(request: NodeDeleteRequest, metadata?: Metadata): Observable<Empty>;
|
|
35
91
|
}
|
|
36
92
|
export interface WorkflowServiceController {
|
|
37
93
|
create(request: CreateWorkflowRequest, metadata?: Metadata): Promise<WorkflowResponse> | Observable<WorkflowResponse> | WorkflowResponse;
|
|
38
94
|
getAll(request: GetAllWorkflowRequest, metadata?: Metadata): Promise<GetAllWorkflowResponse> | Observable<GetAllWorkflowResponse> | GetAllWorkflowResponse;
|
|
39
95
|
delete(request: DeleteWorkflowRequest, metadata?: Metadata): void;
|
|
40
96
|
update(request: UpdateWorkflowRequest, metadata?: Metadata): Promise<WorkflowResponse> | Observable<WorkflowResponse> | WorkflowResponse;
|
|
97
|
+
createNode(request: NodeCreateRequest, metadata?: Metadata): Promise<NodeResponse> | Observable<NodeResponse> | NodeResponse;
|
|
98
|
+
getAllNode(request: NodeGetAllRequest, metadata?: Metadata): Promise<NodeGetAllResponse> | Observable<NodeGetAllResponse> | NodeGetAllResponse;
|
|
99
|
+
getByIdNode(request: NodeGetByIdRequest, metadata?: Metadata): Promise<NodeGetByIdResponse> | Observable<NodeGetByIdResponse> | NodeGetByIdResponse;
|
|
100
|
+
updateNode(request: NodeUpdateRequest, metadata?: Metadata): Promise<NodeResponse> | Observable<NodeResponse> | NodeResponse;
|
|
101
|
+
deleteNode(request: NodeDeleteRequest, metadata?: Metadata): void;
|
|
41
102
|
}
|
|
42
103
|
export declare function WorkflowServiceControllerMethods(): (constructor: Function) => void;
|
|
43
104
|
export declare const WORKFLOW_SERVICE_NAME = "WorkflowService";
|
|
@@ -12,7 +12,17 @@ exports.protobufPackage = "workflow";
|
|
|
12
12
|
exports.WORKFLOW_PACKAGE_NAME = "workflow";
|
|
13
13
|
function WorkflowServiceControllerMethods() {
|
|
14
14
|
return function (constructor) {
|
|
15
|
-
const grpcMethods = [
|
|
15
|
+
const grpcMethods = [
|
|
16
|
+
"create",
|
|
17
|
+
"getAll",
|
|
18
|
+
"delete",
|
|
19
|
+
"update",
|
|
20
|
+
"createNode",
|
|
21
|
+
"getAllNode",
|
|
22
|
+
"getByIdNode",
|
|
23
|
+
"updateNode",
|
|
24
|
+
"deleteNode",
|
|
25
|
+
];
|
|
16
26
|
for (const method of grpcMethods) {
|
|
17
27
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
18
28
|
(0, microservices_1.GrpcMethod)("WorkflowService", method)(constructor.prototype[method], method, descriptor);
|
package/package.json
CHANGED
package/proto/workflow.proto
CHANGED
|
@@ -9,6 +9,11 @@ service WorkflowService {
|
|
|
9
9
|
rpc GetAll (GetAllWorkflowRequest) returns (GetAllWorkflowResponse);
|
|
10
10
|
rpc Delete (DeleteWorkflowRequest) returns (google.protobuf.Empty);
|
|
11
11
|
rpc Update (UpdateWorkflowRequest) returns (WorkflowResponse);
|
|
12
|
+
rpc CreateNode (NodeCreateRequest) returns (NodeResponse);
|
|
13
|
+
rpc GetAllNode (NodeGetAllRequest) returns (NodeGetAllResponse);
|
|
14
|
+
rpc GetByIdNode (NodeGetByIdRequest) returns (NodeGetByIdResponse);
|
|
15
|
+
rpc UpdateNode (NodeUpdateRequest) returns (NodeResponse);
|
|
16
|
+
rpc DeleteNode (NodeDeleteRequest) returns (google.protobuf.Empty);
|
|
12
17
|
}
|
|
13
18
|
|
|
14
19
|
message CreateWorkflowRequest {
|
|
@@ -40,3 +45,61 @@ message GetAllWorkflowRequest{
|
|
|
40
45
|
message GetAllWorkflowResponse{
|
|
41
46
|
repeated WorkflowResponse workflows = 1;
|
|
42
47
|
}
|
|
48
|
+
|
|
49
|
+
// NODE SERVICE COMPS
|
|
50
|
+
message NodeCreateRequest{
|
|
51
|
+
string workflowId = 1;
|
|
52
|
+
string name = 2;
|
|
53
|
+
string type = 3;
|
|
54
|
+
int32 positionX = 4;
|
|
55
|
+
int32 positionY = 5;
|
|
56
|
+
string inputSchema = 6;
|
|
57
|
+
string outputSchema = 7;
|
|
58
|
+
string config = 8;
|
|
59
|
+
repeated string nextNodeIds = 9;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
message NodeUpdateRequest{
|
|
63
|
+
string id = 1;
|
|
64
|
+
string name = 2;
|
|
65
|
+
string type =3;
|
|
66
|
+
int32 positionX = 4;
|
|
67
|
+
int32 positionY=5;
|
|
68
|
+
repeated string nextNodeIds = 6;
|
|
69
|
+
string inputSchema = 7;
|
|
70
|
+
string outputSchema = 8;
|
|
71
|
+
string config = 9;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
message NodeDeleteRequest{
|
|
75
|
+
string id = 1;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
message NodeGetAllRequest{
|
|
79
|
+
string workflowId = 1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
message NodeGetAllResponse{
|
|
83
|
+
repeated NodeResponse nodes = 1;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
message NodeGetByIdRequest{
|
|
87
|
+
string id = 1;
|
|
88
|
+
}
|
|
89
|
+
message NodeGetByIdResponse{
|
|
90
|
+
NodeResponse node = 1;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
message NodeResponse{
|
|
94
|
+
string id = 1;
|
|
95
|
+
string name = 2;
|
|
96
|
+
string type = 3;
|
|
97
|
+
int32 positionX = 4;
|
|
98
|
+
int32 positionY = 5;
|
|
99
|
+
string inputSchema = 6;
|
|
100
|
+
string outputSchema = 7;
|
|
101
|
+
string config = 8;
|
|
102
|
+
repeated string nextNodeIds = 9;
|
|
103
|
+
string createdAt = 10;
|
|
104
|
+
string updatedAt = 11;
|
|
105
|
+
}
|
|
@@ -42,6 +42,65 @@ export interface GetAllWorkflowResponse {
|
|
|
42
42
|
workflows: WorkflowResponse[];
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
/** NODE SERVICE COMPS */
|
|
46
|
+
export interface NodeCreateRequest {
|
|
47
|
+
workflowId: string;
|
|
48
|
+
name: string;
|
|
49
|
+
type: string;
|
|
50
|
+
positionX: number;
|
|
51
|
+
positionY: number;
|
|
52
|
+
inputSchema: string;
|
|
53
|
+
outputSchema: string;
|
|
54
|
+
config: string;
|
|
55
|
+
nextNodeIds: string[];
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface NodeUpdateRequest {
|
|
59
|
+
id: string;
|
|
60
|
+
name: string;
|
|
61
|
+
type: string;
|
|
62
|
+
positionX: number;
|
|
63
|
+
positionY: number;
|
|
64
|
+
nextNodeIds: string[];
|
|
65
|
+
inputSchema: string;
|
|
66
|
+
outputSchema: string;
|
|
67
|
+
config: string;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface NodeDeleteRequest {
|
|
71
|
+
id: string;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface NodeGetAllRequest {
|
|
75
|
+
workflowId: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface NodeGetAllResponse {
|
|
79
|
+
nodes: NodeResponse[];
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export interface NodeGetByIdRequest {
|
|
83
|
+
id: string;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export interface NodeGetByIdResponse {
|
|
87
|
+
node?: NodeResponse | undefined;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface NodeResponse {
|
|
91
|
+
id: string;
|
|
92
|
+
name: string;
|
|
93
|
+
type: string;
|
|
94
|
+
positionX: number;
|
|
95
|
+
positionY: number;
|
|
96
|
+
inputSchema: string;
|
|
97
|
+
outputSchema: string;
|
|
98
|
+
config: string;
|
|
99
|
+
nextNodeIds: string[];
|
|
100
|
+
createdAt: string;
|
|
101
|
+
updatedAt: string;
|
|
102
|
+
}
|
|
103
|
+
|
|
45
104
|
export const WORKFLOW_PACKAGE_NAME = "workflow";
|
|
46
105
|
|
|
47
106
|
export interface WorkflowServiceClient {
|
|
@@ -52,6 +111,16 @@ export interface WorkflowServiceClient {
|
|
|
52
111
|
delete(request: DeleteWorkflowRequest, metadata?: Metadata): Observable<Empty>;
|
|
53
112
|
|
|
54
113
|
update(request: UpdateWorkflowRequest, metadata?: Metadata): Observable<WorkflowResponse>;
|
|
114
|
+
|
|
115
|
+
createNode(request: NodeCreateRequest, metadata?: Metadata): Observable<NodeResponse>;
|
|
116
|
+
|
|
117
|
+
getAllNode(request: NodeGetAllRequest, metadata?: Metadata): Observable<NodeGetAllResponse>;
|
|
118
|
+
|
|
119
|
+
getByIdNode(request: NodeGetByIdRequest, metadata?: Metadata): Observable<NodeGetByIdResponse>;
|
|
120
|
+
|
|
121
|
+
updateNode(request: NodeUpdateRequest, metadata?: Metadata): Observable<NodeResponse>;
|
|
122
|
+
|
|
123
|
+
deleteNode(request: NodeDeleteRequest, metadata?: Metadata): Observable<Empty>;
|
|
55
124
|
}
|
|
56
125
|
|
|
57
126
|
export interface WorkflowServiceController {
|
|
@@ -71,11 +140,43 @@ export interface WorkflowServiceController {
|
|
|
71
140
|
request: UpdateWorkflowRequest,
|
|
72
141
|
metadata?: Metadata,
|
|
73
142
|
): Promise<WorkflowResponse> | Observable<WorkflowResponse> | WorkflowResponse;
|
|
143
|
+
|
|
144
|
+
createNode(
|
|
145
|
+
request: NodeCreateRequest,
|
|
146
|
+
metadata?: Metadata,
|
|
147
|
+
): Promise<NodeResponse> | Observable<NodeResponse> | NodeResponse;
|
|
148
|
+
|
|
149
|
+
getAllNode(
|
|
150
|
+
request: NodeGetAllRequest,
|
|
151
|
+
metadata?: Metadata,
|
|
152
|
+
): Promise<NodeGetAllResponse> | Observable<NodeGetAllResponse> | NodeGetAllResponse;
|
|
153
|
+
|
|
154
|
+
getByIdNode(
|
|
155
|
+
request: NodeGetByIdRequest,
|
|
156
|
+
metadata?: Metadata,
|
|
157
|
+
): Promise<NodeGetByIdResponse> | Observable<NodeGetByIdResponse> | NodeGetByIdResponse;
|
|
158
|
+
|
|
159
|
+
updateNode(
|
|
160
|
+
request: NodeUpdateRequest,
|
|
161
|
+
metadata?: Metadata,
|
|
162
|
+
): Promise<NodeResponse> | Observable<NodeResponse> | NodeResponse;
|
|
163
|
+
|
|
164
|
+
deleteNode(request: NodeDeleteRequest, metadata?: Metadata): void;
|
|
74
165
|
}
|
|
75
166
|
|
|
76
167
|
export function WorkflowServiceControllerMethods() {
|
|
77
168
|
return function (constructor: Function) {
|
|
78
|
-
const grpcMethods: string[] = [
|
|
169
|
+
const grpcMethods: string[] = [
|
|
170
|
+
"create",
|
|
171
|
+
"getAll",
|
|
172
|
+
"delete",
|
|
173
|
+
"update",
|
|
174
|
+
"createNode",
|
|
175
|
+
"getAllNode",
|
|
176
|
+
"getByIdNode",
|
|
177
|
+
"updateNode",
|
|
178
|
+
"deleteNode",
|
|
179
|
+
];
|
|
79
180
|
for (const method of grpcMethods) {
|
|
80
181
|
const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
81
182
|
GrpcMethod("WorkflowService", method)(constructor.prototype[method], method, descriptor);
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v1.181.2
|
|
4
|
-
// protoc v3.21.5
|
|
5
|
-
// source: google/protobuf/timestamp.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
|
|
9
|
-
export const protobufPackage = "google.protobuf";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* A Timestamp represents a point in time independent of any time zone or local
|
|
13
|
-
* calendar, encoded as a count of seconds and fractions of seconds at
|
|
14
|
-
* nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
15
|
-
* January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
16
|
-
* Gregorian calendar backwards to year one.
|
|
17
|
-
*
|
|
18
|
-
* All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
19
|
-
* second table is needed for interpretation, using a [24-hour linear
|
|
20
|
-
* smear](https://developers.google.com/time/smear).
|
|
21
|
-
*
|
|
22
|
-
* The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
23
|
-
* restricting to that range, we ensure that we can convert to and from [RFC
|
|
24
|
-
* 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
25
|
-
*
|
|
26
|
-
* # Examples
|
|
27
|
-
*
|
|
28
|
-
* Example 1: Compute Timestamp from POSIX `time()`.
|
|
29
|
-
*
|
|
30
|
-
* Timestamp timestamp;
|
|
31
|
-
* timestamp.set_seconds(time(NULL));
|
|
32
|
-
* timestamp.set_nanos(0);
|
|
33
|
-
*
|
|
34
|
-
* Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
35
|
-
*
|
|
36
|
-
* struct timeval tv;
|
|
37
|
-
* gettimeofday(&tv, NULL);
|
|
38
|
-
*
|
|
39
|
-
* Timestamp timestamp;
|
|
40
|
-
* timestamp.set_seconds(tv.tv_sec);
|
|
41
|
-
* timestamp.set_nanos(tv.tv_usec * 1000);
|
|
42
|
-
*
|
|
43
|
-
* Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
44
|
-
*
|
|
45
|
-
* FILETIME ft;
|
|
46
|
-
* GetSystemTimeAsFileTime(&ft);
|
|
47
|
-
* UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
48
|
-
*
|
|
49
|
-
* // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
|
|
50
|
-
* // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
|
|
51
|
-
* Timestamp timestamp;
|
|
52
|
-
* timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
53
|
-
* timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
54
|
-
*
|
|
55
|
-
* Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
56
|
-
*
|
|
57
|
-
* long millis = System.currentTimeMillis();
|
|
58
|
-
*
|
|
59
|
-
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
|
60
|
-
* .setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
61
|
-
*
|
|
62
|
-
* Example 5: Compute Timestamp from Java `Instant.now()`.
|
|
63
|
-
*
|
|
64
|
-
* Instant now = Instant.now();
|
|
65
|
-
*
|
|
66
|
-
* Timestamp timestamp =
|
|
67
|
-
* Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
|
68
|
-
* .setNanos(now.getNano()).build();
|
|
69
|
-
*
|
|
70
|
-
* Example 6: Compute Timestamp from current time in Python.
|
|
71
|
-
*
|
|
72
|
-
* timestamp = Timestamp()
|
|
73
|
-
* timestamp.GetCurrentTime()
|
|
74
|
-
*
|
|
75
|
-
* # JSON Mapping
|
|
76
|
-
*
|
|
77
|
-
* In JSON format, the Timestamp type is encoded as a string in the
|
|
78
|
-
* [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
|
|
79
|
-
* format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
|
|
80
|
-
* where {year} is always expressed using four digits while {month}, {day},
|
|
81
|
-
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
|
82
|
-
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
|
83
|
-
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
|
84
|
-
* is required. A proto3 JSON serializer should always use UTC (as indicated by
|
|
85
|
-
* "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
|
86
|
-
* able to accept both UTC and other timezones (as indicated by an offset).
|
|
87
|
-
*
|
|
88
|
-
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
|
89
|
-
* 01:30 UTC on January 15, 2017.
|
|
90
|
-
*
|
|
91
|
-
* In JavaScript, one can convert a Date object to this format using the
|
|
92
|
-
* standard
|
|
93
|
-
* [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
|
94
|
-
* method. In Python, a standard `datetime.datetime` object can be converted
|
|
95
|
-
* to this format using
|
|
96
|
-
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
|
97
|
-
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
|
98
|
-
* the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
|
99
|
-
* http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
|
100
|
-
* ) to obtain a formatter capable of generating timestamps in this format.
|
|
101
|
-
*/
|
|
102
|
-
export interface Timestamp {
|
|
103
|
-
/**
|
|
104
|
-
* Represents seconds of UTC time since Unix epoch
|
|
105
|
-
* 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
|
106
|
-
* 9999-12-31T23:59:59Z inclusive.
|
|
107
|
-
*/
|
|
108
|
-
seconds: string;
|
|
109
|
-
/**
|
|
110
|
-
* Non-negative fractions of a second at nanosecond resolution. Negative
|
|
111
|
-
* second values with fractions must still have non-negative nanos values
|
|
112
|
-
* that count forward in time. Must be from 0 to 999,999,999
|
|
113
|
-
* inclusive.
|
|
114
|
-
*/
|
|
115
|
-
nanos: number;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export const GOOGLE_PROTOBUF_PACKAGE_NAME = "google.protobuf";
|