mirror of
https://github.com/directus/directus.git
synced 2026-01-23 20:18:11 -05:00
* Allow formatted value display for numbers * Move the docs website into monorepo * Fix build * Tweak docs build setup * Fix tips, pull in images * Add syntax highlighting to docs * Restructure nav, add divider * Fix tips formatting * Add prettier config * Add editorconfig
35 lines
493 B
TypeScript
35 lines
493 B
TypeScript
export type File = {
|
|
type: 'file';
|
|
size: number;
|
|
path: string;
|
|
name: string;
|
|
extension: string;
|
|
};
|
|
|
|
export type Directory = {
|
|
type: 'directory';
|
|
size: number;
|
|
path: string;
|
|
name: string;
|
|
children: (Directory | File)[];
|
|
};
|
|
|
|
export type Link = {
|
|
name: string;
|
|
to: string;
|
|
};
|
|
|
|
export type Group = {
|
|
name: string;
|
|
to: string;
|
|
children: (Group | Link | Divider)[];
|
|
icon?: string;
|
|
};
|
|
|
|
export type Divider = {
|
|
divider: true;
|
|
};
|
|
|
|
declare const files: Directory;
|
|
export default files;
|