@dynamatix/cat-shared 0.0.108 → 0.0.109

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.
@@ -1,8 +1,8 @@
1
1
  import mongoose from "mongoose";
2
2
 
3
- const alertSchema = new Schema({
3
+ const alertSchema = new mongoose.Schema({
4
4
  contextId: {
5
- type: Schema.Types.ObjectId,
5
+ type: mongoose.Schema.Types.ObjectId,
6
6
  required: true
7
7
  },
8
8
  source: {
@@ -11,7 +11,7 @@ const alertSchema = new Schema({
11
11
  index: true
12
12
  },
13
13
  sourceId: {
14
- type: Schema.Types.ObjectId,
14
+ type: mongoose.Schema.Types.ObjectId,
15
15
  required: true,
16
16
  index: true
17
17
  },
@@ -1,6 +1,6 @@
1
1
  import mongoose from 'mongoose';
2
2
 
3
- const workflowConfigSchema = new Schema({
3
+ const workflowConfigSchema = new mongoose.Schema({
4
4
  id: {
5
5
  type: String,
6
6
  required: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.108",
3
+ "version": "0.0.109",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"