Create some initial files.

This commit is contained in:
2023-03-07 05:02:02 -06:00
parent d69a6b2e71
commit 1cabbf22f2
5 changed files with 78 additions and 0 deletions

22
src/functions.ts Normal file
View File

@ -0,0 +1,22 @@
/*
// Date: 2023-03-07
// Developer: Hyperling
// Purpose: Keep main file clean by holding helper functions here.
*/
import "objects.ts";
// Connect to a SQLite database.
function connect_db () {
}
// Retrieve data from a connected database.
function select_db () {
}
// Send data to a connected database.
function post_db () {
}

7
src/includes.ts Normal file
View File

@ -0,0 +1,7 @@
/*
// Date: 2023-03-07
// Developer: Hyperling
// Purpose: Keep main file clean by making sure all source code is available.
*/
import "functions.ts";

13
src/objects.ts Normal file
View File

@ -0,0 +1,13 @@
/*
// Date: 2023-03-07
// Developer: Hyperling
// Purpose: Keep main file clean by holding types (interfaces and vars) here.
*/
interface record {
user_id: number;
cal_date: string;
food: string;
caused_issue: boolean;
comments: string;
}