From baa1bc5dc3541c7abd6494e5c36564a9d58e64fc Mon Sep 17 00:00:00 2001 From: Andrey Nikitin Date: Tue, 8 Sep 2026 17:16:52 +0100 Subject: [PATCH] issue #codio-18105. code partial points --- package-lock.json | 12 +++--------- package.json | 2 +- src/lib/assessmentsTypes.ts | 2 ++ 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 187817e..18abb86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codio-api-js", - "version": "0.18.0", + "version": "0.19.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codio-api-js", - "version": "0.18.0", + "version": "0.19.3", "license": "MIT", "dependencies": { "bent": "^7.3.12", @@ -324,8 +324,7 @@ "node_modules/@types/node": { "version": "17.0.31", "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.31.tgz", - "integrity": "sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==", - "peer": true + "integrity": "sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==" }, "node_modules/@types/object-hash": { "version": "2.2.1", @@ -396,7 +395,6 @@ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.22.0.tgz", "integrity": "sha512-piwC4krUpRDqPaPbFaycN70KCP87+PC5WZmrWs+DlVOxxmF+zI6b6hETv7Quy4s9wbkV16ikMeZgXsvzwI3icQ==", "dev": true, - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "5.22.0", "@typescript-eslint/types": "5.22.0", @@ -584,7 +582,6 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "dev": true, - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -1105,7 +1102,6 @@ "integrity": "sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==", "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, - "peer": true, "dependencies": { "@babel/code-frame": "7.12.11", "@eslint/eslintrc": "^0.4.3", @@ -1475,7 +1471,6 @@ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "deprecated": "Glob versions prior to v9 are no longer supported", "license": "ISC", - "peer": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -2665,7 +2660,6 @@ "version": "4.6.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.4.tgz", "integrity": "sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index bc1e83e..b678837 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codio-api-js", - "version": "0.19.2", + "version": "0.19.3", "description": "JS client to Codio API", "repository": { "type": "git", diff --git a/src/lib/assessmentsTypes.ts b/src/lib/assessmentsTypes.ts index d40455f..2c027fb 100644 --- a/src/lib/assessmentsTypes.ts +++ b/src/lib/assessmentsTypes.ts @@ -720,6 +720,7 @@ export class AssessmentStandardCode extends Assessment { timeout: number } command: string + arePartialPointsAllowed: boolean preExecuteCommand: string showGuidanceAfterResponseOption: { type: string, @@ -746,6 +747,7 @@ export class AssessmentStandardCode extends Assessment { codeCompare: { options: json.source.options, command: json.source.command, + arePartialPointsAllowed: json.source.arePartialPointsAllowed, preExecuteCommand: json.source.preExecuteCommand, showGuidanceAfterResponseOption: fixGuidance(json.source), sequence: json.source.sequence