@cspell/cspell-types 6.4.2 → 6.5.0

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.
@@ -434,6 +434,10 @@
434
434
  "$ref": "#/definitions/HunspellInformation",
435
435
  "description": "Used by dictionary authors"
436
436
  },
437
+ "ignore": {
438
+ "$ref": "#/definitions/CharacterSet",
439
+ "description": "An optional set of characters that can possibly be removed from a word before checking it.\n\nThis is useful in languages like Arabic where Harakat accents are optional.\n\nNote: All matching characters are removed or none. Partial removal is not supported."
440
+ },
437
441
  "locale": {
438
442
  "description": "The locale of the dictionary. Example: `nl,nl-be`",
439
443
  "type": "string"
@@ -40,6 +40,15 @@ export interface DictionaryInformation {
40
40
  * If the word matches the pattern, then the penalty is applied.
41
41
  */
42
42
  adjustments?: PatternAdjustment[];
43
+ /**
44
+ * An optional set of characters that can possibly be removed from a word before
45
+ * checking it.
46
+ *
47
+ * This is useful in languages like Arabic where Harakat accents are optional.
48
+ *
49
+ * Note: All matching characters are removed or none. Partial removal is not supported.
50
+ */
51
+ ignore?: CharacterSet;
43
52
  }
44
53
  export interface HunspellInformation {
45
54
  /**
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "6.4.2",
6
+ "version": "6.5.0",
7
7
  "description": "Types for cspell and cspell-lib",
8
8
  "type": "commonjs",
9
9
  "main": "dist/index.js",
@@ -69,5 +69,5 @@
69
69
  "ts-json-schema-generator": "^1.0.0",
70
70
  "typescript": "^4.7.4"
71
71
  },
72
- "gitHead": "1f7481fd7d6a561de92ba49870da6eb1441a9d20"
72
+ "gitHead": "65c80b01e17bb0d74b57ef8b29309684a8588e27"
73
73
  }