index.d.ts

This commit is contained in:
Arthur Belleville 2026-04-02 22:11:32 +02:00
parent 4c8529a355
commit 3830bfcf29
No known key found for this signature in database
3 changed files with 22 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,23 @@
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: any): Response;
fetch(request: Request): Response;
};
export default _default;

1
apps/main/worker/index.test.d.ts vendored Normal file
View file

@ -0,0 +1 @@
export {};