autosync_backend2 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/env.d.ts +10 -0
- package/dist/index.d.ts +3073 -0
- package/dist/index.js +65573 -0
- package/package.json +44 -0
package/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Elysia with Bun runtime
|
|
2
|
+
|
|
3
|
+
## Getting Started
|
|
4
|
+
To get started with this template, simply paste this command into your terminal:
|
|
5
|
+
```bash
|
|
6
|
+
bun create elysia ./elysia-example
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Development
|
|
10
|
+
To start the development server run:
|
|
11
|
+
```bash
|
|
12
|
+
bun run dev
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Open http://localhost:3000/ with your browser to see the result.
|
package/dist/env.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const EnvSchema: import("@sinclair/typebox").TObject<{
|
|
2
|
+
LOG_LEVEL: import("elysia/dist/type-system").TUnionEnum<["fatal", "error", "warn", "info", "debug", "trace"]>;
|
|
3
|
+
NODE_ENV: import("elysia/dist/type-system").TUnionEnum<["development", "production"]>;
|
|
4
|
+
PORT: import("@sinclair/typebox").TNumber;
|
|
5
|
+
BETTER_AUTH_SECRET: import("@sinclair/typebox").TString;
|
|
6
|
+
DATABASE_URL: import("@sinclair/typebox").TString;
|
|
7
|
+
}>;
|
|
8
|
+
export type env = typeof EnvSchema.static;
|
|
9
|
+
declare let env: env;
|
|
10
|
+
export default env;
|