gi-nx / selectProjectAttachmentPrompt
ts
function selectProjectAttachmentPrompt(fileFormats?: (
| "image"
| "model"
| "document"
| "geo"
| "spreadsheet"
| string & {
})[], projectId?: string): Promise<ProjectAttachment>;Open a dialog for the user to select from existing project attachments.
Parameters
| Parameter | Type | Description |
|---|---|---|
fileFormats? | ( | "image" | "model" | "document" | "geo" | "spreadsheet" | string & { })[] | - |
projectId? | string | Optional project to select attachments from, defaults to the active project |
Returns
Promise<ProjectAttachment>