mirror of
https://github.com/aljazceru/mcp-code.git
synced 2025-12-17 04:35:19 +01:00
27 lines
502 B
TypeScript
27 lines
502 B
TypeScript
import type { NDKUserProfile } from "@nostr-dev-kit/ndk";
|
|
|
|
export type UserEntry = {
|
|
profile: NDKUserProfile;
|
|
data: string;
|
|
};
|
|
|
|
export interface FindSnippetsParams {
|
|
limit?: number;
|
|
since?: number;
|
|
until?: number;
|
|
authors?: string[];
|
|
languages?: string[];
|
|
tags?: string[];
|
|
}
|
|
|
|
export type CodeSnippet = {
|
|
id: string;
|
|
title: string;
|
|
description: string;
|
|
code: string;
|
|
language: string;
|
|
pubkey: string;
|
|
createdAt: number;
|
|
tags: string[];
|
|
};
|