Skip to content

Commit

Permalink
release(v0.0.11): export graph for use in FGA Playground (#107)
Browse files Browse the repository at this point in the history
* chore(deps): update dependencies
* release(v0.0.11): export graph for use in FGA Playground
  • Loading branch information
rhamzeh authored Jan 10, 2023
1 parent f37383b commit 6782538
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 103 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## v0.0.11
### [0.0.11](https://github.com/openfga/syntax-transformer/compare/v0.0.10...v0.0.11) (2023-01-10)

Please note: All additional undocumented functionality should be considered unstable and may be removed at any moment.

#### Changes
- feat: export graph for use in the FGA Playground
- feat: export sample authorization models
- chore(deps): upgrade dependencies

## v0.0.10
### [0.0.10](https://github.com/openfga/syntax-transformer/compare/v0.0.9...v0.0.10) (2022-12-15)

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ This module transforms between the JSON syntax accepted by the OpenFGA API and t
- [About OpenFGA](#about-openfga)
- [Resources](#resources)
- [Installation](#installation)
- [Usage](#usage)
- [From the Friendly Syntax to the JSON Syntax](#from-the-friendly-syntax-to-the-json-syntax)
- [From the JSON Syntax to the Friendly Syntax](#from-the-json-syntax-to-the-friendly-syntax)
- [Configuration Syntaxes](#configuration-syntaxes)
- [Schema v1.1](#schema-11)
- [Schema v1.0](#schema-10)
- [Contributing](#contributing)
- [Community Parsers](#community-parsers)
- [Author](#author)
Expand Down Expand Up @@ -50,6 +56,8 @@ npm install --save @openfga/syntax-transformer // OR yarn add @openfga/syntax-tr

## Usage

The syntax transformer has grown to encompass a lot more functionality than previously intended, mostly components used by the FGA Playground. Please note that all functionality except: `friendlySyntaxToApiSyntax` and `apiSyntaxToFriendlySyntax` is undocumented and should be considered tentative and may be removed at any moment. If you depend on them, please reach out so that we can discuss out future plans for that functionality and make sure our plans are taking your use-case into consideration.

### From the Friendly Syntax to the JSON Syntax
```javascript
const { friendlySyntaxToApiSyntax } = require("@openfga/syntax-transformer");
Expand Down
Loading

0 comments on commit 6782538

Please sign in to comment.