Latest generation

This commit is contained in:
ci core model
2026-03-04 08:33:04 +00:00
parent b55f8a1c0e
commit 0fbf72435a
2 changed files with 110 additions and 98 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@reflex-platform/npm-core-sdk",
"version": "1.13.0-SNAPSHOT-260303105902",
"version": "1.13.0-SNAPSHOT-260304083214",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",

206
shared.ts
View File

@@ -1969,53 +1969,57 @@ export interface Period {
*/
export interface EntityDefinition {
/**
* @generated from protobuf field: api.EntityType Name = 1
* @generated from protobuf field: string Name = 1
*/
Name: EntityType;
Name: string;
/**
* @generated from protobuf field: api.Domain Domain = 2
* @generated from protobuf field: api.EntityType EntityType = 2
*/
EntityType: EntityType;
/**
* @generated from protobuf field: api.Domain Domain = 3
*/
Domain: Domain;
/**
* @generated from protobuf field: repeated api.ProjectType ProjectTypes = 3
* @generated from protobuf field: repeated api.ProjectType ProjectTypes = 4
*/
ProjectTypes: ProjectType[];
/**
* @generated from protobuf field: bool HasMetadata = 4
* @generated from protobuf field: bool HasMetadata = 5
*/
HasMetadata: boolean;
/**
* @generated from protobuf field: bool HasDataRestriction = 5
*/
HasDataRestriction: boolean;
/**
* @generated from protobuf field: bool IsIndexed = 6
*/
IsIndexed: boolean;
/**
* @generated from protobuf field: repeated string KpiGroups = 7
*/
KpiGroups: string[];
/**
* @generated from protobuf field: uint32 ModelVersion = 8
*/
ModelVersion: number;
/**
* @generated from protobuf field: repeated string DashboardViewsAnalysis = 9
*/
DashboardViewsAnalysis: string[];
/**
* @generated from protobuf field: bool HasSegmentationKeys = 10
* @generated from protobuf field: bool HasSegmentationKeys = 6
*/
HasSegmentationKeys: boolean;
/**
* @generated from protobuf field: bool HasTransitiveMetadata = 11
* @generated from protobuf field: bool HasTransitiveMetadata = 7
*/
HasTransitiveMetadata: boolean;
/**
* @generated from protobuf field: bool HasTransitiveSegmentationKeys = 12
* @generated from protobuf field: bool HasTransitiveSegmentationKeys = 8
*/
HasTransitiveSegmentationKeys: boolean;
/**
* @generated from protobuf field: bool HasDataRestriction = 9
*/
HasDataRestriction: boolean;
/**
* @generated from protobuf field: bool IsIndexed = 10
*/
IsIndexed: boolean;
/**
* @generated from protobuf field: repeated string KpiGroups = 11
*/
KpiGroups: string[];
/**
* @generated from protobuf field: uint32 ModelVersion = 12
*/
ModelVersion: number;
/**
* @generated from protobuf field: repeated string DashboardViewsAnalysis = 13
*/
DashboardViewsAnalysis: string[];
}
/**
* @generated from protobuf message api.CrossFindQuery
@@ -8468,34 +8472,36 @@ export const Period = new Period$Type();
class EntityDefinition$Type extends MessageType<EntityDefinition> {
constructor() {
super("api.EntityDefinition", [
{ no: 1, name: "Name", kind: "enum", localName: "Name", jsonName: "Name", T: () => ["api.EntityType", EntityType] },
{ no: 2, name: "Domain", kind: "enum", localName: "Domain", jsonName: "Domain", T: () => ["api.Domain", Domain] },
{ no: 3, name: "ProjectTypes", kind: "enum", localName: "ProjectTypes", jsonName: "ProjectTypes", repeat: 1 /*RepeatType.PACKED*/, T: () => ["api.ProjectType", ProjectType] },
{ no: 4, name: "HasMetadata", kind: "scalar", localName: "HasMetadata", jsonName: "HasMetadata", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "HasDataRestriction", kind: "scalar", localName: "HasDataRestriction", jsonName: "HasDataRestriction", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "IsIndexed", kind: "scalar", localName: "IsIndexed", jsonName: "IsIndexed", T: 8 /*ScalarType.BOOL*/ },
{ no: 7, name: "KpiGroups", kind: "scalar", localName: "KpiGroups", jsonName: "KpiGroups", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "ModelVersion", kind: "scalar", localName: "ModelVersion", jsonName: "ModelVersion", T: 13 /*ScalarType.UINT32*/ },
{ no: 9, name: "DashboardViewsAnalysis", kind: "scalar", localName: "DashboardViewsAnalysis", jsonName: "DashboardViewsAnalysis", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "HasSegmentationKeys", kind: "scalar", localName: "HasSegmentationKeys", jsonName: "HasSegmentationKeys", T: 8 /*ScalarType.BOOL*/ },
{ no: 11, name: "HasTransitiveMetadata", kind: "scalar", localName: "HasTransitiveMetadata", jsonName: "HasTransitiveMetadata", T: 8 /*ScalarType.BOOL*/ },
{ no: 12, name: "HasTransitiveSegmentationKeys", kind: "scalar", localName: "HasTransitiveSegmentationKeys", jsonName: "HasTransitiveSegmentationKeys", T: 8 /*ScalarType.BOOL*/ }
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.EntityType", EntityType] },
{ no: 3, name: "Domain", kind: "enum", localName: "Domain", jsonName: "Domain", T: () => ["api.Domain", Domain] },
{ no: 4, name: "ProjectTypes", kind: "enum", localName: "ProjectTypes", jsonName: "ProjectTypes", repeat: 1 /*RepeatType.PACKED*/, T: () => ["api.ProjectType", ProjectType] },
{ no: 5, name: "HasMetadata", kind: "scalar", localName: "HasMetadata", jsonName: "HasMetadata", T: 8 /*ScalarType.BOOL*/ },
{ no: 6, name: "HasSegmentationKeys", kind: "scalar", localName: "HasSegmentationKeys", jsonName: "HasSegmentationKeys", T: 8 /*ScalarType.BOOL*/ },
{ no: 7, name: "HasTransitiveMetadata", kind: "scalar", localName: "HasTransitiveMetadata", jsonName: "HasTransitiveMetadata", T: 8 /*ScalarType.BOOL*/ },
{ no: 8, name: "HasTransitiveSegmentationKeys", kind: "scalar", localName: "HasTransitiveSegmentationKeys", jsonName: "HasTransitiveSegmentationKeys", T: 8 /*ScalarType.BOOL*/ },
{ no: 9, name: "HasDataRestriction", kind: "scalar", localName: "HasDataRestriction", jsonName: "HasDataRestriction", T: 8 /*ScalarType.BOOL*/ },
{ no: 10, name: "IsIndexed", kind: "scalar", localName: "IsIndexed", jsonName: "IsIndexed", T: 8 /*ScalarType.BOOL*/ },
{ no: 11, name: "KpiGroups", kind: "scalar", localName: "KpiGroups", jsonName: "KpiGroups", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 12, name: "ModelVersion", kind: "scalar", localName: "ModelVersion", jsonName: "ModelVersion", T: 13 /*ScalarType.UINT32*/ },
{ no: 13, name: "DashboardViewsAnalysis", kind: "scalar", localName: "DashboardViewsAnalysis", jsonName: "DashboardViewsAnalysis", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<EntityDefinition>): EntityDefinition {
const message = globalThis.Object.create((this.messagePrototype!));
message.Name = 0;
message.Name = "";
message.EntityType = 0;
message.Domain = 0;
message.ProjectTypes = [];
message.HasMetadata = false;
message.HasSegmentationKeys = false;
message.HasTransitiveMetadata = false;
message.HasTransitiveSegmentationKeys = false;
message.HasDataRestriction = false;
message.IsIndexed = false;
message.KpiGroups = [];
message.ModelVersion = 0;
message.DashboardViewsAnalysis = [];
message.HasSegmentationKeys = false;
message.HasTransitiveMetadata = false;
message.HasTransitiveSegmentationKeys = false;
if (value !== undefined)
reflectionMergePartial<EntityDefinition>(this, message, value);
return message;
@@ -8505,46 +8511,49 @@ class EntityDefinition$Type extends MessageType<EntityDefinition> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.EntityType Name */ 1:
message.Name = reader.int32();
case /* string Name */ 1:
message.Name = reader.string();
break;
case /* api.Domain Domain */ 2:
case /* api.EntityType EntityType */ 2:
message.EntityType = reader.int32();
break;
case /* api.Domain Domain */ 3:
message.Domain = reader.int32();
break;
case /* repeated api.ProjectType ProjectTypes */ 3:
case /* repeated api.ProjectType ProjectTypes */ 4:
if (wireType === WireType.LengthDelimited)
for (let e = reader.int32() + reader.pos; reader.pos < e;)
message.ProjectTypes.push(reader.int32());
else
message.ProjectTypes.push(reader.int32());
break;
case /* bool HasMetadata */ 4:
case /* bool HasMetadata */ 5:
message.HasMetadata = reader.bool();
break;
case /* bool HasDataRestriction */ 5:
message.HasDataRestriction = reader.bool();
break;
case /* bool IsIndexed */ 6:
message.IsIndexed = reader.bool();
break;
case /* repeated string KpiGroups */ 7:
message.KpiGroups.push(reader.string());
break;
case /* uint32 ModelVersion */ 8:
message.ModelVersion = reader.uint32();
break;
case /* repeated string DashboardViewsAnalysis */ 9:
message.DashboardViewsAnalysis.push(reader.string());
break;
case /* bool HasSegmentationKeys */ 10:
case /* bool HasSegmentationKeys */ 6:
message.HasSegmentationKeys = reader.bool();
break;
case /* bool HasTransitiveMetadata */ 11:
case /* bool HasTransitiveMetadata */ 7:
message.HasTransitiveMetadata = reader.bool();
break;
case /* bool HasTransitiveSegmentationKeys */ 12:
case /* bool HasTransitiveSegmentationKeys */ 8:
message.HasTransitiveSegmentationKeys = reader.bool();
break;
case /* bool HasDataRestriction */ 9:
message.HasDataRestriction = reader.bool();
break;
case /* bool IsIndexed */ 10:
message.IsIndexed = reader.bool();
break;
case /* repeated string KpiGroups */ 11:
message.KpiGroups.push(reader.string());
break;
case /* uint32 ModelVersion */ 12:
message.ModelVersion = reader.uint32();
break;
case /* repeated string DashboardViewsAnalysis */ 13:
message.DashboardViewsAnalysis.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -8557,46 +8566,49 @@ class EntityDefinition$Type extends MessageType<EntityDefinition> {
return message;
}
internalBinaryWrite(message: EntityDefinition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.EntityType Name = 1; */
if (message.Name !== 0)
writer.tag(1, WireType.Varint).int32(message.Name);
/* api.Domain Domain = 2; */
/* string Name = 1; */
if (message.Name !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Name);
/* api.EntityType EntityType = 2; */
if (message.EntityType !== 0)
writer.tag(2, WireType.Varint).int32(message.EntityType);
/* api.Domain Domain = 3; */
if (message.Domain !== 0)
writer.tag(2, WireType.Varint).int32(message.Domain);
/* repeated api.ProjectType ProjectTypes = 3; */
writer.tag(3, WireType.Varint).int32(message.Domain);
/* repeated api.ProjectType ProjectTypes = 4; */
if (message.ProjectTypes.length) {
writer.tag(3, WireType.LengthDelimited).fork();
writer.tag(4, WireType.LengthDelimited).fork();
for (let i = 0; i < message.ProjectTypes.length; i++)
writer.int32(message.ProjectTypes[i]);
writer.join();
}
/* bool HasMetadata = 4; */
/* bool HasMetadata = 5; */
if (message.HasMetadata !== false)
writer.tag(4, WireType.Varint).bool(message.HasMetadata);
/* bool HasDataRestriction = 5; */
if (message.HasDataRestriction !== false)
writer.tag(5, WireType.Varint).bool(message.HasDataRestriction);
/* bool IsIndexed = 6; */
if (message.IsIndexed !== false)
writer.tag(6, WireType.Varint).bool(message.IsIndexed);
/* repeated string KpiGroups = 7; */
for (let i = 0; i < message.KpiGroups.length; i++)
writer.tag(7, WireType.LengthDelimited).string(message.KpiGroups[i]);
/* uint32 ModelVersion = 8; */
if (message.ModelVersion !== 0)
writer.tag(8, WireType.Varint).uint32(message.ModelVersion);
/* repeated string DashboardViewsAnalysis = 9; */
for (let i = 0; i < message.DashboardViewsAnalysis.length; i++)
writer.tag(9, WireType.LengthDelimited).string(message.DashboardViewsAnalysis[i]);
/* bool HasSegmentationKeys = 10; */
writer.tag(5, WireType.Varint).bool(message.HasMetadata);
/* bool HasSegmentationKeys = 6; */
if (message.HasSegmentationKeys !== false)
writer.tag(10, WireType.Varint).bool(message.HasSegmentationKeys);
/* bool HasTransitiveMetadata = 11; */
writer.tag(6, WireType.Varint).bool(message.HasSegmentationKeys);
/* bool HasTransitiveMetadata = 7; */
if (message.HasTransitiveMetadata !== false)
writer.tag(11, WireType.Varint).bool(message.HasTransitiveMetadata);
/* bool HasTransitiveSegmentationKeys = 12; */
writer.tag(7, WireType.Varint).bool(message.HasTransitiveMetadata);
/* bool HasTransitiveSegmentationKeys = 8; */
if (message.HasTransitiveSegmentationKeys !== false)
writer.tag(12, WireType.Varint).bool(message.HasTransitiveSegmentationKeys);
writer.tag(8, WireType.Varint).bool(message.HasTransitiveSegmentationKeys);
/* bool HasDataRestriction = 9; */
if (message.HasDataRestriction !== false)
writer.tag(9, WireType.Varint).bool(message.HasDataRestriction);
/* bool IsIndexed = 10; */
if (message.IsIndexed !== false)
writer.tag(10, WireType.Varint).bool(message.IsIndexed);
/* repeated string KpiGroups = 11; */
for (let i = 0; i < message.KpiGroups.length; i++)
writer.tag(11, WireType.LengthDelimited).string(message.KpiGroups[i]);
/* uint32 ModelVersion = 12; */
if (message.ModelVersion !== 0)
writer.tag(12, WireType.Varint).uint32(message.ModelVersion);
/* repeated string DashboardViewsAnalysis = 13; */
for (let i = 0; i < message.DashboardViewsAnalysis.length; i++)
writer.tag(13, WireType.LengthDelimited).string(message.DashboardViewsAnalysis[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);