mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2026-11-27 06:32:42 +00:00
19 lines
421 B
TypeScript
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;
|
|
};
|