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.11.0-SNAPSHOT-250613134515",
|
||||
"version": "1.11.0-SNAPSHOT-250616080954",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
14
proj.ts
14
proj.ts
@@ -379,6 +379,10 @@ export interface MyContext {
|
||||
* @generated from protobuf field: repeated api.IDName Projects = 2
|
||||
*/
|
||||
Projects: IDName[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.IDName Sites = 3
|
||||
*/
|
||||
Sites: IDName[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetMyUIContextRequest
|
||||
@@ -2008,12 +2012,14 @@ class MyContext$Type extends MessageType<MyContext> {
|
||||
constructor() {
|
||||
super("api.MyContext", [
|
||||
{ no: 1, name: "Organisation", kind: "message", localName: "Organisation", jsonName: "Organisation", T: () => IDName },
|
||||
{ no: 2, name: "Projects", kind: "message", localName: "Projects", jsonName: "Projects", repeat: 2 /*RepeatType.UNPACKED*/, T: () => IDName }
|
||||
{ no: 2, name: "Projects", kind: "message", localName: "Projects", jsonName: "Projects", repeat: 2 /*RepeatType.UNPACKED*/, T: () => IDName },
|
||||
{ no: 3, name: "Sites", kind: "message", localName: "Sites", jsonName: "Sites", repeat: 2 /*RepeatType.UNPACKED*/, T: () => IDName }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<MyContext>): MyContext {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Projects = [];
|
||||
message.Sites = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<MyContext>(this, message, value);
|
||||
return message;
|
||||
@@ -2029,6 +2035,9 @@ class MyContext$Type extends MessageType<MyContext> {
|
||||
case /* repeated api.IDName Projects */ 2:
|
||||
message.Projects.push(IDName.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.IDName Sites */ 3:
|
||||
message.Sites.push(IDName.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2047,6 +2056,9 @@ class MyContext$Type extends MessageType<MyContext> {
|
||||
/* repeated api.IDName Projects = 2; */
|
||||
for (let i = 0; i < message.Projects.length; i++)
|
||||
IDName.internalBinaryWrite(message.Projects[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.IDName Sites = 3; */
|
||||
for (let i = 0; i < message.Sites.length; i++)
|
||||
IDName.internalBinaryWrite(message.Sites[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user