@okf/ootils 1.3.0 → 1.3.1

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/index.js CHANGED
@@ -41,7 +41,7 @@ var require_Annotations = __commonJS({
41
41
  // Tags section - dynamic structure for various tag categories
42
42
  tags: {
43
43
  type: Map,
44
- of: {
44
+ of: new Schema({
45
45
  data: [
46
46
  {
47
47
  _id: { type: Schema.Types.ObjectId },
@@ -50,7 +50,7 @@ var require_Annotations = __commonJS({
50
50
  }
51
51
  ],
52
52
  collectionId: String
53
- }
53
+ }, { _id: false })
54
54
  },
55
55
  // Meta information
56
56
  meta: {
@@ -73,7 +73,7 @@ var require_Annotations = __commonJS({
73
73
  annotations: {
74
74
  tags: {
75
75
  type: Map,
76
- of: {
76
+ of: new Schema({
77
77
  collectionId: String,
78
78
  data: [
79
79
  {
@@ -82,7 +82,7 @@ var require_Annotations = __commonJS({
82
82
  tagId: String
83
83
  }
84
84
  ]
85
- }
85
+ }, { _id: false })
86
86
  },
87
87
  fragment: {
88
88
  isLexical: Boolean,
package/dist/index.mjs CHANGED
@@ -20,7 +20,7 @@ var require_Annotations = __commonJS({
20
20
  // Tags section - dynamic structure for various tag categories
21
21
  tags: {
22
22
  type: Map,
23
- of: {
23
+ of: new Schema({
24
24
  data: [
25
25
  {
26
26
  _id: { type: Schema.Types.ObjectId },
@@ -29,7 +29,7 @@ var require_Annotations = __commonJS({
29
29
  }
30
30
  ],
31
31
  collectionId: String
32
- }
32
+ }, { _id: false })
33
33
  },
34
34
  // Meta information
35
35
  meta: {
@@ -52,7 +52,7 @@ var require_Annotations = __commonJS({
52
52
  annotations: {
53
53
  tags: {
54
54
  type: Map,
55
- of: {
55
+ of: new Schema({
56
56
  collectionId: String,
57
57
  data: [
58
58
  {
@@ -61,7 +61,7 @@ var require_Annotations = __commonJS({
61
61
  tagId: String
62
62
  }
63
63
  ]
64
- }
64
+ }, { _id: false })
65
65
  },
66
66
  fragment: {
67
67
  isLexical: Boolean,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.0",
6
+ "version": "1.3.1",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",