Skip to main content

ICASharePointRawItem

@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

PropertyTypeDescription
idstringUnique identifier (UniqueId / etag).
namestringDisplay name including extension.
serverRelativeUrlstringServer-relative URL (e.g. /sites/site/Shared Documents/foo.pdf).
type"folder" | "file"Item type.

Options

PropertyTypeDescription
createdAt?stringCreated timestamp ISO string.
modifiedAt?stringLast modified timestamp ISO string.
modifiedByEmail?stringEmail of the user who last modified the item.
modifiedByName?stringDisplay name of the user who last modified the item.
size?numberSize in bytes (folders typically 0/undefined).
url?stringBrowser URL. Defaults to serverRelativeUrl when omitted.