Socket
Socket
Sign inDemoInstall

graphql-mapping-template

Package Overview
Dependencies
Maintainers
11
Versions
633
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-mapping-template - npm Package Compare versions

Comparing version 4.21.0-category-split-test.3 to 5.0.0

API.md

198

CHANGELOG.md

@@ -6,68 +6,77 @@ # Change Log

# [4.21.0-category-split-test.3](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.21.0-category-split-test.2...graphql-mapping-template@4.21.0-category-split-test.3) (2022-04-25)
# [5.0.0](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.16...graphql-mapping-template@5.0.0) (2024-08-20)
- feat!: bump version for v2 transformer packages ([7dac35c](https://github.com/aws-amplify/amplify-category-api/commit/7dac35cceb971b256b5688b0745ef82afc78b641))
### Reverts
### BREAKING CHANGES
* Revert "fix: temporarily mark mapping template private since it's not in the aws organization yet" ([ed9056b](https://github.com/aws-amplify/amplify-cli/commit/ed9056bcca3522a205c20e4ba5fc51f67404a0d4))
- distinguish from LTS version
## [4.20.16](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.15...graphql-mapping-template@4.20.16) (2024-04-26)
### Bug Fixes
- ddb references hasOne returns record if multiple exist ([#2497](https://github.com/aws-amplify/amplify-category-api/issues/2497)) ([c105138](https://github.com/aws-amplify/amplify-category-api/commit/c1051384780c732ea2ddb98301994bda55bb62d9))
## [4.20.15](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.14...graphql-mapping-template@4.20.15) (2024-02-28)
# [4.21.0-category-split-test.2](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.21.0-category-split-test.1...graphql-mapping-template@4.21.0-category-split-test.2) (2022-04-22)
**Note:** Version bump only for package graphql-mapping-template
## [4.20.14](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.13...graphql-mapping-template@4.20.14) (2023-12-18)
### Bug Fixes
**Note:** Version bump only for package graphql-mapping-template
* temporarily mark mapping template private since it's not in the aws organization yet ([ad0918b](https://github.com/aws-amplify/amplify-cli/commit/ad0918b0bf1ee1f6fe464a80d800215e87dcbfab))
## [4.20.13](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.12...graphql-mapping-template@4.20.13) (2023-12-06)
**Note:** Version bump only for package graphql-mapping-template
## [4.20.12](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.11...graphql-mapping-template@4.20.12) (2023-08-30)
**Note:** Version bump only for package graphql-mapping-template
## [4.20.11](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.10...graphql-mapping-template@4.20.11) (2023-07-21)
# [4.21.0-category-split-test.1](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.21.0-category-split-test.0...graphql-mapping-template@4.21.0-category-split-test.1) (2022-04-22)
**Note:** Version bump only for package graphql-mapping-template
## [4.20.10](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.9...graphql-mapping-template@4.20.10) (2023-07-17)
### Reverts
**Note:** Version bump only for package graphql-mapping-template
* Revert "chore: temporarily remove publish from non-scoped packages" ([6691084](https://github.com/aws-amplify/amplify-cli/commit/6691084c390c761d2b89ba78a18d47e970051964))
## [4.20.9](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.8...graphql-mapping-template@4.20.9) (2023-06-29)
**Note:** Version bump only for package graphql-mapping-template
## [4.20.8](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.8-beta.0...graphql-mapping-template@4.20.8) (2023-03-01)
**Note:** Version bump only for package graphql-mapping-template
## [4.20.8-beta.2](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.8-beta.0...graphql-mapping-template@4.20.8-beta.2) (2023-02-21)
# 4.21.0-category-split-test.0 (2022-04-22)
**Note:** Version bump only for package graphql-mapping-template
## [4.20.8-beta.1](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.8-beta.0...graphql-mapping-template@4.20.8-beta.1) (2023-02-15)
### Bug Fixes
**Note:** Version bump only for package graphql-mapping-template
* build break, chore: typescript, lerna update ([#2640](https://github.com/aws-amplify/amplify-cli/issues/2640)) ([29fae36](https://github.com/aws-amplify/amplify-cli/commit/29fae366f4cab054feefa58c7dc733002d19570c))
* **graphql-auth-transformer:** early return if no obj ([#5050](https://github.com/aws-amplify/amplify-cli/issues/5050)) ([ed1f2b3](https://github.com/aws-amplify/amplify-cli/commit/ed1f2b364b50ab3f2b16ddac849c937b239bb499))
* **graphql-elasticsearch-transformer:** fixed es req template ([311f57d](https://github.com/aws-amplify/amplify-cli/commit/311f57d9938aa78c83c7c695ddd39457b89c8afc))
* **graphql-mapping-template:** fix [@key](https://github.com/key) issue when datastore enabled ([#5175](https://github.com/aws-amplify/amplify-cli/issues/5175)) ([d58c4aa](https://github.com/aws-amplify/amplify-cli/commit/d58c4aa6ba07859a6fec250df281649bb17548e9)), closes [#4355](https://github.com/aws-amplify/amplify-cli/issues/4355)
* **graphql-mapping-template:** handle missing arguments gracefully ([4950993](https://github.com/aws-amplify/amplify-cli/commit/4950993eb7a3b11bbecef5e82e1859e1f27d1453))
* **graphql-model-transformer:** model input fields transform ([#7857](https://github.com/aws-amplify/amplify-cli/issues/7857)) ([12ff663](https://github.com/aws-amplify/amplify-cli/commit/12ff663a94a4896bd9eacef3847be15b7631d8df))
* **graphql-relational-schema-transformer:** fix [#3025](https://github.com/aws-amplify/amplify-cli/issues/3025) rds resolver correctly handles no data in response ([#3314](https://github.com/aws-amplify/amplify-cli/issues/3314)) ([cb826a7](https://github.com/aws-amplify/amplify-cli/commit/cb826a7ec7680ad9b5fc46fd7a931c30747cd0ce))
* update grahql transformer package versions for multienv ([8b4b2bd](https://github.com/aws-amplify/amplify-cli/commit/8b4b2bd9486d5408d1f75448e3646bdee810f448))
* use ES external versioning when using DataStore ([#4127](https://github.com/aws-amplify/amplify-cli/issues/4127)) ([cef709b](https://github.com/aws-amplify/amplify-cli/commit/cef709ba2087affe860dd6fb141ccda1e5d58fd1))
## [4.20.8-beta.0](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.7...graphql-mapping-template@4.20.8-beta.0) (2023-02-03)
**Note:** Version bump only for package graphql-mapping-template
### Features
## [4.20.7](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.6...graphql-mapping-template@4.20.7) (2023-01-12)
* adding amplify cli predictions category ([#1936](https://github.com/aws-amplify/amplify-cli/issues/1936)) ([b7b7c2c](https://github.com/aws-amplify/amplify-cli/commit/b7b7c2c1927da10f8c54f38a523021187361131c))
* feature/[@key](https://github.com/key) ([#1463](https://github.com/aws-amplify/amplify-cli/issues/1463)) ([00ed819](https://github.com/aws-amplify/amplify-cli/commit/00ed819419a4959a6d62da2fc5477621c046eff0))
* **graphql-elasticsearch-transformer:** add 'from' query parameter ([#5098](https://github.com/aws-amplify/amplify-cli/issues/5098)) ([d52a804](https://github.com/aws-amplify/amplify-cli/commit/d52a804c25df63cd1cee1a72bb99286ecfe54ed5))
* headless mode for API category ([#4834](https://github.com/aws-amplify/amplify-cli/issues/4834)) ([c2e09d7](https://github.com/aws-amplify/amplify-cli/commit/c2e09d73fd1bb461eeace8f4a7addd70a63047ad))
* resolver changes ([#2760](https://github.com/aws-amplify/amplify-cli/issues/2760)) ([8ce0d12](https://github.com/aws-amplify/amplify-cli/commit/8ce0d12eb1d3bd6d0132baca39b6e9daff04c39a))
* transformer redesign ([#5534](https://github.com/aws-amplify/amplify-cli/issues/5534)) ([a93c685](https://github.com/aws-amplify/amplify-cli/commit/a93c6852f6588898ebc52b0574f4fcc3d2e87948))
* updated version of [#2118](https://github.com/aws-amplify/amplify-cli/issues/2118) with addressed review comments ([#2230](https://github.com/aws-amplify/amplify-cli/issues/2230)) ([be3c499](https://github.com/aws-amplify/amplify-cli/commit/be3c499edcc6bec63b38e9241c5af7b83c930022))
**Note:** Version bump only for package graphql-mapping-template
## [4.20.6](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.5...graphql-mapping-template@4.20.6) (2023-01-12)
**Note:** Version bump only for package graphql-mapping-template
## [4.20.5](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.3...graphql-mapping-template@4.20.5) (2022-06-07)
**Note:** Version bump only for package graphql-mapping-template
## [4.20.3](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.20.1...graphql-mapping-template@4.20.3) (2022-01-10)
## [4.20.4](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.3...graphql-mapping-template@4.20.4) (2022-05-31)
**Note:** Version bump only for package graphql-mapping-template
## [4.20.3](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.20.1...graphql-mapping-template@4.20.3) (2022-01-10)

@@ -78,6 +87,2 @@ ## 7.6.7 (2022-01-10)

## [4.20.1](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.18.4...graphql-mapping-template@4.20.1) (2021-11-15)

@@ -87,6 +92,2 @@

## [4.18.4](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.18.3...graphql-mapping-template@4.18.4) (2021-11-11)

@@ -96,6 +97,2 @@

## [4.18.3](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.18.2...graphql-mapping-template@4.18.3) (2021-08-24)

@@ -105,17 +102,8 @@

## [4.18.2](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.18.1...graphql-mapping-template@4.18.2) (2021-08-06)
### Bug Fixes
* **graphql-model-transformer:** model input fields transform ([#7857](https://github.com/aws-amplify/amplify-cli/issues/7857)) ([12ff663](https://github.com/aws-amplify/amplify-cli/commit/12ff663a94a4896bd9eacef3847be15b7631d8df))
- **graphql-model-transformer:** model input fields transform ([#7857](https://github.com/aws-amplify/amplify-cli/issues/7857)) ([12ff663](https://github.com/aws-amplify/amplify-cli/commit/12ff663a94a4896bd9eacef3847be15b7631d8df))
## [4.18.1](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.17.0...graphql-mapping-template@4.18.1) (2020-11-22)

@@ -125,55 +113,35 @@

# [4.18.0](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@3.1.1...graphql-mapping-template@4.18.0) (2020-11-22)
### Bug Fixes
* **graphql-auth-transformer:** early return if no obj ([#5050](https://github.com/aws-amplify/amplify-cli/issues/5050)) ([ed1f2b3](https://github.com/aws-amplify/amplify-cli/commit/ed1f2b364b50ab3f2b16ddac849c937b239bb499))
* **graphql-mapping-template:** fix [@key](https://github.com/key) issue when datastore enabled ([#5175](https://github.com/aws-amplify/amplify-cli/issues/5175)) ([d58c4aa](https://github.com/aws-amplify/amplify-cli/commit/d58c4aa6ba07859a6fec250df281649bb17548e9)), closes [#4355](https://github.com/aws-amplify/amplify-cli/issues/4355)
* build break, chore: typescript, lerna update ([#2640](https://github.com/aws-amplify/amplify-cli/issues/2640)) ([29fae36](https://github.com/aws-amplify/amplify-cli/commit/29fae366f4cab054feefa58c7dc733002d19570c))
* use ES external versioning when using DataStore ([#4127](https://github.com/aws-amplify/amplify-cli/issues/4127)) ([cef709b](https://github.com/aws-amplify/amplify-cli/commit/cef709ba2087affe860dd6fb141ccda1e5d58fd1))
* **graphql-elasticsearch-transformer:** fixed es req template ([311f57d](https://github.com/aws-amplify/amplify-cli/commit/311f57d9938aa78c83c7c695ddd39457b89c8afc))
* **graphql-mapping-template:** handle missing arguments gracefully ([4950993](https://github.com/aws-amplify/amplify-cli/commit/4950993eb7a3b11bbecef5e82e1859e1f27d1453))
* **graphql-relational-schema-transformer:** fix [#3025](https://github.com/aws-amplify/amplify-cli/issues/3025) rds resolver correctly handles no data in response ([#3314](https://github.com/aws-amplify/amplify-cli/issues/3314)) ([cb826a7](https://github.com/aws-amplify/amplify-cli/commit/cb826a7ec7680ad9b5fc46fd7a931c30747cd0ce))
- **graphql-auth-transformer:** early return if no obj ([#5050](https://github.com/aws-amplify/amplify-cli/issues/5050)) ([ed1f2b3](https://github.com/aws-amplify/amplify-cli/commit/ed1f2b364b50ab3f2b16ddac849c937b239bb499))
- **graphql-mapping-template:** fix [@key](https://github.com/key) issue when datastore enabled ([#5175](https://github.com/aws-amplify/amplify-cli/issues/5175)) ([d58c4aa](https://github.com/aws-amplify/amplify-cli/commit/d58c4aa6ba07859a6fec250df281649bb17548e9)), closes [#4355](https://github.com/aws-amplify/amplify-cli/issues/4355)
- build break, chore: typescript, lerna update ([#2640](https://github.com/aws-amplify/amplify-cli/issues/2640)) ([29fae36](https://github.com/aws-amplify/amplify-cli/commit/29fae366f4cab054feefa58c7dc733002d19570c))
- use ES external versioning when using DataStore ([#4127](https://github.com/aws-amplify/amplify-cli/issues/4127)) ([cef709b](https://github.com/aws-amplify/amplify-cli/commit/cef709ba2087affe860dd6fb141ccda1e5d58fd1))
- **graphql-elasticsearch-transformer:** fixed es req template ([311f57d](https://github.com/aws-amplify/amplify-cli/commit/311f57d9938aa78c83c7c695ddd39457b89c8afc))
- **graphql-mapping-template:** handle missing arguments gracefully ([4950993](https://github.com/aws-amplify/amplify-cli/commit/4950993eb7a3b11bbecef5e82e1859e1f27d1453))
- **graphql-relational-schema-transformer:** fix [#3025](https://github.com/aws-amplify/amplify-cli/issues/3025) rds resolver correctly handles no data in response ([#3314](https://github.com/aws-amplify/amplify-cli/issues/3314)) ([cb826a7](https://github.com/aws-amplify/amplify-cli/commit/cb826a7ec7680ad9b5fc46fd7a931c30747cd0ce))
### Features
* transformer redesign ([#5534](https://github.com/aws-amplify/amplify-cli/issues/5534)) ([a93c685](https://github.com/aws-amplify/amplify-cli/commit/a93c6852f6588898ebc52b0574f4fcc3d2e87948))
* **graphql-elasticsearch-transformer:** add 'from' query parameter ([#5098](https://github.com/aws-amplify/amplify-cli/issues/5098)) ([d52a804](https://github.com/aws-amplify/amplify-cli/commit/d52a804c25df63cd1cee1a72bb99286ecfe54ed5))
* adding amplify cli predictions category ([#1936](https://github.com/aws-amplify/amplify-cli/issues/1936)) ([b7b7c2c](https://github.com/aws-amplify/amplify-cli/commit/b7b7c2c1927da10f8c54f38a523021187361131c))
* headless mode for API category ([#4834](https://github.com/aws-amplify/amplify-cli/issues/4834)) ([c2e09d7](https://github.com/aws-amplify/amplify-cli/commit/c2e09d73fd1bb461eeace8f4a7addd70a63047ad))
* resolver changes ([#2760](https://github.com/aws-amplify/amplify-cli/issues/2760)) ([8ce0d12](https://github.com/aws-amplify/amplify-cli/commit/8ce0d12eb1d3bd6d0132baca39b6e9daff04c39a))
* updated version of [#2118](https://github.com/aws-amplify/amplify-cli/issues/2118) with addressed review comments ([#2230](https://github.com/aws-amplify/amplify-cli/issues/2230)) ([be3c499](https://github.com/aws-amplify/amplify-cli/commit/be3c499edcc6bec63b38e9241c5af7b83c930022))
- transformer redesign ([#5534](https://github.com/aws-amplify/amplify-cli/issues/5534)) ([a93c685](https://github.com/aws-amplify/amplify-cli/commit/a93c6852f6588898ebc52b0574f4fcc3d2e87948))
- **graphql-elasticsearch-transformer:** add 'from' query parameter ([#5098](https://github.com/aws-amplify/amplify-cli/issues/5098)) ([d52a804](https://github.com/aws-amplify/amplify-cli/commit/d52a804c25df63cd1cee1a72bb99286ecfe54ed5))
- adding amplify cli predictions category ([#1936](https://github.com/aws-amplify/amplify-cli/issues/1936)) ([b7b7c2c](https://github.com/aws-amplify/amplify-cli/commit/b7b7c2c1927da10f8c54f38a523021187361131c))
- headless mode for API category ([#4834](https://github.com/aws-amplify/amplify-cli/issues/4834)) ([c2e09d7](https://github.com/aws-amplify/amplify-cli/commit/c2e09d73fd1bb461eeace8f4a7addd70a63047ad))
- resolver changes ([#2760](https://github.com/aws-amplify/amplify-cli/issues/2760)) ([8ce0d12](https://github.com/aws-amplify/amplify-cli/commit/8ce0d12eb1d3bd6d0132baca39b6e9daff04c39a))
- updated version of [#2118](https://github.com/aws-amplify/amplify-cli/issues/2118) with addressed review comments ([#2230](https://github.com/aws-amplify/amplify-cli/issues/2230)) ([be3c499](https://github.com/aws-amplify/amplify-cli/commit/be3c499edcc6bec63b38e9241c5af7b83c930022))
# [4.17.0](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.16.0...graphql-mapping-template@4.17.0) (2020-11-08)
### Features
* transformer redesign ([#5534](https://github.com/aws-amplify/amplify-cli/issues/5534)) ([a93c685](https://github.com/aws-amplify/amplify-cli/commit/a93c6852f6588898ebc52b0574f4fcc3d2e87948))
- transformer redesign ([#5534](https://github.com/aws-amplify/amplify-cli/issues/5534)) ([a93c685](https://github.com/aws-amplify/amplify-cli/commit/a93c6852f6588898ebc52b0574f4fcc3d2e87948))
# [4.16.0](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.15.3...graphql-mapping-template@4.16.0) (2020-10-30)
### Features
* **graphql-elasticsearch-transformer:** add 'from' query parameter ([#5098](https://github.com/aws-amplify/amplify-cli/issues/5098)) ([d52a804](https://github.com/aws-amplify/amplify-cli/commit/d52a804c25df63cd1cee1a72bb99286ecfe54ed5))
- **graphql-elasticsearch-transformer:** add 'from' query parameter ([#5098](https://github.com/aws-amplify/amplify-cli/issues/5098)) ([d52a804](https://github.com/aws-amplify/amplify-cli/commit/d52a804c25df63cd1cee1a72bb99286ecfe54ed5))
## [4.15.3](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.15.2...graphql-mapping-template@4.15.3) (2020-10-22)

@@ -183,50 +151,26 @@

## [4.15.2](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.15.1...graphql-mapping-template@4.15.2) (2020-08-31)
### Bug Fixes
* **graphql-mapping-template:** fix [@key](https://github.com/key) issue when datastore enabled ([#5175](https://github.com/aws-amplify/amplify-cli/issues/5175)) ([d58c4aa](https://github.com/aws-amplify/amplify-cli/commit/d58c4aa6ba07859a6fec250df281649bb17548e9)), closes [#4355](https://github.com/aws-amplify/amplify-cli/issues/4355)
- **graphql-mapping-template:** fix [@key](https://github.com/key) issue when datastore enabled ([#5175](https://github.com/aws-amplify/amplify-cli/issues/5175)) ([d58c4aa](https://github.com/aws-amplify/amplify-cli/commit/d58c4aa6ba07859a6fec250df281649bb17548e9)), closes [#4355](https://github.com/aws-amplify/amplify-cli/issues/4355)
## [4.15.1](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.15.0...graphql-mapping-template@4.15.1) (2020-08-14)
### Bug Fixes
* **graphql-auth-transformer:** early return if no obj ([#5050](https://github.com/aws-amplify/amplify-cli/issues/5050)) ([ed1f2b3](https://github.com/aws-amplify/amplify-cli/commit/ed1f2b364b50ab3f2b16ddac849c937b239bb499))
- **graphql-auth-transformer:** early return if no obj ([#5050](https://github.com/aws-amplify/amplify-cli/issues/5050)) ([ed1f2b3](https://github.com/aws-amplify/amplify-cli/commit/ed1f2b364b50ab3f2b16ddac849c937b239bb499))
# [4.15.0](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.13.5...graphql-mapping-template@4.15.0) (2020-07-29)
### Features
* headless mode for API category ([#4834](https://github.com/aws-amplify/amplify-cli/issues/4834)) ([c2e09d7](https://github.com/aws-amplify/amplify-cli/commit/c2e09d73fd1bb461eeace8f4a7addd70a63047ad))
- headless mode for API category ([#4834](https://github.com/aws-amplify/amplify-cli/issues/4834)) ([c2e09d7](https://github.com/aws-amplify/amplify-cli/commit/c2e09d73fd1bb461eeace8f4a7addd70a63047ad))
# [4.14.0](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.13.5...graphql-mapping-template@4.14.0) (2020-07-23)
### Features
* headless mode for API category ([#4834](https://github.com/aws-amplify/amplify-cli/issues/4834)) ([b729266](https://github.com/aws-amplify/amplify-cli/commit/b729266b9bb519738ef88125784d72ac428f47e1))
- headless mode for API category ([#4834](https://github.com/aws-amplify/amplify-cli/issues/4834)) ([b729266](https://github.com/aws-amplify/amplify-cli/commit/b729266b9bb519738ef88125784d72ac428f47e1))
## [4.13.5](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.13.4...graphql-mapping-template@4.13.5) (2020-07-18)

@@ -236,17 +180,8 @@

## [4.13.4](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.13.3...graphql-mapping-template@4.13.4) (2020-05-08)
### Bug Fixes
* use ES external versioning when using DataStore ([#4127](https://github.com/aws-amplify/amplify-cli/issues/4127)) ([cef709b](https://github.com/aws-amplify/amplify-cli/commit/cef709ba2087affe860dd6fb141ccda1e5d58fd1))
- use ES external versioning when using DataStore ([#4127](https://github.com/aws-amplify/amplify-cli/issues/4127)) ([cef709b](https://github.com/aws-amplify/amplify-cli/commit/cef709ba2087affe860dd6fb141ccda1e5d58fd1))
## [4.13.3](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.13.2...graphql-mapping-template@4.13.3) (2020-02-13)

@@ -256,17 +191,8 @@

## [4.13.2](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.13.1...graphql-mapping-template@4.13.2) (2020-02-07)
### Bug Fixes
* **graphql-relational-schema-transformer:** fix [#3025](https://github.com/aws-amplify/amplify-cli/issues/3025) rds resolver correctly handles no data in response ([#3314](https://github.com/aws-amplify/amplify-cli/issues/3314)) ([cb826a7](https://github.com/aws-amplify/amplify-cli/commit/cb826a7ec7680ad9b5fc46fd7a931c30747cd0ce))
- **graphql-relational-schema-transformer:** fix [#3025](https://github.com/aws-amplify/amplify-cli/issues/3025) rds resolver correctly handles no data in response ([#3314](https://github.com/aws-amplify/amplify-cli/issues/3314)) ([cb826a7](https://github.com/aws-amplify/amplify-cli/commit/cb826a7ec7680ad9b5fc46fd7a931c30747cd0ce))
## [4.13.1](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@4.13.0...graphql-mapping-template@4.13.1) (2020-01-24)

@@ -276,6 +202,2 @@

# [4.13.0](https://github.com/aws-amplify/amplify-cli/compare/graphql-mapping-template@3.25.0...graphql-mapping-template@4.13.0) (2020-01-23)

@@ -282,0 +204,0 @@

@@ -43,2 +43,8 @@ export interface IfNode {

export declare function notEquals(leftExpr: Expression, rightExpr: Expression): NotEqualsNode;
export interface GreaterThanNode {
kind: 'GreaterThan';
leftExpr: Expression;
rightExpr: Expression;
}
export declare function greaterThan(leftExpr: Expression, rightExpr: Expression): GreaterThanNode;
export interface NotNode {

@@ -135,3 +141,3 @@ kind: 'Not';

export declare function compoundExpression(expressions: Expression[], joiner?: string, recurseIndent?: boolean): CompoundExpressionNode;
export declare type ToJsonNode = {
export type ToJsonNode = {
kind: 'Util.ToJson';

@@ -141,3 +147,3 @@ expr: Expression;

export declare function toJson(expr: Expression): ToJsonNode;
export declare type IsNullOrEmptyNode = {
export type IsNullOrEmptyNode = {
kind: 'Util.isNullOrEmpty';

@@ -147,3 +153,3 @@ expr: Expression;

export declare function isNullOrEmpty(expr: Expression): IsNullOrEmptyNode;
export declare type NewLineNode = {
export type NewLineNode = {
kind: 'NewLine';

@@ -154,3 +160,3 @@ };

export declare function methodCall(methodName: ReferenceNode, ...params: Expression[]): CompoundExpressionNode;
export declare type Expression = IfNode | IfElseNode | AndNode | OrNode | ParensNode | EqualsNode | NotEqualsNode | ForEachNode | StringNode | RawNode | QuotesNode | FloatNode | IntNode | BooleanNode | NullNode | ReferenceNode | QuietReferenceNode | ObjectNode | ListNode | SetNode | CommentNode | CompoundExpressionNode | ToJsonNode | IsNullOrEmptyNode | NotNode | NewLineNode | ReturnNode;
export type Expression = IfNode | IfElseNode | AndNode | OrNode | ParensNode | EqualsNode | NotEqualsNode | GreaterThanNode | ForEachNode | StringNode | RawNode | QuotesNode | FloatNode | IntNode | BooleanNode | NullNode | ReferenceNode | QuietReferenceNode | ObjectNode | ListNode | SetNode | CommentNode | CompoundExpressionNode | ToJsonNode | IsNullOrEmptyNode | NotNode | NewLineNode | ReturnNode;
//# sourceMappingURL=ast.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.methodCall = exports.block = exports.newline = exports.isNullOrEmpty = exports.toJson = exports.compoundExpression = exports.comment = exports.set = exports.list = exports.obj = exports.qref = exports.ref = exports.nul = exports.bool = exports.int = exports.float = exports.quotes = exports.raw = exports.str = exports.forEach = exports.ret = exports.not = exports.notEquals = exports.equals = exports.parens = exports.or = exports.and = exports.ifElse = exports.iff = void 0;
exports.methodCall = exports.block = exports.newline = exports.isNullOrEmpty = exports.toJson = exports.compoundExpression = exports.comment = exports.set = exports.list = exports.obj = exports.qref = exports.ref = exports.nul = exports.bool = exports.int = exports.float = exports.quotes = exports.raw = exports.str = exports.forEach = exports.ret = exports.not = exports.greaterThan = exports.notEquals = exports.equals = exports.parens = exports.or = exports.and = exports.ifElse = exports.iff = void 0;
function iff(predicate, expr, inline) {

@@ -60,2 +60,10 @@ return {

exports.notEquals = notEquals;
function greaterThan(leftExpr, rightExpr) {
return {
kind: 'GreaterThan',
leftExpr,
rightExpr,
};
}
exports.greaterThan = greaterThan;
function not(expr) {

@@ -62,0 +70,0 @@ return {

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k;

@@ -34,2 +34,5 @@ "use strict";

}
function printGreaterThan(node, indent = '') {
return `${indent}${printExpr(node.leftExpr)} > ${printExpr(node.rightExpr)}`;
}
function printNotEquals(node, indent = '') {

@@ -108,3 +111,3 @@ return `${indent}${printExpr(node.leftExpr)} != ${printExpr(node.rightExpr)}`;

function printReturn(node, indent = '') {
var suffix = '';
let suffix = '';
if (node.value !== undefined) {

@@ -134,2 +137,4 @@ suffix = printParens((0, ast_1.parens)(node.value));

return printNotEquals(expr, indent);
case 'GreaterThan':
return printGreaterThan(expr, indent);
case 'ForEach':

@@ -136,0 +141,0 @@ return printForEach(expr, indent);

{
"name": "graphql-mapping-template",
"version": "4.21.0-category-split-test.3",
"version": "5.0.0",
"description": "An AST wrapper around AWS AppSync resolvers",
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-cli.git",
"url": "https://github.com/aws-amplify/amplify-category-api.git",
"directory": "packages/graphql-mapping-template"

@@ -18,3 +18,4 @@ },

"cloudformation",
"aws"
"aws",
"amplify"
],

@@ -25,3 +26,4 @@ "scripts": {

"watch": "tsc -w",
"clean": "rimraf ./lib"
"clean": "rimraf ./lib",
"extract-api": "ts-node ../../scripts/extract-api.ts"
},

@@ -42,5 +44,23 @@ "jest": {

],
"collectCoverage": true
"collectCoverage": true,
"coverageProvider": "v8",
"coverageThreshold": {
"global": {
"branches": 59,
"functions": 31,
"lines": 50
}
},
"coverageReporters": [
"clover",
"text"
],
"collectCoverageFrom": [
"src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"/__tests__/"
]
},
"gitHead": "d726da9deee5039e49cc750c16180b29744d911e"
"gitHead": "041c6d1c401f6c4648cf327c068bb7b0d91384d4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc