open-index/open-npm huggingface dataset:
npm package: @gruposinternet/angular-ckeditor
Description: CKEditor directive for Angular.
Author: Grupos Internet
Latest version: 1.0.2

# angular-ckeditor

[![Build Status](https://travis-ci.org/lemonde/angular-ckeditor.svg?branch=master)](https://travis-ci.org/lemonde/angular-ckeditor)
[![Dependency Status](https://david-dm.org/lemonde/angular-ckeditor.svg?theme=shields.io)](https://david-dm.org/lemonde/angular-ckeditor)
[![devDependency Status](https://david-dm.org/lemonde/angular-ckeditor/dev-status.svg?theme=shields.io)](https://david-dm.org/lemonde/angular-ckeditor#info=devDependencies)

CKEditor directive for Angular.


## Install

### Using bower

```sh
bower install angular-ckeditor
```

### Using NPM

```sh
npm install angular-ckeditor
```

Note : obviously this plugin expects the presence of AngularJS and CKEditor.


## Usage

### Example

HTML:

```html
<!-- Load files. -->
<script src="angular.js"></script>
<script src="ckeditor.js"></script>
<script src="angular-ckeditor.js"></script>

<div ng-controller="CkeditorCtrl">
  <div ckeditor="options" ng-model="content" ready="onReady()"></div>
</div>
```

JavaScript:

```js
angular.module('controllers.ckeditor', ['ckeditor'])
.controller('CkeditorCtrl', ['$scope', function ($scope) {

  // Editor options.
  $scope.options = {
    language: 'en',
    allowedContent: true,
    entities: false
  };

  // Called when the editor is completely ready.
  $scope.onReady = function () {
    // ...
  };
}]);
```

### "ckeditor" directive

- "ckeditor" editor options. Accepts an Object.
- "ng-model" bound scope variable.
- "ready" (optional) callback called when the editor is completely ready. Accepts an Angular expression.
- "contenteditable" (optional) if set to true, inline editing mode is enabled

**IMPORTANT NOTICE**
Angular-ckeditor uses `ng-model`. If you add an `ng-if` on the element to whom this directive is attached, changes in the editor won't be forwarded to your code anymore, due to the extra scope created by `ng-if`. A solution is to explicitely bypass the extra scope : `ng-model="$parent.model"`. See http://stackoverflow.com/questions/18342917/angularjs-ng-model-doesnt-work-inside-ng-if


## Advanced usage

### getting internal ckeditor instance
Internally, CKEditor gives a name to its instances, either **the id of the element it's on** or automatic name (editor1, editor2...). If you plan to look for your instances programmatically via `CKEditor.istances`, be sure to give them a unique id="..." (Beware of re-usable directives).

In a directive on the same element, you can also use :
```javascript
link: function (scope, element) {
  var ckeditorController = element.controller('ckeditor'); // angular-ckeditor controller
  var ckeditorInstance = ckeditorController.instance;
```


## See also
You may find this other directive useful : https://github.com/lemonde/angular-ckeditor-placeholder


## License

MIT


## Contributing
* clone repo
* ensure your editor is decent and pick up the `.editorconfig` and `.jshintrc` files
* `npm install`
* `npm test`
* add tests, add features
* `grunt` (to generate minified version)
* send a PR

Thanks !
npm package: @gruposk/n8n-nodes-thefork
Description: n8n node for TheFork B2B API - 100% aligned with official Postman collection
Author: TheFork Integration
Latest version: 1.2.4

# n8n-nodes-thefork

Node n8n para TheFork B2B API - **100% alinhado com a coleção Postman oficial**.

## Endpoints Implementados

Este node implementa **EXATAMENTE** os endpoints da coleção Postman `TheFork - B2B API`:

### Authentication
| Endpoint | Método | Path |
|----------|--------|------|
| Auth | POST | https://auth.thefork.io/oauth/token |

Body: `application/x-www-form-urlencoded` com `audience`, `grant_type`, `client_id`, `client_secret`

### Customer
| Operação | Método | Path | Parâmetros |
|----------|--------|------|------------|
| Get Many | GET | /manager/v1/customers | groupUuid, startDate, endDate |
| Get | GET | /manager/v1/customers/{customerUuid} | - |

### Reservation
| Operação | Método | Path | Parâmetros |
|----------|--------|------|------------|
| Get Many | GET | /manager/v1/reservations | startDate, endDate, groupUuid |
| Get | GET | /manager/v1/reservations/{reservationUuid} | - |
| Create | POST | /manager/v1/restaurants/{restaurantUuid}/reservations | mealDate, partySize, customerNote, customer |
| Update | PATCH | /manager/v1/reservations/{reservationUuid} | mealDate, partySize |
| Cancel | PATCH | /manager/v1/reservations/{reservationUuid}/cancel | - |

### Review
| Operação | Método | Path | Parâmetros |
|----------|--------|------|------------|
| Get Many | GET | /manager/v1/reviews | restaurantUuid, startDate, endDate, withCommentOnly, limit, page |
| Get | GET | /manager/v1/reviews/{reviewUuid} | - |

### Restaurant
| Operação | Método | Path | Parâmetros |
|----------|--------|------|------------|
| Get Availabilities | GET | /manager/v1/restaurants/{restaurantUuid}/availabilities | startDate, endDate |
| Get Offers | GET | /manager/v1/restaurants/{restaurantUuid}/offers | locale |
| Get Party Sizes | GET | **/v1**/restaurants/{restaurantUuid}/partySizes | startDate, endDate |
| Get Timeslots | GET | /manager/v1/restaurants/{restaurantUuid}/timeslots | date, partySize |

**NOTA:** O endpoint Party Sizes usa `/v1/` e não `/manager/v1/` - conforme documentado na coleção Postman.

## Instalação

```bash
npm install n8n-nodes-thefork
```

## Credenciais

Necessário:
- **Client ID**: Fornecido pela TheFork
- **Client Secret**: Fornecido pela TheFork

O token OAuth2 é obtido automaticamente e cacheado por 8600 segundos (conforme documentação).

## Referência

- [TheFork B2B API Documentation](https://docs.thefork.io/B2B-API/introduction)
- Base URL: `https://api.thefork.io`
- Auth URL: `https://auth.thefork.io/oauth/token`