ei-dev-shared
Version:
Shared components for EnAble India Projects
23 lines • 557 B
TypeScript
import { RegisteredVia } from '../user/User.type';
export declare enum ResourceType {
Web = "web",
Video = "video",
PDF = "pdf",
Document = "document",
XML = "xml"
}
export type RAGResource = {
title: string;
body: string;
tags: string[];
country: string;
url: string;
resource_type: ResourceType;
source: string;
thumbnail?: string;
channelIdForVideo?: string;
isConsumed?: boolean;
project: RegisteredVia;
metadata?: Record<string, any>;
};
//# sourceMappingURL=RAGResource.type.d.ts.map