tabletcommand-incident 0.7.0 → 0.7.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.
@@ -8,13 +8,13 @@ export default function storeModule({ models }: {
8
8
  monitor: () => Promise<Pick<CADIncident, "_id"> | null>;
9
9
  incidentStreamFromDate: (departmentId: string, incidentNumber: string, date: Date, direction: "after" | "before", limit?: number) => Promise<CADIncidentStream[]>;
10
10
  previousIncidentsV1: (incident: Partial<CADIncident>, department: Partial<Department>) => Promise<Partial<CADIncident>[]>;
11
- saveIncidentV1: (item: Partial<CADIncident>) => Promise<Document<unknown, {}, CADIncident, {}> & CADIncident & Required<{
11
+ saveIncidentV1: (item: Partial<CADIncident>) => Promise<Document<unknown, {}, CADIncident, {}, {}> & CADIncident & Required<{
12
12
  _id: import("mongoose").Types.ObjectId;
13
13
  }> & {
14
14
  __v: number;
15
15
  }>;
16
16
  saveIncidentV3: (item: Partial<CADIncident>) => Promise<void>;
17
- convertItemWithPersonnelToModel: (mergedItemWithPersonnel: Partial<CADIncident>) => Promise<Document<unknown, {}, CADIncident, {}> & CADIncident & Required<{
17
+ convertItemWithPersonnelToModel: (mergedItemWithPersonnel: Partial<CADIncident>) => Promise<Document<unknown, {}, CADIncident, {}, {}> & CADIncident & Required<{
18
18
  _id: import("mongoose").Types.ObjectId;
19
19
  }> & {
20
20
  __v: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabletcommand-incident",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Tablet Command Incident",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -12,31 +12,31 @@
12
12
  "license": "MIT",
13
13
  "types": "definitions/index.d.ts",
14
14
  "dependencies": {
15
- "@sentry/node": "^7.120.3",
15
+ "@sentry/node": "^7.120.4",
16
16
  "debug": "^4.4.1",
17
17
  "lodash": "~4.17.21",
18
18
  "moment-timezone": "^0.6.0",
19
19
  "shortstop": "0.0.1",
20
20
  "shortstop-handlers": "0.1.0",
21
- "tabletcommand-backend-models": "~7.4.0",
21
+ "tabletcommand-backend-models": "~7.4.3",
22
22
  "uuid": "^11.1.0",
23
23
  "xregexp": "~5.1.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@eslint/eslintrc": "^3.3.1",
27
- "@eslint/js": "^9.30.1",
27
+ "@eslint/js": "^9.32.0",
28
28
  "@types/chai": "^5.2.2",
29
29
  "@types/debug": "^4.1.12",
30
30
  "@types/express": "^4.17.23",
31
31
  "@types/lodash": "^4.17.20",
32
32
  "@types/mocha": "^10.0.10",
33
- "@types/node": "^22.16.0",
34
- "@typescript-eslint/eslint-plugin": "^8.35.1",
35
- "@typescript-eslint/parser": "^8.35.1",
36
- "chai": "^5.2.0",
37
- "cspell": "^9.1.2",
33
+ "@types/node": "^22.17.0",
34
+ "@typescript-eslint/eslint-plugin": "^8.38.0",
35
+ "@typescript-eslint/parser": "^8.38.0",
36
+ "chai": "^5.2.1",
37
+ "cspell": "^9.2.0",
38
38
  "del": "^8.0.0",
39
- "eslint": "^9.30.1",
39
+ "eslint": "^9.32.0",
40
40
  "eslint-plugin-node": "^11.1.0",
41
41
  "eslint-plugin-promise": "^7.2.1",
42
42
  "eslint-plugin-security": "^3.0.1",
@@ -44,7 +44,7 @@
44
44
  "gulp": "^5.0.1",
45
45
  "gulp-execa": "^8.0.1",
46
46
  "mocha": "^11.7.1",
47
- "neostandard": "^0.12.1",
47
+ "neostandard": "^0.12.2",
48
48
  "ts-mocha": "^11.1.0",
49
49
  "ts-node": "^10.9.2",
50
50
  "tsconfig-paths": "^4.2.0",
package/test.sh CHANGED
@@ -17,7 +17,7 @@ if hash brew 2>/dev/null; then
17
17
  fi
18
18
  fi
19
19
 
20
- NODE_VERSION="v22.13.0"
20
+ NODE_VERSION="v22.17.0"
21
21
 
22
22
  nvm use $NODE_VERSION || nvm install $NODE_VERSION
23
23