@nesso-how/vocab-learning 0.1.0-alpha.40 → 0.1.0-alpha.41

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/document.js CHANGED
@@ -16,12 +16,6 @@ function validateElaboration(value, path) {
16
16
  if (typeof elab.definition !== 'string') {
17
17
  throw new Error(`Invalid Nesso graph document: ${path}.elaboration.definition must be a string`);
18
18
  }
19
- if (typeof elab.examples !== 'string') {
20
- throw new Error(`Invalid Nesso graph document: ${path}.elaboration.examples must be a string`);
21
- }
22
- if (typeof elab.notes !== 'string') {
23
- throw new Error(`Invalid Nesso graph document: ${path}.elaboration.notes must be a string`);
24
- }
25
19
  }
26
20
  function validateNessoDocument(doc) {
27
21
  for (let i = 0; i < doc.concepts.length; i++) {
@@ -1,11 +1,6 @@
1
1
  import type { GraphDocument, GraphDocumentInput } from '@nesso-how/schema';
2
2
  export interface ConceptElaboration {
3
3
  definition: string;
4
- examples: string;
5
- notes: string;
6
- imageUrl?: string;
7
- imageTitle?: string;
8
- imageDescriptionUrl?: string;
9
4
  }
10
5
  /** Shared concept content in a Nesso graph document (no label, no FSRS). */
11
6
  export interface NessoConceptData extends Record<string, unknown> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nesso-how/vocab-learning",
3
- "version": "0.1.0-alpha.40",
3
+ "version": "0.1.0-alpha.41",
4
4
  "description": "Nesso Learning Vocabulary — graph vocabulary (relation types, node params, palettes) shared across app and MCP",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,7 +22,7 @@
22
22
  }
23
23
  },
24
24
  "dependencies": {
25
- "@nesso-how/schema": "0.1.0-alpha.40"
25
+ "@nesso-how/schema": "0.1.0-alpha.41"
26
26
  },
27
27
  "devDependencies": {
28
28
  "typescript": "~5.8.3"