Skip to content

gi-nx


gi-nx / createProjectAttachmentPrompt

ts
function createProjectAttachmentPrompt(formats?: (
  | "model"
  | "image"
  | "document"
  | "geo"
  | "spreadsheet"
  | string & {
})[]): Promise<ProjectAttachment>;

Open a file picker dialog for the user to upload a new project attachment. Project attachments are files that are shared with a project.

Parameters

ParameterType
formats?( | "model" | "image" | "document" | "geo" | "spreadsheet" | string & { })[]

Returns

Promise<ProjectAttachment>