Skip to content

Commit

Permalink
feat: commit flow-typed folder (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsbrunson authored Sep 19, 2024
1 parent f1e15b3 commit 170604c
Show file tree
Hide file tree
Showing 25 changed files with 4,029 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:
- name: 👕 Lint commit messages
uses: wagoid/commitlint-github-action@v4

- name: ▶️ Run flow-typed script
run: npm run flow-typed

- name: ▶️ Run build script
run: npm run build

Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ jspm_packages
# Yarn Integrity file
.yarn-integrity

# Flow Typed
flow-typed

.idea

.DS_Store
18 changes: 18 additions & 0 deletions flow-typed/npm/@commitlint/cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: ee51b512fb7939980610e35462569242
// flow-typed version: <<STUB>>/@commitlint/cli_v^16.2.1/flow_v0.135.0

/**
* This is an autogenerated libdef stub for:
*
* '@commitlint/cli'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@commitlint/cli' {
declare module.exports: any;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/@commitlint/config-conventional_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 57351b40a8359ae26879210465f6b9da
// flow-typed version: <<STUB>>/@commitlint/config-conventional_v^16.2.1/flow_v0.135.0

/**
* This is an autogenerated libdef stub for:
*
* '@commitlint/config-conventional'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@commitlint/config-conventional' {
declare module.exports: any;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/@krakenjs/grumbler-scripts_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: f9d31b01ab7e20cccd0c7e6bc7415dc7
// flow-typed version: <<STUB>>/@krakenjs/grumbler-scripts_v^8.0.4/flow_v0.135.0

/**
* This is an autogenerated libdef stub for:
*
* '@krakenjs/grumbler-scripts'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@krakenjs/grumbler-scripts' {
declare module.exports: any;
}
185 changes: 185 additions & 0 deletions flow-typed/npm/@octokit/rest_v18.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
// flow-typed signature: 6103021a6389a42ea8b41c577b3f91b3
// flow-typed version: 79dc43986b/@octokit/rest_v18.x.x/flow_>=v0.83.x

declare module '@octokit/rest' {
/**
* Octokit-specific request options which are ignored for the actual request, but can be used by Octokit or plugins to manipulate how the request is sent or how a response is handled
*/
declare type RequestRequestOptions = {|
/**
* Node only. Useful for custom proxy, certificate, or dns lookup.
*
* @see https://nodejs.org/api/http.html#http_class_http_agent
*/
agent?: mixed,
/**
* Custom replacement for built-in fetch method. Useful for testing or request hooks.
*/
fetch?: any,
/**
* Use an `AbortController` instance to cancel a request. In node you can only cancel streamed requests.
*/
signal?: any,
/**
* Node only. Request/response timeout in ms, it resets on redirect. 0 to disable (OS limit applies). `options.request.signal` is recommended instead.
*/
timeout?: number,
[option: string]: any,
|};

declare class Octokit {
constructor(options?: {|
authStrategy?: any,
auth?: any,
userAgent?: string,
previews?: Array<string>,
baseUrl?: string,
log?: {|
debug?: (message: string) => mixed;
info?: (message: string) => mixed;
warn?: (message: string) => mixed;
error?: (message: string) => mixed;
|},
request?: RequestRequestOptions,
timeZone?: string,
[option: string]: any,
|}): this;

static VERSION: string;

actions: {| [key: string]: any |},
activity: {| [key: string]: any |},
apps: {| [key: string]: any |},
auth: (...args: Array<any>) => Promise<{| [key: string]: any |}>,
billing: {| [key: string]: any |},
checks: {| [key: string]: any |},
codeScanning: {| [key: string]: any |},
codesOfConduct: {| [key: string]: any |},
emojis: {| [key: string]: any |},
enterpriseAdmin: {| [key: string]: any |},
gists: {| [key: string]: any |},
git: {| [key: string]: any |},
gitignore: {| [key: string]: any |},
graphql: (...args: Array<any>) => any,
hook: (...args: Array<any>) => any,
interactions: {| [key: string]: any |},
issues: {| [key: string]: any |},
licenses: {| [key: string]: any |},
log:{| [key: string]: any |},
markdown: {| [key: string]: any |},
meta: {| [key: string]: any |},
migrations: {| [key: string]: any |},
orgs: {| [key: string]: any |},
packages: {| [key: string]: any |},
paginate: (...args: Array<any>) => any,
projects: {| [key: string]: any |},
pulls: {| [key: string]: any |},
rateLimit: {| [key: string]: any |},
reactions: {| [key: string]: any |},
repos: {
getContent: ({|
owner: string,
repo: string,
path?: string,
ref?: string,
|}) => Promise<{|
headers: {| [key: string]: any |},
status: number,
url: string,
data: Array<{|
download_url: any,
git_url: string,
html_url: string,
name: string,
path: string,
sha: string,
size: number,
type: string,
url: string,
_links: {|
git: string,
html: string,
self: string,
|}
|}>,
|}>,
/**
* This returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the Repository Tags API.
*
* Information about published releases are available to everyone. Only users with push access will receive listings for draft releases.
*/
listReleases: ({|
/**
* The account owner of the repository. The name is not case sensitive.
*/
owner: string,
/**
* The name of the repository. The name is not case sensitive.
*/
repo: string,
/**
* The number of results per page (max 100).
*/
page?: number,
/**
* Page number of the results to fetch.
*/
per_page?: number,
|}) => Promise<{|
headers: {| [key: string]: any |},
status: number,
url: string,
data: Array<{|
url: string,
assets_url: string,
upload_url: string,
html_url: string,
id: number,
author: {|
login: string,
id: number,
node_id: string,
avatar_url: string,
gravatar_id: string,
url: string,
html_url: string,
followers_url: string,
following_url: string,
gists_url: string,
starred_url: string,
subscriptions_url: string,
organizations_url: string,
repos_url: string,
events_url: string,
received_events_url: string,
type: string,
site_admin: boolean,
|},
node_id: string,
tag_name: string,
target_commitish: string,
name: any,
draft: boolean,
prerelease: boolean,
created_at: string,
published_at: string,
assets: Array<any>,
tarball_url: string,
zipball_url: string,
body: string,
|}>,
|}>,
[key: string]: any,
},
request: (...args: Array<any>) => any,
rest: {| [key: string]: any |},
search: {| [key: string]: any |},
secretScanning: {| [key: string]: any |},
teams: {| [key: string]: any |},
users: {| [key: string]: any |},
}

declare module.exports: {|
Octokit: typeof Octokit,
|};
}
90 changes: 90 additions & 0 deletions flow-typed/npm/colors_v1.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
// flow-typed signature: 6c56e55f6af24f47c33f50f10270785f
// flow-typed version: 590676b089/colors_v1.x.x/flow_>=v0.104.x

declare module "colors" {
declare type Color = {
(text: string): string,
strip: Color,
stripColors: Color,
black: Color,
red: Color,
green: Color,
yellow: Color,
blue: Color,
magenta: Color,
cyan: Color,
white: Color,
gray: Color,
grey: Color,
bgBlack: Color,
bgRed: Color,
bgGreen: Color,
bgYellow: Color,
bgBlue: Color,
bgMagenta: Color,
bgCyan: Color,
bgWhite: Color,
reset: Color,
bold: Color,
dim: Color,
italic: Color,
underline: Color,
inverse: Color,
hidden: Color,
strikethrough: Color,
rainbow: Color,
zebra: Color,
america: Color,
trap: Color,
random: Color,
zalgo: Color,
...
};

declare module.exports: {
enabled: boolean,
themes: {...},
enable(): void,
disable(): void,
setTheme(theme: {...}): void,
strip: Color,
stripColors: Color,
black: Color,
red: Color,
green: Color,
yellow: Color,
blue: Color,
magenta: Color,
cyan: Color,
white: Color,
gray: Color,
grey: Color,
bgBlack: Color,
bgRed: Color,
bgGreen: Color,
bgYellow: Color,
bgBlue: Color,
bgMagenta: Color,
bgCyan: Color,
bgWhite: Color,
reset: Color,
bold: Color,
dim: Color,
italic: Color,
underline: Color,
inverse: Color,
hidden: Color,
strikethrough: Color,
rainbow: Color,
zebra: Color,
america: Color,
trap: Color,
random: Color,
zalgo: Color,
...
};
}

declare module "colors/safe" {
declare module.exports: $Exports<"colors">;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/cross-env_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 039eb7682e6f1879e2844cf344350b5c
// flow-typed version: <<STUB>>/cross-env_v^7.0.3/flow_v0.135.0

/**
* This is an autogenerated libdef stub for:
*
* 'cross-env'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'cross-env' {
declare module.exports: any;
}
6 changes: 6 additions & 0 deletions flow-typed/npm/flow-bin_v0.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// flow-typed signature: 28fdff7f110e1c75efab63ff205dda30
// flow-typed version: c6154227d1/flow-bin_v0.x.x/flow_>=v0.104.x

declare module "flow-bin" {
declare module.exports: string;
}
Loading

0 comments on commit 170604c

Please sign in to comment.