Feat/token support (#909)

Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
Jyong 2023-08-21 13:57:18 +08:00 committed by GitHub
commit 4b53bb1a32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 221 additions and 40 deletions

View file

@ -242,7 +242,7 @@ export type FullDocumentDetail = SimpleDocumentDetail & {
archived_reason: 'rule_modified' | 're_upload'
archived_by: string
archived_at: number
doc_type?: DocType | null
doc_type?: DocType | null | 'others'
doc_metadata?: DocMetadata | null
segment_count: number
[key: string]: any