mirror of
https://github.com/nix-community/noogle.git
synced 2025-01-02 13:58:18 +03:00
8679af38a2
* add: deeplinks * add: enhanced pagination for large datasets * add more meta tags * add data to initial state * remove preview page, instead link directly into the list
21 lines
440 B
TypeScript
21 lines
440 B
TypeScript
export type NixType = "function" | "attrset" | "list" | "string" | "int" | "bool" | "any";
|
|
|
|
export const nixTypes: NixType[] = [
|
|
"any",
|
|
"attrset",
|
|
"list",
|
|
"string",
|
|
"bool",
|
|
"int",
|
|
];
|
|
|
|
export type DocItem = {
|
|
id: string;
|
|
category: string;
|
|
name: string;
|
|
fn_type?: null | string;
|
|
description?: null | string | string[];
|
|
example?: null | string | string[];
|
|
};
|
|
|
|
export type MetaData = DocItem[]; |