File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 11import { describe , expect , it } from 'vitest' ;
2- import {
3- ANTV_LIBRARY_META ,
4- CONTEXT7_TOKENS ,
5- } from '../src/constant' ;
2+ import { ANTV_LIBRARY_META , CONTEXT7_TOKENS } from '../src/constant' ;
63
74// Helper function to check if a library is valid
85function isValidLibrary ( library : string ) : boolean {
Original file line number Diff line number Diff line change 77 * Defines the available libraries in the AntV ecosystem.
88 * These libraries are used to fetch documentation and provide context for the AntV Assistant tool.
99 */
10- export type AntVLibrary = 'g2' | 'g6' | 'l7' | 'x6' | 'f2' | 's2' | 'g' | 'ava' | 'adc' ;
10+ export type AntVLibrary =
11+ | 'g2'
12+ | 'g6'
13+ | 'l7'
14+ | 'x6'
15+ | 'f2'
16+ | 's2'
17+ | 'g'
18+ | 'ava'
19+ | 'adc' ;
1120
1221export type AntVConfig = {
1322 id : AntVLibrary ;
You can’t perform that action at this time.
0 commit comments