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-251013131115",
|
||||
"version": "1.12.0-SNAPSHOT-251013143148",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
31
site.ts
31
site.ts
@@ -1144,9 +1144,13 @@ export interface SetSiteAliasResponse {
|
||||
*/
|
||||
export interface ClearSiteAliasRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.SiteActor SiteActor = 1
|
||||
* @generated from protobuf field: string ProjectID = 1
|
||||
*/
|
||||
SiteActor?: SiteActor;
|
||||
ProjectID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 2
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ClearSiteAliasResponse
|
||||
@@ -4276,11 +4280,14 @@ export const SetSiteAliasResponse = new SetSiteAliasResponse$Type();
|
||||
class ClearSiteAliasRequest$Type extends MessageType<ClearSiteAliasRequest> {
|
||||
constructor() {
|
||||
super("api.ClearSiteAliasRequest", [
|
||||
{ no: 1, name: "SiteActor", kind: "message", localName: "SiteActor", jsonName: "SiteActor", T: () => SiteActor, options: { "validate.rules": { message: { required: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["SiteActor"] } } });
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID,ActorID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ClearSiteAliasRequest>): ClearSiteAliasRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ProjectID = "";
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ClearSiteAliasRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -4290,8 +4297,11 @@ class ClearSiteAliasRequest$Type extends MessageType<ClearSiteAliasRequest> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.SiteActor SiteActor */ 1:
|
||||
message.SiteActor = SiteActor.internalBinaryRead(reader, reader.uint32(), options, message.SiteActor);
|
||||
case /* string ProjectID */ 1:
|
||||
message.ProjectID = reader.string();
|
||||
break;
|
||||
case /* string ActorID */ 2:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -4305,9 +4315,12 @@ class ClearSiteAliasRequest$Type extends MessageType<ClearSiteAliasRequest> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ClearSiteAliasRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.SiteActor SiteActor = 1; */
|
||||
if (message.SiteActor)
|
||||
SiteActor.internalBinaryWrite(message.SiteActor, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string ProjectID = 1; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* string ActorID = 2; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user