Files
obsidian-excalidraw-plugin/src/types/githubTypes.ts
T
2026-09-19 06:18:14 +02:00

19 lines
421 B
TypeScript

/**
* Metadata entry describing a file in the legacy remote EA scripts directory listing.
*/
export type RemoteDirectoryInfo = {
fname: string;
mtime: number;
};
/**
* File metadata returned by GitHub's repository contents endpoint.
*/
export type GitHubRepositoryContentFile = {
name: string;
path: string;
sha: string;
type: "file" | "dir" | "symlink" | "submodule";
download_url?: string | null;
};