weave-typescript 0.11.15 → 0.11.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.
- package/dist/weaveapi/data/v1/data.pb.d.ts +1 -1
- package/dist/weaveapi/data/v1/data.pb.js +11 -11
- package/dist/weaveapi/data/v1/service.pb.d.ts +89 -6
- package/dist/weaveapi/data/v1/service.pb.js +1195 -364
- package/dist/weaveapi/input/v1/input.pb.d.ts +1 -1
- package/dist/weaveapi/input/v1/input.pb.js +11 -11
- package/dist/weaveapi/input/v1/service.pb.d.ts +89 -10
- package/dist/weaveapi/input/v1/service.pb.js +1253 -642
- package/dist/weaveapi/integration/v1/integration.pb.d.ts +1 -1
- package/dist/weaveapi/integration/v1/integration.pb.js +11 -11
- package/dist/weaveapi/integration/v1/service.pb.d.ts +89 -7
- package/dist/weaveapi/integration/v1/service.pb.js +1164 -390
- package/dist/weaveapi/project/v1/project.pb.d.ts +1 -0
- package/dist/weaveapi/project/v1/project.pb.js +17 -1
- package/dist/weaveapi/project/v1/service.pb.d.ts +25 -0
- package/dist/weaveapi/project/v1/service.pb.js +248 -5
- package/dist/weaveapi/report/v1/report.pb.d.ts +2 -0
- package/dist/weaveapi/report/v1/report.pb.js +42 -2
- package/dist/weaveapi/report/v1/service.pb.d.ts +6 -6
- package/dist/weaveapi/report/v1/service.pb.js +416 -121
- package/dist/weaveapi/requirement/v1/requirement.pb.d.ts +1 -1
- package/dist/weaveapi/requirement/v1/requirement.pb.js +11 -11
- package/dist/weaveapi/requirement/v1/service.pb.d.ts +90 -10
- package/dist/weaveapi/requirement/v1/service.pb.js +1261 -601
- package/dist/weaveapi/run/v1/run.pb.d.ts +1 -0
- package/dist/weaveapi/run/v1/run.pb.js +21 -1
- package/dist/weaveapi/run/v1/service.pb.d.ts +6 -6
- package/dist/weaveapi/run/v1/service.pb.js +448 -126
- package/dist/weaveapi/script/v1/script.pb.d.ts +1 -1
- package/dist/weaveapi/script/v1/script.pb.js +11 -11
- package/dist/weaveapi/script/v1/service.pb.d.ts +90 -14
- package/dist/weaveapi/script/v1/service.pb.js +1404 -930
- package/dist/weaveapi/suite/v1/service.pb.d.ts +178 -12
- package/dist/weaveapi/suite/v1/service.pb.js +2631 -979
- package/dist/weaveapi/suite/v1/suite.pb.d.ts +2 -2
- package/dist/weaveapi/suite/v1/suite.pb.js +22 -22
- package/dist/weaveapi/testcase/v1/service.pb.d.ts +90 -14
- package/dist/weaveapi/testcase/v1/service.pb.js +1332 -856
- package/dist/weaveapi/testcase/v1/testcase.pb.d.ts +1 -1
- package/dist/weaveapi/testcase/v1/testcase.pb.js +11 -11
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +26 -0
- package/dist/weaveapi/workflow/v1/service.pb.js +293 -5
- package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +1 -0
- package/dist/weaveapi/workflow/v1/workflow.pb.js +17 -1
- package/dist/weavesql/weavedb/data_asset_sql.d.ts +81 -16
- package/dist/weavesql/weavedb/data_asset_sql.js +142 -24
- package/dist/weavesql/weavedb/input_sql.d.ts +88 -25
- package/dist/weavesql/weavedb/input_sql.js +150 -34
- package/dist/weavesql/weavedb/integration_sql.d.ts +85 -19
- package/dist/weavesql/weavedb/integration_sql.js +147 -28
- package/dist/weavesql/weavedb/project_sql.d.ts +29 -5
- package/dist/weavesql/weavedb/project_sql.js +73 -37
- package/dist/weavesql/weavedb/report_sql.d.ts +61 -7
- package/dist/weavesql/weavedb/report_sql.js +157 -81
- package/dist/weavesql/weavedb/requirement_sql.d.ts +83 -20
- package/dist/weavesql/weavedb/requirement_sql.js +144 -28
- package/dist/weavesql/weavedb/run_sql.d.ts +44 -8
- package/dist/weavesql/weavedb/run_sql.js +140 -93
- package/dist/weavesql/weavedb/suite_sql.d.ts +156 -30
- package/dist/weavesql/weavedb/suite_sql.js +274 -42
- package/dist/weavesql/weavedb/test_case_sql.d.ts +91 -27
- package/dist/weavesql/weavedb/test_case_sql.js +153 -36
- package/dist/weavesql/weavedb/test_script_sql.d.ts +91 -27
- package/dist/weavesql/weavedb/test_script_sql.js +153 -36
- package/dist/weavesql/weavedb/traceability_sql.d.ts +62 -4
- package/dist/weavesql/weavedb/traceability_sql.js +245 -37
- package/dist/weavesql/weavedb/workflow_sql.d.ts +30 -5
- package/dist/weavesql/weavedb/workflow_sql.js +76 -38
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ export interface Project {
|
|
|
17
17
|
createdAt: Date | undefined;
|
|
18
18
|
updatedAt: Date | undefined;
|
|
19
19
|
archivedAt: Date | undefined;
|
|
20
|
+
slug: string;
|
|
20
21
|
}
|
|
21
22
|
export declare const Project: MessageFns<Project>;
|
|
22
23
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
@@ -59,6 +59,7 @@ function createBaseProject() {
|
|
|
59
59
|
createdAt: undefined,
|
|
60
60
|
updatedAt: undefined,
|
|
61
61
|
archivedAt: undefined,
|
|
62
|
+
slug: "",
|
|
62
63
|
};
|
|
63
64
|
}
|
|
64
65
|
exports.Project = {
|
|
@@ -87,6 +88,9 @@ exports.Project = {
|
|
|
87
88
|
if (message.archivedAt !== undefined) {
|
|
88
89
|
timestamp_pb_1.Timestamp.encode(toTimestamp(message.archivedAt), writer.uint32(66).fork()).join();
|
|
89
90
|
}
|
|
91
|
+
if (message.slug !== "") {
|
|
92
|
+
writer.uint32(74).string(message.slug);
|
|
93
|
+
}
|
|
90
94
|
return writer;
|
|
91
95
|
},
|
|
92
96
|
decode(input, length) {
|
|
@@ -152,6 +156,13 @@ exports.Project = {
|
|
|
152
156
|
message.archivedAt = fromTimestamp(timestamp_pb_1.Timestamp.decode(reader, reader.uint32()));
|
|
153
157
|
continue;
|
|
154
158
|
}
|
|
159
|
+
case 9: {
|
|
160
|
+
if (tag !== 74) {
|
|
161
|
+
break;
|
|
162
|
+
}
|
|
163
|
+
message.slug = reader.string();
|
|
164
|
+
continue;
|
|
165
|
+
}
|
|
155
166
|
}
|
|
156
167
|
if ((tag & 7) === 4 || tag === 0) {
|
|
157
168
|
break;
|
|
@@ -190,6 +201,7 @@ exports.Project = {
|
|
|
190
201
|
: isSet(object.archived_at)
|
|
191
202
|
? fromJsonTimestamp(object.archived_at)
|
|
192
203
|
: undefined,
|
|
204
|
+
slug: isSet(object.slug) ? globalThis.String(object.slug) : "",
|
|
193
205
|
};
|
|
194
206
|
},
|
|
195
207
|
toJSON(message) {
|
|
@@ -218,13 +230,16 @@ exports.Project = {
|
|
|
218
230
|
if (message.archivedAt !== undefined) {
|
|
219
231
|
obj.archivedAt = message.archivedAt.toISOString();
|
|
220
232
|
}
|
|
233
|
+
if (message.slug !== "") {
|
|
234
|
+
obj.slug = message.slug;
|
|
235
|
+
}
|
|
221
236
|
return obj;
|
|
222
237
|
},
|
|
223
238
|
create(base) {
|
|
224
239
|
return exports.Project.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
225
240
|
},
|
|
226
241
|
fromPartial(object) {
|
|
227
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
242
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
228
243
|
const message = createBaseProject();
|
|
229
244
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
230
245
|
message.organizationId = (_b = object.organizationId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -234,6 +249,7 @@ exports.Project = {
|
|
|
234
249
|
message.createdAt = (_f = object.createdAt) !== null && _f !== void 0 ? _f : undefined;
|
|
235
250
|
message.updatedAt = (_g = object.updatedAt) !== null && _g !== void 0 ? _g : undefined;
|
|
236
251
|
message.archivedAt = (_h = object.archivedAt) !== null && _h !== void 0 ? _h : undefined;
|
|
252
|
+
message.slug = (_j = object.slug) !== null && _j !== void 0 ? _j : "";
|
|
237
253
|
return message;
|
|
238
254
|
},
|
|
239
255
|
};
|
|
@@ -5,6 +5,7 @@ export interface CreateProjectRequest {
|
|
|
5
5
|
organizationId: string;
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
8
|
+
slug: string;
|
|
8
9
|
}
|
|
9
10
|
export interface CreateProjectResponse {
|
|
10
11
|
project: Project | undefined;
|
|
@@ -15,6 +16,13 @@ export interface GetProjectRequest {
|
|
|
15
16
|
export interface GetProjectResponse {
|
|
16
17
|
project: Project | undefined;
|
|
17
18
|
}
|
|
19
|
+
export interface GetProjectBySlugRequest {
|
|
20
|
+
organizationId: string;
|
|
21
|
+
projectSlug: string;
|
|
22
|
+
}
|
|
23
|
+
export interface GetProjectBySlugResponse {
|
|
24
|
+
project: Project | undefined;
|
|
25
|
+
}
|
|
18
26
|
export interface ListProjectsRequest {
|
|
19
27
|
organizationId: string;
|
|
20
28
|
pageSize: number;
|
|
@@ -29,6 +37,7 @@ export interface UpdateProjectRequest {
|
|
|
29
37
|
projectId: string;
|
|
30
38
|
name: string;
|
|
31
39
|
description: string;
|
|
40
|
+
slug: string;
|
|
32
41
|
}
|
|
33
42
|
export interface UpdateProjectResponse {
|
|
34
43
|
project: Project | undefined;
|
|
@@ -48,6 +57,8 @@ export declare const CreateProjectRequest: MessageFns<CreateProjectRequest>;
|
|
|
48
57
|
export declare const CreateProjectResponse: MessageFns<CreateProjectResponse>;
|
|
49
58
|
export declare const GetProjectRequest: MessageFns<GetProjectRequest>;
|
|
50
59
|
export declare const GetProjectResponse: MessageFns<GetProjectResponse>;
|
|
60
|
+
export declare const GetProjectBySlugRequest: MessageFns<GetProjectBySlugRequest>;
|
|
61
|
+
export declare const GetProjectBySlugResponse: MessageFns<GetProjectBySlugResponse>;
|
|
51
62
|
export declare const ListProjectsRequest: MessageFns<ListProjectsRequest>;
|
|
52
63
|
export declare const ListProjectsResponse: MessageFns<ListProjectsResponse>;
|
|
53
64
|
export declare const UpdateProjectRequest: MessageFns<UpdateProjectRequest>;
|
|
@@ -59,6 +70,7 @@ export declare const DeleteProjectResponse: MessageFns<DeleteProjectResponse>;
|
|
|
59
70
|
export interface ProjectService {
|
|
60
71
|
CreateProject(request: CreateProjectRequest): Promise<CreateProjectResponse>;
|
|
61
72
|
GetProject(request: GetProjectRequest): Promise<GetProjectResponse>;
|
|
73
|
+
GetProjectBySlug(request: GetProjectBySlugRequest): Promise<GetProjectBySlugResponse>;
|
|
62
74
|
ListProjects(request: ListProjectsRequest): Promise<ListProjectsResponse>;
|
|
63
75
|
UpdateProject(request: UpdateProjectRequest): Promise<UpdateProjectResponse>;
|
|
64
76
|
ArchiveProject(request: ArchiveProjectRequest): Promise<ArchiveProjectResponse>;
|
|
@@ -73,6 +85,7 @@ export declare class ProjectServiceClientImpl implements ProjectService {
|
|
|
73
85
|
});
|
|
74
86
|
CreateProject(request: CreateProjectRequest): Promise<CreateProjectResponse>;
|
|
75
87
|
GetProject(request: GetProjectRequest): Promise<GetProjectResponse>;
|
|
88
|
+
GetProjectBySlug(request: GetProjectBySlugRequest): Promise<GetProjectBySlugResponse>;
|
|
76
89
|
ListProjects(request: ListProjectsRequest): Promise<ListProjectsResponse>;
|
|
77
90
|
UpdateProject(request: UpdateProjectRequest): Promise<UpdateProjectResponse>;
|
|
78
91
|
ArchiveProject(request: ArchiveProjectRequest): Promise<ArchiveProjectResponse>;
|
|
@@ -107,6 +120,18 @@ export declare const ProjectServiceDefinition: {
|
|
|
107
120
|
};
|
|
108
121
|
};
|
|
109
122
|
};
|
|
123
|
+
readonly getProjectBySlug: {
|
|
124
|
+
readonly name: "GetProjectBySlug";
|
|
125
|
+
readonly requestType: MessageFns<GetProjectBySlugRequest>;
|
|
126
|
+
readonly requestStream: false;
|
|
127
|
+
readonly responseType: MessageFns<GetProjectBySlugResponse>;
|
|
128
|
+
readonly responseStream: false;
|
|
129
|
+
readonly options: {
|
|
130
|
+
readonly _unknownFields: {
|
|
131
|
+
readonly 578365826: readonly [Uint8Array<ArrayBuffer>];
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
110
135
|
readonly listProjects: {
|
|
111
136
|
readonly name: "ListProjects";
|
|
112
137
|
readonly requestType: MessageFns<ListProjectsRequest>;
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: weaveapi/project/v1/service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ProjectServiceDefinition = exports.ProjectServiceClientImpl = exports.ProjectServiceServiceName = exports.DeleteProjectResponse = exports.DeleteProjectRequest = exports.ArchiveProjectResponse = exports.ArchiveProjectRequest = exports.UpdateProjectResponse = exports.UpdateProjectRequest = exports.ListProjectsResponse = exports.ListProjectsRequest = exports.GetProjectResponse = exports.GetProjectRequest = exports.CreateProjectResponse = exports.CreateProjectRequest = exports.protobufPackage = void 0;
|
|
8
|
+
exports.ProjectServiceDefinition = exports.ProjectServiceClientImpl = exports.ProjectServiceServiceName = exports.DeleteProjectResponse = exports.DeleteProjectRequest = exports.ArchiveProjectResponse = exports.ArchiveProjectRequest = exports.UpdateProjectResponse = exports.UpdateProjectRequest = exports.ListProjectsResponse = exports.ListProjectsRequest = exports.GetProjectBySlugResponse = exports.GetProjectBySlugRequest = exports.GetProjectResponse = exports.GetProjectRequest = exports.CreateProjectResponse = exports.CreateProjectRequest = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const project_pb_1 = require("./project.pb");
|
|
12
12
|
exports.protobufPackage = "weaveapi.project.v1";
|
|
13
13
|
function createBaseCreateProjectRequest() {
|
|
14
|
-
return { organizationId: "", name: "", description: "" };
|
|
14
|
+
return { organizationId: "", name: "", description: "", slug: "" };
|
|
15
15
|
}
|
|
16
16
|
exports.CreateProjectRequest = {
|
|
17
17
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -24,6 +24,9 @@ exports.CreateProjectRequest = {
|
|
|
24
24
|
if (message.description !== "") {
|
|
25
25
|
writer.uint32(26).string(message.description);
|
|
26
26
|
}
|
|
27
|
+
if (message.slug !== "") {
|
|
28
|
+
writer.uint32(34).string(message.slug);
|
|
29
|
+
}
|
|
27
30
|
return writer;
|
|
28
31
|
},
|
|
29
32
|
decode(input, length) {
|
|
@@ -54,6 +57,13 @@ exports.CreateProjectRequest = {
|
|
|
54
57
|
message.description = reader.string();
|
|
55
58
|
continue;
|
|
56
59
|
}
|
|
60
|
+
case 4: {
|
|
61
|
+
if (tag !== 34) {
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
message.slug = reader.string();
|
|
65
|
+
continue;
|
|
66
|
+
}
|
|
57
67
|
}
|
|
58
68
|
if ((tag & 7) === 4 || tag === 0) {
|
|
59
69
|
break;
|
|
@@ -71,6 +81,7 @@ exports.CreateProjectRequest = {
|
|
|
71
81
|
: "",
|
|
72
82
|
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
73
83
|
description: isSet(object.description) ? globalThis.String(object.description) : "",
|
|
84
|
+
slug: isSet(object.slug) ? globalThis.String(object.slug) : "",
|
|
74
85
|
};
|
|
75
86
|
},
|
|
76
87
|
toJSON(message) {
|
|
@@ -84,17 +95,21 @@ exports.CreateProjectRequest = {
|
|
|
84
95
|
if (message.description !== "") {
|
|
85
96
|
obj.description = message.description;
|
|
86
97
|
}
|
|
98
|
+
if (message.slug !== "") {
|
|
99
|
+
obj.slug = message.slug;
|
|
100
|
+
}
|
|
87
101
|
return obj;
|
|
88
102
|
},
|
|
89
103
|
create(base) {
|
|
90
104
|
return exports.CreateProjectRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
91
105
|
},
|
|
92
106
|
fromPartial(object) {
|
|
93
|
-
var _a, _b, _c;
|
|
107
|
+
var _a, _b, _c, _d;
|
|
94
108
|
const message = createBaseCreateProjectRequest();
|
|
95
109
|
message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
|
|
96
110
|
message.name = (_b = object.name) !== null && _b !== void 0 ? _b : "";
|
|
97
111
|
message.description = (_c = object.description) !== null && _c !== void 0 ? _c : "";
|
|
112
|
+
message.slug = (_d = object.slug) !== null && _d !== void 0 ? _d : "";
|
|
98
113
|
return message;
|
|
99
114
|
},
|
|
100
115
|
};
|
|
@@ -262,6 +277,136 @@ exports.GetProjectResponse = {
|
|
|
262
277
|
return message;
|
|
263
278
|
},
|
|
264
279
|
};
|
|
280
|
+
function createBaseGetProjectBySlugRequest() {
|
|
281
|
+
return { organizationId: "", projectSlug: "" };
|
|
282
|
+
}
|
|
283
|
+
exports.GetProjectBySlugRequest = {
|
|
284
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
285
|
+
if (message.organizationId !== "") {
|
|
286
|
+
writer.uint32(10).string(message.organizationId);
|
|
287
|
+
}
|
|
288
|
+
if (message.projectSlug !== "") {
|
|
289
|
+
writer.uint32(18).string(message.projectSlug);
|
|
290
|
+
}
|
|
291
|
+
return writer;
|
|
292
|
+
},
|
|
293
|
+
decode(input, length) {
|
|
294
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
295
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
296
|
+
const message = createBaseGetProjectBySlugRequest();
|
|
297
|
+
while (reader.pos < end) {
|
|
298
|
+
const tag = reader.uint32();
|
|
299
|
+
switch (tag >>> 3) {
|
|
300
|
+
case 1: {
|
|
301
|
+
if (tag !== 10) {
|
|
302
|
+
break;
|
|
303
|
+
}
|
|
304
|
+
message.organizationId = reader.string();
|
|
305
|
+
continue;
|
|
306
|
+
}
|
|
307
|
+
case 2: {
|
|
308
|
+
if (tag !== 18) {
|
|
309
|
+
break;
|
|
310
|
+
}
|
|
311
|
+
message.projectSlug = reader.string();
|
|
312
|
+
continue;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
316
|
+
break;
|
|
317
|
+
}
|
|
318
|
+
reader.skip(tag & 7);
|
|
319
|
+
}
|
|
320
|
+
return message;
|
|
321
|
+
},
|
|
322
|
+
fromJSON(object) {
|
|
323
|
+
return {
|
|
324
|
+
organizationId: isSet(object.organizationId)
|
|
325
|
+
? globalThis.String(object.organizationId)
|
|
326
|
+
: isSet(object.organization_id)
|
|
327
|
+
? globalThis.String(object.organization_id)
|
|
328
|
+
: "",
|
|
329
|
+
projectSlug: isSet(object.projectSlug)
|
|
330
|
+
? globalThis.String(object.projectSlug)
|
|
331
|
+
: isSet(object.project_slug)
|
|
332
|
+
? globalThis.String(object.project_slug)
|
|
333
|
+
: "",
|
|
334
|
+
};
|
|
335
|
+
},
|
|
336
|
+
toJSON(message) {
|
|
337
|
+
const obj = {};
|
|
338
|
+
if (message.organizationId !== "") {
|
|
339
|
+
obj.organizationId = message.organizationId;
|
|
340
|
+
}
|
|
341
|
+
if (message.projectSlug !== "") {
|
|
342
|
+
obj.projectSlug = message.projectSlug;
|
|
343
|
+
}
|
|
344
|
+
return obj;
|
|
345
|
+
},
|
|
346
|
+
create(base) {
|
|
347
|
+
return exports.GetProjectBySlugRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
348
|
+
},
|
|
349
|
+
fromPartial(object) {
|
|
350
|
+
var _a, _b;
|
|
351
|
+
const message = createBaseGetProjectBySlugRequest();
|
|
352
|
+
message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
|
|
353
|
+
message.projectSlug = (_b = object.projectSlug) !== null && _b !== void 0 ? _b : "";
|
|
354
|
+
return message;
|
|
355
|
+
},
|
|
356
|
+
};
|
|
357
|
+
function createBaseGetProjectBySlugResponse() {
|
|
358
|
+
return { project: undefined };
|
|
359
|
+
}
|
|
360
|
+
exports.GetProjectBySlugResponse = {
|
|
361
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
362
|
+
if (message.project !== undefined) {
|
|
363
|
+
project_pb_1.Project.encode(message.project, writer.uint32(10).fork()).join();
|
|
364
|
+
}
|
|
365
|
+
return writer;
|
|
366
|
+
},
|
|
367
|
+
decode(input, length) {
|
|
368
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
369
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
370
|
+
const message = createBaseGetProjectBySlugResponse();
|
|
371
|
+
while (reader.pos < end) {
|
|
372
|
+
const tag = reader.uint32();
|
|
373
|
+
switch (tag >>> 3) {
|
|
374
|
+
case 1: {
|
|
375
|
+
if (tag !== 10) {
|
|
376
|
+
break;
|
|
377
|
+
}
|
|
378
|
+
message.project = project_pb_1.Project.decode(reader, reader.uint32());
|
|
379
|
+
continue;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
383
|
+
break;
|
|
384
|
+
}
|
|
385
|
+
reader.skip(tag & 7);
|
|
386
|
+
}
|
|
387
|
+
return message;
|
|
388
|
+
},
|
|
389
|
+
fromJSON(object) {
|
|
390
|
+
return { project: isSet(object.project) ? project_pb_1.Project.fromJSON(object.project) : undefined };
|
|
391
|
+
},
|
|
392
|
+
toJSON(message) {
|
|
393
|
+
const obj = {};
|
|
394
|
+
if (message.project !== undefined) {
|
|
395
|
+
obj.project = project_pb_1.Project.toJSON(message.project);
|
|
396
|
+
}
|
|
397
|
+
return obj;
|
|
398
|
+
},
|
|
399
|
+
create(base) {
|
|
400
|
+
return exports.GetProjectBySlugResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
401
|
+
},
|
|
402
|
+
fromPartial(object) {
|
|
403
|
+
const message = createBaseGetProjectBySlugResponse();
|
|
404
|
+
message.project = (object.project !== undefined && object.project !== null)
|
|
405
|
+
? project_pb_1.Project.fromPartial(object.project)
|
|
406
|
+
: undefined;
|
|
407
|
+
return message;
|
|
408
|
+
},
|
|
409
|
+
};
|
|
265
410
|
function createBaseListProjectsRequest() {
|
|
266
411
|
return { organizationId: "", pageSize: 0, pageToken: "", includeArchived: false };
|
|
267
412
|
}
|
|
@@ -453,7 +598,7 @@ exports.ListProjectsResponse = {
|
|
|
453
598
|
},
|
|
454
599
|
};
|
|
455
600
|
function createBaseUpdateProjectRequest() {
|
|
456
|
-
return { projectId: "", name: "", description: "" };
|
|
601
|
+
return { projectId: "", name: "", description: "", slug: "" };
|
|
457
602
|
}
|
|
458
603
|
exports.UpdateProjectRequest = {
|
|
459
604
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -466,6 +611,9 @@ exports.UpdateProjectRequest = {
|
|
|
466
611
|
if (message.description !== "") {
|
|
467
612
|
writer.uint32(26).string(message.description);
|
|
468
613
|
}
|
|
614
|
+
if (message.slug !== "") {
|
|
615
|
+
writer.uint32(34).string(message.slug);
|
|
616
|
+
}
|
|
469
617
|
return writer;
|
|
470
618
|
},
|
|
471
619
|
decode(input, length) {
|
|
@@ -496,6 +644,13 @@ exports.UpdateProjectRequest = {
|
|
|
496
644
|
message.description = reader.string();
|
|
497
645
|
continue;
|
|
498
646
|
}
|
|
647
|
+
case 4: {
|
|
648
|
+
if (tag !== 34) {
|
|
649
|
+
break;
|
|
650
|
+
}
|
|
651
|
+
message.slug = reader.string();
|
|
652
|
+
continue;
|
|
653
|
+
}
|
|
499
654
|
}
|
|
500
655
|
if ((tag & 7) === 4 || tag === 0) {
|
|
501
656
|
break;
|
|
@@ -513,6 +668,7 @@ exports.UpdateProjectRequest = {
|
|
|
513
668
|
: "",
|
|
514
669
|
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
515
670
|
description: isSet(object.description) ? globalThis.String(object.description) : "",
|
|
671
|
+
slug: isSet(object.slug) ? globalThis.String(object.slug) : "",
|
|
516
672
|
};
|
|
517
673
|
},
|
|
518
674
|
toJSON(message) {
|
|
@@ -526,17 +682,21 @@ exports.UpdateProjectRequest = {
|
|
|
526
682
|
if (message.description !== "") {
|
|
527
683
|
obj.description = message.description;
|
|
528
684
|
}
|
|
685
|
+
if (message.slug !== "") {
|
|
686
|
+
obj.slug = message.slug;
|
|
687
|
+
}
|
|
529
688
|
return obj;
|
|
530
689
|
},
|
|
531
690
|
create(base) {
|
|
532
691
|
return exports.UpdateProjectRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
533
692
|
},
|
|
534
693
|
fromPartial(object) {
|
|
535
|
-
var _a, _b, _c;
|
|
694
|
+
var _a, _b, _c, _d;
|
|
536
695
|
const message = createBaseUpdateProjectRequest();
|
|
537
696
|
message.projectId = (_a = object.projectId) !== null && _a !== void 0 ? _a : "";
|
|
538
697
|
message.name = (_b = object.name) !== null && _b !== void 0 ? _b : "";
|
|
539
698
|
message.description = (_c = object.description) !== null && _c !== void 0 ? _c : "";
|
|
699
|
+
message.slug = (_d = object.slug) !== null && _d !== void 0 ? _d : "";
|
|
540
700
|
return message;
|
|
541
701
|
},
|
|
542
702
|
};
|
|
@@ -808,6 +968,7 @@ class ProjectServiceClientImpl {
|
|
|
808
968
|
this.rpc = rpc;
|
|
809
969
|
this.CreateProject = this.CreateProject.bind(this);
|
|
810
970
|
this.GetProject = this.GetProject.bind(this);
|
|
971
|
+
this.GetProjectBySlug = this.GetProjectBySlug.bind(this);
|
|
811
972
|
this.ListProjects = this.ListProjects.bind(this);
|
|
812
973
|
this.UpdateProject = this.UpdateProject.bind(this);
|
|
813
974
|
this.ArchiveProject = this.ArchiveProject.bind(this);
|
|
@@ -823,6 +984,11 @@ class ProjectServiceClientImpl {
|
|
|
823
984
|
const promise = this.rpc.request(this.service, "GetProject", data);
|
|
824
985
|
return promise.then((data) => exports.GetProjectResponse.decode(new wire_1.BinaryReader(data)));
|
|
825
986
|
}
|
|
987
|
+
GetProjectBySlug(request) {
|
|
988
|
+
const data = exports.GetProjectBySlugRequest.encode(request).finish();
|
|
989
|
+
const promise = this.rpc.request(this.service, "GetProjectBySlug", data);
|
|
990
|
+
return promise.then((data) => exports.GetProjectBySlugResponse.decode(new wire_1.BinaryReader(data)));
|
|
991
|
+
}
|
|
826
992
|
ListProjects(request) {
|
|
827
993
|
const data = exports.ListProjectsRequest.encode(request).finish();
|
|
828
994
|
const promise = this.rpc.request(this.service, "ListProjects", data);
|
|
@@ -904,6 +1070,83 @@ exports.ProjectServiceDefinition = {
|
|
|
904
1070
|
},
|
|
905
1071
|
},
|
|
906
1072
|
},
|
|
1073
|
+
getProjectBySlug: {
|
|
1074
|
+
name: "GetProjectBySlug",
|
|
1075
|
+
requestType: exports.GetProjectBySlugRequest,
|
|
1076
|
+
requestStream: false,
|
|
1077
|
+
responseType: exports.GetProjectBySlugResponse,
|
|
1078
|
+
responseStream: false,
|
|
1079
|
+
options: {
|
|
1080
|
+
_unknownFields: {
|
|
1081
|
+
578365826: [
|
|
1082
|
+
new Uint8Array([
|
|
1083
|
+
61,
|
|
1084
|
+
18,
|
|
1085
|
+
59,
|
|
1086
|
+
47,
|
|
1087
|
+
118,
|
|
1088
|
+
49,
|
|
1089
|
+
47,
|
|
1090
|
+
111,
|
|
1091
|
+
114,
|
|
1092
|
+
103,
|
|
1093
|
+
97,
|
|
1094
|
+
110,
|
|
1095
|
+
105,
|
|
1096
|
+
122,
|
|
1097
|
+
97,
|
|
1098
|
+
116,
|
|
1099
|
+
105,
|
|
1100
|
+
111,
|
|
1101
|
+
110,
|
|
1102
|
+
115,
|
|
1103
|
+
47,
|
|
1104
|
+
123,
|
|
1105
|
+
111,
|
|
1106
|
+
114,
|
|
1107
|
+
103,
|
|
1108
|
+
97,
|
|
1109
|
+
110,
|
|
1110
|
+
105,
|
|
1111
|
+
122,
|
|
1112
|
+
97,
|
|
1113
|
+
116,
|
|
1114
|
+
105,
|
|
1115
|
+
111,
|
|
1116
|
+
110,
|
|
1117
|
+
95,
|
|
1118
|
+
105,
|
|
1119
|
+
100,
|
|
1120
|
+
125,
|
|
1121
|
+
47,
|
|
1122
|
+
112,
|
|
1123
|
+
114,
|
|
1124
|
+
111,
|
|
1125
|
+
106,
|
|
1126
|
+
101,
|
|
1127
|
+
99,
|
|
1128
|
+
116,
|
|
1129
|
+
115,
|
|
1130
|
+
47,
|
|
1131
|
+
123,
|
|
1132
|
+
112,
|
|
1133
|
+
114,
|
|
1134
|
+
111,
|
|
1135
|
+
106,
|
|
1136
|
+
101,
|
|
1137
|
+
99,
|
|
1138
|
+
116,
|
|
1139
|
+
95,
|
|
1140
|
+
115,
|
|
1141
|
+
108,
|
|
1142
|
+
117,
|
|
1143
|
+
103,
|
|
1144
|
+
125,
|
|
1145
|
+
]),
|
|
1146
|
+
],
|
|
1147
|
+
},
|
|
1148
|
+
},
|
|
1149
|
+
},
|
|
907
1150
|
listProjects: {
|
|
908
1151
|
name: "ListProjects",
|
|
909
1152
|
requestType: exports.ListProjectsRequest,
|
|
@@ -43,6 +43,7 @@ export interface TestReport {
|
|
|
43
43
|
createdAt: Date | undefined;
|
|
44
44
|
updatedAt: Date | undefined;
|
|
45
45
|
archivedAt: Date | undefined;
|
|
46
|
+
projectId: string;
|
|
46
47
|
}
|
|
47
48
|
export interface WorkflowEvent {
|
|
48
49
|
workflowEventId: string;
|
|
@@ -55,6 +56,7 @@ export interface WorkflowEvent {
|
|
|
55
56
|
[key: string]: any;
|
|
56
57
|
} | undefined;
|
|
57
58
|
createdAt: Date | undefined;
|
|
59
|
+
projectId: string;
|
|
58
60
|
}
|
|
59
61
|
export declare const TestReport: MessageFns<TestReport>;
|
|
60
62
|
export declare const WorkflowEvent: MessageFns<WorkflowEvent>;
|
|
@@ -163,6 +163,7 @@ function createBaseTestReport() {
|
|
|
163
163
|
createdAt: undefined,
|
|
164
164
|
updatedAt: undefined,
|
|
165
165
|
archivedAt: undefined,
|
|
166
|
+
projectId: "",
|
|
166
167
|
};
|
|
167
168
|
}
|
|
168
169
|
exports.TestReport = {
|
|
@@ -203,6 +204,9 @@ exports.TestReport = {
|
|
|
203
204
|
if (message.archivedAt !== undefined) {
|
|
204
205
|
timestamp_pb_1.Timestamp.encode(toTimestamp(message.archivedAt), writer.uint32(98).fork()).join();
|
|
205
206
|
}
|
|
207
|
+
if (message.projectId !== "") {
|
|
208
|
+
writer.uint32(106).string(message.projectId);
|
|
209
|
+
}
|
|
206
210
|
return writer;
|
|
207
211
|
},
|
|
208
212
|
decode(input, length) {
|
|
@@ -296,6 +300,13 @@ exports.TestReport = {
|
|
|
296
300
|
message.archivedAt = fromTimestamp(timestamp_pb_1.Timestamp.decode(reader, reader.uint32()));
|
|
297
301
|
continue;
|
|
298
302
|
}
|
|
303
|
+
case 13: {
|
|
304
|
+
if (tag !== 106) {
|
|
305
|
+
break;
|
|
306
|
+
}
|
|
307
|
+
message.projectId = reader.string();
|
|
308
|
+
continue;
|
|
309
|
+
}
|
|
299
310
|
}
|
|
300
311
|
if ((tag & 7) === 4 || tag === 0) {
|
|
301
312
|
break;
|
|
@@ -354,6 +365,11 @@ exports.TestReport = {
|
|
|
354
365
|
: isSet(object.archived_at)
|
|
355
366
|
? fromJsonTimestamp(object.archived_at)
|
|
356
367
|
: undefined,
|
|
368
|
+
projectId: isSet(object.projectId)
|
|
369
|
+
? globalThis.String(object.projectId)
|
|
370
|
+
: isSet(object.project_id)
|
|
371
|
+
? globalThis.String(object.project_id)
|
|
372
|
+
: "",
|
|
357
373
|
};
|
|
358
374
|
},
|
|
359
375
|
toJSON(message) {
|
|
@@ -394,13 +410,16 @@ exports.TestReport = {
|
|
|
394
410
|
if (message.archivedAt !== undefined) {
|
|
395
411
|
obj.archivedAt = message.archivedAt.toISOString();
|
|
396
412
|
}
|
|
413
|
+
if (message.projectId !== "") {
|
|
414
|
+
obj.projectId = message.projectId;
|
|
415
|
+
}
|
|
397
416
|
return obj;
|
|
398
417
|
},
|
|
399
418
|
create(base) {
|
|
400
419
|
return exports.TestReport.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
401
420
|
},
|
|
402
421
|
fromPartial(object) {
|
|
403
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
422
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
404
423
|
const message = createBaseTestReport();
|
|
405
424
|
message.testReportId = (_a = object.testReportId) !== null && _a !== void 0 ? _a : "";
|
|
406
425
|
message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -414,6 +433,7 @@ exports.TestReport = {
|
|
|
414
433
|
message.createdAt = (_k = object.createdAt) !== null && _k !== void 0 ? _k : undefined;
|
|
415
434
|
message.updatedAt = (_l = object.updatedAt) !== null && _l !== void 0 ? _l : undefined;
|
|
416
435
|
message.archivedAt = (_m = object.archivedAt) !== null && _m !== void 0 ? _m : undefined;
|
|
436
|
+
message.projectId = (_o = object.projectId) !== null && _o !== void 0 ? _o : "";
|
|
417
437
|
return message;
|
|
418
438
|
},
|
|
419
439
|
};
|
|
@@ -427,6 +447,7 @@ function createBaseWorkflowEvent() {
|
|
|
427
447
|
entityId: "",
|
|
428
448
|
payload: undefined,
|
|
429
449
|
createdAt: undefined,
|
|
450
|
+
projectId: "",
|
|
430
451
|
};
|
|
431
452
|
}
|
|
432
453
|
exports.WorkflowEvent = {
|
|
@@ -455,6 +476,9 @@ exports.WorkflowEvent = {
|
|
|
455
476
|
if (message.createdAt !== undefined) {
|
|
456
477
|
timestamp_pb_1.Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(66).fork()).join();
|
|
457
478
|
}
|
|
479
|
+
if (message.projectId !== "") {
|
|
480
|
+
writer.uint32(74).string(message.projectId);
|
|
481
|
+
}
|
|
458
482
|
return writer;
|
|
459
483
|
},
|
|
460
484
|
decode(input, length) {
|
|
@@ -520,6 +544,13 @@ exports.WorkflowEvent = {
|
|
|
520
544
|
message.createdAt = fromTimestamp(timestamp_pb_1.Timestamp.decode(reader, reader.uint32()));
|
|
521
545
|
continue;
|
|
522
546
|
}
|
|
547
|
+
case 9: {
|
|
548
|
+
if (tag !== 74) {
|
|
549
|
+
break;
|
|
550
|
+
}
|
|
551
|
+
message.projectId = reader.string();
|
|
552
|
+
continue;
|
|
553
|
+
}
|
|
523
554
|
}
|
|
524
555
|
if ((tag & 7) === 4 || tag === 0) {
|
|
525
556
|
break;
|
|
@@ -562,6 +593,11 @@ exports.WorkflowEvent = {
|
|
|
562
593
|
: isSet(object.created_at)
|
|
563
594
|
? fromJsonTimestamp(object.created_at)
|
|
564
595
|
: undefined,
|
|
596
|
+
projectId: isSet(object.projectId)
|
|
597
|
+
? globalThis.String(object.projectId)
|
|
598
|
+
: isSet(object.project_id)
|
|
599
|
+
? globalThis.String(object.project_id)
|
|
600
|
+
: "",
|
|
565
601
|
};
|
|
566
602
|
},
|
|
567
603
|
toJSON(message) {
|
|
@@ -590,13 +626,16 @@ exports.WorkflowEvent = {
|
|
|
590
626
|
if (message.createdAt !== undefined) {
|
|
591
627
|
obj.createdAt = message.createdAt.toISOString();
|
|
592
628
|
}
|
|
629
|
+
if (message.projectId !== "") {
|
|
630
|
+
obj.projectId = message.projectId;
|
|
631
|
+
}
|
|
593
632
|
return obj;
|
|
594
633
|
},
|
|
595
634
|
create(base) {
|
|
596
635
|
return exports.WorkflowEvent.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
597
636
|
},
|
|
598
637
|
fromPartial(object) {
|
|
599
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
638
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
600
639
|
const message = createBaseWorkflowEvent();
|
|
601
640
|
message.workflowEventId = (_a = object.workflowEventId) !== null && _a !== void 0 ? _a : "";
|
|
602
641
|
message.workflowId = (_b = object.workflowId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -606,6 +645,7 @@ exports.WorkflowEvent = {
|
|
|
606
645
|
message.entityId = (_f = object.entityId) !== null && _f !== void 0 ? _f : "";
|
|
607
646
|
message.payload = (_g = object.payload) !== null && _g !== void 0 ? _g : undefined;
|
|
608
647
|
message.createdAt = (_h = object.createdAt) !== null && _h !== void 0 ? _h : undefined;
|
|
648
|
+
message.projectId = (_j = object.projectId) !== null && _j !== void 0 ? _j : "";
|
|
609
649
|
return message;
|
|
610
650
|
},
|
|
611
651
|
};
|