1
0
mirror of synced 2024-11-12 01:10:47 +01:00

The initial commit

This commit is contained in:
Rin 2022-07-11 08:22:41 +01:00
commit 1ec795765f
11 changed files with 29825 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
node_modules/
proto/
!proto_src/proto/
.env

24
package.json Normal file
View File

@ -0,0 +1,24 @@
{
"name": "bayshore",
"version": "1.0.0",
"description": "Wangan Midnight Maximum Tune 6 server implementation",
"main": "dist/index.js",
"repository": "https://github.com/ProjectAsakura/Bayshore",
"author": "Luna and Project Asakura",
"license": "MIT",
"private": false,
"devDependencies": {
"@types/express": "^4.17.13",
"@types/node": "^18.0.3",
"prisma": "^4.0.0",
"protobufjs-cli": "^1.0.0",
"ts-node": "^10.8.2",
"typescript": "^4.7.4"
},
"dependencies": {
"@prisma/client": "^4.0.0",
"express": "^4.18.1",
"protobufjs": "^7.0.0",
"ts-proto": "^1.117.0"
}
}

11
prisma/schema.prisma Normal file
View File

@ -0,0 +1,11 @@
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "sqlite"
url = "file:./bayshore.db"
}

4056
proto_src/message.ts Normal file

File diff suppressed because it is too large Load Diff

1133
proto_src/proto/game.ts Normal file

File diff suppressed because it is too large Load Diff

2378
proto_src/service.ts Normal file

File diff suppressed because it is too large Load Diff

1085
proto_src/system.ts Normal file

File diff suppressed because it is too large Load Diff

19915
proto_src/wm.ts Normal file

File diff suppressed because it is too large Load Diff

5
src/index.ts Normal file
View File

@ -0,0 +1,5 @@
// Bayshore - a Wangan Midnight Maximum Tune 6 private server.
// Made with love by Luna, and part of Project Asakura.
import {Express} from 'express';
import {PrismaClient} from '@prisma/client';

9
tsconfig.json Normal file
View File

@ -0,0 +1,9 @@
{
"compilerOptions": {
"sourceMap": true,
"outDir": "dist",
"strict": true,
"lib": ["esnext"],
"esModuleInterop": true
}
}

1205
yarn.lock Normal file

File diff suppressed because it is too large Load Diff