@webneat/codewiki 0.0.2 → 0.0.5
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/dist/{cli/bin.cjs → bin.cjs} +363 -158
- package/dist/bin.cjs.map +1 -0
- package/dist/{cli/bin.js → bin.js} +378 -165
- package/dist/bin.js.map +1 -0
- package/dist/{cli/index.cjs → cli.cjs} +364 -159
- package/dist/cli.cjs.map +1 -0
- package/dist/{cli/index.js → cli.js} +379 -166
- package/dist/cli.js.map +1 -0
- package/dist/index.cjs +291 -88
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +314 -103
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/cli/bin.cjs.map +0 -1
- package/dist/cli/bin.js.map +0 -1
- package/dist/cli/index.cjs.map +0 -1
- package/dist/cli/index.js.map +0 -1
- /package/dist/{cli/bin.d.cts → bin.d.cts} +0 -0
- /package/dist/{cli/bin.d.ts → bin.d.ts} +0 -0
- /package/dist/{cli/index.d.cts → cli.d.cts} +0 -0
- /package/dist/{cli/index.d.ts → cli.d.ts} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1626,10 +1626,26 @@ type WikiCounts = {
|
|
|
1626
1626
|
total: number;
|
|
1627
1627
|
};
|
|
1628
1628
|
};
|
|
1629
|
+
type EntitiesToDescribe = {
|
|
1630
|
+
type: 'none';
|
|
1631
|
+
} | {
|
|
1632
|
+
type: 'files';
|
|
1633
|
+
items: File[];
|
|
1634
|
+
} | {
|
|
1635
|
+
type: 'symbols';
|
|
1636
|
+
items: Symbol[];
|
|
1637
|
+
} | {
|
|
1638
|
+
type: 'directories';
|
|
1639
|
+
items: Directory[];
|
|
1640
|
+
} | {
|
|
1641
|
+
type: 'dependencies';
|
|
1642
|
+
items: ExternalDependency[];
|
|
1643
|
+
};
|
|
1629
1644
|
interface CodeWiki {
|
|
1630
1645
|
readonly config: Config;
|
|
1631
1646
|
update(): Promise<void>;
|
|
1632
1647
|
counts(): WikiCounts;
|
|
1648
|
+
to_describe(limit: number): EntitiesToDescribe;
|
|
1633
1649
|
files: FilesWiki;
|
|
1634
1650
|
symbols: SymbolsWiki;
|
|
1635
1651
|
directories: DirectoriesWiki;
|
|
@@ -1675,4 +1691,4 @@ declare function context_from_db(db_path: string): Promise<Context>;
|
|
|
1675
1691
|
declare function create(config: Config): Promise<CodeWiki>;
|
|
1676
1692
|
declare function load(db_path: string): Promise<CodeWiki>;
|
|
1677
1693
|
|
|
1678
|
-
export { type CodeWiki, type Config, type Context, type ContextDependency, type DependenciesWiki, type DirectoriesWiki, type Directory, type ExternalDependency, type File, type FilesWiki, type RelationOptions, type SearchOptions, type SelectOptions, type Symbol, type SymbolsWiki, type WikiCounts, context_from_config, context_from_db, create, load };
|
|
1694
|
+
export { type CodeWiki, type Config, type Context, type ContextDependency, type DependenciesWiki, type DirectoriesWiki, type Directory, type EntitiesToDescribe, type ExternalDependency, type File, type FilesWiki, type RelationOptions, type SearchOptions, type SelectOptions, type Symbol, type SymbolsWiki, type WikiCounts, context_from_config, context_from_db, create, load };
|
package/dist/index.d.ts
CHANGED
|
@@ -1626,10 +1626,26 @@ type WikiCounts = {
|
|
|
1626
1626
|
total: number;
|
|
1627
1627
|
};
|
|
1628
1628
|
};
|
|
1629
|
+
type EntitiesToDescribe = {
|
|
1630
|
+
type: 'none';
|
|
1631
|
+
} | {
|
|
1632
|
+
type: 'files';
|
|
1633
|
+
items: File[];
|
|
1634
|
+
} | {
|
|
1635
|
+
type: 'symbols';
|
|
1636
|
+
items: Symbol[];
|
|
1637
|
+
} | {
|
|
1638
|
+
type: 'directories';
|
|
1639
|
+
items: Directory[];
|
|
1640
|
+
} | {
|
|
1641
|
+
type: 'dependencies';
|
|
1642
|
+
items: ExternalDependency[];
|
|
1643
|
+
};
|
|
1629
1644
|
interface CodeWiki {
|
|
1630
1645
|
readonly config: Config;
|
|
1631
1646
|
update(): Promise<void>;
|
|
1632
1647
|
counts(): WikiCounts;
|
|
1648
|
+
to_describe(limit: number): EntitiesToDescribe;
|
|
1633
1649
|
files: FilesWiki;
|
|
1634
1650
|
symbols: SymbolsWiki;
|
|
1635
1651
|
directories: DirectoriesWiki;
|
|
@@ -1675,4 +1691,4 @@ declare function context_from_db(db_path: string): Promise<Context>;
|
|
|
1675
1691
|
declare function create(config: Config): Promise<CodeWiki>;
|
|
1676
1692
|
declare function load(db_path: string): Promise<CodeWiki>;
|
|
1677
1693
|
|
|
1678
|
-
export { type CodeWiki, type Config, type Context, type ContextDependency, type DependenciesWiki, type DirectoriesWiki, type Directory, type ExternalDependency, type File, type FilesWiki, type RelationOptions, type SearchOptions, type SelectOptions, type Symbol, type SymbolsWiki, type WikiCounts, context_from_config, context_from_db, create, load };
|
|
1694
|
+
export { type CodeWiki, type Config, type Context, type ContextDependency, type DependenciesWiki, type DirectoriesWiki, type Directory, type EntitiesToDescribe, type ExternalDependency, type File, type FilesWiki, type RelationOptions, type SearchOptions, type SelectOptions, type Symbol, type SymbolsWiki, type WikiCounts, context_from_config, context_from_db, create, load };
|