23 lines
610 B
TypeScript
23 lines
610 B
TypeScript
export declare function parseOrgIdFromCookie(cookieHeader: string | null): number | null;
|
|
interface ManifestIcon {
|
|
src: string;
|
|
sizes: string;
|
|
type: string;
|
|
purpose?: string;
|
|
}
|
|
interface WebAppManifest {
|
|
name: string;
|
|
short_name: string;
|
|
description: string;
|
|
start_url: string;
|
|
display: string;
|
|
orientation: string;
|
|
theme_color: string;
|
|
background_color: string;
|
|
icons: ManifestIcon[];
|
|
}
|
|
export declare function buildManifest(orgId: number | null): WebAppManifest;
|
|
declare const _default: {
|
|
fetch(request: Request): Response;
|
|
};
|
|
export default _default;
|