Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/data-schema

Package Overview
Dependencies
Maintainers
10
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/data-schema - npm Package Compare versions

Comparing version 0.14.0 to 0.14.1

8

lib-esm/src/CustomOperation.d.ts

@@ -40,3 +40,3 @@ import { SetTypeSubArg } from '@aws-amplify/data-schema-types';

export type CustomOperationParamShape = {
arguments: CustomArguments;
arguments: CustomArguments | null;
returnType: CustomReturnType | null;

@@ -73,3 +73,3 @@ functionRef: string | null;

export declare function query(): CustomOperation<{
arguments: CustomArguments;
arguments: null;
returnType: null;

@@ -83,3 +83,3 @@ functionRef: null;

export declare function mutation(): CustomOperation<{
arguments: CustomArguments;
arguments: null;
returnType: null;

@@ -93,3 +93,3 @@ functionRef: null;

export declare function subscription(): CustomOperation<{
arguments: CustomArguments;
arguments: null;
returnType: null;

@@ -96,0 +96,0 @@ functionRef: null;

@@ -31,3 +31,3 @@ import type { GenericModelSchema } from '../ModelSchema';

*/
export type CustomOpArguments<Shape extends CustomOperationParamShape> = {
export type CustomOpArguments<Shape extends CustomOperationParamShape> = Shape['arguments'] extends null ? never : {
[FieldName in keyof Shape['arguments']]: Shape['arguments'][FieldName] extends ModelField<infer R, any, any> ? R : never;

@@ -34,0 +34,0 @@ };

{
"name": "@aws-amplify/data-schema",
"version": "0.14.0",
"version": "0.14.1",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "repository": {

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