Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x | import { z } from 'zod';
import { defineArgument } from '../lib/define-argument.js';
import { addonIdOrName, appIdOrName } from '../parsers.js';
export const addonIdOrNameArg = defineArgument({
schema: z.string().transform(addonIdOrName),
description: 'Add-on ID (or name, if unambiguous)',
placeholder: 'addon-id|addon-name',
});
export const envVariableNameArg = defineArgument({
schema: z.string(),
description: 'Name of the environment variable',
placeholder: 'variable-name',
});
export const envVariableValueArg = defineArgument({
schema: z.string(),
description: 'Value of the environment variable',
placeholder: 'variable-value',
});
export const appIdOrNameArg = defineArgument({
schema: z.string().transform(appIdOrName),
description: 'Application ID (or name, if unambiguous)',
placeholder: 'app-id|app-name',
});
export const aliasArg = defineArgument({
schema: z.string(),
description: 'Application alias',
placeholder: 'app-alias',
});
export const notificationNameArg = defineArgument({
schema: z.string(),
description: 'Notification name',
placeholder: 'name',
});
export const notificationIdArg = defineArgument({
schema: z.string(),
description: 'Notification ID',
placeholder: 'notification-id',
});
|