You've already forked npm-core-sdk
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6104447e41 | ||
|
|
b9b3c9e308 | ||
|
|
c6f4c58647 | ||
|
|
eb16504091 | ||
|
|
685abd5206 | ||
|
|
da2b0d3826 | ||
|
|
68c840e354 | ||
|
|
63f6799859 | ||
|
|
b9ebc8859c | ||
|
|
a2502d3b7c | ||
|
|
15e7cbcd9d | ||
|
|
e721280974 | ||
|
|
a8522ca13f | ||
|
|
31b19d62d4 |
2
claim.ts
2
claim.ts
@@ -247,7 +247,7 @@ class ClaimPayload$Type extends MessageType<ClaimPayload> {
|
||||
{ no: 2, name: "EntityID", kind: "scalar", localName: "EntityID", jsonName: "EntityID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the targetted entity" }, "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "shortKeyword" }] } } },
|
||||
{ no: 3, name: "Criticality", kind: "enum", localName: "Criticality", jsonName: "Criticality", T: () => ["api.ClaimCriticality", ClaimCriticality], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Criticality of the claim" }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] } } },
|
||||
{ no: 4, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => ClaimStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Status of the claim" }, "api.aggSkip": "StatusUpdated" } },
|
||||
{ no: 6, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
|
||||
{ no: 6, name: "CreationDate", kind: "scalar", localName: "CreationDate", jsonName: "CreationDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim" }] }, "api.viewType": { Types: [{ Context: "*", Type: "date" }] } } },
|
||||
{ no: 23, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime },
|
||||
{ no: 7, name: "Assignees", kind: "scalar", localName: "Assignees", jsonName: "Assignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Contacts assigned on the claims" }, "api.aggSkip": "AssigneesAdded", "api.kpiItems": { Items: [{ Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
|
||||
{ no: 16, name: "RemovedAssignees", kind: "scalar", localName: "RemovedAssignees", jsonName: "RemovedAssignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "AssigneesRemoved", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
|
||||
|
||||
14
options.ts
14
options.ts
@@ -91,6 +91,10 @@ export interface KPIItem {
|
||||
* @generated from protobuf field: string CustomType = 5
|
||||
*/
|
||||
CustomType: string; // Type of the field in the table
|
||||
/**
|
||||
* @generated from protobuf field: string DataType = 6
|
||||
*/
|
||||
DataType: string; // Type of the field for CH query
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.FieldTypes
|
||||
@@ -346,7 +350,8 @@ class KPIItem$Type extends MessageType<KPIItem> {
|
||||
{ no: 2, name: "Group", kind: "scalar", localName: "Group", jsonName: "Group", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "Queryable", kind: "scalar", localName: "Queryable", jsonName: "Queryable", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 4, name: "GroupToJoin", kind: "scalar", localName: "GroupToJoin", jsonName: "GroupToJoin", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "CustomType", kind: "scalar", localName: "CustomType", jsonName: "CustomType", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 5, name: "CustomType", kind: "scalar", localName: "CustomType", jsonName: "CustomType", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 6, name: "DataType", kind: "scalar", localName: "DataType", jsonName: "DataType", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<KPIItem>): KPIItem {
|
||||
@@ -356,6 +361,7 @@ class KPIItem$Type extends MessageType<KPIItem> {
|
||||
message.Queryable = false;
|
||||
message.GroupToJoin = "";
|
||||
message.CustomType = "";
|
||||
message.DataType = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<KPIItem>(this, message, value);
|
||||
return message;
|
||||
@@ -380,6 +386,9 @@ class KPIItem$Type extends MessageType<KPIItem> {
|
||||
case /* string CustomType */ 5:
|
||||
message.CustomType = reader.string();
|
||||
break;
|
||||
case /* string DataType */ 6:
|
||||
message.DataType = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -407,6 +416,9 @@ class KPIItem$Type extends MessageType<KPIItem> {
|
||||
/* string CustomType = 5; */
|
||||
if (message.CustomType !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.CustomType);
|
||||
/* string DataType = 6; */
|
||||
if (message.DataType !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.DataType);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.14.0-SNAPSHOT-260421081440",
|
||||
"version": "1.13.5",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -1003,9 +1003,9 @@ export const QuantityByUnit = new QuantityByUnit$Type();
|
||||
class Slot$Type extends MessageType<Slot> {
|
||||
constructor() {
|
||||
super("api.Slot", [
|
||||
{ no: 1, name: "StartDateTime", kind: "scalar", localName: "StartDateTime", jsonName: "StartDateTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T[01][0-9]|2[0-3]:[0-5][0-9]:[0-5][0-9]$" } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "localdate" }] } } },
|
||||
{ no: 1, name: "StartDateTime", kind: "scalar", localName: "StartDateTime", jsonName: "StartDateTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T[01][0-9]|2[0-3]:[0-5][0-9]:[0-5][0-9]$" } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true, DataType: "localdate" }] }, "api.viewType": { Types: [{ Context: "*", Type: "localdate" }] } } },
|
||||
{ no: 3, name: "DurationInSeconds", kind: "scalar", localName: "DurationInSeconds", jsonName: "DurationInSeconds", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/, options: { "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true, CustomType: "UInt64" }] } } },
|
||||
{ no: 4, name: "EndDateTime", kind: "scalar", localName: "EndDateTime", jsonName: "EndDateTime", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "localdate" }] } } }
|
||||
{ no: 4, name: "EndDateTime", kind: "scalar", localName: "EndDateTime", jsonName: "EndDateTime", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "date" }] }, "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true, DataType: "localdate" }] }, "api.viewType": { Types: [{ Context: "*", Type: "localdate" }] } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Slot>): Slot {
|
||||
|
||||
Reference in New Issue
Block a user