@aws-appsync/utils
Advanced tools
Comparing version 1.8.0 to 1.9.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.9.0](https://github.com/aws/aws-appsync-toolkit/compare/v1.8.0...v1.9.0) (2024-07-17) | ||
### Features | ||
* add from field ([e907050](https://github.com/aws/aws-appsync-toolkit/commit/e90705070fa225409109a435507a11d0fc2d2031)) | ||
# [1.8.0](https://github.com/aws/aws-appsync-toolkit/compare/v1.7.0...v1.8.0) (2024-05-30) | ||
@@ -8,0 +19,0 @@ |
@@ -60,8 +60,22 @@ import { Prettify } from './type-utils'; | ||
}; | ||
type RDSBasePayload = { | ||
type RDSAliasObject = { | ||
[key: string]: SQLStatement | SelectStatement | string; | ||
}; | ||
type RDSBasePayloadWithTable = { | ||
/** | ||
* The name of the database table involved in the SQL operation. This is a required field. | ||
* The name of the database table involved in the SQL operation. This is a required field if | ||
* from is not included. | ||
*/ | ||
table: string; | ||
from?: never; | ||
}; | ||
type RDSBasePayloadWithFrom = { | ||
/** | ||
* The name of the database table involved in the SQL operation. This is a required field if | ||
* table is not included. | ||
*/ | ||
from: string | RDSAliasObject; | ||
table?: never; | ||
}; | ||
type RDSBasePayload = RDSBasePayloadWithTable | RDSBasePayloadWithFrom; | ||
type RDSBaseConditionalPayload<T = unknown> = Prettify<RDSBasePayload & { | ||
@@ -68,0 +82,0 @@ /** |
{ | ||
"name": "@aws-appsync/utils", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"description": "This project contains type definitions for AppSync resolver types.", | ||
@@ -30,3 +30,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "dc7e893537aa479e5415ba5aef5d57f57a667b9e" | ||
"gitHead": "56168d0b2066ff174113c1e0132c0fe42b7f6cdc" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
131604
2966
1