@enjoys/context-engine 1.0.0 → 1.0.2

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.
Files changed (112) hide show
  1. package/data/commands/adb.json +322 -0
  2. package/data/commands/alembic.json +301 -0
  3. package/data/commands/artisan.json +277 -0
  4. package/data/commands/atlas.json +426 -0
  5. package/data/commands/auth0.json +648 -0
  6. package/data/commands/bat.json +84 -0
  7. package/data/commands/btop.json +59 -0
  8. package/data/commands/bundle.json +321 -0
  9. package/data/commands/composer.json +507 -0
  10. package/data/commands/dart.json +216 -0
  11. package/data/commands/dbmate.json +257 -0
  12. package/data/commands/docker-compose.json +384 -0
  13. package/data/commands/drizzle-kit.json +217 -0
  14. package/data/commands/expo.json +65 -0
  15. package/data/commands/fastlane.json +243 -0
  16. package/data/commands/fd.json +86 -0
  17. package/data/commands/flutter.json +298 -0
  18. package/data/commands/flyway.json +261 -0
  19. package/data/commands/fzf.json +103 -0
  20. package/data/commands/gem.json +267 -0
  21. package/data/commands/htop.json +56 -0
  22. package/data/commands/jq.json +100 -0
  23. package/data/commands/k9s.json +62 -0
  24. package/data/commands/linux.json +3007 -0
  25. package/data/commands/liquibase.json +399 -0
  26. package/data/commands/manifest.json +619 -0
  27. package/data/commands/minikube.json +60 -0
  28. package/data/commands/ng.json +64 -0
  29. package/data/commands/nuxt.json +60 -0
  30. package/data/commands/nvim.json +91 -0
  31. package/data/commands/php.json +157 -0
  32. package/data/commands/pm2.json +259 -0
  33. package/data/commands/pod.json +175 -0
  34. package/data/commands/prisma.json +257 -0
  35. package/data/commands/rails.json +372 -0
  36. package/data/commands/rake.json +360 -0
  37. package/data/commands/react-native.json +57 -0
  38. package/data/commands/rg.json +103 -0
  39. package/data/commands/rspec.json +257 -0
  40. package/data/commands/ruby.json +108 -0
  41. package/data/commands/screen.json +101 -0
  42. package/data/commands/sequelize.json +342 -0
  43. package/data/commands/snyk.json +442 -0
  44. package/data/commands/sonar-scanner.json +219 -0
  45. package/data/commands/stripe.json +314 -0
  46. package/data/commands/symfony.json +449 -0
  47. package/data/commands/tmux.json +197 -0
  48. package/data/commands/top.json +61 -0
  49. package/data/commands/trivy.json +367 -0
  50. package/data/commands/twilio.json +382 -0
  51. package/data/commands/typeorm.json +262 -0
  52. package/data/commands/vim.json +85 -0
  53. package/data/commands/vue.json +60 -0
  54. package/data/commands/wp.json +857 -0
  55. package/data/commands/xcodebuild.json +141 -0
  56. package/data/commands/yq.json +57 -0
  57. package/data/completion/bash.json +1184 -0
  58. package/data/completion/c.json +1067 -0
  59. package/data/completion/cpp.json +824 -0
  60. package/data/completion/csharp.json +860 -0
  61. package/data/completion/dockerfile.json +536 -0
  62. package/data/completion/go.json +1346 -0
  63. package/data/completion/html.json +806 -0
  64. package/data/completion/java.json +1112 -0
  65. package/data/completion/javascript.json +914 -0
  66. package/data/completion/lua.json +968 -0
  67. package/data/completion/php.json +1535 -0
  68. package/data/completion/python.json +1427 -0
  69. package/data/completion/ruby.json +1531 -0
  70. package/data/completion/rust.json +698 -0
  71. package/data/completion/sql.json +887 -0
  72. package/data/completion/toml.json +428 -0
  73. package/data/completion/typescript.json +338 -0
  74. package/data/completion/yaml.json +563 -0
  75. package/data/defination/bash.json +565 -0
  76. package/data/defination/c.json +865 -0
  77. package/data/defination/cpp.json +348 -0
  78. package/data/defination/csharp.json +144 -0
  79. package/data/defination/dockerfile.json +113 -0
  80. package/data/defination/go.json +561 -0
  81. package/data/defination/html.json +559 -0
  82. package/data/defination/java.json +184 -0
  83. package/data/defination/javascript.json +265 -0
  84. package/data/defination/lua.json +181 -0
  85. package/data/defination/php.json +726 -0
  86. package/data/defination/python.json +717 -0
  87. package/data/defination/ruby.json +670 -0
  88. package/data/defination/rust.json +207 -0
  89. package/data/defination/sql.json +473 -0
  90. package/data/defination/toml.json +251 -0
  91. package/data/defination/typescript.json +29 -0
  92. package/data/defination/yaml.json +197 -0
  93. package/data/hover/bash.json +245 -0
  94. package/data/hover/c.json +265 -0
  95. package/data/hover/cpp.json +210 -0
  96. package/data/hover/csharp.json +290 -0
  97. package/data/hover/dockerfile.json +145 -0
  98. package/data/hover/go.json +580 -0
  99. package/data/hover/html.json +250 -0
  100. package/data/hover/java.json +395 -0
  101. package/data/hover/javascript.json +330 -0
  102. package/data/hover/lua.json +265 -0
  103. package/data/hover/php.json +300 -0
  104. package/data/hover/python.json +380 -0
  105. package/data/hover/ruby.json +265 -0
  106. package/data/hover/rust.json +275 -0
  107. package/data/hover/sql.json +230 -0
  108. package/data/hover/toml.json +145 -0
  109. package/data/hover/typescript.json +120 -0
  110. package/data/hover/yaml.json +165 -0
  111. package/data/manifest.json +242 -0
  112. package/package.json +1 -1
@@ -0,0 +1,251 @@
1
+ {
2
+ "language": "toml",
3
+ "definitions": {
4
+ "table": {
5
+ "signature": "[table_name]",
6
+ "description": "Tables (also known as hash tables or dictionaries) are collections of key/value pairs. They are defined by headers, with square brackets on a line by themselves. All keys and their values beneath a header belong to that table until another header or EOF.",
7
+ "type": "structure",
8
+ "module": "TOML v1.0"
9
+ },
10
+ "array_of_tables": {
11
+ "signature": "[[array_name]]",
12
+ "description": "An array of tables can be expressed by using a header with double brackets. Each header with the same name defines an element in the array of tables. The tables are inserted in the order encountered.",
13
+ "type": "structure",
14
+ "module": "TOML v1.0"
15
+ },
16
+ "key_value": {
17
+ "signature": "key = value",
18
+ "description": "A key/value pair is the primary building block of a TOML document. Keys are on the left of the equals sign and values are on the right. Whitespace around the equals sign is ignored.",
19
+ "type": "structure",
20
+ "module": "TOML v1.0"
21
+ },
22
+ "dotted_key": {
23
+ "signature": "parent.child = value",
24
+ "description": "Dotted keys are a sequence of bare or quoted keys joined with a dot. This allows for grouping similar properties together without requiring separate table headers.",
25
+ "type": "structure",
26
+ "module": "TOML v1.0"
27
+ },
28
+ "inline_table": {
29
+ "signature": "name = { key1 = value1, key2 = value2 }",
30
+ "description": "Inline tables provide a more compact syntax for expressing tables. They are intended to appear on a single line. No newlines are allowed between the curly braces unless they are valid within a value.",
31
+ "type": "structure",
32
+ "module": "TOML v1.0"
33
+ },
34
+ "comment": {
35
+ "signature": "# comment text",
36
+ "description": "A hash symbol (#) marks the rest of the line as a comment, except when inside a string. Comments can appear on their own line or at the end of a line with a key-value pair.",
37
+ "type": "syntax",
38
+ "module": "TOML v1.0"
39
+ },
40
+ "string_basic": {
41
+ "signature": "key = \"value\"",
42
+ "description": "Basic strings are surrounded by quotation marks (\"). Any Unicode character may be used except those that must be escaped: quotation mark, backslash, and the control characters (U+0000 to U+001F, U+007F).",
43
+ "type": "data_type",
44
+ "module": "TOML v1.0"
45
+ },
46
+ "string_literal": {
47
+ "signature": "key = 'value'",
48
+ "description": "Literal strings are surrounded by single quotes. What you see is what you get — there is no escaping. Because there is no escaping, there is no way to write a single quote inside a literal string.",
49
+ "type": "data_type",
50
+ "module": "TOML v1.0"
51
+ },
52
+ "string_multiline_basic": {
53
+ "signature": "key = \"\"\"\\nmulti-line content\\n\"\"\"",
54
+ "description": "Multi-line basic strings are surrounded on each side by three quotation marks and allow newlines. A newline immediately following the opening delimiter will be trimmed. All other content between the delimiters is interpreted as-is without modification.",
55
+ "type": "data_type",
56
+ "module": "TOML v1.0"
57
+ },
58
+ "string_multiline_literal": {
59
+ "signature": "key = '''\\nmulti-line content\\n'''",
60
+ "description": "Multi-line literal strings are surrounded on each side by three single quotes and allow newlines. No escaping whatsoever is performed. A newline immediately following the opening delimiter will be trimmed.",
61
+ "type": "data_type",
62
+ "module": "TOML v1.0"
63
+ },
64
+ "integer": {
65
+ "signature": "key = 42",
66
+ "description": "Integers are whole numbers. Positive numbers may be prefixed with a plus sign. Leading zeros are not allowed. Hex (0x), octal (0o), and binary (0b) representations are supported. Underscores between digits aid readability.",
67
+ "type": "data_type",
68
+ "module": "TOML v1.0"
69
+ },
70
+ "float": {
71
+ "signature": "key = 3.14",
72
+ "description": "Floats should be implemented as IEEE 754 64-bit values. A float consists of an integer part followed by a fractional part and/or an exponent part. Special float values inf and nan are supported.",
73
+ "type": "data_type",
74
+ "module": "TOML v1.0"
75
+ },
76
+ "boolean": {
77
+ "signature": "key = true",
78
+ "description": "Booleans are the tokens true or false, always lowercase.",
79
+ "type": "data_type",
80
+ "module": "TOML v1.0"
81
+ },
82
+ "offset_datetime": {
83
+ "signature": "key = 2024-01-15T10:30:00+00:00",
84
+ "description": "An offset date-time represents a specific instant in time, specified as a full date, a T delimiter (or space), a full time, and a timezone offset. Conforms to RFC 3339.",
85
+ "type": "data_type",
86
+ "module": "TOML v1.0"
87
+ },
88
+ "local_datetime": {
89
+ "signature": "key = 2024-01-15T10:30:00",
90
+ "description": "A local date-time omits the timezone offset. It represents a date-time without relation to any specific timezone or offset. Cannot be converted to an instant in time without additional information.",
91
+ "type": "data_type",
92
+ "module": "TOML v1.0"
93
+ },
94
+ "local_date": {
95
+ "signature": "key = 2024-01-15",
96
+ "description": "A local date represents the date portion of an RFC 3339 formatted date-time without the time component. It represents a whole day without time or timezone.",
97
+ "type": "data_type",
98
+ "module": "TOML v1.0"
99
+ },
100
+ "local_time": {
101
+ "signature": "key = 10:30:00",
102
+ "description": "A local time represents the time portion of an RFC 3339 formatted date-time without the date or timezone. Millisecond precision is supported.",
103
+ "type": "data_type",
104
+ "module": "TOML v1.0"
105
+ },
106
+ "array": {
107
+ "signature": "key = [value1, value2, value3]",
108
+ "description": "Arrays are square brackets with values inside, separated by commas. Arrays can span multiple lines. A trailing comma after the last value is permitted. Arrays can contain mixed types.",
109
+ "type": "data_type",
110
+ "module": "TOML v1.0"
111
+ },
112
+ "cargo_package": {
113
+ "signature": "[package]",
114
+ "description": "Defines Rust package metadata in Cargo.toml. Contains fields like name, version, edition, description, license, authors, repository, documentation, homepage, and readme.",
115
+ "type": "config_schema",
116
+ "module": "Cargo (Rust)"
117
+ },
118
+ "cargo_dependencies": {
119
+ "signature": "[dependencies]",
120
+ "description": "Specifies the runtime dependencies of a Rust crate in Cargo.toml. Each entry maps a crate name to a version requirement, which can be a simple string or a table with version, features, optional, git, path, etc.",
121
+ "type": "config_schema",
122
+ "module": "Cargo (Rust)"
123
+ },
124
+ "cargo_dev_dependencies": {
125
+ "signature": "[dev-dependencies]",
126
+ "description": "Specifies dependencies only needed for development in Cargo.toml. These are used for compiling tests, examples, and benchmarks but are not propagated to dependent crates.",
127
+ "type": "config_schema",
128
+ "module": "Cargo (Rust)"
129
+ },
130
+ "cargo_build_dependencies": {
131
+ "signature": "[build-dependencies]",
132
+ "description": "Specifies dependencies needed by build scripts (build.rs) in Cargo.toml. These are compiled and made available to the build script before the main crate is compiled.",
133
+ "type": "config_schema",
134
+ "module": "Cargo (Rust)"
135
+ },
136
+ "cargo_features": {
137
+ "signature": "[features]",
138
+ "description": "Defines conditional compilation features for a Rust crate in Cargo.toml. Features can enable optional dependencies or other features. A 'default' key specifies features enabled by default.",
139
+ "type": "config_schema",
140
+ "module": "Cargo (Rust)"
141
+ },
142
+ "cargo_workspace": {
143
+ "signature": "[workspace]",
144
+ "description": "Defines a Cargo workspace for managing multiple related packages. Contains members (list of package paths), exclude, default-members, and resolver fields.",
145
+ "type": "config_schema",
146
+ "module": "Cargo (Rust)"
147
+ },
148
+ "cargo_lib": {
149
+ "signature": "[lib]",
150
+ "description": "Configures the library target in Cargo.toml. Fields include name, path, crate-type (lib, cdylib, staticlib, etc.), and doc/test/bench toggles.",
151
+ "type": "config_schema",
152
+ "module": "Cargo (Rust)"
153
+ },
154
+ "cargo_bin": {
155
+ "signature": "[[bin]]",
156
+ "description": "Defines a binary target in Cargo.toml. Each [[bin]] entry specifies a separate binary with name, path, and optional required-features.",
157
+ "type": "config_schema",
158
+ "module": "Cargo (Rust)"
159
+ },
160
+ "cargo_profile_release": {
161
+ "signature": "[profile.release]",
162
+ "description": "Customizes the release build profile in Cargo.toml. Common settings include opt-level, lto, codegen-units, panic, strip, and debug.",
163
+ "type": "config_schema",
164
+ "module": "Cargo (Rust)"
165
+ },
166
+ "cargo_profile_dev": {
167
+ "signature": "[profile.dev]",
168
+ "description": "Customizes the development build profile in Cargo.toml. The default profile used by `cargo build` and `cargo run`. Common settings include opt-level and debug.",
169
+ "type": "config_schema",
170
+ "module": "Cargo (Rust)"
171
+ },
172
+ "pyproject_build_system": {
173
+ "signature": "[build-system]",
174
+ "description": "Specifies the build system for a Python project in pyproject.toml, as defined by PEP 517/518. Contains 'requires' (list of build dependencies) and 'build-backend' (the build backend module).",
175
+ "type": "config_schema",
176
+ "module": "pyproject.toml (Python)"
177
+ },
178
+ "pyproject_project": {
179
+ "signature": "[project]",
180
+ "description": "Declares core Python project metadata in pyproject.toml as defined by PEP 621. Fields include name, version, description, requires-python, license, authors, dependencies, classifiers, urls, scripts, and entry-points.",
181
+ "type": "config_schema",
182
+ "module": "pyproject.toml (Python)"
183
+ },
184
+ "pyproject_optional_dependencies": {
185
+ "signature": "[project.optional-dependencies]",
186
+ "description": "Defines optional dependency groups (extras) for a Python project. Users install them with `pip install package[extra]`. Each key maps a group name to a list of dependency specifiers.",
187
+ "type": "config_schema",
188
+ "module": "pyproject.toml (Python)"
189
+ },
190
+ "tool_pytest": {
191
+ "signature": "[tool.pytest.ini_options]",
192
+ "description": "Configures Pytest within pyproject.toml. Supports testpaths, python_files, python_classes, python_functions, addopts, markers, filterwarnings, and more.",
193
+ "type": "config_schema",
194
+ "module": "pyproject.toml (Python)"
195
+ },
196
+ "tool_black": {
197
+ "signature": "[tool.black]",
198
+ "description": "Configures the Black code formatter within pyproject.toml. Options include line-length, target-version, include/exclude patterns, and skip-string-normalization.",
199
+ "type": "config_schema",
200
+ "module": "pyproject.toml (Python)"
201
+ },
202
+ "tool_ruff": {
203
+ "signature": "[tool.ruff]",
204
+ "description": "Configures the Ruff linter within pyproject.toml. Options include line-length, target-version, select/ignore rules, fixable/unfixable rules, and per-file overrides.",
205
+ "type": "config_schema",
206
+ "module": "pyproject.toml (Python)"
207
+ },
208
+ "tool_mypy": {
209
+ "signature": "[tool.mypy]",
210
+ "description": "Configures the Mypy static type checker within pyproject.toml. Options include python_version, strict, warn_return_any, disallow_untyped_defs, and per-module overrides.",
211
+ "type": "config_schema",
212
+ "module": "pyproject.toml (Python)"
213
+ },
214
+ "tool_setuptools": {
215
+ "signature": "[tool.setuptools]",
216
+ "description": "Configures setuptools within pyproject.toml for package discovery, package data, and dynamic versioning.",
217
+ "type": "config_schema",
218
+ "module": "pyproject.toml (Python)"
219
+ },
220
+ "tool_poetry": {
221
+ "signature": "[tool.poetry]",
222
+ "description": "Configures a Poetry-managed Python project within pyproject.toml. Includes name, version, description, authors, dependencies, dev-dependencies, scripts, and plugins.",
223
+ "type": "config_schema",
224
+ "module": "pyproject.toml (Python)"
225
+ },
226
+ "server_config": {
227
+ "signature": "[server]",
228
+ "description": "Common server configuration pattern in TOML config files. Typically includes host, port, TLS/SSL settings, timeouts, and worker counts.",
229
+ "type": "config_schema",
230
+ "module": "General Config"
231
+ },
232
+ "database_config": {
233
+ "signature": "[database]",
234
+ "description": "Common database configuration pattern in TOML config files. Typically includes connection URL, pool size, max idle connections, and timeout settings.",
235
+ "type": "config_schema",
236
+ "module": "General Config"
237
+ },
238
+ "logging_config": {
239
+ "signature": "[logging]",
240
+ "description": "Common logging configuration pattern in TOML config files. Typically includes log level, output file path, format (json/text), and rotation settings.",
241
+ "type": "config_schema",
242
+ "module": "General Config"
243
+ },
244
+ "auth_config": {
245
+ "signature": "[auth]",
246
+ "description": "Common authentication configuration pattern in TOML config files. Typically includes JWT secret key, token expiry duration, refresh token settings, and issuer.",
247
+ "type": "config_schema",
248
+ "module": "General Config"
249
+ }
250
+ }
251
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "language": "typescript",
3
+ "definitions": {
4
+ "Record": { "signature": "type Record<K extends keyof any, T> = { [P in K]: T }", "description": "Constructs an object type whose property keys are K and values are T.", "type": "utility-type", "module": "lib.es5.d.ts" },
5
+ "Partial": { "signature": "type Partial<T> = { [P in keyof T]?: T[P] }", "description": "Makes all properties in T optional.", "type": "utility-type", "module": "lib.es5.d.ts" },
6
+ "Required": { "signature": "type Required<T> = { [P in keyof T]-?: T[P] }", "description": "Makes all properties in T required.", "type": "utility-type", "module": "lib.es5.d.ts" },
7
+ "Readonly": { "signature": "type Readonly<T> = { readonly [P in keyof T]: T[P] }", "description": "Makes all properties in T readonly.", "type": "utility-type", "module": "lib.es5.d.ts" },
8
+ "Pick": { "signature": "type Pick<T, K extends keyof T> = { [P in K]: T[P] }", "description": "Constructs a type by picking properties K from T.", "type": "utility-type", "module": "lib.es5.d.ts" },
9
+ "Omit": { "signature": "type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>", "description": "Constructs a type by removing properties K from T.", "type": "utility-type", "module": "lib.es5.d.ts" },
10
+ "Exclude": { "signature": "type Exclude<T, U> = T extends U ? never : T", "description": "Excludes from T those types assignable to U.", "type": "utility-type", "module": "lib.es5.d.ts" },
11
+ "Extract": { "signature": "type Extract<T, U> = T extends U ? T : never", "description": "Extracts from T those types assignable to U.", "type": "utility-type", "module": "lib.es5.d.ts" },
12
+ "NonNullable": { "signature": "type NonNullable<T> = T & {}", "description": "Excludes null and undefined from T.", "type": "utility-type", "module": "lib.es5.d.ts" },
13
+ "ReturnType": { "signature": "type ReturnType<T extends (...args: any) => any> = T extends (...args: any) => infer R ? R : any", "description": "Obtains the return type of function type T.", "type": "utility-type", "module": "lib.es5.d.ts" },
14
+ "Parameters": { "signature": "type Parameters<T extends (...args: any) => any> = T extends (...args: infer P) => any ? P : never", "description": "Obtains parameter types of function type T as a tuple.", "type": "utility-type", "module": "lib.es5.d.ts" },
15
+ "ConstructorParameters": { "signature": "type ConstructorParameters<T extends abstract new (...args: any) => any> = T extends abstract new (...args: infer P) => any ? P : never", "description": "Extracts parameter types from a constructor function type.", "type": "utility-type", "module": "lib.es5.d.ts" },
16
+ "InstanceType": { "signature": "type InstanceType<T extends abstract new (...args: any) => any> = T extends abstract new (...args: any) => infer R ? R : any", "description": "Constructs the instance type of a constructor function type.", "type": "utility-type", "module": "lib.es5.d.ts" },
17
+ "Awaited": { "signature": "type Awaited<T> = T extends null | undefined ? T : T extends object & { then(onfulfilled: infer F, ...args: infer _): any } ? F extends ((value: infer V, ...args: infer _) => any) ? Awaited<V> : never : T", "description": "Recursively unwraps Promise types. Added in TypeScript 4.5.", "type": "utility-type", "module": "lib.es5.d.ts" },
18
+ "ThisType": { "signature": "type ThisType<T> = T", "description": "Marker for contextual this type. Only works with --noImplicitThis.", "type": "utility-type", "module": "lib.es5.d.ts" },
19
+ "Uppercase": { "signature": "type Uppercase<S extends string> = intrinsic", "description": "Converts string literal type to uppercase.", "type": "utility-type", "module": "lib.es5.d.ts" },
20
+ "Lowercase": { "signature": "type Lowercase<S extends string> = intrinsic", "description": "Converts string literal type to lowercase.", "type": "utility-type", "module": "lib.es5.d.ts" },
21
+ "Capitalize": { "signature": "type Capitalize<S extends string> = intrinsic", "description": "Capitalizes first character of string literal type.", "type": "utility-type", "module": "lib.es5.d.ts" },
22
+ "Uncapitalize": { "signature": "type Uncapitalize<S extends string> = intrinsic", "description": "Uncapitalizes first character of string literal type.", "type": "utility-type", "module": "lib.es5.d.ts" },
23
+ "NoInfer": { "signature": "type NoInfer<T> = intrinsic", "description": "Blocks inference at this position. TypeScript 5.4+.", "type": "utility-type", "module": "lib.es5.d.ts" },
24
+ "ReadonlyArray": { "signature": "interface ReadonlyArray<T>", "description": "An array that cannot be mutated. No push, pop, splice, etc.", "type": "interface", "module": "lib.es5.d.ts", "members": { "length": { "signature": "readonly length: number", "description": "Number of elements.", "type": "property" }, "concat": { "signature": "concat(...items: (T | ReadonlyArray<T>)[]): T[]", "description": "Combines two or more arrays.", "type": "method" }, "join": { "signature": "join(separator?: string): string", "description": "Joins all elements into a string.", "type": "method" }, "slice": { "signature": "slice(start?: number, end?: number): T[]", "description": "Returns a section of an array.", "type": "method" }, "indexOf": { "signature": "indexOf(searchElement: T, fromIndex?: number): number", "description": "Returns the first index of the element, or -1.", "type": "method" }, "includes": { "signature": "includes(searchElement: T, fromIndex?: number): boolean", "description": "Determines whether the array includes a certain element.", "type": "method" }, "map": { "signature": "map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U): U[]", "description": "Calls a function on each element and returns a new array.", "type": "method" }, "filter": { "signature": "filter(predicate: (value: T, index: number) => boolean): T[]", "description": "Returns elements that meet the condition.", "type": "method" }, "reduce": { "signature": "reduce<U>(callbackfn: (prev: U, cur: T, idx: number) => U, initialValue: U): U", "description": "Reduces the array to a single value.", "type": "method" }, "find": { "signature": "find(predicate: (value: T, index: number) => boolean): T | undefined", "description": "Returns the first element satisfying the predicate.", "type": "method" }, "every": { "signature": "every(predicate: (value: T, index: number) => boolean): boolean", "description": "Tests whether all elements pass the predicate.", "type": "method" }, "some": { "signature": "some(predicate: (value: T, index: number) => boolean): boolean", "description": "Tests whether any element passes the predicate.", "type": "method" } } },
25
+ "Promise": { "signature": "interface Promise<T>", "description": "Represents the eventual completion or failure of an asynchronous operation. Inherits all JavaScript Promise features with full type safety.", "type": "interface", "module": "lib.es2015.promise.d.ts", "members": { "then": { "signature": "then<TResult1 = T, TResult2 = never>(onfulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>): Promise<TResult1 | TResult2>", "description": "Attaches callbacks for resolution and/or rejection.", "type": "method" }, "catch": { "signature": "catch<TResult = never>(onrejected?: (reason: any) => TResult | PromiseLike<TResult>): Promise<T | TResult>", "description": "Attaches a callback for rejection only.", "type": "method" }, "finally": { "signature": "finally(onfinally?: (() => void) | null): Promise<T>", "description": "Attaches a callback invoked when the Promise is settled.", "type": "method" } } },
26
+ "Disposable": { "signature": "interface Disposable { [Symbol.dispose](): void }", "description": "TypeScript 5.2+ — Interface for the using declaration. Implement Symbol.dispose for automatic cleanup.", "type": "interface", "module": "lib.esnext.disposable.d.ts" },
27
+ "AsyncDisposable": { "signature": "interface AsyncDisposable { [Symbol.asyncDispose](): PromiseLike<void> }", "description": "TypeScript 5.2+ — Interface for the await using declaration. Implement Symbol.asyncDispose for async resource cleanup.", "type": "interface", "module": "lib.esnext.disposable.d.ts" }
28
+ }
29
+ }
@@ -0,0 +1,197 @@
1
+ {
2
+ "language": "yaml",
3
+ "definitions": {
4
+ "mapping": {
5
+ "signature": "key: value",
6
+ "description": "A YAML mapping associates keys with values. Keys must be unique within a mapping. Mappings are also known as dictionaries, hashes, or objects in other languages.",
7
+ "type": "structure",
8
+ "module": "YAML 1.2"
9
+ },
10
+ "sequence": {
11
+ "signature": "- item",
12
+ "description": "A YAML sequence is an ordered list of values. Each item is prefixed with a dash and a space. Sequences are also known as arrays or lists.",
13
+ "type": "structure",
14
+ "module": "YAML 1.2"
15
+ },
16
+ "scalar": {
17
+ "signature": "value",
18
+ "description": "A YAML scalar is a single value such as a string, number, or boolean. Scalars can be plain (unquoted), single-quoted, or double-quoted.",
19
+ "type": "structure",
20
+ "module": "YAML 1.2"
21
+ },
22
+ "string": {
23
+ "signature": "!!str value",
24
+ "description": "A YAML string is a sequence of Unicode characters. Strings can be plain, single-quoted ('...'), or double-quoted (\"...\"). Double-quoted strings support escape sequences.",
25
+ "type": "data_type",
26
+ "module": "YAML 1.2 Core Schema"
27
+ },
28
+ "integer": {
29
+ "signature": "!!int 42",
30
+ "description": "A YAML integer represents whole numbers. Supports decimal (42), octal (0o52), and hexadecimal (0x2A) notations.",
31
+ "type": "data_type",
32
+ "module": "YAML 1.2 Core Schema"
33
+ },
34
+ "float": {
35
+ "signature": "!!float 3.14",
36
+ "description": "A YAML float represents floating-point numbers. Supports fixed (3.14), exponential (3.14e+0), positive infinity (.inf), negative infinity (-.inf), and not-a-number (.nan).",
37
+ "type": "data_type",
38
+ "module": "YAML 1.2 Core Schema"
39
+ },
40
+ "boolean": {
41
+ "signature": "!!bool true",
42
+ "description": "A YAML boolean represents a true or false value. In YAML 1.2 core schema, only 'true' and 'false' are recognized. YAML 1.1 also accepted 'yes', 'no', 'on', 'off'.",
43
+ "type": "data_type",
44
+ "module": "YAML 1.2 Core Schema"
45
+ },
46
+ "null": {
47
+ "signature": "!!null ~",
48
+ "description": "A YAML null represents the absence of a value. Can be expressed as 'null', '~', or by leaving the value empty after the colon.",
49
+ "type": "data_type",
50
+ "module": "YAML 1.2 Core Schema"
51
+ },
52
+ "timestamp": {
53
+ "signature": "!!timestamp 2026-01-01T00:00:00Z",
54
+ "description": "A YAML timestamp represents a date and time value in ISO 8601 format. Supports full datetime, date-only (YYYY-MM-DD), and various timezone formats.",
55
+ "type": "data_type",
56
+ "module": "YAML 1.1 / Custom Tag"
57
+ },
58
+ "binary": {
59
+ "signature": "!!binary | base64data",
60
+ "description": "A YAML binary value holds base64-encoded binary data using the !!binary tag. Used for embedding files or binary content in YAML documents.",
61
+ "type": "data_type",
62
+ "module": "YAML 1.1 / Custom Tag"
63
+ },
64
+ "anchor": {
65
+ "signature": "&anchor_name value",
66
+ "description": "A YAML anchor marks a node with the '&' prefix so it can be referenced later by an alias. Anchors allow reusing the same data without duplication.",
67
+ "type": "directive",
68
+ "module": "YAML 1.2"
69
+ },
70
+ "alias": {
71
+ "signature": "*anchor_name",
72
+ "description": "A YAML alias references a previously anchored node using the '*' prefix. The alias resolves to the same value as the anchored node.",
73
+ "type": "directive",
74
+ "module": "YAML 1.2"
75
+ },
76
+ "merge_key": {
77
+ "signature": "<<: *anchor",
78
+ "description": "The merge key '<<' merges keys from one or more mappings into the current mapping. Commonly used with anchors and aliases to share common configuration.",
79
+ "type": "directive",
80
+ "module": "YAML 1.1 Merge Key Extension"
81
+ },
82
+ "document_start": {
83
+ "signature": "---",
84
+ "description": "The document start marker '---' indicates the beginning of a new YAML document. Required when a stream contains multiple documents.",
85
+ "type": "directive",
86
+ "module": "YAML 1.2"
87
+ },
88
+ "document_end": {
89
+ "signature": "...",
90
+ "description": "The document end marker '...' indicates the end of a YAML document without starting a new one. Optional in single-document streams.",
91
+ "type": "directive",
92
+ "module": "YAML 1.2"
93
+ },
94
+ "comment": {
95
+ "signature": "# comment text",
96
+ "description": "A YAML comment begins with '#' and continues to the end of the line. Comments are ignored by parsers and are used for documentation.",
97
+ "type": "structure",
98
+ "module": "YAML 1.2"
99
+ },
100
+ "literal_block_scalar": {
101
+ "signature": "key: |",
102
+ "description": "A literal block scalar preserves newlines in multi-line strings. Each line break within the block is kept as a literal newline character. Indicated by the '|' character.",
103
+ "type": "structure",
104
+ "module": "YAML 1.2"
105
+ },
106
+ "folded_block_scalar": {
107
+ "signature": "key: >",
108
+ "description": "A folded block scalar folds newlines into spaces for multi-line strings. Single newlines become spaces; blank lines become newlines. Indicated by the '>' character.",
109
+ "type": "structure",
110
+ "module": "YAML 1.2"
111
+ },
112
+ "chomp_strip": {
113
+ "signature": "|- or >-",
114
+ "description": "The strip chomping indicator '-' removes all trailing newlines from the block scalar. Used with literal '|-' or folded '>-' block scalars.",
115
+ "type": "directive",
116
+ "module": "YAML 1.2"
117
+ },
118
+ "chomp_keep": {
119
+ "signature": "|+ or >+",
120
+ "description": "The keep chomping indicator '+' preserves all trailing newlines in the block scalar. Used with literal '|+' or folded '>+' block scalars.",
121
+ "type": "directive",
122
+ "module": "YAML 1.2"
123
+ },
124
+ "flow_sequence": {
125
+ "signature": "[item1, item2, item3]",
126
+ "description": "A flow sequence is an inline, compact representation of a YAML sequence using square brackets and comma-separated values.",
127
+ "type": "structure",
128
+ "module": "YAML 1.2"
129
+ },
130
+ "flow_mapping": {
131
+ "signature": "{key1: val1, key2: val2}",
132
+ "description": "A flow mapping is an inline, compact representation of a YAML mapping using curly braces with comma-separated key-value pairs.",
133
+ "type": "structure",
134
+ "module": "YAML 1.2"
135
+ },
136
+ "tag": {
137
+ "signature": "!!type value",
138
+ "description": "A YAML tag explicitly specifies the data type of a node using the '!!' prefix. Common tags include !!str, !!int, !!float, !!bool, !!null, !!binary, !!seq, and !!map.",
139
+ "type": "directive",
140
+ "module": "YAML 1.2"
141
+ },
142
+ "directive_yaml": {
143
+ "signature": "%YAML 1.2",
144
+ "description": "The %YAML directive specifies the YAML version for the document. Must appear before the document start marker '---'.",
145
+ "type": "directive",
146
+ "module": "YAML 1.2"
147
+ },
148
+ "directive_tag": {
149
+ "signature": "%TAG !prefix! tag:uri:",
150
+ "description": "The %TAG directive defines a shorthand prefix for tag URIs, allowing abbreviated tag notation throughout the document.",
151
+ "type": "directive",
152
+ "module": "YAML 1.2"
153
+ },
154
+ "complex_key": {
155
+ "signature": "? key\n: value",
156
+ "description": "A complex key uses the '?' indicator to allow multi-line or non-string keys in a YAML mapping. The key can be any valid YAML node.",
157
+ "type": "structure",
158
+ "module": "YAML 1.2"
159
+ },
160
+ "set": {
161
+ "signature": "!!set { item1, item2 }",
162
+ "description": "A YAML set is an unordered collection of unique values represented as a mapping with null values. Uses the !!set tag.",
163
+ "type": "data_type",
164
+ "module": "YAML 1.1 / Custom Tag"
165
+ },
166
+ "ordered_map": {
167
+ "signature": "!!omap [ {key: value} ]",
168
+ "description": "A YAML ordered map is a sequence of key-value pairs where the order is significant. Uses the !!omap tag.",
169
+ "type": "data_type",
170
+ "module": "YAML 1.1 / Custom Tag"
171
+ },
172
+ "kubernetes_resource": {
173
+ "signature": "apiVersion/kind/metadata/spec",
174
+ "description": "A Kubernetes resource manifest follows a standard structure with apiVersion, kind, metadata (name, namespace, labels), and spec fields.",
175
+ "type": "schema_pattern",
176
+ "module": "Kubernetes API"
177
+ },
178
+ "docker_compose_service": {
179
+ "signature": "services.<name>.image/build/ports/volumes",
180
+ "description": "A Docker Compose service defines a container with its image, build config, port mappings, volume mounts, environment, networks, and dependencies.",
181
+ "type": "schema_pattern",
182
+ "module": "Docker Compose"
183
+ },
184
+ "github_actions_workflow": {
185
+ "signature": "name/on/jobs",
186
+ "description": "A GitHub Actions workflow defines automation with a name, trigger events (on), and a set of jobs each containing steps to execute.",
187
+ "type": "schema_pattern",
188
+ "module": "GitHub Actions"
189
+ },
190
+ "cicd_pipeline": {
191
+ "signature": "stages/jobs/script",
192
+ "description": "A CI/CD pipeline definition typically includes stages (build, test, deploy), jobs assigned to stages, and scripts to execute within each job.",
193
+ "type": "schema_pattern",
194
+ "module": "CI/CD (GitLab CI, etc.)"
195
+ }
196
+ }
197
+ }