UNPKG

@reliverse/rse-sdk

Version:

@reliverse/rse-sdk allows you to create new plugins for @reliverse/rse CLI, interact with reliverse.org, and even extend your own CLI functionality (you may also try @reliverse/dler-sdk for this case).

20 lines (19 loc) 609 B
import { Type } from "@sinclair/typebox"; const encryptedDataSchema = Type.Object({ code: Type.String(), key: Type.String(), githubKey: Type.Optional(Type.String()), vercelKey: Type.Optional(Type.String()), openaiKey: Type.Optional(Type.String()) }); const userDataSchema = Type.Object({ name: Type.Optional(Type.String()), email: Type.Optional(Type.String()), githubUsername: Type.Optional(Type.String()), vercelTeamId: Type.Optional(Type.String()), vercelTeamSlug: Type.Optional(Type.String()) }); export const memorySchema = Type.Composite([ encryptedDataSchema, userDataSchema ]);