Files
personal-site-bunext/db/types/db.ts
T
2026-10-15 04:37:38 +01:00

88 lines
2.4 KiB
TypeScript

export const BunMariaDBTables = [
"blog_posts",
"portfolio",
"documents",
] as const
export type BUN_MARIADB_DATASQUIREL_USER_2_TBENME_BLOG_POSTS = {
/**
* The unique identifier of the record.
*/
id?: number | "";
/**
* The time when the record was created. (Unix Timestamp)
*/
created_at?: number | "";
/**
* The time when the record was updated. (Unix Timestamp)
*/
updated_at?: number | "";
title?: string;
slug?: string;
excerpt?: string;
body?: string;
metadata?: string;
published?: 0 | 1;
meta_title?: string;
meta_description?: string;
date_created?: string;
date_created_code?: number | "";
date_created_timestamp?: string;
date_updated?: string;
date_updated_code?: number | "";
date_updated_timestamp?: string;
}
export type BUN_MARIADB_DATASQUIREL_USER_2_TBENME_PORTFOLIO = {
/**
* The unique identifier of the record.
*/
id?: number | "";
/**
* The time when the record was created. (Unix Timestamp)
*/
created_at?: number | "";
/**
* The time when the record was updated. (Unix Timestamp)
*/
updated_at?: number | "";
title?: string;
description?: string;
url?: string;
image?: string;
full_description?: string;
starting_date?: string;
completion_date?: string;
project_order?: number | "";
date_created?: string;
date_created_code?: number | "";
date_created_timestamp?: string;
date_updated?: string;
date_updated_code?: number | "";
date_updated_timestamp?: string;
}
export type BUN_MARIADB_DATASQUIREL_USER_2_TBENME_DOCUMENTS = {
/**
* The unique identifier of the record.
*/
id?: number | "";
/**
* The time when the record was created. (Unix Timestamp)
*/
created_at?: number | "";
/**
* The time when the record was updated. (Unix Timestamp)
*/
updated_at?: number | "";
project_name?: string;
html?: string;
date_created?: string;
date_created_code?: number | "";
date_created_timestamp?: string;
date_updated?: string;
date_updated_code?: number | "";
date_updated_timestamp?: string;
}
export type BUN_MARIADB_DATASQUIREL_USER_2_TBENME_ALL_TYPEDEFS = BUN_MARIADB_DATASQUIREL_USER_2_TBENME_BLOG_POSTS & BUN_MARIADB_DATASQUIREL_USER_2_TBENME_PORTFOLIO & BUN_MARIADB_DATASQUIREL_USER_2_TBENME_DOCUMENTS