LinkedDataItemInput
Interface in @bimworks/jssdk.
API catalogue · @bimworks/jssdk · Interface
TypeScript#
interface LinkedDataItemInputOne item to link: its value is url, text, identifier or file
Members#
| Member | Kind | Description |
|---|---|---|
| category | Property | One of the policy's categories |
| content_type | Property | The media type the client declares; the server decides from the content |
| description | Property | |
| file | Property | The file, sent as a stream of the task |
| filename | Property | Required for a file without a name (a Blob or bytes); a File's own name otherwise |
| identifier | Property | |
| kind | Property | FILE when a file is given |
| strip_metadata | Property | Remove a JPEG, PNG or WebP photo's location and camera details, losslessly; a HEIC or TIFF is kept as it is |
| text | Property | |
| title | Property | Without one: the file name without its extension, the URL's host, the identifier, or the text's first line |
| url | Property | |
| valid_until | Property | A date, yyyy-mm-dd |
category#
TypeScript#
category?: stringOne of the policy's categories
content_type#
TypeScript#
content_type?: stringThe media type the client declares; the server decides from the content
description#
TypeScript#
description?: stringfile#
TypeScript#
file?: ArrayBuffer | ArrayBufferView<ArrayBuffer> | BlobThe file, sent as a stream of the task
filename#
TypeScript#
filename?: stringRequired for a file without a name (a Blob or bytes); a File's own name otherwise
identifier#
TypeScript#
identifier?: { system?: string; value: string }kind#
TypeScript#
kind?: LinkedDataKindFILE when a file is given
strip_metadata#
TypeScript#
strip_metadata?: booleanRemove a JPEG, PNG or WebP photo's location and camera details, losslessly; a HEIC or TIFF is kept as it is
text#
TypeScript#
text?: stringtitle#
TypeScript#
title?: stringWithout one: the file name without its extension, the URL's host, the identifier, or the text's first line
url#
TypeScript#
url?: stringvalid_until#
TypeScript#
valid_until?: stringA date, yyyy-mm-dd