mirror of
https://github.com/yusufipk/YTChatHub.git
synced 2026-09-12 03:16:10 +00:00
initializing the files and the memory bank.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "shared",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"description": "Shared types and schemas.",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"dev": "tsc --watch -p tsconfig.json",
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"start": "node dist/index.js",
|
||||
"lint": "eslint 'src/**/*.{ts,tsx}'"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
export type ChatMessage = {
|
||||
id: string;
|
||||
author: string;
|
||||
text: string;
|
||||
publishedAt: string;
|
||||
};
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"module": "ESNext",
|
||||
"target": "ES2021",
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"noEmit": false
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
Reference in New Issue
Block a user