docs: update docusaurus to v3 (#5625)
* update dependencies * update onboarding mdx * fixes for mdx issues * fixes for mdx compatibility * resolve mdx errors * fixes in reference * fix check errors * revert change in vale action * fix node version in action * fix summary in markdown
This commit is contained in:
@@ -10,7 +10,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
### constructor
|
||||
|
||||
**new ClaimItemService**(`«destructured»`)
|
||||
`**new ClaimItemService**(«destructured»)`
|
||||
|
||||
#### Parameters
|
||||
|
||||
@@ -31,7 +31,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "__configModule__",
|
||||
"type": "Record<`string`, `unknown`\\>",
|
||||
"type": "`Record<string, unknown>`",
|
||||
"description": "",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -49,7 +49,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
},
|
||||
{
|
||||
"name": "__moduleDeclaration__",
|
||||
"type": "Record<`string`, `unknown`\\>",
|
||||
"type": "`Record<string, unknown>`",
|
||||
"description": "",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -58,7 +58,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
},
|
||||
{
|
||||
"name": "claimImageRepository_",
|
||||
"type": "`Repository`<[`ClaimImage`](ClaimImage.mdx)\\>",
|
||||
"type": "Repository<[ClaimImage](ClaimImage.mdx)>",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -67,7 +67,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
},
|
||||
{
|
||||
"name": "claimItemRepository_",
|
||||
"type": "`Repository`<[`ClaimItem`](ClaimItem.mdx)\\>",
|
||||
"type": "Repository<[ClaimItem](ClaimItem.mdx)>",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -76,7 +76,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
},
|
||||
{
|
||||
"name": "claimTagRepository_",
|
||||
"type": "`Repository`<[`ClaimTag`](ClaimTag.mdx)\\>",
|
||||
"type": "Repository<[ClaimTag](ClaimTag.mdx)>",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -85,7 +85,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
},
|
||||
{
|
||||
"name": "eventBus_",
|
||||
"type": "[`EventBusService`](EventBusService.mdx)",
|
||||
"type": "[EventBusService](EventBusService.mdx)",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -94,7 +94,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
},
|
||||
{
|
||||
"name": "lineItemService_",
|
||||
"type": "[`LineItemService`](LineItemService.mdx)",
|
||||
"type": "[LineItemService](LineItemService.mdx)",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -103,7 +103,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
},
|
||||
{
|
||||
"name": "manager_",
|
||||
"type": "`EntityManager`",
|
||||
"type": "EntityManager",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -112,7 +112,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
},
|
||||
{
|
||||
"name": "transactionManager_",
|
||||
"type": "`undefined` \\| `EntityManager`",
|
||||
"type": "`undefined` \\| EntityManager",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -161,16 +161,16 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
### activeManager\_
|
||||
|
||||
`Protected` `get` **activeManager_**(): `EntityManager`
|
||||
`Protected get**activeManager_**(): EntityManager`
|
||||
|
||||
#### Returns
|
||||
|
||||
`EntityManager`
|
||||
EntityManager
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "EntityManager",
|
||||
"type": "`EntityManager`",
|
||||
"type": "EntityManager",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "",
|
||||
@@ -183,7 +183,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
### atomicPhase\_
|
||||
|
||||
`Protected` **atomicPhase_**<`TResult`, `TError`\>(`work`, `isolationOrErrorHandler?`, `maybeErrorHandlerOrDontFail?`): `Promise`<`TResult`\>
|
||||
`Protected **atomicPhase_**<TypeParameter TResult, TypeParameter TError>(work, isolationOrErrorHandler?, maybeErrorHandlerOrDontFail?): Promise<TResult>`
|
||||
|
||||
Wraps some work within a transactional block. If the service already has
|
||||
a transaction manager attached this will be reused, otherwise a new
|
||||
@@ -215,7 +215,7 @@ transaction manager is created.
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "work",
|
||||
"type": "(`transactionManager`: `EntityManager`) => `Promise`<`TResult`\\>",
|
||||
"type": "(`transactionManager`: EntityManager) => Promise<TResult>",
|
||||
"description": "the transactional work to be done",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -224,7 +224,7 @@ transaction manager is created.
|
||||
},
|
||||
{
|
||||
"name": "isolationOrErrorHandler",
|
||||
"type": "`IsolationLevel` \\| (`error`: `TError`) => `Promise`<`void` \\| `TResult`\\>",
|
||||
"type": "`IsolationLevel` \\| (`error`: `TError`) => Promise<void \\| TResult>",
|
||||
"description": "the isolation level to be used for the work.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -233,7 +233,7 @@ transaction manager is created.
|
||||
},
|
||||
{
|
||||
"name": "maybeErrorHandlerOrDontFail",
|
||||
"type": "(`error`: `TError`) => `Promise`<`void` \\| `TResult`\\>",
|
||||
"type": "(`error`: `TError`) => Promise<void \\| TResult>",
|
||||
"description": "Potential error handler",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -244,12 +244,12 @@ transaction manager is created.
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`TResult`\>
|
||||
Promise<TResult>
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "Promise",
|
||||
"type": "`Promise`<`TResult`\\>",
|
||||
"type": "Promise<TResult>",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "the result of the transactional work",
|
||||
@@ -262,14 +262,14 @@ ___
|
||||
|
||||
### create
|
||||
|
||||
**create**(`data`): `Promise`<[`ClaimItem`](ClaimItem.mdx)\>
|
||||
`**create**(data): Promise<[ClaimItem](ClaimItem.mdx)>`
|
||||
|
||||
#### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "data",
|
||||
"type": "[`CreateClaimItemInput`](../types/CreateClaimItemInput.mdx)",
|
||||
"type": "[CreateClaimItemInput](../types/CreateClaimItemInput.mdx)",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -280,12 +280,12 @@ ___
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<[`ClaimItem`](ClaimItem.mdx)\>
|
||||
Promise<[ClaimItem](ClaimItem.mdx)>
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "Promise",
|
||||
"type": "`Promise`<[`ClaimItem`](ClaimItem.mdx)\\>",
|
||||
"type": "Promise<[ClaimItem](ClaimItem.mdx)>",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "",
|
||||
@@ -298,14 +298,14 @@ ___
|
||||
|
||||
### list
|
||||
|
||||
**list**(`selector`, `config?`): `Promise`<[`ClaimItem`](ClaimItem.mdx)[]\>
|
||||
`**list**(selector, config?): Promise<[ClaimItem](ClaimItem.mdx)[]>`
|
||||
|
||||
#### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "selector",
|
||||
"type": "[`Selector`](../types/Selector.mdx)<[`ClaimItem`](ClaimItem.mdx)\\>",
|
||||
"type": "[Selector](../types/Selector.mdx)<[ClaimItem](ClaimItem.mdx)>",
|
||||
"description": "the query object for find",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -314,7 +314,7 @@ ___
|
||||
},
|
||||
{
|
||||
"name": "config",
|
||||
"type": "[`FindConfig`](../interfaces/FindConfig.mdx)<[`ClaimItem`](ClaimItem.mdx)\\>",
|
||||
"type": "[FindConfig](../interfaces/FindConfig.mdx)<[ClaimItem](ClaimItem.mdx)>",
|
||||
"description": "the config object for find",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -325,12 +325,12 @@ ___
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<[`ClaimItem`](ClaimItem.mdx)[]\>
|
||||
Promise<[ClaimItem](ClaimItem.mdx)[]>
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "Promise",
|
||||
"type": "`Promise`<[`ClaimItem`](ClaimItem.mdx)[]\\>",
|
||||
"type": "Promise<[ClaimItem](ClaimItem.mdx)[]>",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "the result of the find operation",
|
||||
@@ -343,7 +343,7 @@ ___
|
||||
|
||||
### retrieve
|
||||
|
||||
**retrieve**(`claimItemId`, `config?`): `Promise`<[`ClaimItem`](ClaimItem.mdx)\>
|
||||
`**retrieve**(claimItemId, config?): Promise<[ClaimItem](ClaimItem.mdx)>`
|
||||
|
||||
Gets a claim item by id.
|
||||
|
||||
@@ -361,7 +361,7 @@ Gets a claim item by id.
|
||||
},
|
||||
{
|
||||
"name": "config",
|
||||
"type": "[`FindConfig`](../interfaces/FindConfig.mdx)<[`ClaimItem`](ClaimItem.mdx)\\>",
|
||||
"type": "[FindConfig](../interfaces/FindConfig.mdx)<[ClaimItem](ClaimItem.mdx)>",
|
||||
"description": "configuration for the find operation",
|
||||
"optional": false,
|
||||
"defaultValue": "{}",
|
||||
@@ -372,12 +372,12 @@ Gets a claim item by id.
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<[`ClaimItem`](ClaimItem.mdx)\>
|
||||
Promise<[ClaimItem](ClaimItem.mdx)>
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "Promise",
|
||||
"type": "`Promise`<[`ClaimItem`](ClaimItem.mdx)\\>",
|
||||
"type": "Promise<[ClaimItem](ClaimItem.mdx)>",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "the ClaimItem",
|
||||
@@ -390,14 +390,14 @@ ___
|
||||
|
||||
### shouldRetryTransaction\_
|
||||
|
||||
`Protected` **shouldRetryTransaction_**(`err`): `boolean`
|
||||
`Protected **shouldRetryTransaction_**(err): boolean`
|
||||
|
||||
#### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "err",
|
||||
"type": "Record<`string`, `unknown`\\> \\| { `code`: `string` }",
|
||||
"type": "`Record<string, unknown>` \\| `{ code: string }`",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -426,7 +426,7 @@ ___
|
||||
|
||||
### update
|
||||
|
||||
**update**(`id`, `data`): `Promise`<[`ClaimItem`](ClaimItem.mdx)\>
|
||||
`**update**(id, data): Promise<[ClaimItem](ClaimItem.mdx)>`
|
||||
|
||||
#### Parameters
|
||||
|
||||
@@ -453,12 +453,12 @@ ___
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<[`ClaimItem`](ClaimItem.mdx)\>
|
||||
Promise<[ClaimItem](ClaimItem.mdx)>
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "Promise",
|
||||
"type": "`Promise`<[`ClaimItem`](ClaimItem.mdx)\\>",
|
||||
"type": "Promise<[ClaimItem](ClaimItem.mdx)>",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "",
|
||||
@@ -471,14 +471,14 @@ ___
|
||||
|
||||
### withTransaction
|
||||
|
||||
**withTransaction**(`transactionManager?`): [`ClaimItemService`](ClaimItemService.mdx)
|
||||
`**withTransaction**(transactionManager?): [ClaimItemService](ClaimItemService.mdx)`
|
||||
|
||||
#### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "transactionManager",
|
||||
"type": "`EntityManager`",
|
||||
"type": "EntityManager",
|
||||
"description": "",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -489,12 +489,12 @@ ___
|
||||
|
||||
#### Returns
|
||||
|
||||
[`ClaimItemService`](ClaimItemService.mdx)
|
||||
[ClaimItemService](ClaimItemService.mdx)
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "ClaimItemService",
|
||||
"type": "[`ClaimItemService`](ClaimItemService.mdx)",
|
||||
"type": "[ClaimItemService](ClaimItemService.mdx)",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "",
|
||||
|
||||
Reference in New Issue
Block a user