datadirect
Version:
Types for working with Blackbaud's front-end APIs
49 lines (48 loc) • 1.39 kB
TypeScript
import { DateString, DateTimeString, HTMLString, NumericBoolean, URLString } from '@battis/descriptive-types';
export type Container = {
ContentId: number;
};
export type Response = {
ContentItemId?: number;
FileName?: string;
Headline?: string;
Url?: URLString;
AlbumDescription?: string;
ShortDescription?: string;
LongDescription?: HTMLString;
ContentId: number;
ContentIndexId?: number;
TotalFiles?: number;
FilesProcessed?: number;
FilesInProcessing?: number;
AllowDownload?: boolean;
AllowDownloadMsg?: string;
ColumnIndex?: number;
RowIndex: number;
CellIndex: number;
GenericSettings: any;
PublishedIndicator?: number;
PublishDate?: DateString;
ExpireDate?: DateString;
FilePath?: string;
FriendlyFileName?: string;
PresentationTarget?: string;
PresentationHeight?: number;
PresentationWidth?: number;
LinkImage?: string;
HoverFileName?: string;
LinkImageId?: number;
Locked?: boolean;
Shared?: number;
SubCategory?: string;
SortOrder?: number;
RenditionsComplete?: number;
CoverFileId?: number;
OriginalFilename?: string;
FileEdited?: DateTimeString;
HasCorruptedFile?: NumericBoolean;
HoverImageOriginalFilename?: string;
IsPhotoProcessed?: NumericBoolean;
PhotoCorrupted?: number;
PendingInd?: boolean;
};