New Changes with Table

This commit is contained in:
2025-11-11 16:42:00 +05:30
parent 783877b6d6
commit d5e9208de7
3 changed files with 51 additions and 10 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ export { default as Table } from "../src/components/Table.astro";
export { default as VideoPlayer } from "../src/components/VideoPlayer.astro";
export { default as WebRtcPlayer } from "../src/components/WebRtcPlayer.astro";
export { cn } from "../src/utils/cn.js";
export { Column, TableProps, FetchTableRequest, FetchTableResponse } from "../src/types/table/types.js";
export { Column, TableProps, TableResponse, TableRequestBody, ClientFetchOptions, ClientFilter, ClientJoin } from "../src/types/table/types.js";
`;
const indexDts = `/* Auto-generated types (lightweight) */
@@ -63,7 +63,7 @@ export const Tooltip: any;
export const VideoPlayer: any;
export const WebRtcPlayer: any;
export function cn(...classes: Array<string | number | false | null | undefined>): string;
export type { Column, TableProps, FetchTableRequest, FetchTableResponse } from "../src/types/table/types.js";
export type { Column, TableProps, TableResponse, TableRequestBody, ClientFetchOptions, ClientFilter, ClientJoin } from "../src/types/table/types.js";
`;
fs.writeFileSync(path.join(distDir, "index.js"), indexJs, "utf8");