@spacehq/sdk > UserMetadataStore > upsertSharedByMeFile
UserMetadataStore.upsertSharedByMeFile property
Inserts a new file. If a file with the same dbId, path and bucket slug exists, the existing record would be updated and returned.
Signature:
upsertSharedByMeFile: (data: SharedFileMetadata) => Promise<SharedFileMetadata>;