export const DsqlTables = [
    "blog_posts",
    "portfolio",
    "documents",
] as const

export type DSQL_TBEN_ME_BLOG_POSTS = {
    id?: 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 DSQL_TBEN_ME_PORTFOLIO = {
    id?: 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 DSQL_TBEN_ME_DOCUMENTS = {
    id?: 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 DSQL_TBEN_ME_ALL_TYPEDEFS = DSQL_TBEN_ME_BLOG_POSTS & DSQL_TBEN_ME_PORTFOLIO & DSQL_TBEN_ME_DOCUMENTS