WIP - add extractor, generate snippet_data

This commit is contained in:
Stefan Fejes
2019-08-20 15:52:05 +02:00
parent 88084d3d30
commit cc8f1d8a7a
37396 changed files with 4588842 additions and 133 deletions

27
node_modules/gatsby-core-utils/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,27 @@
/**
* Encrypts an input using md5 hash of hexadecimal digest.
*
* @param {*} input The input to encrypt
* @return {string} The content digest
*/
export declare function createContentDigest(input: any): string
/**
* Joins all given path segments and converts
* @param {string[]} paths A sequence of path segments
*/
export declare function joinPath(...paths: string[]): string
/**
* Calculate CPU core count
*
* @param {boolean} ignoreEnvVar Ignore the 'GATSBY_CPU_COUNT' env var to calculate the requested type of CPU cores
* @return {number} Count of the requested type of CPU cores. Defaults to number of physical cores or 1
*/
export declare function cpuCoreCount(ignoreEnvVar?: boolean): number
/**
* Joins all given segments and converts using a forward slash (/) as a delimiter
* @param {string[]} segments A sequence of segments
*/
export declare function urlResolve(...segments: string[]): string