personal web client for Bluesky
typescript
solidjs
bluesky
atcute
1// This isn't a real property, but it prevents T being compatible with Shadow<T>.
2declare const IsShadow: unique symbol;
3
4export type Shadow<T> = T & { [IsShadow]: true };
5
6export const castAsShadow = <T>(value: T): Shadow<T> => {
7 return value as any as Shadow<T>;
8};
9
10export interface PostCacheFindOptions {
11 uri?: string;
12 rootUri?: string;
13 includeQuote?: boolean;
14}