@cobotar/protocol 0.18.18 → 0.18.20
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/README.md +1 -1
- package/lib/capability/v1/actor_skill_pb.ts +29 -0
- package/lib/capability/v1/tool_requirement_pb.ts +3 -3
- package/lib/resources/v1/cell_definition_pb.ts +155 -4
- package/lib/resources/v1/line_definition_pb.ts +199 -0
- package/lib/resources/v1/station_definition_pb.ts +117 -11
- package/lib/runtime/v1/process_requests_pb.ts +286 -39
- package/lib/runtime/v1/process_run_pb.ts +37 -19
- package/lib/runtime/v1/runtime_restriction_pb.ts +149 -0
- package/lib/runtime/v1/sequence_run_pb.ts +7 -7
- package/lib/runtime/v1/task_run_pb.ts +38 -8
- package/package.json +1 -1
- package/lib/resources/v1/line_pb.ts +0 -103
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file runtime/v1/runtime_restriction.proto (package runtime.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ActorRef } from "../../common/v1/actor_pb.ts";
|
|
9
|
+
import { file_common_v1_actor } from "../../common/v1/actor_pb.ts";
|
|
10
|
+
import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
|
|
11
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file runtime/v1/runtime_restriction.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_runtime_v1_runtime_restriction: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("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FYx4gIWUnVudGltZVxWMVxHUEJNZXRhZGF0YeoCC1J1bnRpbWU6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_common_v1_actor, file_validation_v1_predefined_string_rules]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* RuntimeRestriction describes an additional runtime condition that applies
|
|
21
|
+
* to a task, typically due to actor capability state, policy evaluation,
|
|
22
|
+
* resource limitations, or execution mode.
|
|
23
|
+
*
|
|
24
|
+
* Restrictions may be actor-specific. This is important because a task may be:
|
|
25
|
+
* - unrestricted for one candidate actor
|
|
26
|
+
* - restricted for another
|
|
27
|
+
* - infeasible for a third
|
|
28
|
+
*
|
|
29
|
+
* During precheck / candidate evaluation, restrictions can be attached to
|
|
30
|
+
* candidate actors. Once a task is assigned, the effective restrictions for
|
|
31
|
+
* the assigned actor should be copied onto the TaskRun.
|
|
32
|
+
*
|
|
33
|
+
* @generated from message runtime.v1.RuntimeRestriction
|
|
34
|
+
*/
|
|
35
|
+
export type RuntimeRestriction = Message<"runtime.v1.RuntimeRestriction"> & {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: runtime.v1.RestrictionType type = 1;
|
|
38
|
+
*/
|
|
39
|
+
type: RestrictionType;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Human-readable explanation shown in UI/logs.
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string reason = 2;
|
|
45
|
+
*/
|
|
46
|
+
reason: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Optional originating skill that caused the restriction.
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: string source_skill_id = 3;
|
|
52
|
+
*/
|
|
53
|
+
sourceSkillId: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Optional originating policy that caused the restriction.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: string source_policy_id = 4;
|
|
59
|
+
*/
|
|
60
|
+
sourcePolicyId: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Optional actor this restriction applies to.
|
|
64
|
+
* If unset, the restriction is task-global rather than actor-specific.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: common.v1.ActorRef actor = 5;
|
|
67
|
+
*/
|
|
68
|
+
actor?: ActorRef;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message runtime.v1.RuntimeRestriction.
|
|
73
|
+
* Use `create(RuntimeRestrictionSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const RuntimeRestrictionSchema: GenMessage<RuntimeRestriction> = /*@__PURE__*/
|
|
76
|
+
messageDesc(file_runtime_v1_runtime_restriction, 0);
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from enum runtime.v1.RestrictionType
|
|
80
|
+
*/
|
|
81
|
+
export enum RestrictionType {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from enum value: RESTRICTION_TYPE_UNSPECIFIED = 0;
|
|
84
|
+
*/
|
|
85
|
+
UNSPECIFIED = 0,
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The actor may perform the task only with AR guidance enabled.
|
|
89
|
+
*
|
|
90
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_AR_GUIDANCE = 1;
|
|
91
|
+
*/
|
|
92
|
+
REQUIRE_AR_GUIDANCE = 1,
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* The task must be manually confirmed before completion.
|
|
96
|
+
*
|
|
97
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_MANUAL_CONFIRMATION = 2;
|
|
98
|
+
*/
|
|
99
|
+
REQUIRE_MANUAL_CONFIRMATION = 2,
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* The task requires supervisor approval before execution or completion.
|
|
103
|
+
*
|
|
104
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_SUPERVISOR_APPROVAL = 3;
|
|
105
|
+
*/
|
|
106
|
+
REQUIRE_SUPERVISOR_APPROVAL = 3,
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* The task requires an additional validation or second check.
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_SECOND_CHECK = 4;
|
|
112
|
+
*/
|
|
113
|
+
REQUIRE_SECOND_CHECK = 4,
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Vision-based validation must be used.
|
|
117
|
+
*
|
|
118
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_VISION_VALIDATION = 5;
|
|
119
|
+
*/
|
|
120
|
+
REQUIRE_VISION_VALIDATION = 5,
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Tool feedback must be used.
|
|
124
|
+
*
|
|
125
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_TOOL_FEEDBACK = 6;
|
|
126
|
+
*/
|
|
127
|
+
REQUIRE_TOOL_FEEDBACK = 6,
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The task may only be executed by a human actor.
|
|
131
|
+
*
|
|
132
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_HUMAN_ACTOR = 7;
|
|
133
|
+
*/
|
|
134
|
+
REQUIRE_HUMAN_ACTOR = 7,
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The task may only be executed by a robot actor.
|
|
138
|
+
*
|
|
139
|
+
* @generated from enum value: RESTRICTION_TYPE_REQUIRE_ROBOT_ACTOR = 8;
|
|
140
|
+
*/
|
|
141
|
+
REQUIRE_ROBOT_ACTOR = 8,
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Describes the enum runtime.v1.RestrictionType.
|
|
146
|
+
*/
|
|
147
|
+
export const RestrictionTypeSchema: GenEnum<RestrictionType> = /*@__PURE__*/
|
|
148
|
+
enumDesc(file_runtime_v1_runtime_restriction, 0);
|
|
149
|
+
|
|
@@ -14,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
14
14
|
* Describes the file runtime/v1/sequence_run.proto.
|
|
15
15
|
*/
|
|
16
16
|
export const file_runtime_v1_sequence_run: GenFile = /*@__PURE__*/
|
|
17
|
-
fileDesc("
|
|
17
|
+
fileDesc("Ch1ydW50aW1lL3YxL3NlcXVlbmNlX3J1bi5wcm90bxIKcnVudGltZS52MSLvAgoLU2VxdWVuY2VSdW4SCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIMCgRpY29uGAMgASgJEiwKFnNlcXVlbmNlX2RlZmluaXRpb25faWQYBCABKAlCDLpICcgBAXIEkPIEARIpChZwYXJlbnRfc2VxdWVuY2VfcnVuX2lkGAUgASgJQgm6SAZyBIDyBAESHgoWY2hpbGRfc2VxdWVuY2VfcnVuX2lkcxgGIAMoCRIaChJjaGlsZF90YXNrX3J1bl9pZHMYByADKAkSOAoFc3RhdGUYCCABKA4yHC5ydW50aW1lLnYxLlNlcXVlbmNlUnVuU3RhdGVCC7pICMgBAYIBAhABEiAKD2NvbXBsZXRlZF90YXNrcxgJIAEoBUIHukgEGgIoABIZChFjYW5fYnVsa19jb21wbGV0ZRgKIAEoCBIsCg9hc3NpZ25lZF9hY3RvcnMYCyADKAsyEy5jb21tb24udjEuQWN0b3JSZWYiNgoMU2VxdWVuY2VSdW5zEiYKBWl0ZW1zGAEgAygLMhcucnVudGltZS52MS5TZXF1ZW5jZVJ1birXAQoQU2VxdWVuY2VSdW5TdGF0ZRIiCh5TRVFVRU5DRV9SVU5fU1RBVEVfVU5TUEVDSUZJRUQQABIgChxTRVFVRU5DRV9SVU5fU1RBVEVfTk9UX1JFQURZEAESHAoYU0VRVUVOQ0VfUlVOX1NUQVRFX1JFQURZEAISIgoeU0VRVUVOQ0VfUlVOX1NUQVRFX0lOX1BST0dSRVNTEAMSGwoXU0VRVUVOQ0VfUlVOX1NUQVRFX0RPTkUQBBIeChpTRVFVRU5DRV9SVU5fU1RBVEVfQUJPUlRFRBAFQq8BCg5jb20ucnVudGltZS52MUIQU2VxdWVuY2VSdW5Qcm90b1ABWjlnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcnVudGltZS92MTtydW50aW1ldjGiAgNSWFiqAhNNZXNzYWdlcy5SdW50aW1lLlYxygIKUnVudGltZVxWMeICFlJ1bnRpbWVcVjFcR1BCTWV0YWRhdGHqAgtSdW50aW1lOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_common_v1_actor, file_validation_v1_predefined_string_rules]);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @generated from message runtime.v1.SequenceRun
|
|
@@ -110,14 +110,14 @@ export enum SequenceRunState {
|
|
|
110
110
|
UNSPECIFIED = 0,
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
|
-
* @generated from enum value:
|
|
113
|
+
* @generated from enum value: SEQUENCE_RUN_STATE_NOT_READY = 1;
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
NOT_READY = 1,
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
* @generated from enum value:
|
|
118
|
+
* @generated from enum value: SEQUENCE_RUN_STATE_READY = 2;
|
|
119
119
|
*/
|
|
120
|
-
|
|
120
|
+
READY = 2,
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* @generated from enum value: SEQUENCE_RUN_STATE_IN_PROGRESS = 3;
|
|
@@ -125,9 +125,9 @@ export enum SequenceRunState {
|
|
|
125
125
|
IN_PROGRESS = 3,
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
|
-
* @generated from enum value:
|
|
128
|
+
* @generated from enum value: SEQUENCE_RUN_STATE_DONE = 4;
|
|
129
129
|
*/
|
|
130
|
-
|
|
130
|
+
DONE = 4,
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
133
|
* @generated from enum value: SEQUENCE_RUN_STATE_ABORTED = 5;
|
|
@@ -15,6 +15,10 @@ import type { ContainerSlotRef } from "../../resources/v1/container_definition_p
|
|
|
15
15
|
import { file_resources_v1_container_definition } from "../../resources/v1/container_definition_pb.ts";
|
|
16
16
|
import type { ExecutionEvidence } from "./execution_evidence_pb.ts";
|
|
17
17
|
import { file_runtime_v1_execution_evidence } from "./execution_evidence_pb.ts";
|
|
18
|
+
import type { CandidateActorEvaluation } from "./process_requests_pb.ts";
|
|
19
|
+
import { file_runtime_v1_process_requests } from "./process_requests_pb.ts";
|
|
20
|
+
import type { RuntimeRestriction } from "./runtime_restriction_pb.ts";
|
|
21
|
+
import { file_runtime_v1_runtime_restriction } from "./runtime_restriction_pb.ts";
|
|
18
22
|
import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
|
|
19
23
|
import type { Message } from "@bufbuild/protobuf";
|
|
20
24
|
|
|
@@ -22,7 +26,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
22
26
|
* Describes the file runtime/v1/task_run.proto.
|
|
23
27
|
*/
|
|
24
28
|
export const file_runtime_v1_task_run: GenFile = /*@__PURE__*/
|
|
25
|
-
fileDesc("
|
|
29
|
+
fileDesc("ChlydW50aW1lL3YxL3Rhc2tfcnVuLnByb3RvEgpydW50aW1lLnYxIqcBChJUYXNrUnVudGltZUJpbmRpbmcSGQoRYXNzZXRfaW5zdGFuY2VfaWQYASABKAkSGQoRcm9ib3RfaW5zdGFuY2VfaWQYAiABKAkSEgoKc3RhdGlvbl9pZBgDIAEoCRIPCgdjZWxsX2lkGAQgASgJEjYKDmNvbnRhaW5lcl9zbG90GAUgASgLMh4ucmVzb3VyY2VzLnYxLkNvbnRhaW5lclNsb3RSZWYigQYKB1Rhc2tSdW4SCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIMCgRpY29uGAMgASgJEigKEnRhc2tfZGVmaW5pdGlvbl9pZBgEIAEoCUIMukgJyAEBcgSY8gQBEiwKFnBhcmVudF9zZXF1ZW5jZV9ydW5faWQYBSABKAlCDLpICcgBAXIE+PEEARI0CgVzdGF0ZRgGIAEoDjIYLnJ1bnRpbWUudjEuVGFza1J1blN0YXRlQg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EhgKFFRBU0tfUlVOX1NUQVRFX0VSUk9SEAUSGgoWVEFTS19SVU5fU1RBVEVfQUJPUlRFRBAGQqsBCg5jb20ucnVudGltZS52MUIMVGFza1J1blByb3RvUAFaOWdpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9ydW50aW1lL3YxO3J1bnRpbWV2MaICA1JYWKoCE01lc3NhZ2VzLlJ1bnRpbWUuVjHKAgpSdW50aW1lXFYx4gIWUnVudGltZVxWMVxHUEJNZXRhZGF0YeoCC1J1bnRpbWU6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_common_v1_actor, file_common_v1_time, file_google_protobuf_timestamp, file_resources_v1_container_definition, file_runtime_v1_execution_evidence, file_runtime_v1_process_requests, file_runtime_v1_runtime_restriction, file_validation_v1_predefined_string_rules]);
|
|
26
30
|
|
|
27
31
|
/**
|
|
28
32
|
* Concrete runtime/deployment bindings resolved for this task run.
|
|
@@ -46,7 +50,12 @@ export type TaskRuntimeBinding = Message<"runtime.v1.TaskRuntimeBinding"> & {
|
|
|
46
50
|
stationId: string;
|
|
47
51
|
|
|
48
52
|
/**
|
|
49
|
-
* @generated from field:
|
|
53
|
+
* @generated from field: string cell_id = 4;
|
|
54
|
+
*/
|
|
55
|
+
cellId: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: resources.v1.ContainerSlotRef container_slot = 5;
|
|
50
59
|
*/
|
|
51
60
|
containerSlot?: ContainerSlotRef;
|
|
52
61
|
};
|
|
@@ -153,6 +162,27 @@ export type TaskRun = Message<"runtime.v1.TaskRun"> & {
|
|
|
153
162
|
* @generated from field: runtime.v1.TaskRuntimeBinding binding = 18;
|
|
154
163
|
*/
|
|
155
164
|
binding?: TaskRuntimeBinding;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Effective runtime restrictions that currently apply to this task.
|
|
168
|
+
*
|
|
169
|
+
* These restrictions should reflect the current assigned actor and execution
|
|
170
|
+
* context. They may be copied from candidate-level evaluation results during
|
|
171
|
+
* assignment or reassignment.
|
|
172
|
+
*
|
|
173
|
+
* Examples:
|
|
174
|
+
* - AR guidance required because the assigned actor's skill is restricted
|
|
175
|
+
* - supervisor approval required before completion
|
|
176
|
+
* - tool feedback required due to safety/quality constraints
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: repeated runtime.v1.RuntimeRestriction restrictions = 19;
|
|
179
|
+
*/
|
|
180
|
+
restrictions: RuntimeRestriction[];
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: repeated runtime.v1.CandidateActorEvaluation candidate_actor_evaluations = 20;
|
|
184
|
+
*/
|
|
185
|
+
candidateActorEvaluations: CandidateActorEvaluation[];
|
|
156
186
|
};
|
|
157
187
|
|
|
158
188
|
/**
|
|
@@ -189,14 +219,14 @@ export enum TaskRunState {
|
|
|
189
219
|
UNSPECIFIED = 0,
|
|
190
220
|
|
|
191
221
|
/**
|
|
192
|
-
* @generated from enum value:
|
|
222
|
+
* @generated from enum value: TASK_RUN_STATE_NOT_READY = 1;
|
|
193
223
|
*/
|
|
194
|
-
|
|
224
|
+
NOT_READY = 1,
|
|
195
225
|
|
|
196
226
|
/**
|
|
197
|
-
* @generated from enum value:
|
|
227
|
+
* @generated from enum value: TASK_RUN_STATE_READY = 2;
|
|
198
228
|
*/
|
|
199
|
-
|
|
229
|
+
READY = 2,
|
|
200
230
|
|
|
201
231
|
/**
|
|
202
232
|
* @generated from enum value: TASK_RUN_STATE_IN_PROGRESS = 3;
|
|
@@ -204,9 +234,9 @@ export enum TaskRunState {
|
|
|
204
234
|
IN_PROGRESS = 3,
|
|
205
235
|
|
|
206
236
|
/**
|
|
207
|
-
* @generated from enum value:
|
|
237
|
+
* @generated from enum value: TASK_RUN_STATE_DONE = 4;
|
|
208
238
|
*/
|
|
209
|
-
|
|
239
|
+
DONE = 4,
|
|
210
240
|
|
|
211
241
|
/**
|
|
212
242
|
* @generated from enum value: TASK_RUN_STATE_ERROR = 5;
|
package/package.json
CHANGED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
|
|
2
|
-
// @generated from file resources/v1/line.proto (package resources.v1, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
-
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
-
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
-
import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
|
|
9
|
-
import type { Message } from "@bufbuild/protobuf";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Describes the file resources/v1/line.proto.
|
|
13
|
-
*/
|
|
14
|
-
export const file_resources_v1_line: GenFile = /*@__PURE__*/
|
|
15
|
-
fileDesc("ChdyZXNvdXJjZXMvdjEvbGluZS5wcm90bxIMcmVzb3VyY2VzLnYxIrMBCg5MaW5lRGVmaW5pdGlvbhIYCgJpZBgBIAEoCUIMukgJyAEBcgSo8gQBEhcKBG5hbWUYAiABKAlCCbpIBnIEgPEEARITCgtkZXNjcmlwdGlvbhgDIAEoCRIMCgRpY29uGAQgASgJEiQKBHR5cGUYBSABKA4yFi5yZXNvdXJjZXMudjEuTGluZVR5cGUSEAoIY2VsbF9pZHMYBiADKAkSEwoLc3RhdGlvbl9pZHMYByADKAkiPgoPTGluZURlZmluaXRpb25zEisKBWl0ZW1zGAEgAygLMhwucmVzb3VyY2VzLnYxLkxpbmVEZWZpbml0aW9uKiUKCExpbmVUeXBlEhkKFUxJTkVfVFlQRV9VTlNQRUNJRklFRBAAQrYBChBjb20ucmVzb3VyY2VzLnYxQglMaW5lUHJvdG9QAVo9Z2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL3Jlc291cmNlcy92MTtyZXNvdXJjZXN2MaICA1JYWKoCFU1lc3NhZ2VzLlJlc291cmNlcy5WMcoCDFJlc291cmNlc1xWMeICGFJlc291cmNlc1xWMVxHUEJNZXRhZGF0YeoCDVJlc291cmNlczo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* LineDefinition groups cells and/or stations into a higher-level production line.
|
|
19
|
-
* A line is the target context for loading a ProcessRecipe into a concrete ProcessRun.
|
|
20
|
-
*
|
|
21
|
-
* @generated from message resources.v1.LineDefinition
|
|
22
|
-
*/
|
|
23
|
-
export type LineDefinition = Message<"resources.v1.LineDefinition"> & {
|
|
24
|
-
/**
|
|
25
|
-
* @generated from field: string id = 1;
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @generated from field: string name = 2;
|
|
31
|
-
*/
|
|
32
|
-
name: string;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @generated from field: string description = 3;
|
|
36
|
-
*/
|
|
37
|
-
description: string;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @generated from field: string icon = 4;
|
|
41
|
-
*/
|
|
42
|
-
icon: string;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @generated from field: resources.v1.LineType type = 5;
|
|
46
|
-
*/
|
|
47
|
-
type: LineType;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Cells that belong to this line.
|
|
51
|
-
*
|
|
52
|
-
* @generated from field: repeated string cell_ids = 6;
|
|
53
|
-
*/
|
|
54
|
-
cellIds: string[];
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Optional direct station membership if a line can reference stations directly.
|
|
58
|
-
*
|
|
59
|
-
* @generated from field: repeated string station_ids = 7;
|
|
60
|
-
*/
|
|
61
|
-
stationIds: string[];
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Describes the message resources.v1.LineDefinition.
|
|
66
|
-
* Use `create(LineDefinitionSchema)` to create a new message.
|
|
67
|
-
*/
|
|
68
|
-
export const LineDefinitionSchema: GenMessage<LineDefinition> = /*@__PURE__*/
|
|
69
|
-
messageDesc(file_resources_v1_line, 0);
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @generated from message resources.v1.LineDefinitions
|
|
73
|
-
*/
|
|
74
|
-
export type LineDefinitions = Message<"resources.v1.LineDefinitions"> & {
|
|
75
|
-
/**
|
|
76
|
-
* @generated from field: repeated resources.v1.LineDefinition items = 1;
|
|
77
|
-
*/
|
|
78
|
-
items: LineDefinition[];
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Describes the message resources.v1.LineDefinitions.
|
|
83
|
-
* Use `create(LineDefinitionsSchema)` to create a new message.
|
|
84
|
-
*/
|
|
85
|
-
export const LineDefinitionsSchema: GenMessage<LineDefinitions> = /*@__PURE__*/
|
|
86
|
-
messageDesc(file_resources_v1_line, 1);
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* @generated from enum resources.v1.LineType
|
|
90
|
-
*/
|
|
91
|
-
export enum LineType {
|
|
92
|
-
/**
|
|
93
|
-
* @generated from enum value: LINE_TYPE_UNSPECIFIED = 0;
|
|
94
|
-
*/
|
|
95
|
-
UNSPECIFIED = 0,
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Describes the enum resources.v1.LineType.
|
|
100
|
-
*/
|
|
101
|
-
export const LineTypeSchema: GenEnum<LineType> = /*@__PURE__*/
|
|
102
|
-
enumDesc(file_resources_v1_line, 0);
|
|
103
|
-
|