Create some initial files.
This commit is contained in:
22
src/functions.ts
Normal file
22
src/functions.ts
Normal 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
7
src/includes.ts
Normal 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
13
src/objects.ts
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user