diff options
Diffstat (limited to '.svelte-kit/types/src/routes')
13 files changed, 198 insertions, 0 deletions
diff --git a/.svelte-kit/types/src/routes/$types.d.ts b/.svelte-kit/types/src/routes/$types.d.ts new file mode 100644 index 0000000..8f940ba --- /dev/null +++ b/.svelte-kit/types/src/routes/$types.d.ts @@ -0,0 +1,24 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { }; +type RouteId = '/'; +type MaybeWithVoid<T> = {} extends T ? T | void : T; +export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T]; +type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>> +type EnsureDefined<T> = T extends null | undefined ? {} : T; +type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never; +export type Snapshot<T = any> = Kit.Snapshot<T>; +type PageParentData = EnsureDefined<LayoutData>; +type LayoutRouteId = RouteId | "/" | "/channel/[id]" | "/playlists" | "/playlists/[id]" | "/search" | "/subscriptions" | "/watch/[id]" | null +type LayoutParams = RouteParams & { id?: string } +type LayoutParentData = EnsureDefined<{}>; + +export type PageServerData = null; +export type PageData = Expand<PageParentData>; +export type PageProps = { params: RouteParams; data: PageData } +export type LayoutServerData = null; +export type LayoutData = Expand<LayoutParentData>; +export type LayoutProps = { params: LayoutParams; data: LayoutData; children: import("svelte").Snippet }
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/api/channel/[id]/$types.d.ts b/.svelte-kit/types/src/routes/api/channel/[id]/$types.d.ts new file mode 100644 index 0000000..0b6f3de --- /dev/null +++ b/.svelte-kit/types/src/routes/api/channel/[id]/$types.d.ts @@ -0,0 +1,11 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { id: string }; +type RouteId = '/api/channel/[id]'; + +export type EntryGenerator = () => Promise<Array<RouteParams>> | Array<RouteParams>; +export type RequestHandler = Kit.RequestHandler<RouteParams, RouteId>; +export type RequestEvent = Kit.RequestEvent<RouteParams, RouteId>;
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/api/playlist/$types.d.ts b/.svelte-kit/types/src/routes/api/playlist/$types.d.ts new file mode 100644 index 0000000..b91f2ee --- /dev/null +++ b/.svelte-kit/types/src/routes/api/playlist/$types.d.ts @@ -0,0 +1,10 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { }; +type RouteId = '/api/playlist'; + +export type RequestHandler = Kit.RequestHandler<RouteParams, RouteId>; +export type RequestEvent = Kit.RequestEvent<RouteParams, RouteId>;
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/api/related/[id]/$types.d.ts b/.svelte-kit/types/src/routes/api/related/[id]/$types.d.ts new file mode 100644 index 0000000..a24dedb --- /dev/null +++ b/.svelte-kit/types/src/routes/api/related/[id]/$types.d.ts @@ -0,0 +1,11 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { id: string }; +type RouteId = '/api/related/[id]'; + +export type EntryGenerator = () => Promise<Array<RouteParams>> | Array<RouteParams>; +export type RequestHandler = Kit.RequestHandler<RouteParams, RouteId>; +export type RequestEvent = Kit.RequestEvent<RouteParams, RouteId>;
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/api/search/$types.d.ts b/.svelte-kit/types/src/routes/api/search/$types.d.ts new file mode 100644 index 0000000..4a127e5 --- /dev/null +++ b/.svelte-kit/types/src/routes/api/search/$types.d.ts @@ -0,0 +1,10 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { }; +type RouteId = '/api/search'; + +export type RequestHandler = Kit.RequestHandler<RouteParams, RouteId>; +export type RequestEvent = Kit.RequestEvent<RouteParams, RouteId>;
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/api/trending/$types.d.ts b/.svelte-kit/types/src/routes/api/trending/$types.d.ts new file mode 100644 index 0000000..c7b3fb9 --- /dev/null +++ b/.svelte-kit/types/src/routes/api/trending/$types.d.ts @@ -0,0 +1,10 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { }; +type RouteId = '/api/trending'; + +export type RequestHandler = Kit.RequestHandler<RouteParams, RouteId>; +export type RequestEvent = Kit.RequestEvent<RouteParams, RouteId>;
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/api/video/[id]/$types.d.ts b/.svelte-kit/types/src/routes/api/video/[id]/$types.d.ts new file mode 100644 index 0000000..477abba --- /dev/null +++ b/.svelte-kit/types/src/routes/api/video/[id]/$types.d.ts @@ -0,0 +1,11 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { id: string }; +type RouteId = '/api/video/[id]'; + +export type EntryGenerator = () => Promise<Array<RouteParams>> | Array<RouteParams>; +export type RequestHandler = Kit.RequestHandler<RouteParams, RouteId>; +export type RequestEvent = Kit.RequestEvent<RouteParams, RouteId>;
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/channel/[id]/$types.d.ts b/.svelte-kit/types/src/routes/channel/[id]/$types.d.ts new file mode 100644 index 0000000..46c79b1 --- /dev/null +++ b/.svelte-kit/types/src/routes/channel/[id]/$types.d.ts @@ -0,0 +1,19 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { id: string }; +type RouteId = '/channel/[id]'; +type MaybeWithVoid<T> = {} extends T ? T | void : T; +export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T]; +type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>> +type EnsureDefined<T> = T extends null | undefined ? {} : T; +type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never; +export type Snapshot<T = any> = Kit.Snapshot<T>; +type PageParentData = EnsureDefined<import('../../$types.js').LayoutData>; + +export type EntryGenerator = () => Promise<Array<RouteParams>> | Array<RouteParams>; +export type PageServerData = null; +export type PageData = Expand<PageParentData>; +export type PageProps = { params: RouteParams; data: PageData }
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/playlists/$types.d.ts b/.svelte-kit/types/src/routes/playlists/$types.d.ts new file mode 100644 index 0000000..c58d33a --- /dev/null +++ b/.svelte-kit/types/src/routes/playlists/$types.d.ts @@ -0,0 +1,18 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { }; +type RouteId = '/playlists'; +type MaybeWithVoid<T> = {} extends T ? T | void : T; +export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T]; +type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>> +type EnsureDefined<T> = T extends null | undefined ? {} : T; +type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never; +export type Snapshot<T = any> = Kit.Snapshot<T>; +type PageParentData = EnsureDefined<import('../$types.js').LayoutData>; + +export type PageServerData = null; +export type PageData = Expand<PageParentData>; +export type PageProps = { params: RouteParams; data: PageData }
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/playlists/[id]/$types.d.ts b/.svelte-kit/types/src/routes/playlists/[id]/$types.d.ts new file mode 100644 index 0000000..34da3e5 --- /dev/null +++ b/.svelte-kit/types/src/routes/playlists/[id]/$types.d.ts @@ -0,0 +1,19 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { id: string }; +type RouteId = '/playlists/[id]'; +type MaybeWithVoid<T> = {} extends T ? T | void : T; +export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T]; +type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>> +type EnsureDefined<T> = T extends null | undefined ? {} : T; +type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never; +export type Snapshot<T = any> = Kit.Snapshot<T>; +type PageParentData = EnsureDefined<import('../../$types.js').LayoutData>; + +export type EntryGenerator = () => Promise<Array<RouteParams>> | Array<RouteParams>; +export type PageServerData = null; +export type PageData = Expand<PageParentData>; +export type PageProps = { params: RouteParams; data: PageData }
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/search/$types.d.ts b/.svelte-kit/types/src/routes/search/$types.d.ts new file mode 100644 index 0000000..1edc981 --- /dev/null +++ b/.svelte-kit/types/src/routes/search/$types.d.ts @@ -0,0 +1,18 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { }; +type RouteId = '/search'; +type MaybeWithVoid<T> = {} extends T ? T | void : T; +export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T]; +type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>> +type EnsureDefined<T> = T extends null | undefined ? {} : T; +type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never; +export type Snapshot<T = any> = Kit.Snapshot<T>; +type PageParentData = EnsureDefined<import('../$types.js').LayoutData>; + +export type PageServerData = null; +export type PageData = Expand<PageParentData>; +export type PageProps = { params: RouteParams; data: PageData }
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/subscriptions/$types.d.ts b/.svelte-kit/types/src/routes/subscriptions/$types.d.ts new file mode 100644 index 0000000..ffccbab --- /dev/null +++ b/.svelte-kit/types/src/routes/subscriptions/$types.d.ts @@ -0,0 +1,18 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { }; +type RouteId = '/subscriptions'; +type MaybeWithVoid<T> = {} extends T ? T | void : T; +export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T]; +type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>> +type EnsureDefined<T> = T extends null | undefined ? {} : T; +type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never; +export type Snapshot<T = any> = Kit.Snapshot<T>; +type PageParentData = EnsureDefined<import('../$types.js').LayoutData>; + +export type PageServerData = null; +export type PageData = Expand<PageParentData>; +export type PageProps = { params: RouteParams; data: PageData }
\ No newline at end of file diff --git a/.svelte-kit/types/src/routes/watch/[id]/$types.d.ts b/.svelte-kit/types/src/routes/watch/[id]/$types.d.ts new file mode 100644 index 0000000..5b87eac --- /dev/null +++ b/.svelte-kit/types/src/routes/watch/[id]/$types.d.ts @@ -0,0 +1,19 @@ +import type * as Kit from '@sveltejs/kit'; + +type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; +// @ts-ignore +type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string; +type RouteParams = { id: string }; +type RouteId = '/watch/[id]'; +type MaybeWithVoid<T> = {} extends T ? T | void : T; +export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T]; +type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>> +type EnsureDefined<T> = T extends null | undefined ? {} : T; +type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never; +export type Snapshot<T = any> = Kit.Snapshot<T>; +type PageParentData = EnsureDefined<import('../../$types.js').LayoutData>; + +export type EntryGenerator = () => Promise<Array<RouteParams>> | Array<RouteParams>; +export type PageServerData = null; +export type PageData = Expand<PageParentData>; +export type PageProps = { params: RouteParams; data: PageData }
\ No newline at end of file |
