@enjoys/context-engine 1.2.0 → 1.4.1
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/data/codeActions/angular.json +126 -0
- package/data/codeActions/css.json +111 -0
- package/data/codeActions/nestjs.json +124 -0
- package/data/codeActions/nextjs.json +198 -0
- package/data/codeActions/react.json +154 -0
- package/data/codeActions/shadcn.json +112 -0
- package/data/codeActions/shell.json +169 -26
- package/data/codeActions/tailwindcss.json +76 -0
- package/data/codeLens/angular.json +22 -0
- package/data/codeLens/css.json +68 -0
- package/data/codeLens/nestjs.json +21 -0
- package/data/codeLens/nextjs.json +117 -0
- package/data/codeLens/react.json +89 -0
- package/data/codeLens/shadcn.json +89 -0
- package/data/codeLens/shell.json +59 -17
- package/data/codeLens/tailwindcss.json +103 -0
- package/data/color/angular.json +21 -0
- package/data/color/css.json +124 -0
- package/data/color/nestjs.json +18 -0
- package/data/color/nextjs.json +22 -0
- package/data/color/react.json +93 -0
- package/data/color/shadcn.json +66 -0
- package/data/color/shell.json +106 -80
- package/data/color/tailwindcss.json +53 -0
- package/data/commands/angular.json +312 -0
- package/data/commands/css.json +41 -0
- package/data/commands/manifest.json +734 -727
- package/data/commands/nestjs.json +273 -0
- package/data/commands/nextjs.json +123 -0
- package/data/commands/react.json +210 -0
- package/data/commands/shadcn.json +410 -0
- package/data/commands/shell.json +571 -41
- package/data/commands/tailwindcss.json +53 -0
- package/data/completion/angular.json +1490 -0
- package/data/completion/css.json +1176 -0
- package/data/completion/javascript.json +27 -0
- package/data/completion/nestjs.json +1454 -0
- package/data/completion/nextjs.json +1373 -0
- package/data/completion/react.json +1319 -0
- package/data/completion/redis-cli.json +1 -1
- package/data/completion/shadcn.json +1202 -0
- package/data/completion/shell.json +2446 -510
- package/data/completion/tailwindcss.json +284 -0
- package/data/completion/typescript.json +27 -0
- package/data/declaration/angular.json +46 -0
- package/data/declaration/css.json +59 -0
- package/data/declaration/nestjs.json +47 -0
- package/data/declaration/nextjs.json +274 -0
- package/data/declaration/react.json +199 -0
- package/data/declaration/shadcn.json +211 -0
- package/data/declaration/shell.json +343 -24
- package/data/declaration/tailwindcss.json +137 -0
- package/data/definition/angular.json +670 -0
- package/data/definition/css.json +115 -0
- package/data/definition/nestjs.json +684 -0
- package/data/definition/nextjs.json +439 -0
- package/data/definition/react.json +397 -0
- package/data/definition/redis-cli.json +1 -1
- package/data/definition/shadcn.json +99 -0
- package/data/definition/shell.json +820 -0
- package/data/definition/tailwindcss.json +115 -0
- package/data/documentHighlight/angular.json +414 -0
- package/data/documentHighlight/css.json +125 -0
- package/data/documentHighlight/nestjs.json +115 -0
- package/data/documentHighlight/nextjs.json +212 -0
- package/data/documentHighlight/react.json +119 -0
- package/data/documentHighlight/shadcn.json +168 -0
- package/data/documentHighlight/shell.json +664 -334
- package/data/documentHighlight/tailwindcss.json +160 -0
- package/data/documentRangeFormatting/angular.json +45 -0
- package/data/documentRangeFormatting/css.json +101 -0
- package/data/documentRangeFormatting/nestjs.json +17 -0
- package/data/documentRangeFormatting/nextjs.json +17 -0
- package/data/documentRangeFormatting/react.json +78 -0
- package/data/documentRangeFormatting/shadcn.json +45 -0
- package/data/documentRangeFormatting/shell.json +120 -53
- package/data/documentRangeFormatting/tailwindcss.json +55 -0
- package/data/documentSymbol/angular.json +180 -0
- package/data/documentSymbol/css.json +96 -0
- package/data/documentSymbol/nestjs.json +152 -0
- package/data/documentSymbol/nextjs.json +159 -0
- package/data/documentSymbol/react.json +145 -0
- package/data/documentSymbol/shadcn.json +131 -0
- package/data/documentSymbol/shell.json +166 -26
- package/data/documentSymbol/tailwindcss.json +110 -0
- package/data/foldingRange/angular.json +99 -0
- package/data/foldingRange/css.json +66 -0
- package/data/foldingRange/nestjs.json +26 -0
- package/data/foldingRange/nextjs.json +26 -0
- package/data/foldingRange/react.json +120 -0
- package/data/foldingRange/shadcn.json +93 -0
- package/data/foldingRange/shell.json +106 -46
- package/data/foldingRange/tailwindcss.json +60 -0
- package/data/formatting/angular.json +21 -0
- package/data/formatting/css.json +73 -0
- package/data/formatting/nestjs.json +23 -0
- package/data/formatting/nextjs.json +23 -0
- package/data/formatting/react.json +71 -0
- package/data/formatting/shadcn.json +61 -0
- package/data/formatting/shell.json +103 -19
- package/data/formatting/tailwindcss.json +48 -0
- package/data/hover/angular.json +455 -0
- package/data/hover/css.json +300 -0
- package/data/hover/nestjs.json +296 -0
- package/data/hover/nextjs.json +305 -0
- package/data/hover/react.json +173 -0
- package/data/hover/redis-cli.json +1 -1
- package/data/hover/shadcn.json +450 -0
- package/data/hover/shell.json +684 -75
- package/data/hover/tailwindcss.json +968 -0
- package/data/implementation/angular.json +22 -0
- package/data/implementation/css.json +65 -0
- package/data/implementation/nestjs.json +24 -0
- package/data/implementation/nextjs.json +137 -0
- package/data/implementation/react.json +125 -0
- package/data/implementation/shadcn.json +89 -0
- package/data/implementation/shell.json +59 -3
- package/data/implementation/tailwindcss.json +59 -0
- package/data/inlayHints/angular.json +24 -0
- package/data/inlayHints/css.json +87 -0
- package/data/inlayHints/nestjs.json +24 -0
- package/data/inlayHints/nextjs.json +143 -0
- package/data/inlayHints/react.json +177 -0
- package/data/inlayHints/shadcn.json +109 -0
- package/data/inlayHints/shell.json +223 -35
- package/data/inlayHints/tailwindcss.json +111 -0
- package/data/inlineCompletions/angular.json +135 -0
- package/data/inlineCompletions/css.json +125 -0
- package/data/inlineCompletions/javascript.json +12 -0
- package/data/inlineCompletions/nestjs.json +25 -0
- package/data/inlineCompletions/nextjs.json +179 -0
- package/data/inlineCompletions/react.json +203 -0
- package/data/inlineCompletions/shadcn.json +115 -0
- package/data/inlineCompletions/shell.json +185 -35
- package/data/inlineCompletions/tailwindcss.json +411 -0
- package/data/inlineCompletions/typescript.json +12 -0
- package/data/linkedEditingRange/angular.json +23 -0
- package/data/linkedEditingRange/css.json +40 -0
- package/data/linkedEditingRange/nestjs.json +10 -0
- package/data/linkedEditingRange/nextjs.json +11 -0
- package/data/linkedEditingRange/react.json +75 -0
- package/data/linkedEditingRange/shadcn.json +23 -0
- package/data/linkedEditingRange/shell.json +25 -25
- package/data/linkedEditingRange/tailwindcss.json +30 -0
- package/data/links/angular.json +95 -0
- package/data/links/css.json +55 -0
- package/data/links/nestjs.json +130 -0
- package/data/links/nextjs.json +91 -0
- package/data/links/react.json +75 -0
- package/data/links/shadcn.json +98 -0
- package/data/links/shell.json +56 -0
- package/data/links/tailwindcss.json +65 -0
- package/data/manifest.json +399 -150
- package/data/onTypeFormatting/angular.json +14 -0
- package/data/onTypeFormatting/css.json +82 -0
- package/data/onTypeFormatting/nestjs.json +16 -0
- package/data/onTypeFormatting/nextjs.json +17 -0
- package/data/onTypeFormatting/react.json +127 -0
- package/data/onTypeFormatting/shadcn.json +54 -0
- package/data/onTypeFormatting/shell.json +72 -68
- package/data/onTypeFormatting/tailwindcss.json +63 -0
- package/data/rangeSemanticTokens/angular.json +140 -0
- package/data/rangeSemanticTokens/css.json +125 -0
- package/data/rangeSemanticTokens/nestjs.json +27 -0
- package/data/rangeSemanticTokens/nextjs.json +28 -0
- package/data/rangeSemanticTokens/react.json +216 -0
- package/data/rangeSemanticTokens/shadcn.json +140 -0
- package/data/rangeSemanticTokens/shell.json +247 -69
- package/data/rangeSemanticTokens/tailwindcss.json +186 -0
- package/data/references/angular.json +26 -0
- package/data/references/css.json +65 -0
- package/data/references/nestjs.json +24 -0
- package/data/references/nextjs.json +178 -0
- package/data/references/react.json +192 -0
- package/data/references/shadcn.json +101 -0
- package/data/references/shell.json +323 -92
- package/data/references/tailwindcss.json +125 -0
- package/data/rename/angular.json +131 -0
- package/data/rename/css.json +91 -0
- package/data/rename/nestjs.json +32 -0
- package/data/rename/nextjs.json +31 -0
- package/data/rename/react.json +88 -0
- package/data/rename/shadcn.json +79 -0
- package/data/rename/shell.json +101 -31
- package/data/rename/tailwindcss.json +58 -0
- package/data/selectionRange/angular.json +95 -0
- package/data/selectionRange/css.json +55 -0
- package/data/selectionRange/nestjs.json +21 -0
- package/data/selectionRange/nextjs.json +22 -0
- package/data/selectionRange/react.json +87 -0
- package/data/selectionRange/shadcn.json +89 -0
- package/data/selectionRange/shell.json +65 -35
- package/data/selectionRange/tailwindcss.json +35 -0
- package/data/semanticTokens/angular.json +198 -0
- package/data/semanticTokens/css.json +107 -0
- package/data/semanticTokens/nestjs.json +35 -0
- package/data/semanticTokens/nextjs.json +38 -0
- package/data/semanticTokens/react.json +215 -0
- package/data/semanticTokens/shadcn.json +180 -0
- package/data/semanticTokens/shell.json +238 -65
- package/data/semanticTokens/tailwindcss.json +161 -0
- package/data/signatureHelp/angular.json +182 -0
- package/data/signatureHelp/css.json +137 -0
- package/data/signatureHelp/nestjs.json +128 -0
- package/data/signatureHelp/nextjs.json +127 -0
- package/data/signatureHelp/react.json +281 -0
- package/data/signatureHelp/shadcn.json +237 -0
- package/data/signatureHelp/shell.json +797 -104
- package/data/signatureHelp/tailwindcss.json +64 -0
- package/data/typeDefinition/angular.json +362 -0
- package/data/typeDefinition/css.json +53 -0
- package/data/typeDefinition/nestjs.json +334 -0
- package/data/typeDefinition/nextjs.json +285 -0
- package/data/typeDefinition/react.json +236 -0
- package/data/typeDefinition/shadcn.json +292 -0
- package/data/typeDefinition/shell.json +104 -40
- package/data/typeDefinition/tailwindcss.json +47 -0
- package/package.json +1 -1
- package/data/codeActions/bash.json +0 -169
- package/data/codeActions/zsh.json +0 -49
- package/data/codeLens/bash.json +0 -75
- package/data/codeLens/zsh.json +0 -19
- package/data/color/bash.json +0 -100
- package/data/color/zsh.json +0 -80
- package/data/commands/bash.json +0 -102
- package/data/commands/zsh.json +0 -166
- package/data/completion/bash.json +0 -1184
- package/data/completion/zsh.json +0 -973
- package/data/declaration/bash.json +0 -301
- package/data/declaration/zsh.json +0 -205
- package/data/definition/bash.json +0 -565
- package/data/definition/zsh.json +0 -350
- package/data/documentHighlight/bash.json +0 -393
- package/data/documentHighlight/zsh.json +0 -266
- package/data/documentRangeFormatting/bash.json +0 -41
- package/data/documentRangeFormatting/zsh.json +0 -59
- package/data/documentSymbol/bash.json +0 -124
- package/data/documentSymbol/zsh.json +0 -26
- package/data/foldingRange/bash.json +0 -76
- package/data/foldingRange/zsh.json +0 -46
- package/data/formatting/bash.json +0 -88
- package/data/formatting/zsh.json +0 -28
- package/data/hover/bash.json +0 -579
- package/data/hover/zsh.json +0 -96
- package/data/implementation/bash.json +0 -44
- package/data/implementation/zsh.json +0 -41
- package/data/inlayHints/bash.json +0 -207
- package/data/inlayHints/zsh.json +0 -43
- package/data/inlineCompletions/bash.json +0 -155
- package/data/inlineCompletions/zsh.json +0 -17
- package/data/linkedEditingRange/bash.json +0 -25
- package/data/linkedEditingRange/zsh.json +0 -25
- package/data/links/bash.json +0 -56
- package/data/links/zsh.json +0 -15
- package/data/onTypeFormatting/bash.json +0 -68
- package/data/onTypeFormatting/zsh.json +0 -68
- package/data/rangeSemanticTokens/bash.json +0 -90
- package/data/rangeSemanticTokens/zsh.json +0 -76
- package/data/references/bash.json +0 -221
- package/data/references/zsh.json +0 -166
- package/data/rename/bash.json +0 -37
- package/data/rename/zsh.json +0 -31
- package/data/selectionRange/bash.json +0 -35
- package/data/selectionRange/zsh.json +0 -35
- package/data/semanticTokens/bash.json +0 -71
- package/data/semanticTokens/zsh.json +0 -71
- package/data/signatureHelp/bash.json +0 -111
- package/data/signatureHelp/zsh.json +0 -118
- package/data/typeDefinition/bash.json +0 -95
- package/data/typeDefinition/zsh.json +0 -40
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "css",
|
|
3
|
+
"signatures": [
|
|
4
|
+
{
|
|
5
|
+
"label": "calc(expression)",
|
|
6
|
+
"documentation": "Performs mathematical calculations for CSS property values. Supports +, -, *, / operators. Can mix different units (px, %, rem, vw, vh, em). Spaces required around + and - operators.",
|
|
7
|
+
"parameters": [
|
|
8
|
+
{ "label": "expression", "documentation": "A mathematical expression using +, -, *, / operators. Can mix units: calc(100% - 2rem), calc(1rem + 0.5vw), calc(var(--x) * 2)." }
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"label": "var(--custom-property, fallback)",
|
|
13
|
+
"documentation": "Substitutes the value of a CSS custom property. Custom properties must start with --. Falls back to the second argument if the property is undefined or invalid.",
|
|
14
|
+
"parameters": [
|
|
15
|
+
{ "label": "--custom-property", "documentation": "The name of the CSS custom property to reference. Must include the -- prefix (e.g., --primary-color, --spacing-unit)." },
|
|
16
|
+
{ "label": "fallback", "documentation": "Optional fallback value used when the custom property is not defined. Can itself contain var() references." }
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"label": "min(value1, value2, ...)",
|
|
21
|
+
"documentation": "Returns the smallest of the comma-separated values. Useful for responsive sizing: min(100%, 600px) ensures an element never exceeds 600px.",
|
|
22
|
+
"parameters": [
|
|
23
|
+
{ "label": "value1", "documentation": "First value to compare. Can be any CSS length, percentage, or calc() expression." },
|
|
24
|
+
{ "label": "value2", "documentation": "Second value (and more) to compare against. Accepts the same types as value1." }
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"label": "max(value1, value2, ...)",
|
|
29
|
+
"documentation": "Returns the largest of the comma-separated values. Useful for minimum sizing: max(300px, 50%) ensures at least 300px wide.",
|
|
30
|
+
"parameters": [
|
|
31
|
+
{ "label": "value1", "documentation": "First value to compare." },
|
|
32
|
+
{ "label": "value2", "documentation": "Second value (and more) to compare against." }
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"label": "clamp(min, preferred, max)",
|
|
37
|
+
"documentation": "Clamps a value between a minimum and maximum bound. Equivalent to max(MIN, min(VAL, MAX)). Ideal for fluid typography and responsive sizing.",
|
|
38
|
+
"parameters": [
|
|
39
|
+
{ "label": "min", "documentation": "The minimum allowed value. The result will never be smaller than this." },
|
|
40
|
+
{ "label": "preferred", "documentation": "The preferred/ideal value that will be used if it falls between min and max. Often uses viewport units (vw)." },
|
|
41
|
+
{ "label": "max", "documentation": "The maximum allowed value. The result will never be larger than this." }
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"label": "rgb(red, green, blue)",
|
|
46
|
+
"documentation": "Specifies a color using the RGB color model. Each channel accepts an integer (0–255) or percentage (0%–100%). Modern syntax uses spaces instead of commas with optional alpha: rgb(R G B / alpha).",
|
|
47
|
+
"parameters": [
|
|
48
|
+
{ "label": "red", "documentation": "Red channel: 0–255 or 0%–100%." },
|
|
49
|
+
{ "label": "green", "documentation": "Green channel: 0–255 or 0%–100%." },
|
|
50
|
+
{ "label": "blue", "documentation": "Blue channel: 0–255 or 0%–100%." }
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"label": "hsl(hue, saturation, lightness)",
|
|
55
|
+
"documentation": "Specifies a color using the HSL color model. More intuitive than RGB for color manipulation. Modern syntax uses spaces: hsl(H S L / alpha).",
|
|
56
|
+
"parameters": [
|
|
57
|
+
{ "label": "hue", "documentation": "Hue angle: 0–360 (0/360=red, 120=green, 240=blue). Accepts deg, rad, grad, turn units." },
|
|
58
|
+
{ "label": "saturation", "documentation": "Saturation: 0% (gray) to 100% (full color)." },
|
|
59
|
+
{ "label": "lightness", "documentation": "Lightness: 0% (black) to 50% (pure color) to 100% (white)." }
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"label": "oklch(lightness, chroma, hue)",
|
|
64
|
+
"documentation": "Specifies a color in the OKLCH perceptually uniform color space (CSS Color Level 4). Better for generating consistent palettes than HSL.",
|
|
65
|
+
"parameters": [
|
|
66
|
+
{ "label": "lightness", "documentation": "Perceptual lightness: 0 (black) to 1 (white), or 0%–100%." },
|
|
67
|
+
{ "label": "chroma", "documentation": "Chroma (colorfulness): 0 (gray) to ~0.4 (most vivid). Not bounded like saturation." },
|
|
68
|
+
{ "label": "hue", "documentation": "Hue angle: 0–360. Similar to HSL hue but perceptually uniform." }
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"label": "linear-gradient(direction, color-stop1, color-stop2, ...)",
|
|
73
|
+
"documentation": "Creates a linear gradient image transitioning between two or more colors along a straight line.",
|
|
74
|
+
"parameters": [
|
|
75
|
+
{ "label": "direction", "documentation": "Gradient direction: angle (e.g., 45deg, 135deg) or keyword (to top, to right, to bottom left). Default: to bottom (180deg)." },
|
|
76
|
+
{ "label": "color-stop1", "documentation": "First color and optional position: color [percentage/length]. E.g., #ff0000 0%, red 50px." },
|
|
77
|
+
{ "label": "color-stop2", "documentation": "Subsequent color stops. Multiple stops create multi-color gradients." }
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"label": "radial-gradient(shape size at position, color-stop1, color-stop2, ...)",
|
|
82
|
+
"documentation": "Creates a radial (circular/elliptical) gradient image radiating from an origin point.",
|
|
83
|
+
"parameters": [
|
|
84
|
+
{ "label": "shape", "documentation": "Shape: circle or ellipse (default). Affects how the gradient radiates." },
|
|
85
|
+
{ "label": "size", "documentation": "Size keyword: closest-side, closest-corner, farthest-side, farthest-corner (default). Or explicit radius." },
|
|
86
|
+
{ "label": "position", "documentation": "Center position: default is center center. Accepts lengths, percentages, or keywords (top, left, etc.)." },
|
|
87
|
+
{ "label": "color-stops", "documentation": "Two or more color stops with optional position percentages." }
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"label": "url(path)",
|
|
92
|
+
"documentation": "References an external resource by URL. Used for images, fonts, stylesheets, cursors, and other assets.",
|
|
93
|
+
"parameters": [
|
|
94
|
+
{ "label": "path", "documentation": "URL string — can be absolute, relative, or data URI. Quotes are optional but recommended for URLs with special characters." }
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"label": "env(variable, fallback)",
|
|
99
|
+
"documentation": "Accesses environment variables defined by the user agent. Commonly used for safe area insets on mobile devices.",
|
|
100
|
+
"parameters": [
|
|
101
|
+
{ "label": "variable", "documentation": "Environment variable name: safe-area-inset-top, safe-area-inset-right, safe-area-inset-bottom, safe-area-inset-left, titlebar-area-x, titlebar-area-y, titlebar-area-width, titlebar-area-height." },
|
|
102
|
+
{ "label": "fallback", "documentation": "Optional fallback value if the environment variable is not available." }
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"label": "translate(x, y)",
|
|
107
|
+
"documentation": "CSS transform function that repositions an element along the X and Y axes. Does not affect document flow.",
|
|
108
|
+
"parameters": [
|
|
109
|
+
{ "label": "x", "documentation": "Horizontal offset: length or percentage. Positive moves right." },
|
|
110
|
+
{ "label": "y", "documentation": "Optional vertical offset: length or percentage. Positive moves down. If omitted, defaults to 0." }
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"label": "rotate(angle)",
|
|
115
|
+
"documentation": "CSS transform function that rotates an element around its transform-origin point.",
|
|
116
|
+
"parameters": [
|
|
117
|
+
{ "label": "angle", "documentation": "Rotation angle. Accepts deg, rad, grad, turn units. Positive = clockwise, negative = counter-clockwise." }
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"label": "scale(x, y)",
|
|
122
|
+
"documentation": "CSS transform function that resizes an element along the X and Y axes.",
|
|
123
|
+
"parameters": [
|
|
124
|
+
{ "label": "x", "documentation": "Horizontal scale factor: 1 = original size, 2 = double, 0.5 = half." },
|
|
125
|
+
{ "label": "y", "documentation": "Optional vertical scale factor. If omitted, defaults to the same value as x (uniform scaling)." }
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"label": "attr(attribute-name)",
|
|
130
|
+
"documentation": "Returns the value of an HTML attribute of the selected element. Currently only works reliably in the content property of pseudo-elements in most browsers.",
|
|
131
|
+
"parameters": [
|
|
132
|
+
{ "label": "attribute-name", "documentation": "The name of the HTML attribute to retrieve (e.g., data-label, href, title)." }
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"triggerCharacters": ["("]
|
|
137
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "nestjs",
|
|
3
|
+
"signatureHelp": {
|
|
4
|
+
"triggerCharacters": ["(", ",", "<"],
|
|
5
|
+
"retriggerCharacters": [","],
|
|
6
|
+
"signatures": [
|
|
7
|
+
{
|
|
8
|
+
"label": "NestFactory.create(module: Type, options?: NestApplicationOptions): Promise<INestApplication>",
|
|
9
|
+
"documentation": "Creates a new NestJS application instance from the given root module.",
|
|
10
|
+
"parameters": [
|
|
11
|
+
{ "label": "module: Type", "documentation": "The root module class (usually AppModule)." },
|
|
12
|
+
{ "label": "options?: NestApplicationOptions", "documentation": "Optional application settings: cors, bodyParser, httpsOptions, logger." }
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"label": "app.listen(port: number, hostname?: string): Promise<void>",
|
|
17
|
+
"documentation": "Starts the HTTP server listening on the specified port.",
|
|
18
|
+
"parameters": [
|
|
19
|
+
{ "label": "port: number", "documentation": "The port number to listen on." },
|
|
20
|
+
{ "label": "hostname?: string", "documentation": "Optional hostname to bind to (default: all interfaces)." }
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"label": "app.useGlobalPipes(...pipes: PipeTransform[]): void",
|
|
25
|
+
"documentation": "Registers global pipes that apply to every route handler.",
|
|
26
|
+
"parameters": [
|
|
27
|
+
{ "label": "...pipes: PipeTransform[]", "documentation": "Pipe instances to register globally. Common: new ValidationPipe()." }
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"label": "app.useGlobalGuards(...guards: CanActivate[]): void",
|
|
32
|
+
"documentation": "Registers global guards that apply to every route.",
|
|
33
|
+
"parameters": [
|
|
34
|
+
{ "label": "...guards: CanActivate[]", "documentation": "Guard instances to register globally." }
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"label": "app.useGlobalInterceptors(...interceptors: NestInterceptor[]): void",
|
|
39
|
+
"documentation": "Registers global interceptors.",
|
|
40
|
+
"parameters": [
|
|
41
|
+
{ "label": "...interceptors: NestInterceptor[]", "documentation": "Interceptor instances to register globally." }
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"label": "app.useGlobalFilters(...filters: ExceptionFilter[]): void",
|
|
46
|
+
"documentation": "Registers global exception filters.",
|
|
47
|
+
"parameters": [
|
|
48
|
+
{ "label": "...filters: ExceptionFilter[]", "documentation": "Exception filter instances to register globally." }
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"label": "app.enableCors(options?: CorsOptions): void",
|
|
53
|
+
"documentation": "Enables Cross-Origin Resource Sharing (CORS).",
|
|
54
|
+
"parameters": [
|
|
55
|
+
{ "label": "options?: CorsOptions", "documentation": "CORS configuration options: origin, methods, allowedHeaders, credentials." }
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"label": "ConfigService.get<T>(propertyPath: string, defaultValue?: T): T",
|
|
60
|
+
"documentation": "Retrieves a configuration value by path. Supports dot notation for nested values.",
|
|
61
|
+
"parameters": [
|
|
62
|
+
{ "label": "propertyPath: string", "documentation": "The configuration property path (e.g., 'database.host')." },
|
|
63
|
+
{ "label": "defaultValue?: T", "documentation": "Default value if the property is not found." }
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"label": "TypeOrmModule.forRoot(options?: TypeOrmModuleOptions): DynamicModule",
|
|
68
|
+
"documentation": "Registers TypeORM with the provided connection options.",
|
|
69
|
+
"parameters": [
|
|
70
|
+
{ "label": "options?: TypeOrmModuleOptions", "documentation": "Database connection options: type, host, port, username, password, database, entities, synchronize." }
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"label": "TypeOrmModule.forFeature(entities: EntityClassOrSchema[]): DynamicModule",
|
|
75
|
+
"documentation": "Registers the given entities for use in the current module scope.",
|
|
76
|
+
"parameters": [
|
|
77
|
+
{ "label": "entities: EntityClassOrSchema[]", "documentation": "Array of entity classes to register as repositories." }
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"label": "JwtService.sign(payload: object, options?: JwtSignOptions): string",
|
|
82
|
+
"documentation": "Signs a JWT token with the given payload.",
|
|
83
|
+
"parameters": [
|
|
84
|
+
{ "label": "payload: object", "documentation": "The JWT payload data." },
|
|
85
|
+
{ "label": "options?: JwtSignOptions", "documentation": "Options: secret, expiresIn, algorithm, etc." }
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"label": "JwtService.verify<T>(token: string, options?: JwtVerifyOptions): T",
|
|
90
|
+
"documentation": "Verifies and decodes a JWT token.",
|
|
91
|
+
"parameters": [
|
|
92
|
+
{ "label": "token: string", "documentation": "The JWT token string to verify." },
|
|
93
|
+
{ "label": "options?: JwtVerifyOptions", "documentation": "Options: secret, algorithms, ignoreExpiration." }
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"label": "Test.createTestingModule(metadata: ModuleMetadata): TestingModuleBuilder",
|
|
98
|
+
"documentation": "Creates a testing module for unit and integration tests.",
|
|
99
|
+
"parameters": [
|
|
100
|
+
{ "label": "metadata: ModuleMetadata", "documentation": "Module metadata: imports, controllers, providers." }
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"label": "moduleRef.get<T>(typeOrToken: Type<T> | string | symbol): T",
|
|
105
|
+
"documentation": "Retrieves an instance of a provider from the module reference.",
|
|
106
|
+
"parameters": [
|
|
107
|
+
{ "label": "typeOrToken: Type<T> | string | symbol", "documentation": "The class type or injection token." }
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"label": "new ValidationPipe(options?: ValidationPipeOptions)",
|
|
112
|
+
"documentation": "Creates a new validation pipe with the specified options.",
|
|
113
|
+
"parameters": [
|
|
114
|
+
{ "label": "options?: ValidationPipeOptions", "documentation": "Options: whitelist, forbidNonWhitelisted, transform, disableErrorMessages, exceptionFactory." }
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"label": "new HttpException(response: string | object, status: HttpStatus, options?: HttpExceptionOptions)",
|
|
119
|
+
"documentation": "Creates a new HTTP exception.",
|
|
120
|
+
"parameters": [
|
|
121
|
+
{ "label": "response: string | object", "documentation": "The error message or response object." },
|
|
122
|
+
{ "label": "status: HttpStatus", "documentation": "The HTTP status code." },
|
|
123
|
+
{ "label": "options?: HttpExceptionOptions", "documentation": "Optional: cause, description." }
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "nextjs",
|
|
3
|
+
"signatureHelp": {
|
|
4
|
+
"triggerCharacters": ["(", ",", "<"],
|
|
5
|
+
"retriggerCharacters": [","],
|
|
6
|
+
"signatures": [
|
|
7
|
+
{
|
|
8
|
+
"label": "useRouter(): AppRouterInstance",
|
|
9
|
+
"documentation": "Returns the App Router instance for programmatic navigation. Only available in Client Components.",
|
|
10
|
+
"parameters": []
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"label": "redirect(url: string, type?: RedirectType): never",
|
|
14
|
+
"documentation": "Redirects to the given URL. Can be used in Server Components, Route Handlers, and Server Actions.",
|
|
15
|
+
"parameters": [
|
|
16
|
+
{ "label": "url: string", "documentation": "The URL to redirect to. Can be relative or absolute." },
|
|
17
|
+
{ "label": "type?: RedirectType", "documentation": "'replace' (default) or 'push'. Only relevant in Server Actions." }
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"label": "revalidatePath(path: string, type?: 'page' | 'layout'): void",
|
|
22
|
+
"documentation": "Purges cached data on-demand for a specific path.",
|
|
23
|
+
"parameters": [
|
|
24
|
+
{ "label": "path: string", "documentation": "The file system path to revalidate, e.g. '/blog/post-1'." },
|
|
25
|
+
{ "label": "type?: 'page' | 'layout'", "documentation": "The type of path to revalidate." }
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"label": "revalidateTag(tag: string): void",
|
|
30
|
+
"documentation": "Purges cached data on-demand for a specific cache tag.",
|
|
31
|
+
"parameters": [
|
|
32
|
+
{ "label": "tag: string", "documentation": "The cache tag to revalidate." }
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"label": "useSearchParams(): ReadonlyURLSearchParams",
|
|
37
|
+
"documentation": "Returns the current URL's search parameters as a read-only URLSearchParams. Client Component only.",
|
|
38
|
+
"parameters": []
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"label": "usePathname(): string",
|
|
42
|
+
"documentation": "Returns the current pathname string. Client Component only.",
|
|
43
|
+
"parameters": []
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"label": "useParams(): Params",
|
|
47
|
+
"documentation": "Returns an object containing the current route's dynamic parameters.",
|
|
48
|
+
"parameters": []
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"label": "notFound(): never",
|
|
52
|
+
"documentation": "Throws a NEXT_NOT_FOUND error, rendering the closest not-found.tsx.",
|
|
53
|
+
"parameters": []
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"label": "generateStaticParams(): Promise<Params[]>",
|
|
57
|
+
"documentation": "Generates static params for dynamic route segments at build time.",
|
|
58
|
+
"parameters": []
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"label": "generateMetadata(props: { params: Params; searchParams: SearchParams }, parent: ResolvingMetadata): Promise<Metadata>",
|
|
62
|
+
"documentation": "Generates dynamic metadata for a route segment.",
|
|
63
|
+
"parameters": [
|
|
64
|
+
{ "label": "props: { params: Params; searchParams: SearchParams }", "documentation": "Route props containing dynamic params and search params." },
|
|
65
|
+
{ "label": "parent: ResolvingMetadata", "documentation": "Resolved metadata from parent route segments." }
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"label": "NextResponse.json(body: any, init?: ResponseInit): NextResponse",
|
|
70
|
+
"documentation": "Creates a Next.js response with JSON body.",
|
|
71
|
+
"parameters": [
|
|
72
|
+
{ "label": "body: any", "documentation": "The response body, will be JSON-serialized." },
|
|
73
|
+
{ "label": "init?: ResponseInit", "documentation": "Optional response init options (status, headers)." }
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"label": "NextResponse.redirect(url: string | URL, status?: number): NextResponse",
|
|
78
|
+
"documentation": "Creates a redirect response.",
|
|
79
|
+
"parameters": [
|
|
80
|
+
{ "label": "url: string | URL", "documentation": "The URL to redirect to." },
|
|
81
|
+
{ "label": "status?: number", "documentation": "HTTP status code (default 307)." }
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"label": "NextResponse.rewrite(url: string | URL): NextResponse",
|
|
86
|
+
"documentation": "Rewrites (proxies) the request to a different URL without changing the browser URL.",
|
|
87
|
+
"parameters": [
|
|
88
|
+
{ "label": "url: string | URL", "documentation": "The URL to rewrite to." }
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"label": "headers(): ReadonlyHeaders",
|
|
93
|
+
"documentation": "Returns the incoming request headers. Only available in Server Components and Route Handlers.",
|
|
94
|
+
"parameters": []
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"label": "cookies(): ReadonlyRequestCookies",
|
|
98
|
+
"documentation": "Returns the incoming request cookies. Can read, set, and delete cookies.",
|
|
99
|
+
"parameters": []
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"label": "unstable_cache(fn: Function, keyParts?: string[], options?: { revalidate?: number; tags?: string[] }): Function",
|
|
103
|
+
"documentation": "Caches the result of an expensive function on the server.",
|
|
104
|
+
"parameters": [
|
|
105
|
+
{ "label": "fn: Function", "documentation": "The async function whose result should be cached." },
|
|
106
|
+
{ "label": "keyParts?: string[]", "documentation": "Additional keys to uniquely identify the cache entry." },
|
|
107
|
+
{ "label": "options?: { revalidate?: number; tags?: string[] }", "documentation": "Cache options: revalidation period in seconds and cache tags." }
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"label": "dynamic(loader: () => Promise<ComponentType>, options?: DynamicOptions): ComponentType",
|
|
112
|
+
"documentation": "Lazily loads a component with optional SSR disable and custom loading component.",
|
|
113
|
+
"parameters": [
|
|
114
|
+
{ "label": "loader: () => Promise<ComponentType>", "documentation": "A function that returns a dynamic import." },
|
|
115
|
+
{ "label": "options?: DynamicOptions", "documentation": "Options: { loading?: ComponentType, ssr?: boolean }" }
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"label": "useSelectedLayoutSegment(parallelRoutesKey?: string): string | null",
|
|
120
|
+
"documentation": "Returns the active route segment one level below the Layout it is called from.",
|
|
121
|
+
"parameters": [
|
|
122
|
+
{ "label": "parallelRoutesKey?: string", "documentation": "Optional parallel route key to read from." }
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
}
|