chore(core): regen native typings
This commit is contained in:
parent
6541751aab
commit
87badb0486
32
packages/nx/src/native/index.d.ts
vendored
32
packages/nx/src/native/index.d.ts
vendored
@ -144,11 +144,11 @@ export interface CachedResult {
|
|||||||
size?: number
|
size?: number
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare export declare function closeDbConnection(connection: ExternalObject<NxDbConnection>): void
|
export declare export function closeDbConnection(connection: ExternalObject<NxDbConnection>): void
|
||||||
|
|
||||||
export declare export declare function connectToNxDb(cacheDir: string, nxVersion: string, dbName?: string | undefined | null): ExternalObject<NxDbConnection>
|
export declare export function connectToNxDb(cacheDir: string, nxVersion: string, dbName?: string | undefined | null): ExternalObject<NxDbConnection>
|
||||||
|
|
||||||
export declare export declare function copy(src: string, dest: string): number
|
export declare export function copy(src: string, dest: string): number
|
||||||
|
|
||||||
export interface DepsOutputsInput {
|
export interface DepsOutputsInput {
|
||||||
dependentTasksOutputFiles: string
|
dependentTasksOutputFiles: string
|
||||||
@ -165,7 +165,7 @@ export declare const enum EventType {
|
|||||||
create = 'create'
|
create = 'create'
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare export declare function expandOutputs(directory: string, entries: Array<string>): Array<string>
|
export declare export function expandOutputs(directory: string, entries: Array<string>): Array<string>
|
||||||
|
|
||||||
export interface ExternalDependenciesInput {
|
export interface ExternalDependenciesInput {
|
||||||
externalDependencies: Array<string>
|
externalDependencies: Array<string>
|
||||||
@ -191,21 +191,21 @@ export interface FileSetInput {
|
|||||||
fileset: string
|
fileset: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare export declare function findImports(projectFileMap: Record<string, Array<string>>): Array<ImportResult>
|
export declare export function findImports(projectFileMap: Record<string, Array<string>>): Array<ImportResult>
|
||||||
|
|
||||||
export declare export declare function getBinaryTarget(): string
|
export declare export function getBinaryTarget(): string
|
||||||
|
|
||||||
export declare export declare function getDefaultMaxCacheSize(cachePath: string): number
|
export declare export function getDefaultMaxCacheSize(cachePath: string): number
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Expands the given outputs into a list of existing files.
|
* Expands the given outputs into a list of existing files.
|
||||||
* This is used when hashing outputs
|
* This is used when hashing outputs
|
||||||
*/
|
*/
|
||||||
export declare export declare function getFilesForOutputs(directory: string, entries: Array<string>): Array<string>
|
export declare export function getFilesForOutputs(directory: string, entries: Array<string>): Array<string>
|
||||||
|
|
||||||
export declare export declare function getTransformableOutputs(outputs: Array<string>): Array<string>
|
export declare export function getTransformableOutputs(outputs: Array<string>): Array<string>
|
||||||
|
|
||||||
export declare export declare function hashArray(input: Array<string | undefined | null>): string
|
export declare export function hashArray(input: Array<string | undefined | null>): string
|
||||||
|
|
||||||
export interface HashDetails {
|
export interface HashDetails {
|
||||||
value: string
|
value: string
|
||||||
@ -223,7 +223,7 @@ export interface HasherOptions {
|
|||||||
selectivelyHashTsConfig: boolean
|
selectivelyHashTsConfig: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare export declare function hashFile(file: string): string | null
|
export declare export function hashFile(file: string): string | null
|
||||||
|
|
||||||
export interface InputsInput {
|
export interface InputsInput {
|
||||||
input: string
|
input: string
|
||||||
@ -263,9 +263,9 @@ export interface ProjectGraph {
|
|||||||
externalNodes: Record<string, ExternalNode>
|
externalNodes: Record<string, ExternalNode>
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare export declare function remove(src: string): void
|
export declare export function remove(src: string): void
|
||||||
|
|
||||||
export declare export declare function restoreTerminal(): void
|
export declare export function restoreTerminal(): void
|
||||||
|
|
||||||
export interface RuntimeInput {
|
export interface RuntimeInput {
|
||||||
runtime: string
|
runtime: string
|
||||||
@ -317,13 +317,13 @@ export interface TaskTarget {
|
|||||||
configuration?: string
|
configuration?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare export declare function testOnlyTransferFileMap(projectFiles: Record<string, Array<FileData>>, nonProjectFiles: Array<FileData>): NxWorkspaceFilesExternals
|
export declare export function testOnlyTransferFileMap(projectFiles: Record<string, Array<FileData>>, nonProjectFiles: Array<FileData>): NxWorkspaceFilesExternals
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Transfer the project graph from the JS world to the Rust world, so that we can pass the project graph via memory quicker
|
* Transfer the project graph from the JS world to the Rust world, so that we can pass the project graph via memory quicker
|
||||||
* This wont be needed once the project graph is created in Rust
|
* This wont be needed once the project graph is created in Rust
|
||||||
*/
|
*/
|
||||||
export declare export declare function transferProjectGraph(projectGraph: ProjectGraph): ExternalObject<ProjectGraph>
|
export declare export function transferProjectGraph(projectGraph: ProjectGraph): ExternalObject<ProjectGraph>
|
||||||
|
|
||||||
export interface TuiCliArgs {
|
export interface TuiCliArgs {
|
||||||
targets?: string[] | undefined
|
targets?: string[] | undefined
|
||||||
@ -339,7 +339,7 @@ export interface UpdatedWorkspaceFiles {
|
|||||||
externalReferences: NxWorkspaceFilesExternals
|
externalReferences: NxWorkspaceFilesExternals
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare export declare function validateOutputs(outputs: Array<string>): void
|
export declare export function validateOutputs(outputs: Array<string>): void
|
||||||
|
|
||||||
export interface WatchEvent {
|
export interface WatchEvent {
|
||||||
path: string
|
path: string
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user