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.13.0-SNAPSHOT-260313164536",
|
||||
"version": "1.13.0-SNAPSHOT-260316100224",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
14
proj.ts
14
proj.ts
@@ -126,6 +126,10 @@ export interface ListAllProjectRequest {
|
||||
* @generated from protobuf field: api.ProjectType Type = 2
|
||||
*/
|
||||
Type: ProjectType;
|
||||
/**
|
||||
* @generated from protobuf field: bool SkipModules = 3
|
||||
*/
|
||||
SkipModules: boolean; // For optimization, if the caller does not need the modules information of projects, it can set SkipModules to true to skip loading modules when listing all projects.
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ListAllProjectResultElement
|
||||
@@ -790,13 +794,15 @@ class ListAllProjectRequest$Type extends MessageType<ListAllProjectRequest> {
|
||||
constructor() {
|
||||
super("api.ListAllProjectRequest", [
|
||||
{ no: 1, name: "ShowInactiveProjects", kind: "scalar", localName: "ShowInactiveProjects", jsonName: "ShowInactiveProjects", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ProjectType", ProjectType], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
||||
{ no: 2, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.ProjectType", ProjectType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "SkipModules", kind: "scalar", localName: "SkipModules", jsonName: "SkipModules", T: 8 /*ScalarType.BOOL*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ListAllProjectRequest>): ListAllProjectRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ShowInactiveProjects = false;
|
||||
message.Type = 0;
|
||||
message.SkipModules = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ListAllProjectRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -812,6 +818,9 @@ class ListAllProjectRequest$Type extends MessageType<ListAllProjectRequest> {
|
||||
case /* api.ProjectType Type */ 2:
|
||||
message.Type = reader.int32();
|
||||
break;
|
||||
case /* bool SkipModules */ 3:
|
||||
message.SkipModules = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -830,6 +839,9 @@ class ListAllProjectRequest$Type extends MessageType<ListAllProjectRequest> {
|
||||
/* api.ProjectType Type = 2; */
|
||||
if (message.Type !== 0)
|
||||
writer.tag(2, WireType.Varint).int32(message.Type);
|
||||
/* bool SkipModules = 3; */
|
||||
if (message.SkipModules !== false)
|
||||
writer.tag(3, WireType.Varint).bool(message.SkipModules);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user