Latest generation

This commit is contained in:
ci core model
2025-04-22 09:11:36 +00:00
parent a1981229d8
commit a488e96006
2 changed files with 3 additions and 3 deletions

View File

@@ -954,7 +954,7 @@ class ClaimCreatedPayload$Type extends MessageType<ClaimCreatedPayload> {
{ no: 7, name: "MetaData", kind: "message", jsonName: "MetaData", repeat: 1 /*RepeatType.PACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }, { no: 7, name: "MetaData", kind: "message", jsonName: "MetaData", repeat: 1 /*RepeatType.PACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } },
{ no: 8, name: "Title", kind: "scalar", jsonName: "Title", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Title of the claim" } } }, { no: 8, name: "Title", kind: "scalar", jsonName: "Title", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Title of the claim" } } },
{ no: 9, name: "Criticality", kind: "enum", jsonName: "Criticality", T: () => ["api.ClaimCriticality", ClaimCriticality, "CLAIM_CRITICALITY_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Criticality of the claim" } } }, { no: 9, name: "Criticality", kind: "enum", jsonName: "Criticality", T: () => ["api.ClaimCriticality", ClaimCriticality, "CLAIM_CRITICALITY_"], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Criticality of the claim" } } },
{ no: 10, name: "DisplayID", kind: "scalar", jsonName: "DisplayID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier to display, because it may differ from the EntityID" } } } { no: 10, name: "DisplayID", kind: "scalar", jsonName: "DisplayID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier to display, because it may differ from the EntityID" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["ClaimTypeID", "EntityID"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["ClaimTypeID", "EntityID"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
} }
create(value?: PartialMessage<ClaimCreatedPayload>): ClaimCreatedPayload { create(value?: PartialMessage<ClaimCreatedPayload>): ClaimCreatedPayload {
@@ -1052,7 +1052,7 @@ class ClaimCreatedEvent$Type extends MessageType<ClaimCreatedEvent> {
{ no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } }, { no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ClaimCreatedPayload, options: { "validate.rules": { message: { required: true } } } } { no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => ClaimCreatedPayload, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Event", "api.inputEvent": "Created" }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Event", "api.inputEvent": "Created", "api.preAggMethods": "fillDisplayID" });
} }
create(value?: PartialMessage<ClaimCreatedEvent>): ClaimCreatedEvent { create(value?: PartialMessage<ClaimCreatedEvent>): ClaimCreatedEvent {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));

View File

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