You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-250905150446",
|
||||
"version": "1.12.0-SNAPSHOT-250908085717",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
60
workflow.ts
60
workflow.ts
@@ -886,9 +886,9 @@ export interface StartWorkflowSweepResult {
|
||||
*/
|
||||
export interface StartWorkflowCreateClickhouseRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string ProjectID = 1
|
||||
* @generated from protobuf field: string ResourceID = 1
|
||||
*/
|
||||
ProjectID: string;
|
||||
ResourceID: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.ResourceType ResourceType = 2
|
||||
*/
|
||||
@@ -908,9 +908,9 @@ export interface StartWorkflowCreateClickhouseResult {
|
||||
*/
|
||||
export interface StartWorkflowDeleteClickhouseRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string ProjectID = 1
|
||||
* @generated from protobuf field: string ResourceID = 1
|
||||
*/
|
||||
ProjectID: string;
|
||||
ResourceID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StartWorkflowDeleteClickhouseResult
|
||||
@@ -926,9 +926,9 @@ export interface StartWorkflowDeleteClickhouseResult {
|
||||
*/
|
||||
export interface StartWorkflowCleanCassandraRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string ProjectID = 1
|
||||
* @generated from protobuf field: string ResourceID = 1
|
||||
*/
|
||||
ProjectID: string;
|
||||
ResourceID: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.ResourceType ResourceType = 2
|
||||
*/
|
||||
@@ -4531,13 +4531,13 @@ export const StartWorkflowSweepResult = new StartWorkflowSweepResult$Type();
|
||||
class StartWorkflowCreateClickhouseRequest$Type extends MessageType<StartWorkflowCreateClickhouseRequest> {
|
||||
constructor() {
|
||||
super("api.StartWorkflowCreateClickhouseRequest", [
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType] }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "ResourceType"] } } });
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID", "ResourceType"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<StartWorkflowCreateClickhouseRequest>): StartWorkflowCreateClickhouseRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ProjectID = "";
|
||||
message.ResourceID = "";
|
||||
message.ResourceType = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StartWorkflowCreateClickhouseRequest>(this, message, value);
|
||||
@@ -4548,8 +4548,8 @@ class StartWorkflowCreateClickhouseRequest$Type extends MessageType<StartWorkflo
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ProjectID */ 1:
|
||||
message.ProjectID = reader.string();
|
||||
case /* string ResourceID */ 1:
|
||||
message.ResourceID = reader.string();
|
||||
break;
|
||||
case /* api.ResourceType ResourceType */ 2:
|
||||
message.ResourceType = reader.int32();
|
||||
@@ -4566,9 +4566,9 @@ class StartWorkflowCreateClickhouseRequest$Type extends MessageType<StartWorkflo
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: StartWorkflowCreateClickhouseRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ProjectID = 1; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* string ResourceID = 1; */
|
||||
if (message.ResourceID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ResourceID);
|
||||
/* api.ResourceType ResourceType = 2; */
|
||||
if (message.ResourceType !== 0)
|
||||
writer.tag(2, WireType.Varint).int32(message.ResourceType);
|
||||
@@ -4632,12 +4632,12 @@ export const StartWorkflowCreateClickhouseResult = new StartWorkflowCreateClickh
|
||||
class StartWorkflowDeleteClickhouseRequest$Type extends MessageType<StartWorkflowDeleteClickhouseRequest> {
|
||||
constructor() {
|
||||
super("api.StartWorkflowDeleteClickhouseRequest", [
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
|
||||
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<StartWorkflowDeleteClickhouseRequest>): StartWorkflowDeleteClickhouseRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ProjectID = "";
|
||||
message.ResourceID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StartWorkflowDeleteClickhouseRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -4647,8 +4647,8 @@ class StartWorkflowDeleteClickhouseRequest$Type extends MessageType<StartWorkflo
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ProjectID */ 1:
|
||||
message.ProjectID = reader.string();
|
||||
case /* string ResourceID */ 1:
|
||||
message.ResourceID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -4662,9 +4662,9 @@ class StartWorkflowDeleteClickhouseRequest$Type extends MessageType<StartWorkflo
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: StartWorkflowDeleteClickhouseRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ProjectID = 1; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* string ResourceID = 1; */
|
||||
if (message.ResourceID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ResourceID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -4725,13 +4725,13 @@ export const StartWorkflowDeleteClickhouseResult = new StartWorkflowDeleteClickh
|
||||
class StartWorkflowCleanCassandraRequest$Type extends MessageType<StartWorkflowCleanCassandraRequest> {
|
||||
constructor() {
|
||||
super("api.StartWorkflowCleanCassandraRequest", [
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType] }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "ResourceType"] } } });
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID", "ResourceType"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<StartWorkflowCleanCassandraRequest>): StartWorkflowCleanCassandraRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ProjectID = "";
|
||||
message.ResourceID = "";
|
||||
message.ResourceType = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StartWorkflowCleanCassandraRequest>(this, message, value);
|
||||
@@ -4742,8 +4742,8 @@ class StartWorkflowCleanCassandraRequest$Type extends MessageType<StartWorkflowC
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ProjectID */ 1:
|
||||
message.ProjectID = reader.string();
|
||||
case /* string ResourceID */ 1:
|
||||
message.ResourceID = reader.string();
|
||||
break;
|
||||
case /* api.ResourceType ResourceType */ 2:
|
||||
message.ResourceType = reader.int32();
|
||||
@@ -4760,9 +4760,9 @@ class StartWorkflowCleanCassandraRequest$Type extends MessageType<StartWorkflowC
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: StartWorkflowCleanCassandraRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ProjectID = 1; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* string ResourceID = 1; */
|
||||
if (message.ResourceID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ResourceID);
|
||||
/* api.ResourceType ResourceType = 2; */
|
||||
if (message.ResourceType !== 0)
|
||||
writer.tag(2, WireType.Varint).int32(message.ResourceType);
|
||||
|
||||
Reference in New Issue
Block a user