Skip to content

Commit

Permalink
database syncing and authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
Saturnine-Softworks committed Nov 4, 2023
1 parent 425c8b0 commit d0a66fd
Show file tree
Hide file tree
Showing 17 changed files with 1,207 additions and 836 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ publish.bash
# Development
/bash

# Database
src/db/database.ts
.env
src/app/utils/verification.ts

# Logs
logs
*.log
Expand Down
4 changes: 4 additions & 0 deletions .xata/migrations/.ledger
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mig_cl0slgarjkbkbc1c7jd0_87e3008a
mig_cl0sm21csn1dtvi83eug_5b51c90f
mig_cl0sm8arjkbkbc1c7k10_0b1ee623
mig_cl0smg1csn1dtvi83f5g_189bf4d9
11 changes: 11 additions & 0 deletions .xata/migrations/mig_cl0slgarjkbkbc1c7jd0_87e3008a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "mig_cl0slgarjkbkbc1c7jd0",
"checksum": "1:87e3008a01d9f046bba489d6282bd550486141b7da094ff66153eee3fe56e82b",
"operations": [
{
"addTable": {
"table": "Languages"
}
}
]
}
16 changes: 16 additions & 0 deletions .xata/migrations/mig_cl0sm21csn1dtvi83eug_5b51c90f.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"id": "mig_cl0sm21csn1dtvi83eug",
"parentID": "mig_cl0slgarjkbkbc1c7jd0",
"checksum": "1:5b51c90f55e863971774315e4baa435023f12c9a6f5818fd17053a9358991e63",
"operations": [
{
"addColumn": {
"column": {
"name": "Name",
"type": "string"
},
"table": "Languages"
}
}
]
}
16 changes: 16 additions & 0 deletions .xata/migrations/mig_cl0sm8arjkbkbc1c7k10_0b1ee623.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"id": "mig_cl0sm8arjkbkbc1c7k10",
"parentID": "mig_cl0sm21csn1dtvi83eug",
"checksum": "1:0b1ee623078563ae59271f38a73515871f56632f4e4690637a896ae0b84fc8c0",
"operations": [
{
"addColumn": {
"column": {
"name": "Owner",
"type": "string"
},
"table": "Languages"
}
}
]
}
16 changes: 16 additions & 0 deletions .xata/migrations/mig_cl0smg1csn1dtvi83f5g_189bf4d9.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"id": "mig_cl0smg1csn1dtvi83f5g",
"parentID": "mig_cl0sm8arjkbkbc1c7k10",
"checksum": "1:189bf4d96b194d5da3aacd755fb2cfe36e6b92ddca0ac34e2d70636f79eea913",
"operations": [
{
"addColumn": {
"column": {
"name": "File",
"type": "json"
},
"table": "Languages"
}
}
]
}
6 changes: 6 additions & 0 deletions .xatarc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"databaseURL": "https://Saturnine-s-workspace-cvl2j3.us-east-1.xata.sh/db/Lexicanter",
"codegen": {
"output": "src/db/xata.ts"
}
}
146 changes: 143 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
"name": "Ethan Ray"
},
"license": "GNU General Public License Version 3",
"engine": {
"node": ">=21.1.0"
},
"dependencies": {
"@editorjs/code": "^2.8.0",
"@editorjs/editorjs": "^2.26.5",
Expand All @@ -59,9 +62,11 @@
"@editorjs/underline": "^1.1.0",
"@electron/remote": "^2.0.9",
"@types/marked": "^4.0.8",
"@xata.io/client": "^0.26.9",
"csv-parser": "^3.0.0",
"electron-updater": "^5.3.0",
"marked": "^4.3.0",
"node-fetch": "^3.3.2",
"sass": "^1.60.0",
"vex-js": "^4.1.0"
},
Expand Down
Loading

0 comments on commit d0a66fd

Please sign in to comment.