Skip to content

Commit 1847cd9

Browse files
Release 2.1.0 (#16)
* Core * With AI structured data extraction * 2.0.5 * Refactors examples * Refactors app names to aki- AKI is the shortened slug for the entire project * Remove aki.db We are going to ignore this file * Ignore aki.db
1 parent e6f8ce1 commit 1847cd9

File tree

137 files changed

+587
-6480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+587
-6480
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
_WIP
1+
aki.db
22

33
# Logs
44
logs

abgeschottet-ki.db

-36 KB
Binary file not shown.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"version": "2.0.2",
3-
"name": "pdf-smash",
2+
"name": "aki-backend",
43
"type": "commonjs",
54
"packageManager": "yarn@4.3.1",
65
"scripts": {
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
1-
// /Users/goldlabel/GitHub/abgeschottet-ki/pdf-smash/src/lib/databaseb.ts
1+
// /Users/goldlabel/GitHub/abgeschottet-ki/aki-backend/src/lib/database.ts
22

33
import fs from 'fs';
44
import path from 'path';
55
import Database from 'better-sqlite3';
66
import { initDB } from './sql/initDB';
77

8-
// Resolve to one level up
98
const dbDir = path.resolve(process.cwd(), '..');
109
if (!fs.existsSync(dbDir)) {
1110
fs.mkdirSync(dbDir, { recursive: true });
1211
}
1312

14-
const dbPath = path.join(dbDir, 'abgeschottet-ki.db');
13+
const dbPath = path.join(dbDir, 'aki.db');
1514

16-
// Open the database (it may or may not exist yet)
1715
export const db = new Database(dbPath);
1816

19-
// Run init script (will create database if needed)
2017
initDB(db);
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ export const endpoints = {
55
title: 'Database',
66
slug: 'db',
77
routes: {
8-
structure: {
9-
title: 'Database Structure',
10-
route: 'http://localhost:4000/db/structure',
11-
},
128
root: {
139
title: 'Database Root',
1410
route: 'http://localhost:4000/db',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// /Users/goldlabel/GitHub/abgeschottet-ki/pdf-smash/src/lib/header.ts
2-
import pJSON from '../../package.json';
2+
import pJSON from '../../../package.json';
33

44
const {version, name} = pJSON;
55

0 commit comments

Comments
 (0)