@lark-apaas/coding-template-nestjs-react-fullstack 0.1.31-alpha.20260827105658 → 0.1.31-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/coding-template-nestjs-react-fullstack",
3
- "version": "0.1.31-alpha.20260827105658",
3
+ "version": "0.1.31-beta.0",
4
4
  "description": "NestJS + React fullstack template for miaoda coding",
5
5
  "type": "module",
6
6
  "files": [
@@ -11,12 +11,7 @@ export interface UploadFileData {
11
11
 
12
12
  export async function uploadFile(file: File): Promise<UploadFileData> {
13
13
  const dataloom = await getDataloom();
14
- const defaultBucketId = getDefaultBucketId();
15
- if (!defaultBucketId) {
16
- throw new Error('Default storage bucket is not configured');
17
- }
18
-
19
- const bucket = dataloom.storage.from(defaultBucketId);
14
+ const bucket = dataloom.storage.from(getDefaultBucketId());
20
15
 
21
16
  const result = await bucket.uploadFile(file);
22
17
 
@@ -1,4 +1,4 @@
1
- import { Extension, type Extensions } from '@tiptap/core';
1
+ import { Extension } from '@tiptap/core';
2
2
  import Color, { type ColorOptions } from '@tiptap/extension-color';
3
3
  import Highlight, { type HighlightOptions } from '@tiptap/extension-highlight';
4
4
  import type { LinkOptions } from '@tiptap/extension-link';
@@ -143,7 +143,7 @@ export const CompleteKit = Extension.create<CompleteKitOptions>({
143
143
  name: 'completeKit',
144
144
 
145
145
  addExtensions() {
146
- const extensions: Extensions = [];
146
+ const extensions = [];
147
147
 
148
148
  // StarterKit 基础扩展(排除 heading、link、codeBlock)
149
149
  const starterKitOptions: Partial<StarterKitOptions> = {
@@ -11,15 +11,6 @@
11
11
  "outDir": "dist/server",
12
12
  "watchAssets": true
13
13
  }
14
- ],
15
- "plugins": [
16
- {
17
- "name": "@nestjs/swagger",
18
- "options": {
19
- "introspectComments": true,
20
- "classValidatorShim": true
21
- }
22
- }
23
14
  ]
24
15
  }
25
- }
16
+ }