Initial import of zappier-edge from zapier monorepo

This commit is contained in:
George Lambert 2026-09-11 15:35:50 -04:00
commit 525edd7469
128 changed files with 20479 additions and 0 deletions

11
src/nats-shim.d.ts vendored Normal file
View file

@ -0,0 +1,11 @@
declare module 'nats' {
export function connect(opts: unknown): Promise<{
request(s: string, d: Uint8Array, o: { timeout: number }): Promise<{ data: Uint8Array }>;
publish(s: string, d: Uint8Array): void;
close(): Promise<void>;
}>;
export function StringCodec(): {
encode(s: string): Uint8Array;
decode(u: Uint8Array): string;
};
}