@spartanfx/react v1.2.2
@spartanfx/react / codeapps / ICASharePointRawItem
Interface: ICASharePointRawItem
Lightweight raw file/folder shape returned by the consumer's connector
service adapter. Field names mirror the SharePoint REST surface, but
the consumer is free to map from whatever shape their generated client
provides.
Properties
Required
| Property | Type | Description |
|---|
id | string | Unique identifier (UniqueId / etag). |
name | string | Display name including extension. |
serverRelativeUrl | string | Server-relative URL (e.g. /sites/site/Shared Documents/foo.pdf). |
type | "folder" | "file" | Item type. |
Options
| Property | Type | Description |
|---|
createdAt? | string | Created timestamp ISO string. |
modifiedAt? | string | Last modified timestamp ISO string. |
modifiedByEmail? | string | Email of the user who last modified the item. |
modifiedByName? | string | Display name of the user who last modified the item. |
size? | number | Size in bytes (folders typically 0/undefined). |
url? | string | Browser URL. Defaults to serverRelativeUrl when omitted. |