@okf/ootils 1.17.1 → 1.17.2

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/node.d.mts CHANGED
@@ -1108,7 +1108,7 @@ interface IMeta {
1108
1108
  interface IGeneratedTopic {
1109
1109
  name: string;
1110
1110
  summary: string;
1111
- parentTopic?: string;
1111
+ parentTopic?: Schema.Types.ObjectId | null;
1112
1112
  embeddings: number[];
1113
1113
  meta: IMeta;
1114
1114
  createdAt: Date;
package/dist/node.d.ts CHANGED
@@ -1108,7 +1108,7 @@ interface IMeta {
1108
1108
  interface IGeneratedTopic {
1109
1109
  name: string;
1110
1110
  summary: string;
1111
- parentTopic?: string;
1111
+ parentTopic?: Schema.Types.ObjectId | null;
1112
1112
  embeddings: number[];
1113
1113
  meta: IMeta;
1114
1114
  createdAt: Date;
package/dist/node.js CHANGED
@@ -957,7 +957,11 @@ var init_GeneratedTopics = __esm({
957
957
  type: String,
958
958
  required: true
959
959
  },
960
- parentTopic: String,
960
+ parentTopic: {
961
+ type: import_mongoose5.Schema.Types.ObjectId,
962
+ ref: "generatedtopics",
963
+ default: null
964
+ },
961
965
  embeddings: {
962
966
  type: [Number],
963
967
  required: true
package/dist/node.mjs CHANGED
@@ -962,7 +962,11 @@ var init_GeneratedTopics = __esm({
962
962
  type: String,
963
963
  required: true
964
964
  },
965
- parentTopic: String,
965
+ parentTopic: {
966
+ type: Schema2.Types.ObjectId,
967
+ ref: "generatedtopics",
968
+ default: null
969
+ },
966
970
  embeddings: {
967
971
  type: [Number],
968
972
  required: true
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.17.1",
6
+ "version": "1.17.2",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",