open-index/open-npm huggingface dataset:
npm package: @shko.online/dataverse-odata
Description: This package will help parse OData strings (only the Microsoft Dataverse subset). It can be used as a validator, or you can build some javascript library which consumes the output of this library.
Author: Shko Online
Latest version: 0.1.6

# @shko.online/dataverse-odata
This package will help parse OData strings (only the Microsoft Dataverse subset). It can be used as a validator, or you can build a javascript library which consumes the output of this library. We are using this to mock the `WebAPI` on the `@shko.online/componentframework-mock` package.
npm package: @shko.online/lookupobjects-mock
Description: Mocking Dataverse Lookup Objects to simplify writing soties for PCF components
Author: Shko Online
Latest version: 0.4.1


# Lookup Objects Mock

Mocking PCF [`lookupObjects`](https://learn.microsoft.com/en-us/power-apps/developer/component-framework/reference/utility/lookupobjects) to simplify writing stories for your components.


## Screenshots

![LookupScreenshot](https://github.com/Shko-Online/LookupObjects-Mock/assets/107688754/1e47b1e4-021c-430f-aa29-6a992748f396)

## Usage
First you should install `@shko.online/lookupobjects-mock` in your project:

```cmd
npm i -D @shko.online/lookupobjects-mock
```

then in your story you add the following call:

```javascript
import mockLookupObjects from '@shko.online/lookupobjects-mock'
// ...

//before executing Init exectute mockLookupObjects()
// ...
    mockLookupObjects(mockGenerator);
    mockGenerator.ExecuteInit();
// ...
```


## License

[MIT](https://github.com/Shko-Online/LookupObjects-Mock/blob/main/LICENSE)