Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
34
Frontend-Learner/node_modules/unstorage/drivers/github.d.mts
generated
vendored
Normal file
34
Frontend-Learner/node_modules/unstorage/drivers/github.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
export interface GithubOptions {
|
||||
/**
|
||||
* The name of the repository. (e.g. `username/my-repo`)
|
||||
* Required
|
||||
*/
|
||||
repo: string;
|
||||
/**
|
||||
* The branch to fetch. (e.g. `dev`)
|
||||
* @default "main"
|
||||
*/
|
||||
branch?: string;
|
||||
/**
|
||||
* @default ""
|
||||
*/
|
||||
dir?: string;
|
||||
/**
|
||||
* @default 600
|
||||
*/
|
||||
ttl?: number;
|
||||
/**
|
||||
* Github API token (recommended)
|
||||
*/
|
||||
token?: string;
|
||||
/**
|
||||
* @default "https://api.github.com"
|
||||
*/
|
||||
apiURL?: string;
|
||||
/**
|
||||
* @default "https://raw.githubusercontent.com"
|
||||
*/
|
||||
cdnURL?: string;
|
||||
}
|
||||
declare const _default: (opts: GithubOptions) => import("..").Driver<GithubOptions, never>;
|
||||
export default _default;
|
||||
Loading…
Add table
Add a link
Reference in a new issue