Skip to content

Commit

Permalink
✨ feat: add basic info to plugin manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Dec 2, 2023
1 parent 4f8ec12 commit b50978e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/schema/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@ export const pluginApiSchema = z.object({

export const pluginManifestSchema = z.object({
api: z.array(pluginApiSchema),
author: z.string().optional(),
createAt: z.string().optional(),
gateway: z.string().optional(),
homepage: z.string().optional(),
identifier: z.string(),
meta: z.object({
avatar: z.string().optional(),
description: z.string().optional(),
tags: z.array(z.string()).optional(),
title: z.string().optional(),
}),
openapi: z.string().optional(),
settings: JSONSchema.optional(),
ui: z
Expand Down

0 comments on commit b50978e

Please sign in to comment.