Skip to content

Commit 066171f

Browse files
committed
feat(patch): add patch for @lexical/code@0.40.0 and update workspace configuration
- Introduced a patch for @lexical/code@0.40.0 to remove unnecessary prismjs imports and provide a stub for Node.js. - Updated pnpm-lock.yaml and pnpm-workspace.yaml to include the new patch and ensure proper dependency resolution. - Enhanced TextBaseModel interfaces in base.ts to include optional meta properties for improved data handling. Signed-off-by: Innei <tukon479@gmail.com>
1 parent c512656 commit 066171f

File tree

4 files changed

+75
-6
lines changed

4 files changed

+75
-6
lines changed

packages/api-client/models/base.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,24 @@ export interface BaseCommentIndexModel extends BaseModel {
3636

3737
allowComment: boolean
3838
}
39-
interface TextBaseModelMarkdown extends BaseCommentIndexModel {
39+
export interface TextBaseModelMarkdown extends BaseCommentIndexModel {
4040
title: string
4141
text: string
4242
contentFormat?: 'markdown'
4343
content?: undefined
4444
images?: Image[]
4545
modified: string | null
46+
meta?: Record<string, any> | null
4647
}
4748

48-
interface TextBaseModelLexical extends BaseCommentIndexModel {
49+
export interface TextBaseModelLexical extends BaseCommentIndexModel {
4950
title: string
5051
text?: string
5152
contentFormat: 'lexical'
5253
content: string
5354
images?: Image[]
5455
modified: string | null
56+
meta?: Record<string, any> | null
5557
}
5658

5759
export type TextBaseModel = TextBaseModelMarkdown | TextBaseModelLexical

0 commit comments

Comments
 (0)