feat: also emit dxt signature info schema (#44)
This commit is contained in:
parent
9ce2d6fd0e
commit
2654e313b9
1 changed files with 30 additions and 18 deletions
10
src/types.ts
10
src/types.ts
|
|
@ -10,6 +10,7 @@ import type {
|
|||
DxtManifestSchema,
|
||||
DxtManifestServerSchema,
|
||||
DxtManifestToolSchema,
|
||||
DxtSignatureInfoSchema,
|
||||
DxtUserConfigurationOptionSchema,
|
||||
DxtUserConfigValuesSchema,
|
||||
McpServerConfigSchema,
|
||||
|
|
@ -48,14 +49,7 @@ export type DxtManifest = z.infer<typeof DxtManifestSchema>;
|
|||
/**
|
||||
* Information about a DXT package signature
|
||||
*/
|
||||
export interface DxtSignatureInfo {
|
||||
status: "signed" | "unsigned" | "self-signed";
|
||||
publisher?: string;
|
||||
issuer?: string;
|
||||
valid_from?: string;
|
||||
valid_to?: string;
|
||||
fingerprint?: string;
|
||||
}
|
||||
export type DxtSignatureInfo = z.infer<typeof DxtSignatureInfoSchema>;
|
||||
|
||||
export interface Logger {
|
||||
log: (...args: unknown[]) => void;
|
||||
|
|
|
|||
Loading…
Reference in a new issue