-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtypes.ts
More file actions
29 lines (26 loc) · 970 Bytes
/
Copy pathtypes.ts
File metadata and controls
29 lines (26 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import type { SystemdFileType } from "../../parser/file-info";
import type { PredefinedSignature } from "../types-manifest";
export type SystemdValueEnum = {
//#region Fields for matching the directive
directive: string | string[];
section?: string;
file?: SystemdFileType;
//#endregion
/** Enumeration values */
values?: string[];
/** Add predefined completion (e.g., boolean) */
extends?: PredefinedSignature;
/** The documentation for each enumeration value */
docs?: Record<string, string>;
/** The short tip for each enumeration value, for example, "default" */
tips?: Record<string, string>;
/**
* The name of the man page from which these enumeration values come
* @example "systemd.scope(5)"
*/
manPage?: string;
/** The separator supported by this directive */
sep?: " " | "," | ":";
/** The prefix characters supported by this directive */
prefixChars?: string;
};