Skip to content

Commit

Permalink
fix(react-native): revert doc files
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkubaczkowski committed Mar 22, 2024
1 parent df97f95 commit 56453c1
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 21 deletions.
6 changes: 3 additions & 3 deletions docs/generated/devkit/CreateDependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Ƭ **CreateDependencies**\<`T`\>: (`options`: `T` \| `undefined`, `context`: [`CreateDependenciesContext`](../../devkit/documents/CreateDependenciesContext)) => [`RawProjectGraphDependency`](../../devkit/documents/RawProjectGraphDependency)[] \| `Promise`\<[`RawProjectGraphDependency`](../../devkit/documents/RawProjectGraphDependency)[]\>

A function which parses files in the workspace to create dependencies in the [ProjectGraph](../../devkit/documents/ProjectGraph)
Use [validateDependency](../../devkit/documents/validateDependency) to validate dependencies

#### Type parameters

| Name | Type |
Expand All @@ -12,9 +15,6 @@

▸ (`options`, `context`): [`RawProjectGraphDependency`](../../devkit/documents/RawProjectGraphDependency)[] \| `Promise`\<[`RawProjectGraphDependency`](../../devkit/documents/RawProjectGraphDependency)[]\>

A function which parses files in the workspace to create dependencies in the [ProjectGraph](../../devkit/documents/ProjectGraph)
Use [validateDependency](../../devkit/documents/validateDependency) to validate dependencies

##### Parameters

| Name | Type |
Expand Down
6 changes: 3 additions & 3 deletions docs/generated/devkit/CreateNodesFunction.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Ƭ **CreateNodesFunction**\<`T`\>: (`projectConfigurationFile`: `string`, `options`: `T` \| `undefined`, `context`: [`CreateNodesContext`](../../devkit/documents/CreateNodesContext)) => [`CreateNodesResult`](../../devkit/documents/CreateNodesResult) \| `Promise`\<[`CreateNodesResult`](../../devkit/documents/CreateNodesResult)\>

A function which parses a configuration file into a set of nodes.
Used for creating nodes for the [ProjectGraph](../../devkit/documents/ProjectGraph)

#### Type parameters

| Name | Type |
Expand All @@ -12,9 +15,6 @@

▸ (`projectConfigurationFile`, `options`, `context`): [`CreateNodesResult`](../../devkit/documents/CreateNodesResult) \| `Promise`\<[`CreateNodesResult`](../../devkit/documents/CreateNodesResult)\>

A function which parses a configuration file into a set of nodes.
Used for creating nodes for the [ProjectGraph](../../devkit/documents/ProjectGraph)

##### Parameters

| Name | Type |
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/devkit/Executor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Ƭ **Executor**\<`T`\>: (`options`: `T`, `context`: [`ExecutorContext`](../../devkit/documents/ExecutorContext)) => `Promise`\<\{ `success`: `boolean` }\> \| `AsyncIterableIterator`\<\{ `success`: `boolean` }\>

Implementation of a target of a project

#### Type parameters

| Name | Type |
Expand All @@ -12,8 +14,6 @@

▸ (`options`, `context`): `Promise`\<\{ `success`: `boolean` }\> \| `AsyncIterableIterator`\<\{ `success`: `boolean` }\>

Implementation of a target of a project

##### Parameters

| Name | Type |
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/devkit/Generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Ƭ **Generator**\<`T`\>: (`tree`: `any`, `schema`: `T`) => `void` \| [`GeneratorCallback`](../../devkit/documents/GeneratorCallback) \| `Promise`\<`void` \| [`GeneratorCallback`](../../devkit/documents/GeneratorCallback)\>

A function that schedules updates to the filesystem to be done atomically

#### Type parameters

| Name | Type |
Expand All @@ -12,8 +14,6 @@

▸ (`tree`, `schema`): `void` \| [`GeneratorCallback`](../../devkit/documents/GeneratorCallback) \| `Promise`\<`void` \| [`GeneratorCallback`](../../devkit/documents/GeneratorCallback)\>

A function that schedules updates to the filesystem to be done atomically

##### Parameters

| Name | Type |
Expand Down
4 changes: 2 additions & 2 deletions docs/generated/devkit/GeneratorCallback.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

Ƭ **GeneratorCallback**: () => `void` \| `Promise`\<`void`\>

A callback function that is executed after changes are made to the file system

#### Type declaration

▸ (): `void` \| `Promise`\<`void`\>

A callback function that is executed after changes are made to the file system

##### Returns

`void` \| `Promise`\<`void`\>
8 changes: 4 additions & 4 deletions docs/generated/devkit/ProjectTargetConfigurator.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Ƭ **ProjectTargetConfigurator**: (`file`: `string`) => `Record`\<`string`, [`TargetConfiguration`](../../devkit/documents/TargetConfiguration)\>

**`Deprecated`**

Add targets to the projects in a [CreateNodes](../../devkit/documents/CreateNodes) function instead. This will be removed in Nx 19

#### Type declaration

▸ (`file`): `Record`\<`string`, [`TargetConfiguration`](../../devkit/documents/TargetConfiguration)\>
Expand All @@ -15,7 +19,3 @@
##### Returns

`Record`\<`string`, [`TargetConfiguration`](../../devkit/documents/TargetConfiguration)\>

**`Deprecated`**

Add targets to the projects in a [CreateNodes](../../devkit/documents/CreateNodes) function instead. This will be removed in Nx 19
4 changes: 2 additions & 2 deletions docs/generated/devkit/TaskGraphExecutor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Ƭ **TaskGraphExecutor**\<`T`\>: (`taskGraph`: [`TaskGraph`](../../devkit/documents/TaskGraph), `options`: `Record`\<`string`, `T`\>, `overrides`: `T`, `context`: [`ExecutorContext`](../../devkit/documents/ExecutorContext)) => `Promise`\<`BatchExecutorResult` \| `AsyncIterableIterator`\<`BatchExecutorTaskResult`\>\>

Implementation of a target of a project that handles multiple projects to be batched

#### Type parameters

| Name | Type |
Expand All @@ -12,8 +14,6 @@

▸ (`taskGraph`, `options`, `overrides`, `context`): `Promise`\<`BatchExecutorResult` \| `AsyncIterableIterator`\<`BatchExecutorTaskResult`\>\>

Implementation of a target of a project that handles multiple projects to be batched

##### Parameters

| Name | Type |
Expand Down
3 changes: 0 additions & 3 deletions docs/generated/devkit/defaultTasksRunner.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

**defaultTasksRunner**(`tasks`, `options`, `context?`): `any`

`any | Promise<{ [id: string]: TaskStatus }>`
will change to Promise<{ [id: string]: TaskStatus }> after Nx 15 is released.

#### Parameters

| Name | Type |
Expand Down

0 comments on commit 56453c1

Please sign in to comment.