@okf/ootils 1.15.3 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -370,7 +370,8 @@ function getRollupPossibilities({
370
370
  if (visited.includes(startTagType) || visited.length >= maxDepth) {
371
371
  return [];
372
372
  }
373
- const tagBlocks = getCachedTemplateBlocks(startTagType).filter(
373
+ const allBlocksInTemplate = getCachedTemplateBlocks(startTagType);
374
+ const tagBlocks = allBlocksInTemplate.filter(
374
375
  (block) => block.valuePath?.startsWith("tags.")
375
376
  );
376
377
  const chains = [];
@@ -392,6 +393,20 @@ function getRollupPossibilities({
392
393
  }
393
394
  }
394
395
  }
396
+ const valuePathBlocks = allBlocksInTemplate.filter(
397
+ (block) => block.props?.options?.length > 0 && !block.valuePath?.startsWith("tags.")
398
+ );
399
+ for (const block of valuePathBlocks) {
400
+ const terminalValuePath = block.props?.saveValueAsString ? block.valuePath : `${block.valuePath}.value`;
401
+ chains.push({
402
+ rollupType: "tagType",
403
+ tagTypeCollectionToRollup: tagType,
404
+ rollupPath: [...visited, startTagType, terminalValuePath],
405
+ // Additional metadata for filter display
406
+ filterDisplay: block.props?.shortLabel || block.props?.label || block.valuePath,
407
+ isTerminalValuePath: true
408
+ });
409
+ }
395
410
  return chains;
396
411
  };
397
412
  const singleLevelValuePathRollups = allBlocks.map((block) => {
package/dist/browser.mjs CHANGED
@@ -334,7 +334,8 @@ function getRollupPossibilities({
334
334
  if (visited.includes(startTagType) || visited.length >= maxDepth) {
335
335
  return [];
336
336
  }
337
- const tagBlocks = getCachedTemplateBlocks(startTagType).filter(
337
+ const allBlocksInTemplate = getCachedTemplateBlocks(startTagType);
338
+ const tagBlocks = allBlocksInTemplate.filter(
338
339
  (block) => block.valuePath?.startsWith("tags.")
339
340
  );
340
341
  const chains = [];
@@ -356,6 +357,20 @@ function getRollupPossibilities({
356
357
  }
357
358
  }
358
359
  }
360
+ const valuePathBlocks = allBlocksInTemplate.filter(
361
+ (block) => block.props?.options?.length > 0 && !block.valuePath?.startsWith("tags.")
362
+ );
363
+ for (const block of valuePathBlocks) {
364
+ const terminalValuePath = block.props?.saveValueAsString ? block.valuePath : `${block.valuePath}.value`;
365
+ chains.push({
366
+ rollupType: "tagType",
367
+ tagTypeCollectionToRollup: tagType,
368
+ rollupPath: [...visited, startTagType, terminalValuePath],
369
+ // Additional metadata for filter display
370
+ filterDisplay: block.props?.shortLabel || block.props?.label || block.valuePath,
371
+ isTerminalValuePath: true
372
+ });
373
+ }
359
374
  return chains;
360
375
  };
361
376
  const singleLevelValuePathRollups = allBlocks.map((block) => {
package/dist/node.d.mts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { Client } from '@elastic/elasticsearch';
2
2
  import Redis from 'ioredis';
3
- import mongoose, { Document, Types } from 'mongoose';
3
+ import * as mongoose from 'mongoose';
4
+ import mongoose__default, { Document, Types, Schema } from 'mongoose';
4
5
  import * as bullmq from 'bullmq';
5
6
  import { Queue } from 'bullmq/dist/esm/classes/queue';
6
7
  import { Worker } from 'bullmq/dist/esm/classes/worker';
@@ -895,6 +896,10 @@ declare function getTplModelByTenant({ tenant, env, mongodb }: {
895
896
  env: any;
896
897
  mongodb: any;
897
898
  }): any;
899
+ declare function getGeneratedTopicsModelByTenant({ tenant, env }: {
900
+ tenant: any;
901
+ env: any;
902
+ }): any;
898
903
 
899
904
  interface ITagData {
900
905
  _id?: Types.ObjectId;
@@ -905,7 +910,7 @@ interface ITagCollection {
905
910
  data: ITagData[];
906
911
  collectionId: string;
907
912
  }
908
- interface IMeta {
913
+ interface IMeta$1 {
909
914
  contentType: string;
910
915
  kp_contributed_by?: Types.ObjectId;
911
916
  valuePath?: string;
@@ -928,7 +933,7 @@ interface IAnnotations {
928
933
  }
929
934
  interface IAnnotation extends Document {
930
935
  tags?: Map<string, ITagCollection>;
931
- meta: IMeta;
936
+ meta: IMeta$1;
932
937
  main?: any;
933
938
  annotations?: IAnnotations;
934
939
  embeddings?: number[] | undefined;
@@ -942,11 +947,11 @@ interface IAnnotation extends Document {
942
947
  displayTitle: string;
943
948
  getMainField(fieldPath?: string): any;
944
949
  }
945
- declare const AnnotationSchema: mongoose.Schema<IAnnotation, mongoose.Model<IAnnotation, any, any, any, mongoose.Document<unknown, any, IAnnotation, any, {}> & IAnnotation & Required<{
950
+ declare const AnnotationSchema: mongoose__default.Schema<IAnnotation, mongoose__default.Model<IAnnotation, any, any, any, mongoose__default.Document<unknown, any, IAnnotation, any, {}> & IAnnotation & Required<{
946
951
  _id: Types.ObjectId;
947
952
  }> & {
948
953
  __v: number;
949
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAnnotation, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAnnotation>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IAnnotation> & Required<{
954
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, IAnnotation, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<IAnnotation>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<IAnnotation> & Required<{
950
955
  _id: Types.ObjectId;
951
956
  }> & {
952
957
  __v: number;
@@ -962,7 +967,7 @@ interface IMessage {
962
967
  vectorSearchInfo: {
963
968
  chunks: typeof AnnotationSchema[];
964
969
  };
965
- relatedChunks: mongoose.Schema.Types.ObjectId[];
970
+ relatedChunks: mongoose__default.Schema.Types.ObjectId[];
966
971
  args: {
967
972
  query: string;
968
973
  reframedQuery: string;
@@ -975,17 +980,17 @@ interface IMessage {
975
980
  };
976
981
  }
977
982
  interface IAIChat extends Document {
978
- userId: mongoose.Schema.Types.ObjectId;
983
+ userId: mongoose__default.Schema.Types.ObjectId;
979
984
  createdAt: Date;
980
985
  lastActivity: Date;
981
986
  messages: IMessage[];
982
987
  }
983
- declare const AIChatSchema: mongoose.Schema<IAIChat, mongoose.Model<IAIChat, any, any, any, mongoose.Document<unknown, any, IAIChat, any, {}> & IAIChat & Required<{
984
- _id: mongoose.Types.ObjectId;
988
+ declare const AIChatSchema: mongoose__default.Schema<IAIChat, mongoose__default.Model<IAIChat, any, any, any, mongoose__default.Document<unknown, any, IAIChat, any, {}> & IAIChat & Required<{
989
+ _id: mongoose__default.Types.ObjectId;
985
990
  }> & {
986
991
  __v: number;
987
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAIChat, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAIChat>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IAIChat> & Required<{
988
- _id: mongoose.Types.ObjectId;
992
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, IAIChat, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<IAIChat>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<IAIChat> & Required<{
993
+ _id: mongoose__default.Types.ObjectId;
989
994
  }> & {
990
995
  __v: number;
991
996
  }>;
@@ -998,12 +1003,12 @@ interface IPlatformConfig extends Document {
998
1003
  roles?: any[];
999
1004
  data?: any;
1000
1005
  }
1001
- declare const PlatformConfigsSchema: mongoose.Schema<IPlatformConfig, mongoose.Model<IPlatformConfig, any, any, any, mongoose.Document<unknown, any, IPlatformConfig, any, {}> & IPlatformConfig & Required<{
1002
- _id: mongoose.Types.ObjectId;
1006
+ declare const PlatformConfigsSchema: mongoose__default.Schema<IPlatformConfig, mongoose__default.Model<IPlatformConfig, any, any, any, mongoose__default.Document<unknown, any, IPlatformConfig, any, {}> & IPlatformConfig & Required<{
1007
+ _id: mongoose__default.Types.ObjectId;
1003
1008
  }> & {
1004
1009
  __v: number;
1005
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IPlatformConfig, mongoose.Document<unknown, {}, mongoose.FlatRecord<IPlatformConfig>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IPlatformConfig> & Required<{
1006
- _id: mongoose.Types.ObjectId;
1010
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, IPlatformConfig, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<IPlatformConfig>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<IPlatformConfig> & Required<{
1011
+ _id: mongoose__default.Types.ObjectId;
1007
1012
  }> & {
1008
1013
  __v: number;
1009
1014
  }>;
@@ -1067,8 +1072,8 @@ interface ITplDocument extends Document {
1067
1072
  dateLastEdited?: Date;
1068
1073
  status: 'unpublished' | 'editPublished' | 'published';
1069
1074
  version: number;
1070
- versionPublishedBy?: mongoose.Schema.Types.ObjectId;
1071
- firstPublishedBy?: mongoose.Schema.Types.ObjectId;
1075
+ versionPublishedBy?: mongoose__default.Schema.Types.ObjectId;
1076
+ firstPublishedBy?: mongoose__default.Schema.Types.ObjectId;
1072
1077
  kp_content_type: string;
1073
1078
  category: string;
1074
1079
  kp_settings: object[];
@@ -1085,16 +1090,40 @@ interface ITplDocument extends Document {
1085
1090
  directDataImportOutline?: object[];
1086
1091
  layout: string;
1087
1092
  }
1088
- declare const TplSchema: mongoose.Schema<ITplDocument, mongoose.Model<ITplDocument, any, any, any, mongoose.Document<unknown, any, ITplDocument, any, {}> & ITplDocument & Required<{
1089
- _id: mongoose.Types.ObjectId;
1093
+ declare const TplSchema: mongoose__default.Schema<ITplDocument, mongoose__default.Model<ITplDocument, any, any, any, mongoose__default.Document<unknown, any, ITplDocument, any, {}> & ITplDocument & Required<{
1094
+ _id: mongoose__default.Types.ObjectId;
1090
1095
  }> & {
1091
1096
  __v: number;
1092
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ITplDocument, mongoose.Document<unknown, {}, mongoose.FlatRecord<ITplDocument>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ITplDocument> & Required<{
1093
- _id: mongoose.Types.ObjectId;
1097
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, ITplDocument, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<ITplDocument>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<ITplDocument> & Required<{
1098
+ _id: mongoose__default.Types.ObjectId;
1094
1099
  }> & {
1095
1100
  __v: number;
1096
1101
  }>;
1097
1102
 
1103
+ interface IMeta {
1104
+ contentType: string;
1105
+ valuePath: string;
1106
+ label?: string;
1107
+ }
1108
+ interface IGeneratedTopic {
1109
+ name: string;
1110
+ summary: string;
1111
+ parentTopic?: string;
1112
+ embeddings: number[];
1113
+ meta: IMeta;
1114
+ createdAt: Date;
1115
+ updatedAt: Date;
1116
+ }
1117
+ declare const GeneratedTopicsSchema: Schema<IGeneratedTopic, mongoose.Model<IGeneratedTopic, any, any, any, mongoose.Document<unknown, any, IGeneratedTopic, any, {}> & IGeneratedTopic & {
1118
+ _id: mongoose.Types.ObjectId;
1119
+ } & {
1120
+ __v: number;
1121
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IGeneratedTopic, mongoose.Document<unknown, {}, mongoose.FlatRecord<IGeneratedTopic>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IGeneratedTopic> & {
1122
+ _id: mongoose.Types.ObjectId;
1123
+ } & {
1124
+ __v: number;
1125
+ }>;
1126
+
1098
1127
  declare class WorkerManager {
1099
1128
  constructor(workers?: any[]);
1100
1129
  workers: any[];
@@ -1221,4 +1250,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
1221
1250
  };
1222
1251
  }): Object;
1223
1252
 
1224
- export { AIChatSchema, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ElasticSearchConnector, GET_GLOBAL_BULLMQ_CONFIG, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, TplSchema, WorkerManager, deleteVal, extractAllBlocksFromTpl, genTagId, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getTplModelByTenant, getVal, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
1253
+ export { AIChatSchema, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ElasticSearchConnector, GET_GLOBAL_BULLMQ_CONFIG, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, TplSchema, WorkerManager, deleteVal, extractAllBlocksFromTpl, genTagId, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getTplModelByTenant, getVal, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/node.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { Client } from '@elastic/elasticsearch';
2
2
  import Redis from 'ioredis';
3
- import mongoose, { Document, Types } from 'mongoose';
3
+ import * as mongoose from 'mongoose';
4
+ import mongoose__default, { Document, Types, Schema } from 'mongoose';
4
5
  import * as bullmq from 'bullmq';
5
6
  import { Queue } from 'bullmq/dist/esm/classes/queue';
6
7
  import { Worker } from 'bullmq/dist/esm/classes/worker';
@@ -895,6 +896,10 @@ declare function getTplModelByTenant({ tenant, env, mongodb }: {
895
896
  env: any;
896
897
  mongodb: any;
897
898
  }): any;
899
+ declare function getGeneratedTopicsModelByTenant({ tenant, env }: {
900
+ tenant: any;
901
+ env: any;
902
+ }): any;
898
903
 
899
904
  interface ITagData {
900
905
  _id?: Types.ObjectId;
@@ -905,7 +910,7 @@ interface ITagCollection {
905
910
  data: ITagData[];
906
911
  collectionId: string;
907
912
  }
908
- interface IMeta {
913
+ interface IMeta$1 {
909
914
  contentType: string;
910
915
  kp_contributed_by?: Types.ObjectId;
911
916
  valuePath?: string;
@@ -928,7 +933,7 @@ interface IAnnotations {
928
933
  }
929
934
  interface IAnnotation extends Document {
930
935
  tags?: Map<string, ITagCollection>;
931
- meta: IMeta;
936
+ meta: IMeta$1;
932
937
  main?: any;
933
938
  annotations?: IAnnotations;
934
939
  embeddings?: number[] | undefined;
@@ -942,11 +947,11 @@ interface IAnnotation extends Document {
942
947
  displayTitle: string;
943
948
  getMainField(fieldPath?: string): any;
944
949
  }
945
- declare const AnnotationSchema: mongoose.Schema<IAnnotation, mongoose.Model<IAnnotation, any, any, any, mongoose.Document<unknown, any, IAnnotation, any, {}> & IAnnotation & Required<{
950
+ declare const AnnotationSchema: mongoose__default.Schema<IAnnotation, mongoose__default.Model<IAnnotation, any, any, any, mongoose__default.Document<unknown, any, IAnnotation, any, {}> & IAnnotation & Required<{
946
951
  _id: Types.ObjectId;
947
952
  }> & {
948
953
  __v: number;
949
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAnnotation, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAnnotation>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IAnnotation> & Required<{
954
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, IAnnotation, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<IAnnotation>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<IAnnotation> & Required<{
950
955
  _id: Types.ObjectId;
951
956
  }> & {
952
957
  __v: number;
@@ -962,7 +967,7 @@ interface IMessage {
962
967
  vectorSearchInfo: {
963
968
  chunks: typeof AnnotationSchema[];
964
969
  };
965
- relatedChunks: mongoose.Schema.Types.ObjectId[];
970
+ relatedChunks: mongoose__default.Schema.Types.ObjectId[];
966
971
  args: {
967
972
  query: string;
968
973
  reframedQuery: string;
@@ -975,17 +980,17 @@ interface IMessage {
975
980
  };
976
981
  }
977
982
  interface IAIChat extends Document {
978
- userId: mongoose.Schema.Types.ObjectId;
983
+ userId: mongoose__default.Schema.Types.ObjectId;
979
984
  createdAt: Date;
980
985
  lastActivity: Date;
981
986
  messages: IMessage[];
982
987
  }
983
- declare const AIChatSchema: mongoose.Schema<IAIChat, mongoose.Model<IAIChat, any, any, any, mongoose.Document<unknown, any, IAIChat, any, {}> & IAIChat & Required<{
984
- _id: mongoose.Types.ObjectId;
988
+ declare const AIChatSchema: mongoose__default.Schema<IAIChat, mongoose__default.Model<IAIChat, any, any, any, mongoose__default.Document<unknown, any, IAIChat, any, {}> & IAIChat & Required<{
989
+ _id: mongoose__default.Types.ObjectId;
985
990
  }> & {
986
991
  __v: number;
987
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAIChat, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAIChat>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IAIChat> & Required<{
988
- _id: mongoose.Types.ObjectId;
992
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, IAIChat, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<IAIChat>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<IAIChat> & Required<{
993
+ _id: mongoose__default.Types.ObjectId;
989
994
  }> & {
990
995
  __v: number;
991
996
  }>;
@@ -998,12 +1003,12 @@ interface IPlatformConfig extends Document {
998
1003
  roles?: any[];
999
1004
  data?: any;
1000
1005
  }
1001
- declare const PlatformConfigsSchema: mongoose.Schema<IPlatformConfig, mongoose.Model<IPlatformConfig, any, any, any, mongoose.Document<unknown, any, IPlatformConfig, any, {}> & IPlatformConfig & Required<{
1002
- _id: mongoose.Types.ObjectId;
1006
+ declare const PlatformConfigsSchema: mongoose__default.Schema<IPlatformConfig, mongoose__default.Model<IPlatformConfig, any, any, any, mongoose__default.Document<unknown, any, IPlatformConfig, any, {}> & IPlatformConfig & Required<{
1007
+ _id: mongoose__default.Types.ObjectId;
1003
1008
  }> & {
1004
1009
  __v: number;
1005
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IPlatformConfig, mongoose.Document<unknown, {}, mongoose.FlatRecord<IPlatformConfig>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IPlatformConfig> & Required<{
1006
- _id: mongoose.Types.ObjectId;
1010
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, IPlatformConfig, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<IPlatformConfig>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<IPlatformConfig> & Required<{
1011
+ _id: mongoose__default.Types.ObjectId;
1007
1012
  }> & {
1008
1013
  __v: number;
1009
1014
  }>;
@@ -1067,8 +1072,8 @@ interface ITplDocument extends Document {
1067
1072
  dateLastEdited?: Date;
1068
1073
  status: 'unpublished' | 'editPublished' | 'published';
1069
1074
  version: number;
1070
- versionPublishedBy?: mongoose.Schema.Types.ObjectId;
1071
- firstPublishedBy?: mongoose.Schema.Types.ObjectId;
1075
+ versionPublishedBy?: mongoose__default.Schema.Types.ObjectId;
1076
+ firstPublishedBy?: mongoose__default.Schema.Types.ObjectId;
1072
1077
  kp_content_type: string;
1073
1078
  category: string;
1074
1079
  kp_settings: object[];
@@ -1085,16 +1090,40 @@ interface ITplDocument extends Document {
1085
1090
  directDataImportOutline?: object[];
1086
1091
  layout: string;
1087
1092
  }
1088
- declare const TplSchema: mongoose.Schema<ITplDocument, mongoose.Model<ITplDocument, any, any, any, mongoose.Document<unknown, any, ITplDocument, any, {}> & ITplDocument & Required<{
1089
- _id: mongoose.Types.ObjectId;
1093
+ declare const TplSchema: mongoose__default.Schema<ITplDocument, mongoose__default.Model<ITplDocument, any, any, any, mongoose__default.Document<unknown, any, ITplDocument, any, {}> & ITplDocument & Required<{
1094
+ _id: mongoose__default.Types.ObjectId;
1090
1095
  }> & {
1091
1096
  __v: number;
1092
- }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ITplDocument, mongoose.Document<unknown, {}, mongoose.FlatRecord<ITplDocument>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ITplDocument> & Required<{
1093
- _id: mongoose.Types.ObjectId;
1097
+ }, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, ITplDocument, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<ITplDocument>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<ITplDocument> & Required<{
1098
+ _id: mongoose__default.Types.ObjectId;
1094
1099
  }> & {
1095
1100
  __v: number;
1096
1101
  }>;
1097
1102
 
1103
+ interface IMeta {
1104
+ contentType: string;
1105
+ valuePath: string;
1106
+ label?: string;
1107
+ }
1108
+ interface IGeneratedTopic {
1109
+ name: string;
1110
+ summary: string;
1111
+ parentTopic?: string;
1112
+ embeddings: number[];
1113
+ meta: IMeta;
1114
+ createdAt: Date;
1115
+ updatedAt: Date;
1116
+ }
1117
+ declare const GeneratedTopicsSchema: Schema<IGeneratedTopic, mongoose.Model<IGeneratedTopic, any, any, any, mongoose.Document<unknown, any, IGeneratedTopic, any, {}> & IGeneratedTopic & {
1118
+ _id: mongoose.Types.ObjectId;
1119
+ } & {
1120
+ __v: number;
1121
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IGeneratedTopic, mongoose.Document<unknown, {}, mongoose.FlatRecord<IGeneratedTopic>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IGeneratedTopic> & {
1122
+ _id: mongoose.Types.ObjectId;
1123
+ } & {
1124
+ __v: number;
1125
+ }>;
1126
+
1098
1127
  declare class WorkerManager {
1099
1128
  constructor(workers?: any[]);
1100
1129
  workers: any[];
@@ -1221,4 +1250,4 @@ declare function GET_GLOBAL_BULLMQ_CONFIG({ env, redisCredentials }: {
1221
1250
  };
1222
1251
  }): Object;
1223
1252
 
1224
- export { AIChatSchema, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ElasticSearchConnector, GET_GLOBAL_BULLMQ_CONFIG, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, TplSchema, WorkerManager, deleteVal, extractAllBlocksFromTpl, genTagId, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getTplModelByTenant, getVal, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
1253
+ export { AIChatSchema, AnnotationSchema, BASE_BULLMQ_CONFIG, BaseProducer, BaseWorker, ElasticSearchConnector, GET_GLOBAL_BULLMQ_CONFIG, GeneratedTopicsSchema, MongoConnector, PlatformConfigsSchema, ProducerManager, RedisCacheConnector, TplSchema, WorkerManager, deleteVal, extractAllBlocksFromTpl, genTagId, getAIChatModelByTenant, getAnnotationsModelByTenant, getDbByTenant, getGeneratedTopicsModelByTenant, getModelByTenant, getPlatformConfigsModelByTenant, getPlatformContextContent, getRollupPossibilities, getTplModelByTenant, getVal, _recursExtractBlocks as recursivelyExtractBlocks, segrigateDocs, setVal, toArray };
package/dist/node.js CHANGED
@@ -939,11 +939,66 @@ var init_AIChat = __esm({
939
939
  }
940
940
  });
941
941
 
942
+ // src/models/GeneratedTopics.ts
943
+ var import_mongoose5, GeneratedTopicsSchema, GeneratedTopics_default;
944
+ var init_GeneratedTopics = __esm({
945
+ "src/models/GeneratedTopics.ts"() {
946
+ "use strict";
947
+ import_mongoose5 = require("mongoose");
948
+ GeneratedTopicsSchema = new import_mongoose5.Schema(
949
+ {
950
+ name: {
951
+ type: String,
952
+ trim: true,
953
+ required: true
954
+ },
955
+ summary: {
956
+ type: String,
957
+ required: true
958
+ },
959
+ parentTopic: String,
960
+ embeddings: {
961
+ type: [Number],
962
+ required: true
963
+ },
964
+ meta: {
965
+ contentType: {
966
+ type: String,
967
+ required: true,
968
+ trim: true
969
+ },
970
+ valuePath: {
971
+ type: String,
972
+ required: true
973
+ },
974
+ label: {
975
+ type: String
976
+ }
977
+ }
978
+ },
979
+ { timestamps: true }
980
+ );
981
+ GeneratedTopicsSchema.index(
982
+ {
983
+ name: 1,
984
+ "meta.contentType": 1,
985
+ "meta.valuePath": 1
986
+ },
987
+ {
988
+ unique: true,
989
+ name: "unique_topic_per_context"
990
+ }
991
+ );
992
+ GeneratedTopics_default = GeneratedTopicsSchema;
993
+ }
994
+ });
995
+
942
996
  // src/models/index.ts
943
997
  var models_exports = {};
944
998
  __export(models_exports, {
945
999
  AIChatSchema: () => AIChat_default,
946
1000
  AnnotationSchema: () => Annotations_default,
1001
+ GeneratedTopicsSchema: () => GeneratedTopics_default,
947
1002
  PlatformConfigsSchema: () => PlatformConfigs_default,
948
1003
  TplSchema: () => Tpl_default
949
1004
  });
@@ -954,6 +1009,7 @@ var init_models = __esm({
954
1009
  init_Annotations();
955
1010
  init_PlatformConfigs();
956
1011
  init_Tpl();
1012
+ init_GeneratedTopics();
957
1013
  }
958
1014
  });
959
1015
 
@@ -962,11 +1018,11 @@ var getDbByTenant_exports = {};
962
1018
  __export(getDbByTenant_exports, {
963
1019
  getDbByTenant: () => getDbByTenant
964
1020
  });
965
- var import_mongoose5, import_MongoConnector, getDbByTenant;
1021
+ var import_mongoose6, import_MongoConnector, getDbByTenant;
966
1022
  var init_getDbByTenant = __esm({
967
1023
  "src/db/getDbByTenant.js"() {
968
1024
  "use strict";
969
- import_mongoose5 = require("mongoose");
1025
+ import_mongoose6 = require("mongoose");
970
1026
  import_MongoConnector = __toESM(require_MongoConnector());
971
1027
  getDbByTenant = ({
972
1028
  tenant,
@@ -994,7 +1050,7 @@ var require_getModelByTenant = __commonJS({
994
1050
  "src/db/getModelByTenant.js"(exports2, module2) {
995
1051
  "use strict";
996
1052
  var { getDbByTenant: getDbByTenant2 } = (init_getDbByTenant(), __toCommonJS(getDbByTenant_exports));
997
- var { AIChatSchema: AIChatSchema2, AnnotationSchema: AnnotationSchema2, PlatformConfigsSchema: PlatformConfigsSchema2, TplSchema: TplSchema2 } = (init_models(), __toCommonJS(models_exports));
1053
+ var { AIChatSchema: AIChatSchema2, AnnotationSchema: AnnotationSchema2, PlatformConfigsSchema: PlatformConfigsSchema2, TplSchema: TplSchema2, GeneratedTopicsSchema: GeneratedTopicsSchema2 } = (init_models(), __toCommonJS(models_exports));
998
1054
  var getModelByTenant3 = ({ tenant, modelName, schema, env }) => {
999
1055
  if (!tenant) {
1000
1056
  throw new Error("tenant id has not been provided");
@@ -1029,12 +1085,19 @@ var require_getModelByTenant = __commonJS({
1029
1085
  schema: AIChatSchema2,
1030
1086
  env
1031
1087
  });
1088
+ var getGeneratedTopicsModelByTenant2 = ({ tenant, env }) => getModelByTenant3({
1089
+ tenant,
1090
+ modelName: "generatedTopics",
1091
+ schema: GeneratedTopicsSchema2,
1092
+ env
1093
+ });
1032
1094
  module2.exports = {
1033
1095
  getModelByTenant: getModelByTenant3,
1034
1096
  getAIChatModelByTenant: getAIChatModelByTenant2,
1035
1097
  getAnnotationsModelByTenant: getAnnotationsModelByTenant2,
1036
1098
  getPlatformConfigsModelByTenant: getPlatformConfigsModelByTenant2,
1037
- getTplModelByTenant: getTplModelByTenant2
1099
+ getTplModelByTenant: getTplModelByTenant2,
1100
+ getGeneratedTopicsModelByTenant: getGeneratedTopicsModelByTenant2
1038
1101
  };
1039
1102
  }
1040
1103
  });
@@ -1428,6 +1491,7 @@ __export(node_exports, {
1428
1491
  BaseWorker: () => import_BaseWorker.BaseWorker,
1429
1492
  ElasticSearchConnector: () => import_ElasticSearchConnector.ElasticSearchConnector,
1430
1493
  GET_GLOBAL_BULLMQ_CONFIG: () => import_GET_GLOBAL_BULLMQ_CONFIG.GET_GLOBAL_BULLMQ_CONFIG,
1494
+ GeneratedTopicsSchema: () => GeneratedTopics_default,
1431
1495
  MongoConnector: () => import_MongoConnector2.MongoConnector,
1432
1496
  PlatformConfigsSchema: () => PlatformConfigs_default,
1433
1497
  ProducerManager: () => import_ProducerManager.ProducerManager,
@@ -1440,6 +1504,7 @@ __export(node_exports, {
1440
1504
  getAIChatModelByTenant: () => import_getModelByTenant2.getAIChatModelByTenant,
1441
1505
  getAnnotationsModelByTenant: () => import_getModelByTenant2.getAnnotationsModelByTenant,
1442
1506
  getDbByTenant: () => getDbByTenant,
1507
+ getGeneratedTopicsModelByTenant: () => import_getModelByTenant2.getGeneratedTopicsModelByTenant,
1443
1508
  getModelByTenant: () => import_getModelByTenant2.getModelByTenant,
1444
1509
  getPlatformConfigsModelByTenant: () => import_getModelByTenant2.getPlatformConfigsModelByTenant,
1445
1510
  getPlatformContextContent: () => getPlatformContextContent,
@@ -1789,7 +1854,8 @@ function getRollupPossibilities({
1789
1854
  if (visited.includes(startTagType) || visited.length >= maxDepth) {
1790
1855
  return [];
1791
1856
  }
1792
- const tagBlocks = getCachedTemplateBlocks(startTagType).filter(
1857
+ const allBlocksInTemplate = getCachedTemplateBlocks(startTagType);
1858
+ const tagBlocks = allBlocksInTemplate.filter(
1793
1859
  (block) => block.valuePath?.startsWith("tags.")
1794
1860
  );
1795
1861
  const chains = [];
@@ -1811,6 +1877,20 @@ function getRollupPossibilities({
1811
1877
  }
1812
1878
  }
1813
1879
  }
1880
+ const valuePathBlocks = allBlocksInTemplate.filter(
1881
+ (block) => block.props?.options?.length > 0 && !block.valuePath?.startsWith("tags.")
1882
+ );
1883
+ for (const block of valuePathBlocks) {
1884
+ const terminalValuePath = block.props?.saveValueAsString ? block.valuePath : `${block.valuePath}.value`;
1885
+ chains.push({
1886
+ rollupType: "tagType",
1887
+ tagTypeCollectionToRollup: tagType,
1888
+ rollupPath: [...visited, startTagType, terminalValuePath],
1889
+ // Additional metadata for filter display
1890
+ filterDisplay: block.props?.shortLabel || block.props?.label || block.valuePath,
1891
+ isTerminalValuePath: true
1892
+ });
1893
+ }
1814
1894
  return chains;
1815
1895
  };
1816
1896
  const singleLevelValuePathRollups = allBlocks.map((block) => {
@@ -2212,6 +2292,7 @@ var import_GET_GLOBAL_BULLMQ_CONFIG = __toESM(require_GET_GLOBAL_BULLMQ_CONFIG()
2212
2292
  BaseWorker,
2213
2293
  ElasticSearchConnector,
2214
2294
  GET_GLOBAL_BULLMQ_CONFIG,
2295
+ GeneratedTopicsSchema,
2215
2296
  MongoConnector,
2216
2297
  PlatformConfigsSchema,
2217
2298
  ProducerManager,
@@ -2224,6 +2305,7 @@ var import_GET_GLOBAL_BULLMQ_CONFIG = __toESM(require_GET_GLOBAL_BULLMQ_CONFIG()
2224
2305
  getAIChatModelByTenant,
2225
2306
  getAnnotationsModelByTenant,
2226
2307
  getDbByTenant,
2308
+ getGeneratedTopicsModelByTenant,
2227
2309
  getModelByTenant,
2228
2310
  getPlatformConfigsModelByTenant,
2229
2311
  getPlatformContextContent,
package/dist/node.mjs CHANGED
@@ -944,11 +944,66 @@ var init_AIChat = __esm({
944
944
  }
945
945
  });
946
946
 
947
+ // src/models/GeneratedTopics.ts
948
+ import { Schema as Schema2 } from "mongoose";
949
+ var GeneratedTopicsSchema, GeneratedTopics_default;
950
+ var init_GeneratedTopics = __esm({
951
+ "src/models/GeneratedTopics.ts"() {
952
+ "use strict";
953
+ GeneratedTopicsSchema = new Schema2(
954
+ {
955
+ name: {
956
+ type: String,
957
+ trim: true,
958
+ required: true
959
+ },
960
+ summary: {
961
+ type: String,
962
+ required: true
963
+ },
964
+ parentTopic: String,
965
+ embeddings: {
966
+ type: [Number],
967
+ required: true
968
+ },
969
+ meta: {
970
+ contentType: {
971
+ type: String,
972
+ required: true,
973
+ trim: true
974
+ },
975
+ valuePath: {
976
+ type: String,
977
+ required: true
978
+ },
979
+ label: {
980
+ type: String
981
+ }
982
+ }
983
+ },
984
+ { timestamps: true }
985
+ );
986
+ GeneratedTopicsSchema.index(
987
+ {
988
+ name: 1,
989
+ "meta.contentType": 1,
990
+ "meta.valuePath": 1
991
+ },
992
+ {
993
+ unique: true,
994
+ name: "unique_topic_per_context"
995
+ }
996
+ );
997
+ GeneratedTopics_default = GeneratedTopicsSchema;
998
+ }
999
+ });
1000
+
947
1001
  // src/models/index.ts
948
1002
  var models_exports = {};
949
1003
  __export(models_exports, {
950
1004
  AIChatSchema: () => AIChat_default,
951
1005
  AnnotationSchema: () => Annotations_default,
1006
+ GeneratedTopicsSchema: () => GeneratedTopics_default,
952
1007
  PlatformConfigsSchema: () => PlatformConfigs_default,
953
1008
  TplSchema: () => Tpl_default
954
1009
  });
@@ -959,6 +1014,7 @@ var init_models = __esm({
959
1014
  init_Annotations();
960
1015
  init_PlatformConfigs();
961
1016
  init_Tpl();
1017
+ init_GeneratedTopics();
962
1018
  }
963
1019
  });
964
1020
 
@@ -999,7 +1055,7 @@ var require_getModelByTenant = __commonJS({
999
1055
  "src/db/getModelByTenant.js"(exports, module) {
1000
1056
  "use strict";
1001
1057
  var { getDbByTenant: getDbByTenant2 } = (init_getDbByTenant(), __toCommonJS(getDbByTenant_exports));
1002
- var { AIChatSchema: AIChatSchema2, AnnotationSchema: AnnotationSchema2, PlatformConfigsSchema: PlatformConfigsSchema2, TplSchema: TplSchema2 } = (init_models(), __toCommonJS(models_exports));
1058
+ var { AIChatSchema: AIChatSchema2, AnnotationSchema: AnnotationSchema2, PlatformConfigsSchema: PlatformConfigsSchema2, TplSchema: TplSchema2, GeneratedTopicsSchema: GeneratedTopicsSchema2 } = (init_models(), __toCommonJS(models_exports));
1003
1059
  var getModelByTenant3 = ({ tenant, modelName, schema, env }) => {
1004
1060
  if (!tenant) {
1005
1061
  throw new Error("tenant id has not been provided");
@@ -1034,12 +1090,19 @@ var require_getModelByTenant = __commonJS({
1034
1090
  schema: AIChatSchema2,
1035
1091
  env
1036
1092
  });
1093
+ var getGeneratedTopicsModelByTenant2 = ({ tenant, env }) => getModelByTenant3({
1094
+ tenant,
1095
+ modelName: "generatedTopics",
1096
+ schema: GeneratedTopicsSchema2,
1097
+ env
1098
+ });
1037
1099
  module.exports = {
1038
1100
  getModelByTenant: getModelByTenant3,
1039
1101
  getAIChatModelByTenant: getAIChatModelByTenant2,
1040
1102
  getAnnotationsModelByTenant: getAnnotationsModelByTenant2,
1041
1103
  getPlatformConfigsModelByTenant: getPlatformConfigsModelByTenant2,
1042
- getTplModelByTenant: getTplModelByTenant2
1104
+ getTplModelByTenant: getTplModelByTenant2,
1105
+ getGeneratedTopicsModelByTenant: getGeneratedTopicsModelByTenant2
1043
1106
  };
1044
1107
  }
1045
1108
  });
@@ -1759,7 +1822,8 @@ function getRollupPossibilities({
1759
1822
  if (visited.includes(startTagType) || visited.length >= maxDepth) {
1760
1823
  return [];
1761
1824
  }
1762
- const tagBlocks = getCachedTemplateBlocks(startTagType).filter(
1825
+ const allBlocksInTemplate = getCachedTemplateBlocks(startTagType);
1826
+ const tagBlocks = allBlocksInTemplate.filter(
1763
1827
  (block) => block.valuePath?.startsWith("tags.")
1764
1828
  );
1765
1829
  const chains = [];
@@ -1781,6 +1845,20 @@ function getRollupPossibilities({
1781
1845
  }
1782
1846
  }
1783
1847
  }
1848
+ const valuePathBlocks = allBlocksInTemplate.filter(
1849
+ (block) => block.props?.options?.length > 0 && !block.valuePath?.startsWith("tags.")
1850
+ );
1851
+ for (const block of valuePathBlocks) {
1852
+ const terminalValuePath = block.props?.saveValueAsString ? block.valuePath : `${block.valuePath}.value`;
1853
+ chains.push({
1854
+ rollupType: "tagType",
1855
+ tagTypeCollectionToRollup: tagType,
1856
+ rollupPath: [...visited, startTagType, terminalValuePath],
1857
+ // Additional metadata for filter display
1858
+ filterDisplay: block.props?.shortLabel || block.props?.label || block.valuePath,
1859
+ isTerminalValuePath: true
1860
+ });
1861
+ }
1784
1862
  return chains;
1785
1863
  };
1786
1864
  const singleLevelValuePathRollups = allBlocks.map((block) => {
@@ -2182,6 +2260,7 @@ var export_ProducerManager = import_ProducerManager.ProducerManager;
2182
2260
  var export_WorkerManager = import_WorkerManager.WorkerManager;
2183
2261
  var export_getAIChatModelByTenant = import_getModelByTenant2.getAIChatModelByTenant;
2184
2262
  var export_getAnnotationsModelByTenant = import_getModelByTenant2.getAnnotationsModelByTenant;
2263
+ var export_getGeneratedTopicsModelByTenant = import_getModelByTenant2.getGeneratedTopicsModelByTenant;
2185
2264
  var export_getModelByTenant = import_getModelByTenant2.getModelByTenant;
2186
2265
  var export_getPlatformConfigsModelByTenant = import_getModelByTenant2.getPlatformConfigsModelByTenant;
2187
2266
  var export_getTplModelByTenant = import_getModelByTenant2.getTplModelByTenant;
@@ -2193,6 +2272,7 @@ export {
2193
2272
  export_BaseWorker as BaseWorker,
2194
2273
  export_ElasticSearchConnector as ElasticSearchConnector,
2195
2274
  export_GET_GLOBAL_BULLMQ_CONFIG as GET_GLOBAL_BULLMQ_CONFIG,
2275
+ GeneratedTopics_default as GeneratedTopicsSchema,
2196
2276
  export_MongoConnector as MongoConnector,
2197
2277
  PlatformConfigs_default as PlatformConfigsSchema,
2198
2278
  export_ProducerManager as ProducerManager,
@@ -2205,6 +2285,7 @@ export {
2205
2285
  export_getAIChatModelByTenant as getAIChatModelByTenant,
2206
2286
  export_getAnnotationsModelByTenant as getAnnotationsModelByTenant,
2207
2287
  getDbByTenant,
2288
+ export_getGeneratedTopicsModelByTenant as getGeneratedTopicsModelByTenant,
2208
2289
  export_getModelByTenant as getModelByTenant,
2209
2290
  export_getPlatformConfigsModelByTenant as getPlatformConfigsModelByTenant,
2210
2291
  getPlatformContextContent,
package/dist/universal.js CHANGED
@@ -370,7 +370,8 @@ function getRollupPossibilities({
370
370
  if (visited.includes(startTagType) || visited.length >= maxDepth) {
371
371
  return [];
372
372
  }
373
- const tagBlocks = getCachedTemplateBlocks(startTagType).filter(
373
+ const allBlocksInTemplate = getCachedTemplateBlocks(startTagType);
374
+ const tagBlocks = allBlocksInTemplate.filter(
374
375
  (block) => block.valuePath?.startsWith("tags.")
375
376
  );
376
377
  const chains = [];
@@ -392,6 +393,20 @@ function getRollupPossibilities({
392
393
  }
393
394
  }
394
395
  }
396
+ const valuePathBlocks = allBlocksInTemplate.filter(
397
+ (block) => block.props?.options?.length > 0 && !block.valuePath?.startsWith("tags.")
398
+ );
399
+ for (const block of valuePathBlocks) {
400
+ const terminalValuePath = block.props?.saveValueAsString ? block.valuePath : `${block.valuePath}.value`;
401
+ chains.push({
402
+ rollupType: "tagType",
403
+ tagTypeCollectionToRollup: tagType,
404
+ rollupPath: [...visited, startTagType, terminalValuePath],
405
+ // Additional metadata for filter display
406
+ filterDisplay: block.props?.shortLabel || block.props?.label || block.valuePath,
407
+ isTerminalValuePath: true
408
+ });
409
+ }
395
410
  return chains;
396
411
  };
397
412
  const singleLevelValuePathRollups = allBlocks.map((block) => {
@@ -334,7 +334,8 @@ function getRollupPossibilities({
334
334
  if (visited.includes(startTagType) || visited.length >= maxDepth) {
335
335
  return [];
336
336
  }
337
- const tagBlocks = getCachedTemplateBlocks(startTagType).filter(
337
+ const allBlocksInTemplate = getCachedTemplateBlocks(startTagType);
338
+ const tagBlocks = allBlocksInTemplate.filter(
338
339
  (block) => block.valuePath?.startsWith("tags.")
339
340
  );
340
341
  const chains = [];
@@ -356,6 +357,20 @@ function getRollupPossibilities({
356
357
  }
357
358
  }
358
359
  }
360
+ const valuePathBlocks = allBlocksInTemplate.filter(
361
+ (block) => block.props?.options?.length > 0 && !block.valuePath?.startsWith("tags.")
362
+ );
363
+ for (const block of valuePathBlocks) {
364
+ const terminalValuePath = block.props?.saveValueAsString ? block.valuePath : `${block.valuePath}.value`;
365
+ chains.push({
366
+ rollupType: "tagType",
367
+ tagTypeCollectionToRollup: tagType,
368
+ rollupPath: [...visited, startTagType, terminalValuePath],
369
+ // Additional metadata for filter display
370
+ filterDisplay: block.props?.shortLabel || block.props?.label || block.valuePath,
371
+ isTerminalValuePath: true
372
+ });
373
+ }
359
374
  return chains;
360
375
  };
361
376
  const singleLevelValuePathRollups = allBlocks.map((block) => {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.15.3",
6
+ "version": "1.16.0",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",