initial transfer

This commit is contained in:
Benjamin Diedrichsen
2026-07-27 13:09:00 +02:00
parent 9f25d48dc2
commit 736c01216a
191 changed files with 17622 additions and 136 deletions
+22
View File
@@ -0,0 +1,22 @@
/**
* Cube discovery and loading from the filesystem
* @module cubes/loader
*/
import { Cube, type LoadResult } from './types.js';
/**
* Traverses upwards from the current working directory to the root
* and collects all directories that contain a `.npcubes` marker file.
*
* Also includes directories specified in the `.nopyrc.json` configuration.
*
* @returns Array of absolute paths to directories containing cubes
*/
export declare function findCubeDirectories(): string[];
/**
* Loads all cubes from discovered cube directories.
*/
export declare function loadCubes(): Promise<LoadResult>;
/**
* Gets information about a single cube by name.
*/
export declare function getCube(cubeName: string): Promise<Cube | undefined>;