From 576c60bd55e3bd22b66a278ad6672b83c3c914e8 Mon Sep 17 00:00:00 2001 From: heheer Date: Tue, 4 Mar 2025 16:23:12 +0800 Subject: [PATCH] plugin customize author (#3963) * plugin customize author * fix name --- packages/service/core/app/plugin/type.d.ts | 1 + packages/service/core/app/templates/templateSchema.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/packages/service/core/app/plugin/type.d.ts b/packages/service/core/app/plugin/type.d.ts index 1275ec6d0..c9e760bd8 100644 --- a/packages/service/core/app/plugin/type.d.ts +++ b/packages/service/core/app/plugin/type.d.ts @@ -25,6 +25,7 @@ export type SystemPluginConfigSchemaType = { templateType: string; associatedPluginId: string; userGuide: string; + author?: string; }; }; diff --git a/packages/service/core/app/templates/templateSchema.ts b/packages/service/core/app/templates/templateSchema.ts index 7e61a1b86..2485f535f 100644 --- a/packages/service/core/app/templates/templateSchema.ts +++ b/packages/service/core/app/templates/templateSchema.ts @@ -18,6 +18,9 @@ const AppTemplateSchema = new Schema({ avatar: { type: String }, + author: { + type: String + }, tags: { type: [String], default: undefined