@raona/components
Version:
React components used at Raona to work with SPFx
54 lines (53 loc) • 1.39 kB
TypeScript
import { CardTypes } from "../components/cards/Card";
import { SPTaxonomy } from "@raona/sp/dist/entities/sharepoint/SPTaxonomy";
export interface CardEntity {
id: number;
uniqueIdentifier?: string | number;
title: string;
description: string;
date: string;
category?: string;
imageUrl?: string;
bg_color?: string;
redirectUrl?: string;
downloadUrl?: string;
others?: string[];
isFav?: boolean;
isSelected?: boolean;
headId?: any;
type: CardTypes;
hasVideo?: boolean;
showText?: boolean;
isDraft?: boolean;
isConfidential?: boolean;
isLocked?: boolean;
versioningInfo?: {
modified: string;
modifiedBy: string;
versionNumber: string;
};
Raona_Products?: SPTaxonomy[];
colorToPrint?: string;
iconClassName?: string;
Nlikes?: number;
Ncomments?: number;
hideTitle?: boolean;
location?: string;
username?: string;
content?: string;
originalContentType?: string;
pastEvent?: boolean;
titleUrl?: string;
userLanguage?: string;
fullTitle?: string;
textPastEvent?: string;
newContent?: boolean;
metadata?: any;
isRead?: boolean;
titleShadow?: boolean;
author?: {
userName: string;
profilePicUrl: string;
};
nViews?: number;
}