@altnovatrail/canvas 0.3.30 → 0.3.32
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/README.md +0 -2
- package/lib/element/index.d.ts +2 -1
- package/lib/element/index.js +2 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -19,8 +19,6 @@ The NovaTrail canvases: the UI package `@altnovatrail/canvas`, which the app bui
|
|
|
19
19
|
|
|
20
20
|
canvas knows no accounts, no api and no subject, and holds no data of its own: nothing on the tutor's layer ever changes the learner's work.
|
|
21
21
|
|
|
22
|
-
## Its place in NovaTrail
|
|
23
|
-
|
|
24
22
|
canvas is a component of [NovaTrail](https://github.com/altnovatrail/spec), a universal open platform for adaptive learning, interactive lessons and AI tutoring. Its card is [architecture 3.2 spec](https://github.com/altnovatrail/spec/blob/main/docs/architecture.md#32-canvas--canvases).
|
|
25
23
|
|
|
26
24
|
- **app** builds the package in and gives it the task and the tutor's marks; app keeps the learner's strokes on the device and sends the picture of the work to api, since canvas itself calls no network.
|
package/lib/element/index.d.ts
CHANGED
|
@@ -215,7 +215,8 @@ export declare class NovatrailCanvas extends HTMLElement implements CanvasElemen
|
|
|
215
215
|
exportWork(): Promise<ExportedWork | null>;
|
|
216
216
|
/**
|
|
217
217
|
* The picture of the work, for the `picture` of a stored work that app puts on the server
|
|
218
|
-
* (contracts/README.md spec, section 15; R83)
|
|
218
|
+
* (contracts/README.md spec, section 15; R83), a method of the agreement with app (the second
|
|
219
|
+
* 2026-11-17 amendment to R36 spec): the PNG of the strokes the surface shows, with no
|
|
219
220
|
* condition — the whole sheet, or the workbook's whole page with its draft, one pixel a unit,
|
|
220
221
|
* 1000 × 1400, whatever is filled and whether the work was sent to be checked or not; an empty
|
|
221
222
|
* surface, and a worked example's, is white. The strokes are those `exportWork()` takes, as the
|
package/lib/element/index.js
CHANGED
|
@@ -1038,7 +1038,8 @@ export class NovatrailCanvas extends HTMLElement {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
/**
|
|
1040
1040
|
* The picture of the work, for the `picture` of a stored work that app puts on the server
|
|
1041
|
-
* (contracts/README.md spec, section 15; R83)
|
|
1041
|
+
* (contracts/README.md spec, section 15; R83), a method of the agreement with app (the second
|
|
1042
|
+
* 2026-11-17 amendment to R36 spec): the PNG of the strokes the surface shows, with no
|
|
1042
1043
|
* condition — the whole sheet, or the workbook's whole page with its draft, one pixel a unit,
|
|
1043
1044
|
* 1000 × 1400, whatever is filled and whether the work was sent to be checked or not; an empty
|
|
1044
1045
|
* surface, and a worked example's, is white. The strokes are those `exportWork()` takes, as the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@altnovatrail/canvas",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.32",
|
|
4
4
|
"description": "NovaTrail's canvases: the workplace of a task, where the learner writes, draws and types.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"./lib/element/index.js"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@altnovatrail/spec": "0.18.
|
|
29
|
+
"@altnovatrail/spec": "0.18.34",
|
|
30
30
|
"perfect-freehand": "1.2.3",
|
|
31
31
|
"rbush": "4.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@altnovatrail/contracts": "0.18.
|
|
34
|
+
"@altnovatrail/contracts": "0.18.34",
|
|
35
35
|
"@biomejs/biome": "2.6.6",
|
|
36
36
|
"@bufbuild/protobuf": "2.17.0",
|
|
37
37
|
"@iconify-json/material-symbols": "1.2.99",
|