index.d.ts
This commit is contained in:
parent
4c8529a355
commit
3830bfcf29
3 changed files with 22 additions and 2 deletions
File diff suppressed because one or more lines are too long
21
apps/main/worker/index.d.ts
vendored
21
apps/main/worker/index.d.ts
vendored
|
|
@ -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
1
apps/main/worker/index.test.d.ts
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export {};
|
||||
Loading…
Reference in a new issue