@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
36 lines (35 loc) • 1.41 kB
TypeScript
import { PostPermission } from "../IPost";
import { type IPersistedPost, IPostBaseContext, IPostBaseWithContext, ResolvedUserIdentity } from "@omnia/fx-models";
import { VueComponentBase, VueComponentBaseProps, ITheming } from "@omnia/fx/ux";
interface PostCardDisplayProps {
renderTitleInfo: (isDialog: boolean, cardTheming?: ITheming) => JSX.Element;
renderEditOptions: (targetTheme: ITheming) => JSX.Element;
topicPermissionDictionary: {
[topicId: string]: PostPermission;
};
getUserHash: () => {
[principalName: string]: ResolvedUserIdentity;
};
persistedPost: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>;
isDeleted: boolean;
dateFormat: string;
language: string;
}
export declare class PostCardDisplay extends VueComponentBase<PostCardDisplayProps & VueComponentBaseProps> {
renderTitleInfo: (isDialog: boolean, cardTheming?: ITheming) => JSX.Element;
renderEditOptions: (cardTheming: ITheming) => JSX.Element;
topicPermissionDictionary: {
[topicId: string]: PostPermission;
};
getUserHash: () => {
[principalName: string]: ResolvedUserIdentity;
};
persistedPost: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>;
isDeleted: boolean;
dateFormat: string;
language: string;
private postLoc;
created(): void;
render(h: any): VueTsxSupport.JSX.Element;
}
export {};