@alis-build/alis-open-operations-v1 1.2.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.
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/operations/v1/operations.proto (package alis.open.operations.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { Any, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import type { Status } from "@alis-build/google-rpc/google/rpc/status_pb";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file alis/open/operations/v1/operations.proto.
|
|
12
|
+
*/
|
|
13
|
+
export declare const file_alis_open_operations_v1_operations: GenFile;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @generated from message alis.open.operations.v1.Operation
|
|
17
|
+
*/
|
|
18
|
+
export declare type Operation = Message<"alis.open.operations.v1.Operation"> & {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string name = 1;
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: google.protobuf.Any metadata = 2;
|
|
26
|
+
*/
|
|
27
|
+
metadata?: Any | undefined;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: bool done = 3;
|
|
31
|
+
*/
|
|
32
|
+
done: boolean;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from oneof alis.open.operations.v1.Operation.result
|
|
36
|
+
*/
|
|
37
|
+
result: {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: google.rpc.Status error = 4;
|
|
40
|
+
*/
|
|
41
|
+
value: Status;
|
|
42
|
+
case: "error";
|
|
43
|
+
} | {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: google.protobuf.Any response = 5;
|
|
46
|
+
*/
|
|
47
|
+
value: Any;
|
|
48
|
+
case: "response";
|
|
49
|
+
} | { case: undefined; value?: undefined };
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: string method = 6;
|
|
53
|
+
*/
|
|
54
|
+
method: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: string checkpoint = 9;
|
|
58
|
+
*/
|
|
59
|
+
checkpoint: string;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: bytes internal_state = 10;
|
|
63
|
+
*/
|
|
64
|
+
internalState: Uint8Array;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from oneof alis.open.operations.v1.Operation.runner
|
|
68
|
+
*/
|
|
69
|
+
runner: {
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: alis.open.operations.v1.Operation.CloudTask cloud_task = 11;
|
|
72
|
+
*/
|
|
73
|
+
value: Operation_CloudTask;
|
|
74
|
+
case: "cloudTask";
|
|
75
|
+
} | { case: undefined; value?: undefined };
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: google.protobuf.Timestamp create_time = 98;
|
|
79
|
+
*/
|
|
80
|
+
createTime?: Timestamp | undefined;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: google.protobuf.Timestamp update_time = 99;
|
|
84
|
+
*/
|
|
85
|
+
updateTime?: Timestamp | undefined;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Describes the message alis.open.operations.v1.Operation.
|
|
90
|
+
* Use `create(OperationSchema)` to create a new message.
|
|
91
|
+
*/
|
|
92
|
+
export declare const OperationSchema: GenMessage<Operation>;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @generated from message alis.open.operations.v1.Operation.CloudTask
|
|
96
|
+
*/
|
|
97
|
+
export declare type Operation_CloudTask = Message<"alis.open.operations.v1.Operation.CloudTask"> & {
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: string name = 1;
|
|
100
|
+
*/
|
|
101
|
+
name: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: google.protobuf.Timestamp schedule_time = 2;
|
|
105
|
+
*/
|
|
106
|
+
scheduleTime?: Timestamp | undefined;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: google.protobuf.Timestamp create_time = 3;
|
|
110
|
+
*/
|
|
111
|
+
createTime?: Timestamp | undefined;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: bool running = 4;
|
|
115
|
+
*/
|
|
116
|
+
running: boolean;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: string target_host = 5;
|
|
120
|
+
*/
|
|
121
|
+
targetHost: string;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Describes the message alis.open.operations.v1.Operation.CloudTask.
|
|
126
|
+
* Use `create(Operation_CloudTaskSchema)` to create a new message.
|
|
127
|
+
*/
|
|
128
|
+
export declare const Operation_CloudTaskSchema: GenMessage<Operation_CloudTask>;
|
|
129
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/operations/v1/operations.proto (package alis.open.operations.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_google_protobuf_any, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_google_rpc_status } from "@alis-build/google-rpc/google/rpc/status_pb";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file alis/open/operations/v1/operations.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_alis_open_operations_v1_operations = /*@__PURE__*/
|
|
13
|
+
fileDesc("CihhbGlzL29wZW4vb3BlcmF0aW9ucy92MS9vcGVyYXRpb25zLnByb3RvEhdhbGlzLm9wZW4ub3BlcmF0aW9ucy52MSLGBAoJT3BlcmF0aW9uEgwKBG5hbWUYASABKAkSJgoIbWV0YWRhdGEYAiABKAsyFC5nb29nbGUucHJvdG9idWYuQW55EgwKBGRvbmUYAyABKAgSIwoFZXJyb3IYBCABKAsyEi5nb29nbGUucnBjLlN0YXR1c0gAEigKCHJlc3BvbnNlGAUgASgLMhQuZ29vZ2xlLnByb3RvYnVmLkFueUgAEg4KBm1ldGhvZBgGIAEoCRISCgpjaGVja3BvaW50GAkgASgJEhYKDmludGVybmFsX3N0YXRlGAogASgMEkIKCmNsb3VkX3Rhc2sYCyABKAsyLC5hbGlzLm9wZW4ub3BlcmF0aW9ucy52MS5PcGVyYXRpb24uQ2xvdWRUYXNrSAESLwoLY3JlYXRlX3RpbWUYYiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3VwZGF0ZV90aW1lGGMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBqjAQoJQ2xvdWRUYXNrEgwKBG5hbWUYASABKAkSMQoNc2NoZWR1bGVfdGltZRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLY3JlYXRlX3RpbWUYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEg8KB3J1bm5pbmcYBCABKAgSEwoLdGFyZ2V0X2hvc3QYBSABKAlCCAoGcmVzdWx0QggKBnJ1bm5lckoECAcQCEoECAgQCUIrWilnby5hbGlzLmJ1aWxkL2NvbW1vbi9hbGlzL29wZW4vb3BlcmF0aW9uc2IGcHJvdG8z", [file_google_protobuf_any, file_google_protobuf_timestamp, file_google_rpc_status]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message alis.open.operations.v1.Operation.
|
|
17
|
+
* Use `create(OperationSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const OperationSchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_alis_open_operations_v1_operations, 0);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message alis.open.operations.v1.Operation.CloudTask.
|
|
24
|
+
* Use `create(Operation_CloudTaskSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const Operation_CloudTaskSchema = /*@__PURE__*/
|
|
27
|
+
messageDesc(file_alis_open_operations_v1_operations, 0, 0);
|
|
28
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dependencies": {
|
|
3
|
+
"@alis-build/google-rpc": "*",
|
|
4
|
+
"@bufbuild/protobuf": "^2.11.0",
|
|
5
|
+
"@connectrpc/connect": "^2.1.1",
|
|
6
|
+
"@connectrpc/connect-web": "^2.1.1"
|
|
7
|
+
},
|
|
8
|
+
"description": "Ecmascript and Connect-Web stubs generated by Alis Build",
|
|
9
|
+
"name": "@alis-build/alis-open-operations-v1",
|
|
10
|
+
"version": "1.2.0"
|
|
11
|
+
}
|