Skip to content

Commit

Permalink
chore: export all
Browse files Browse the repository at this point in the history
  • Loading branch information
hxg2050 committed Feb 23, 2024
1 parent d244d2d commit 697a8c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "feiyun",
"private": false,
"version": "0.1.2",
"version": "0.1.3",
"repository": "https://github.com/hxg2050/feiyun.git",
"license": "MIT",
"main": "./dist/index.cjs",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { FeiyunClient } from './client/FeiyunClient'
export { Feiyun } from './server/feiyun'
export * from './server/feiyun'
export { Server } from './server/server'
export { Socket } from './server/socket'
6 changes: 3 additions & 3 deletions src/server/feiyun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ export interface ApplicationConfig {
port: number
}

class Request {
export class Request {
id!: number
url: string = ''
data: any
}

class Response {
export class Response {
data: any
}

class Context {
export class Context {
socket!: Socket
request!: Request
response!: Response
Expand Down

0 comments on commit 697a8c6

Please sign in to comment.