[PR #965] [CLOSED] feat: Typesafety #107854

Closed
opened 2026-05-18 06:47:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/965
Author: @Carlos-err406
Created: 2/29/2024
Status: Closed

Base: devHead: feat/typesafety


📝 Commits (10+)

  • 9234835 feat: init lib/types
  • e3383d5 chat types
  • 0faf2c7 feat: updated deps and added @types dev dependencies
  • 8994275 fix: async/queue module @types does not work properly
  • 9c8a21c feat: more Config types
  • 144a442 feat: user role type
  • a5ac4bf fix: tsconfig was using 'include' instead of 'files' for the custom types of async/queue
  • 3b1d723 feat: document types
  • 855cd75 feat: katext types dep
  • 5addaf6 feat: 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

  • lib/types/*

Fixed

  • [List any fixes or corrections]

Changed

  • [List any changes or updates]

Removed

  • [List any removed features or files]

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/965 **Author:** [@Carlos-err406](https://github.com/Carlos-err406) **Created:** 2/29/2024 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/typesafety` --- ### 📝 Commits (10+) - [`9234835`](https://github.com/open-webui/open-webui/commit/9234835b7546309b516ed8991b8ea4e3176a1432) feat: init lib/types - [`e3383d5`](https://github.com/open-webui/open-webui/commit/e3383d5689e1414b047d7696566f23689d972ce8) chat types - [`0faf2c7`](https://github.com/open-webui/open-webui/commit/0faf2c7becc0971ac1f037542792cd20e556a179) feat: updated deps and added @types dev dependencies - [`8994275`](https://github.com/open-webui/open-webui/commit/899427565e5e8e9855da145ffbfaede82d48fa1b) fix: async/queue module @types does not work properly - [`9c8a21c`](https://github.com/open-webui/open-webui/commit/9c8a21c8ffde805603e1800e05b56b50733545e0) feat: more Config types - [`144a442`](https://github.com/open-webui/open-webui/commit/144a442d2f609719cb438b639f0af38956e9ea32) feat: user role type - [`a5ac4bf`](https://github.com/open-webui/open-webui/commit/a5ac4bf5e0c4b36bf69d37964456febb3800bc2c) fix: tsconfig was using 'include' instead of 'files' for the custom types of async/queue - [`3b1d723`](https://github.com/open-webui/open-webui/commit/3b1d723129862c82999af5adecb477e0f3dd078f) feat: document types - [`855cd75`](https://github.com/open-webui/open-webui/commit/855cd7513b50d85bf5fb34d667fa8e3183dbdb58) feat: katext types dep - [`5addaf6`](https://github.com/open-webui/open-webui/commit/5addaf6f220ef579d3e63879fedcaa70a89672fc) feat: modelfile types ### 📊 Changes **19 files changed** (+1888 additions, -3251 deletions) <details> <summary>View changed files</summary> ➕ `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) </details> ### 📄 Description addresses issue #944 --- ## Description added typescript types and interfaces --- ### Changelog Entry ### Added - lib/types/* ### Fixed - [List any fixes or corrections] ### Changed - [List any changes or updates] ### Removed - [List any removed features or files] --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-18 06:47:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#107854