@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 +1 -1
- package/template/client/src/components/business-ui/api/files/service.ts +1 -6
- package/template/client/src/components/business-ui/tiptap-editor/extensions/complete-kit.ts +2 -2
- package/template/nest-cli.json +1 -10
- package/template/package-lock.json +1699 -46
- package/template/package.json +3 -1
- package/template/tsconfig.app.json +0 -1
package/package.json
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
146
|
+
const extensions = [];
|
|
147
147
|
|
|
148
148
|
// StarterKit 基础扩展(排除 heading、link、codeBlock)
|
|
149
149
|
const starterKitOptions: Partial<StarterKitOptions> = {
|
package/template/nest-cli.json
CHANGED