@cspell/cspell-types 10.3.0-alpha.0 → 10.3.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.
@@ -356,8 +356,8 @@
356
356
  },
357
357
  "kind": {
358
358
  "$ref": "#/definitions/DictionaryKind",
359
- "description": "Used to specify the type of dictionary being referenced. Values:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore. This is the same as setting `noSuggest` to `true`.",
360
- "markdownDescription": "Used to specify the type of dictionary being referenced.\nValues:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore.\n This is the same as setting `noSuggest` to `true`.",
359
+ "description": "Used to specify the type of dictionary being referenced. Values:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore. This is the same as setting `noSuggest` to `true`.\n- `suggest-words` - A dictionary containing suggested word corrections. Words found in the dictionary will be treated like `suggestWords`.",
360
+ "markdownDescription": "Used to specify the type of dictionary being referenced.\nValues:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore.\n This is the same as setting `noSuggest` to `true`.\n- `suggest-words` - A dictionary containing suggested word corrections. Words found in the\n dictionary will be treated like `suggestWords`.",
361
361
  "since": "10.3.0"
362
362
  },
363
363
  "name": {
@@ -425,8 +425,8 @@
425
425
  },
426
426
  "kind": {
427
427
  "$ref": "#/definitions/DictionaryKind",
428
- "description": "Used to specify the type of dictionary being referenced. Values:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore. This is the same as setting `noSuggest` to `true`.",
429
- "markdownDescription": "Used to specify the type of dictionary being referenced.\nValues:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore.\n This is the same as setting `noSuggest` to `true`.",
428
+ "description": "Used to specify the type of dictionary being referenced. Values:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore. This is the same as setting `noSuggest` to `true`.\n- `suggest-words` - A dictionary containing suggested word corrections. Words found in the dictionary will be treated like `suggestWords`.",
429
+ "markdownDescription": "Used to specify the type of dictionary being referenced.\nValues:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore.\n This is the same as setting `noSuggest` to `true`.\n- `suggest-words` - A dictionary containing suggested word corrections. Words found in the\n dictionary will be treated like `suggestWords`.",
430
430
  "since": "10.3.0"
431
431
  },
432
432
  "name": {
@@ -501,8 +501,8 @@
501
501
  },
502
502
  "kind": {
503
503
  "$ref": "#/definitions/DictionaryKind",
504
- "description": "Used to specify the type of dictionary being referenced. Values:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore. This is the same as setting `noSuggest` to `true`.",
505
- "markdownDescription": "Used to specify the type of dictionary being referenced.\nValues:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore.\n This is the same as setting `noSuggest` to `true`.",
504
+ "description": "Used to specify the type of dictionary being referenced. Values:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore. This is the same as setting `noSuggest` to `true`.\n- `suggest-words` - A dictionary containing suggested word corrections. Words found in the dictionary will be treated like `suggestWords`.",
505
+ "markdownDescription": "Used to specify the type of dictionary being referenced.\nValues:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore.\n This is the same as setting `noSuggest` to `true`.\n- `suggest-words` - A dictionary containing suggested word corrections. Words found in the\n dictionary will be treated like `suggestWords`.",
506
506
  "since": "10.3.0"
507
507
  },
508
508
  "name": {
@@ -837,8 +837,8 @@
837
837
  },
838
838
  "kind": {
839
839
  "$ref": "#/definitions/DictionaryKind",
840
- "description": "Used to specify the type of dictionary being referenced. Values:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore. This is the same as setting `noSuggest` to `true`.",
841
- "markdownDescription": "Used to specify the type of dictionary being referenced.\nValues:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore.\n This is the same as setting `noSuggest` to `true`.",
840
+ "description": "Used to specify the type of dictionary being referenced. Values:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore. This is the same as setting `noSuggest` to `true`.\n- `suggest-words` - A dictionary containing suggested word corrections. Words found in the dictionary will be treated like `suggestWords`.",
841
+ "markdownDescription": "Used to specify the type of dictionary being referenced.\nValues:\n- `words` - (default) A dictionary containing words.\n- `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.\n- `ignore-words` - A dictionary containing words to ignore.\n This is the same as setting `noSuggest` to `true`.\n- `suggest-words` - A dictionary containing suggested word corrections. Words found in the\n dictionary will be treated like `suggestWords`.",
842
842
  "since": "10.3.0"
843
843
  },
844
844
  "name": {
@@ -1009,10 +1009,13 @@
1009
1009
  },
1010
1010
  {
1011
1011
  "$ref": "#/definitions/DictionaryKindIgnoreWords"
1012
+ },
1013
+ {
1014
+ "$ref": "#/definitions/DictionaryKindSuggestWords"
1012
1015
  }
1013
1016
  ],
1014
- "description": "The kind of dictionary.\n\nUsed to specify the type of dictionary being referenced.\n\nValues:\n- `words` - A dictionary containing words.\n- `flag-words` - A dictionary containing flag words.\n- `ignore-words` - A dictionary containing words to ignore.",
1015
- "markdownDescription": "The kind of dictionary.\n\nUsed to specify the type of dictionary being referenced.\n\nValues:\n- `words` - A dictionary containing words.\n- `flag-words` - A dictionary containing flag words.\n- `ignore-words` - A dictionary containing words to ignore."
1017
+ "description": "The kind of dictionary.\n\nUsed to specify the type of dictionary being referenced.\n\nValues:\n- `words` - A dictionary containing words.\n- `flag-words` - A dictionary containing flag words.\n- `ignore-words` - A dictionary containing words to ignore.\n- `suggest-words` - A dictionary containing suggested word corrections.",
1018
+ "markdownDescription": "The kind of dictionary.\n\nUsed to specify the type of dictionary being referenced.\n\nValues:\n- `words` - A dictionary containing words.\n- `flag-words` - A dictionary containing flag words.\n- `ignore-words` - A dictionary containing words to ignore.\n- `suggest-words` - A dictionary containing suggested word corrections."
1016
1019
  },
1017
1020
  "DictionaryKindFlagWords": {
1018
1021
  "const": "flag-words",
@@ -1022,6 +1025,10 @@
1022
1025
  "const": "ignore-words",
1023
1026
  "type": "string"
1024
1027
  },
1028
+ "DictionaryKindSuggestWords": {
1029
+ "const": "suggest-words",
1030
+ "type": "string"
1031
+ },
1025
1032
  "DictionaryKindWords": {
1026
1033
  "const": "words",
1027
1034
  "type": "string"
package/dist/index.d.mts CHANGED
@@ -791,6 +791,8 @@ interface DictionaryDefinitionBase {
791
791
  * - `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.
792
792
  * - `ignore-words` - A dictionary containing words to ignore.
793
793
  * This is the same as setting `noSuggest` to `true`.
794
+ * - `suggest-words` - A dictionary containing suggested word corrections. Words found in the
795
+ * dictionary will be treated like `suggestWords`.
794
796
  * @since 10.3.0
795
797
  */
796
798
  kind?: DictionaryKind | undefined;
@@ -1108,6 +1110,7 @@ type DictionaryNegRef = string;
1108
1110
  type DictionaryKindWords = "words";
1109
1111
  type DictionaryKindFlagWords = "flag-words";
1110
1112
  type DictionaryKindIgnoreWords = "ignore-words";
1113
+ type DictionaryKindSuggestWords = "suggest-words";
1111
1114
  /**
1112
1115
  * The kind of dictionary.
1113
1116
  *
@@ -1117,8 +1120,9 @@ type DictionaryKindIgnoreWords = "ignore-words";
1117
1120
  * - `words` - A dictionary containing words.
1118
1121
  * - `flag-words` - A dictionary containing flag words.
1119
1122
  * - `ignore-words` - A dictionary containing words to ignore.
1123
+ * - `suggest-words` - A dictionary containing suggested word corrections.
1120
1124
  */
1121
- type DictionaryKind = DictionaryKindWords | DictionaryKindFlagWords | DictionaryKindIgnoreWords;
1125
+ type DictionaryKind = DictionaryKindWords | DictionaryKindFlagWords | DictionaryKindIgnoreWords | DictionaryKindSuggestWords;
1122
1126
  //#endregion
1123
1127
  //#region src/features.d.ts
1124
1128
  /**
package/dist/index.d.ts CHANGED
@@ -791,6 +791,8 @@ interface DictionaryDefinitionBase {
791
791
  * - `flag-words` - A dictionary containing flag words. Words found in the dictionary will be treated like `flagWords`.
792
792
  * - `ignore-words` - A dictionary containing words to ignore.
793
793
  * This is the same as setting `noSuggest` to `true`.
794
+ * - `suggest-words` - A dictionary containing suggested word corrections. Words found in the
795
+ * dictionary will be treated like `suggestWords`.
794
796
  * @since 10.3.0
795
797
  */
796
798
  kind?: DictionaryKind | undefined;
@@ -1108,6 +1110,7 @@ type DictionaryNegRef = string;
1108
1110
  type DictionaryKindWords = "words";
1109
1111
  type DictionaryKindFlagWords = "flag-words";
1110
1112
  type DictionaryKindIgnoreWords = "ignore-words";
1113
+ type DictionaryKindSuggestWords = "suggest-words";
1111
1114
  /**
1112
1115
  * The kind of dictionary.
1113
1116
  *
@@ -1117,8 +1120,9 @@ type DictionaryKindIgnoreWords = "ignore-words";
1117
1120
  * - `words` - A dictionary containing words.
1118
1121
  * - `flag-words` - A dictionary containing flag words.
1119
1122
  * - `ignore-words` - A dictionary containing words to ignore.
1123
+ * - `suggest-words` - A dictionary containing suggested word corrections.
1120
1124
  */
1121
- type DictionaryKind = DictionaryKindWords | DictionaryKindFlagWords | DictionaryKindIgnoreWords;
1125
+ type DictionaryKind = DictionaryKindWords | DictionaryKindFlagWords | DictionaryKindIgnoreWords | DictionaryKindSuggestWords;
1122
1126
  //#endregion
1123
1127
  //#region src/features.d.ts
1124
1128
  /**
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "provenance": true
6
6
  },
7
- "version": "10.3.0-alpha.0",
7
+ "version": "10.3.0",
8
8
  "description": "Types for cspell and cspell-lib",
9
9
  "type": "commonjs",
10
10
  "sideEffects": false,
@@ -85,5 +85,5 @@
85
85
  "node": ">=22.18.0"
86
86
  },
87
87
  "homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-types#readme",
88
- "gitHead": "39297075c7a4946feb1a4f0a509e329cfb0b4f11"
88
+ "gitHead": "d8abd59fa15da6da47955eb6fcca180e8b5cbdbf"
89
89
  }