@sankhyalabs/sankhyablocks-docs 8.15.0-dev.81 → 8.15.0-dev.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,7 +106,7 @@ Type: `Promise<boolean>`
|
|
106
106
|
|
107
107
|
|
108
108
|
|
109
|
-
### `createDataunit(entityName: string, dataUnitName?: string, parentDataUnit?: DataUnit, configName?: string, resourceID?: string
|
109
|
+
### `createDataunit(entityName: string, dataUnitName?: string, parentDataUnit?: DataUnit, configName?: string, resourceID?: string) => Promise<DataUnit>`
|
110
110
|
|
111
111
|
Cria o DataUnit a partir do nome da entidade. É possível armazená-lo no cache
|
112
112
|
passando o dataUnitName, assim, se mais de uma chamada for feita, o mesmo DataUnit será usado.
|
@@ -231,7 +231,7 @@ Type: `Promise<DataFetcher>`
|
|
231
231
|
|
232
232
|
DataFetcher do application
|
233
233
|
|
234
|
-
### `getDataUnit(entityName: string, dataUnitName: string, parentDataUnit?: DataUnit, configName?: string, resourceID?: string
|
234
|
+
### `getDataUnit(entityName: string, dataUnitName: string, parentDataUnit?: DataUnit, configName?: string, resourceID?: string) => Promise<DataUnit>`
|
235
235
|
|
236
236
|
Obtem um DataUnit do cache ou cria um caso ainda não tenha sido criado.
|
237
237
|
|