mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-30 04:24:29 +01:00
Prompt Library (#1906)
This commit is contained in:
22
documentation/src/types/prompt.ts
Normal file
22
documentation/src/types/prompt.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
export type EnvironmentVariable = {
|
||||
name: string;
|
||||
description: string;
|
||||
required: boolean;
|
||||
};
|
||||
|
||||
export type Extension = {
|
||||
name: string;
|
||||
command: string;
|
||||
is_builtin: boolean;
|
||||
link?: string;
|
||||
installation_notes?: string;
|
||||
environmentVariables?: EnvironmentVariable[];
|
||||
};
|
||||
|
||||
export type Prompt = {
|
||||
id: string;
|
||||
title: string;
|
||||
description: string;
|
||||
example_prompt: string;
|
||||
extensions: Extension[];
|
||||
};
|
||||
Reference in New Issue
Block a user