Type Alias StaticSink
type StaticSink = {
has?(path: string): boolean | Promise<boolean>;
put(
path: string,
bytes: Uint8Array,
contentType: string,
): void | Promise<void>;
}
has?(path: string): boolean | Promise<boolean>;
put(
path: string,
bytes: Uint8Array,
contentType: string,
): void | Promise<void>;
}
where
publishStaticwrites its files: a host folder, an object store or memory