chore(core): regen native typings (#30633)

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

Native typings are out of date.

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

native typings are updated

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
This commit is contained in:
Jason Jean 2025-04-08 16:02:34 +02:00 committed by GitHub
parent da4201b0d1
commit dbd86480c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ export declare class FileLock {
export declare class HashPlanner { export declare class HashPlanner {
constructor(nxJson: NxJson, projectGraph: ExternalObject<ProjectGraph>) constructor(nxJson: NxJson, projectGraph: ExternalObject<ProjectGraph>)
getPlans(taskIds: Array<string>, taskGraph: TaskGraph): Record<string, string[]> getPlans(taskIds: Array<string>, taskGraph: TaskGraph): Record<string, string[]>
getPlansReference(taskIds: Array<string>, taskGraph: TaskGraph): JsExternal getPlansReference(taskIds: Array<string>, taskGraph: TaskGraph): ExternalObject<Record<string, Array<HashInstruction>>>
} }
export declare class ImportResult { export declare class ImportResult {
@ -116,11 +116,11 @@ export interface CachedResult {
size?: number size?: number
} }
export declare export function closeDbConnection(connection: ExternalObject<NxDbConnection>): void export declare export declare function closeDbConnection(connection: ExternalObject<NxDbConnection>): void
export declare export function connectToNxDb(cacheDir: string, nxVersion: string, dbName?: string | undefined | null): ExternalObject<NxDbConnection> export declare export declare function connectToNxDb(cacheDir: string, nxVersion: string, dbName?: string | undefined | null): ExternalObject<NxDbConnection>
export declare export function copy(src: string, dest: string): number export declare export declare function copy(src: string, dest: string): number
export interface DepsOutputsInput { export interface DepsOutputsInput {
dependentTasksOutputFiles: string dependentTasksOutputFiles: string
@ -137,7 +137,7 @@ export declare const enum EventType {
create = 'create' create = 'create'
} }
export declare export function expandOutputs(directory: string, entries: Array<string>): Array<string> export declare export declare function expandOutputs(directory: string, entries: Array<string>): Array<string>
export interface ExternalDependenciesInput { export interface ExternalDependenciesInput {
externalDependencies: Array<string> externalDependencies: Array<string>
@ -163,21 +163,21 @@ export interface FileSetInput {
fileset: string fileset: string
} }
export declare export function findImports(projectFileMap: Record<string, Array<string>>): Array<ImportResult> export declare export declare function findImports(projectFileMap: Record<string, Array<string>>): Array<ImportResult>
export declare export function getBinaryTarget(): string export declare export declare function getBinaryTarget(): string
export declare export function getDefaultMaxCacheSize(cachePath: string): number export declare export declare 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 function getFilesForOutputs(directory: string, entries: Array<string>): Array<string> export declare export declare function getFilesForOutputs(directory: string, entries: Array<string>): Array<string>
export declare export function getTransformableOutputs(outputs: Array<string>): Array<string> export declare export declare function getTransformableOutputs(outputs: Array<string>): Array<string>
export declare export function hashArray(input: Array<string | undefined | null>): string export declare export declare function hashArray(input: Array<string | undefined | null>): string
export interface HashDetails { export interface HashDetails {
value: string value: string
@ -195,7 +195,7 @@ export interface HasherOptions {
selectivelyHashTsConfig: boolean selectivelyHashTsConfig: boolean
} }
export declare export function hashFile(file: string): string | null export declare export declare function hashFile(file: string): string | null
export interface InputsInput { export interface InputsInput {
input: string input: string
@ -235,7 +235,7 @@ export interface ProjectGraph {
externalNodes: Record<string, ExternalNode> externalNodes: Record<string, ExternalNode>
} }
export declare export function remove(src: string): void export declare export declare function remove(src: string): void
export interface RuntimeInput { export interface RuntimeInput {
runtime: string runtime: string
@ -277,20 +277,20 @@ export interface TaskTarget {
configuration?: string configuration?: string
} }
export declare export function testOnlyTransferFileMap(projectFiles: Record<string, Array<FileData>>, nonProjectFiles: Array<FileData>): NxWorkspaceFilesExternals export declare export declare 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 function transferProjectGraph(projectGraph: ProjectGraph): ExternalObject<ProjectGraph> export declare export declare function transferProjectGraph(projectGraph: ProjectGraph): ExternalObject<ProjectGraph>
export interface UpdatedWorkspaceFiles { export interface UpdatedWorkspaceFiles {
fileMap: FileMap fileMap: FileMap
externalReferences: NxWorkspaceFilesExternals externalReferences: NxWorkspaceFilesExternals
} }
export declare export function validateOutputs(outputs: Array<string>): void export declare export declare function validateOutputs(outputs: Array<string>): void
export interface WatchEvent { export interface WatchEvent {
path: string path: string