Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit the flow-typed folder to git #73

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ jspm_packages
# Yarn Integrity file
.yarn-integrity

# Flow Typed
flow-typed

.idea

.DS_Store
69 changes: 69 additions & 0 deletions flow-typed/npm/@babel/code-frame_v7.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
// flow-typed signature: 913da0be335d23be3c9dd56e9ec4dd3a
// flow-typed version: c6154227d1/@babel/code-frame_v7.x.x/flow_>=v0.104.x

declare module '@babel/code-frame' {
declare export type SourceLocation = {
start: {|
line: number,
column?: number,
|},
end?: {|
line: number,
column?: number,
|},
...
};
declare export function codeFrameColumns(
rawLines: string,
location: SourceLocation,
options?: BabelCodeFrameOptions
): string;

declare export type BabelCodeFrameOptions = {
/**
* Syntax highlight the code as JavaScript for terminals. default: false
*/
highlightCode?: boolean,

/**
* The number of lines to show above the error. default: 2
*/
linesAbove?: number,

/**
* The number of lines to show below the error. default: 3
*/
linesBelow?: number,

/**
* Forcibly syntax highlight the code as JavaScript (for non-terminals);
* overrides highlightCode.
* default: false
*/
forceColor?: boolean,

/**
* Pass in a string to be displayed inline (if possible) next to the
* highlighted location in the code. If it can't be positioned inline,
* it will be placed above the code frame.
* default: nothing
*/
message?: string,
...
}

/**
* Generate errors that contain a code frame that point to source locations.
* @param rawLines Raw lines to frame
* @param lineNumber Line number (1 indexed)
* @param colNumber Column number
* @param options Additional options
* @returns Framed code
*/
declare export default function codeFrame(
rawLines: string,
lineNumber: number,
colNumber: number,
options?: BabelCodeFrameOptions
): string;
}
60 changes: 60 additions & 0 deletions flow-typed/npm/@krakenjs/grabthar-release_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
// flow-typed signature: cb736bea967905ae70db546ea1205a73
// flow-typed version: <<STUB>>/@krakenjs/grabthar-release_v^3.0.0/flow_v0.135.0

/**
* This is an autogenerated libdef stub for:
*
* '@krakenjs/grabthar-release'
*
* 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/grabthar-release' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@krakenjs/grabthar-release/scripts/cdnify' {
declare module.exports: any;
}

declare module '@krakenjs/grabthar-release/scripts/dependency-test' {
declare module.exports: any;
}

declare module '@krakenjs/grabthar-release/scripts/grabthar-utils' {
declare module.exports: any;
}

declare module '@krakenjs/grabthar-release/scripts/prune' {
declare module.exports: any;
}

declare module '@krakenjs/grabthar-release/scripts/validate-flat' {
declare module.exports: any;
}

// Filename aliases
declare module '@krakenjs/grabthar-release/scripts/cdnify.js' {
declare module.exports: $Exports<'@krakenjs/grabthar-release/scripts/cdnify'>;
}
declare module '@krakenjs/grabthar-release/scripts/dependency-test.js' {
declare module.exports: $Exports<'@krakenjs/grabthar-release/scripts/dependency-test'>;
}
declare module '@krakenjs/grabthar-release/scripts/grabthar-utils.js' {
declare module.exports: $Exports<'@krakenjs/grabthar-release/scripts/grabthar-utils'>;
}
declare module '@krakenjs/grabthar-release/scripts/prune.js' {
declare module.exports: $Exports<'@krakenjs/grabthar-release/scripts/prune'>;
}
declare module '@krakenjs/grabthar-release/scripts/validate-flat.js' {
declare module.exports: $Exports<'@krakenjs/grabthar-release/scripts/validate-flat'>;
}
67 changes: 67 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,67 @@
// flow-typed signature: 06a03ed2075207cc56443399d924bff0
// 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;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module '@krakenjs/grumbler-scripts/config/karma.conf' {
declare module.exports: any;
}

declare module '@krakenjs/grumbler-scripts/config/webpack.config' {
declare module.exports: any;
}

declare module '@krakenjs/grumbler-scripts/test/component' {
declare module.exports: any;
}

declare module '@krakenjs/grumbler-scripts/test/dependency' {
declare module.exports: any;
}

declare module '@krakenjs/grumbler-scripts/test/module' {
declare module.exports: any;
}

declare module '@krakenjs/grumbler-scripts/webpack.config' {
declare module.exports: any;
}

// Filename aliases
declare module '@krakenjs/grumbler-scripts/config/karma.conf.js' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/config/karma.conf'>;
}
declare module '@krakenjs/grumbler-scripts/config/webpack.config.js' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/config/webpack.config'>;
}
declare module '@krakenjs/grumbler-scripts/test/component.jsx' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/test/component'>;
}
declare module '@krakenjs/grumbler-scripts/test/dependency.js' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/test/dependency'>;
}
declare module '@krakenjs/grumbler-scripts/test/module.js' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/test/module'>;
}
declare module '@krakenjs/grumbler-scripts/webpack.config.js' {
declare module.exports: $Exports<'@krakenjs/grumbler-scripts/webpack.config'>;
}
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,
|};
}
Loading
Loading