datadirect
Version:
Types for working with Blackbaud's front-end APIs
23 lines (22 loc) • 508 B
TypeScript
export type Base = {
Content: string;
ContentId: number;
EditorAccess?: number;
ShowContentType?: number;
};
export type Audio = Base & {
Content: 'Audio';
};
export type Video = Base & {
Content: 'Video';
};
export type Photo = Base & {
Content: 'Photo';
};
export type Media = Audio | Video | Photo;
export type Widget = Base & {
Content: 'Widget';
};
export type RSSReader = Widget;
export type Any = Base | Media | Widget | RSSReader;
export declare const Static: Base[];