New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/amplify-api-next-alpha

Package Overview
Dependencies
Maintainers
10
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/amplify-api-next-alpha - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

4

lib-esm/src/ClientSchema.d.ts
import type { Authorization, ImpliedAuthFields } from './Authorization';
import { type Prettify, type UnionToIntersection, type ExcludeEmpty, __modelMeta__ } from '@aws-amplify/amplify-api-next-types-alpha';
import { type Prettify, type UnionToIntersection, type ExcludeEmpty, __modelMeta__, ListReturnValue, SingularReturnValue } from '@aws-amplify/amplify-api-next-types-alpha';
import type { ModelField } from './ModelField';

@@ -60,3 +60,3 @@ import type { ModelRelationalField, ModelRelationalFieldParamShape, ModelRelationalTypeArgFactory } from './ModelRelationalField';

type InjectImplicitModels<Schema> = Prettify<Schema & ExtractImplicitModelNames<Schema>>;
type GetRelationshipRef<T, RM extends keyof T, TypeArg extends ModelRelationalFieldParamShape, Flat extends boolean, ResolvedModel = ResolveRelationalFieldsForModel<T, RM, Flat>, Model = TypeArg['valueRequired'] extends true ? ResolvedModel : ResolvedModel | null | undefined, Value = TypeArg['array'] extends true ? Array<Model> : Model> = () => Promise<Prettify<Value>>;
type GetRelationshipRef<T, RM extends keyof T, TypeArg extends ModelRelationalFieldParamShape, Flat extends boolean, ResolvedModel = ResolveRelationalFieldsForModel<T, RM, Flat>, Model = TypeArg['valueRequired'] extends true ? ResolvedModel : ResolvedModel | null | undefined, Value = TypeArg['array'] extends true ? Array<Model> : Model> = () => Value extends Array<any> ? ListReturnValue<Prettify<Model>> : SingularReturnValue<Prettify<Model>>;
type ResolveRelationalFieldsForModel<Schema, ModelName extends keyof Schema, Flat extends boolean> = {

@@ -63,0 +63,0 @@ [FieldName in keyof Schema[ModelName]]: Schema[ModelName][FieldName] extends ModelRelationalFieldParamShape ? Schema[ModelName][FieldName]['relatedModel'] extends keyof Schema ? GetRelationshipRef<Schema, Schema[ModelName][FieldName]['relatedModel'], Schema[ModelName][FieldName], Flat> : never : Schema[ModelName][FieldName];

{
"name": "@aws-amplify/amplify-api-next-alpha",
"version": "0.5.0",
"version": "0.6.0",
"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