@sankhyalabs/core-docs 5.20.0-rc.2 → 5.20.0-rc.3
Sign up to get free protection for your applications and to get access to all the features.
- package/classes/DataUnit.md +11 -5
- package/globals.md +1 -0
- package/package.json +1 -1
- package/type-aliases/DataUnitEventOptions.md +17 -0
package/classes/DataUnit.md
CHANGED
@@ -62,7 +62,7 @@ src/dataunit/DataUnit.ts:42
|
|
62
62
|
|
63
63
|
### \_interceptors
|
64
64
|
|
65
|
-
> `private` **\_interceptors**: [`DUActionInterceptor`](../interfaces/DUActionInterceptor.md)
|
65
|
+
> `private` **\_interceptors**: `Map`\<`string`, [`DUActionInterceptor`](../interfaces/DUActionInterceptor.md)\>
|
66
66
|
|
67
67
|
#### Source
|
68
68
|
|
@@ -92,7 +92,7 @@ src/dataunit/DataUnit.ts:39
|
|
92
92
|
|
93
93
|
### \_observers
|
94
94
|
|
95
|
-
> `private` **\_observers**: (`action`) => `void`[]
|
95
|
+
> `private` **\_observers**: (`action`, `options`?) => `void`[]
|
96
96
|
|
97
97
|
#### Source
|
98
98
|
|
@@ -828,7 +828,7 @@ src/dataunit/DataUnit.ts:1649
|
|
828
828
|
|
829
829
|
### dispatchAction()
|
830
830
|
|
831
|
-
> `private` **dispatchAction**(`actionType`, `payload`?, `executionCtx`?): `Promise`\<`boolean`\>
|
831
|
+
> `private` **dispatchAction**(`actionType`, `payload`?, `executionCtx`?, `options`?): `Promise`\<`boolean`\>
|
832
832
|
|
833
833
|
Lança ação do DataUnit para que sejam processadas.
|
834
834
|
|
@@ -846,6 +846,8 @@ Dados que serão processados na ação.
|
|
846
846
|
|
847
847
|
Contexto de execução de lançar a ação que será executada.
|
848
848
|
|
849
|
+
• **options?**: [`DataUnitEventOptions`](../type-aliases/DataUnitEventOptions.md)
|
850
|
+
|
849
851
|
#### Returns
|
850
852
|
|
851
853
|
`Promise`\<`boolean`\>
|
@@ -860,7 +862,7 @@ src/dataunit/DataUnit.ts:1437
|
|
860
862
|
|
861
863
|
### doDispatchAction()
|
862
864
|
|
863
|
-
> `private` **doDispatchAction**(`action`): `void`
|
865
|
+
> `private` **doDispatchAction**(`action`, `options`): `void`
|
864
866
|
|
865
867
|
Processa as ações no DataUnit e notifica os observers.
|
866
868
|
|
@@ -870,6 +872,8 @@ Processa as ações no DataUnit e notifica os observers.
|
|
870
872
|
|
871
873
|
Ações em execução no DataUnit.
|
872
874
|
|
875
|
+
• **options**: [`DataUnitEventOptions`](../type-aliases/DataUnitEventOptions.md)= `{}`
|
876
|
+
|
873
877
|
#### Returns
|
874
878
|
|
875
879
|
`void`
|
@@ -2174,7 +2178,7 @@ src/dataunit/DataUnit.ts:1068
|
|
2174
2178
|
|
2175
2179
|
### setFieldValue()
|
2176
2180
|
|
2177
|
-
> **setFieldValue**(`fieldName`, `newValue`, `records`?): `Promise`\<`boolean`\>
|
2181
|
+
> **setFieldValue**(`fieldName`, `newValue`, `records`?, `options`?): `Promise`\<`boolean`\>
|
2178
2182
|
|
2179
2183
|
Insere valor no campo desejado.
|
2180
2184
|
|
@@ -2192,6 +2196,8 @@ Valor a ser inserido no campo.
|
|
2192
2196
|
|
2193
2197
|
Indica quais registros foram afetados pela alteração no valor do campo.
|
2194
2198
|
|
2199
|
+
• **options?**: [`DataUnitEventOptions`](../type-aliases/DataUnitEventOptions.md)
|
2200
|
+
|
2195
2201
|
#### Returns
|
2196
2202
|
|
2197
2203
|
`Promise`\<`boolean`\>
|
package/globals.md
CHANGED
package/package.json
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
[**@sankhyalabs/core**](../README.md) • **Docs**
|
2
|
+
|
3
|
+
***
|
4
|
+
|
5
|
+
[@sankhyalabs/core](../globals.md) / DataUnitEventOptions
|
6
|
+
|
7
|
+
# Type alias: DataUnitEventOptions
|
8
|
+
|
9
|
+
> **DataUnitEventOptions**: `object`
|
10
|
+
|
11
|
+
## Index signature
|
12
|
+
|
13
|
+
\[`key`: `string`\]: `any`
|
14
|
+
|
15
|
+
## Source
|
16
|
+
|
17
|
+
src/dataunit/DataUnit.ts:1955
|