Original PR: https://github.com/open-webui/open-webui/pull/965 Author: @Carlos-err406 Created: 2/29/2024 Status: ❌ Closed
Base: dev ← Head: feat/typesafety
dev
feat/typesafety
9234835
e3383d5
0faf2c7
8994275
9c8a21c
144a442
a5ac4bf
3b1d723
855cd75
5addaf6
19 files changed (+1888 additions, -3251 deletions)
➕ async.d.ts (+7 -0) 📝 package-lock.json (+1673 -3248) 📝 package.json (+5 -1) 📝 src/lib/index.ts (+8 -0) ➕ src/lib/types/Chat.ts (+59 -0) ➕ src/lib/types/Config.ts (+5 -0) ➕ src/lib/types/Document.ts (+17 -0) ➕ src/lib/types/Model.ts (+4 -0) ➕ src/lib/types/Modelfile.ts (+5 -0) ➕ src/lib/types/Prompt.ts (+5 -0) ➕ src/lib/types/Settings.ts (+56 -0) ➕ src/lib/types/Tag.ts (+5 -0) ➕ src/lib/types/Theme.ts (+7 -0) ➕ src/lib/types/User.ts (+14 -0) ➕ src/lib/types/apis/audio/index.ts (+3 -0) ➕ src/lib/types/apis/index.ts (+1 -0) ➕ src/lib/types/index.ts (+11 -0) 📝 src/routes/+layout.ts (+0 -0) 📝 tsconfig.json (+3 -2)
async.d.ts
package-lock.json
package.json
src/lib/index.ts
src/lib/types/Chat.ts
src/lib/types/Config.ts
src/lib/types/Document.ts
src/lib/types/Model.ts
src/lib/types/Modelfile.ts
src/lib/types/Prompt.ts
src/lib/types/Settings.ts
src/lib/types/Tag.ts
src/lib/types/Theme.ts
src/lib/types/User.ts
src/lib/types/apis/audio/index.ts
src/lib/types/apis/index.ts
src/lib/types/index.ts
src/routes/+layout.ts
tsconfig.json
added typescript types and interfaces
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/965
Author: @Carlos-err406
Created: 2/29/2024
Status: ❌ Closed
Base:
dev← Head:feat/typesafety📝 Commits (10+)
9234835feat: init lib/typese3383d5chat types0faf2c7feat: updated deps and added @types dev dependencies8994275fix: async/queue module @types does not work properly9c8a21cfeat: more Config types144a442feat: user role typea5ac4bffix: tsconfig was using 'include' instead of 'files' for the custom types of async/queue3b1d723feat: document types855cd75feat: katext types dep5addaf6feat: modelfile types📊 Changes
19 files changed (+1888 additions, -3251 deletions)
View changed files
➕
async.d.ts(+7 -0)📝
package-lock.json(+1673 -3248)📝
package.json(+5 -1)📝
src/lib/index.ts(+8 -0)➕
src/lib/types/Chat.ts(+59 -0)➕
src/lib/types/Config.ts(+5 -0)➕
src/lib/types/Document.ts(+17 -0)➕
src/lib/types/Model.ts(+4 -0)➕
src/lib/types/Modelfile.ts(+5 -0)➕
src/lib/types/Prompt.ts(+5 -0)➕
src/lib/types/Settings.ts(+56 -0)➕
src/lib/types/Tag.ts(+5 -0)➕
src/lib/types/Theme.ts(+7 -0)➕
src/lib/types/User.ts(+14 -0)➕
src/lib/types/apis/audio/index.ts(+3 -0)➕
src/lib/types/apis/index.ts(+1 -0)➕
src/lib/types/index.ts(+11 -0)📝
src/routes/+layout.ts(+0 -0)📝
tsconfig.json(+3 -2)📄 Description
addresses issue #944
Description
added typescript types and interfaces
Changelog Entry
Added
Fixed
Changed
Removed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.