Socket
Socket
Sign inDemoInstall

@aws-amplify/data-schema-types

Package Overview
Dependencies
Maintainers
10
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.6.10 to 0.6.11

2

lib-esm/client/index.d.ts

@@ -114,3 +114,3 @@ import { DeepReadOnlyObject, UnwrapArray, UnionToIntersection, Prettify, Equal } from '../util';

done: Field extends string ? `${Field}.*` : never;
recur: Field extends string ? UnwrapArray<FlatModel[Field]> extends Record<string, unknown> ? `${Field}.${ModelPath<UnwrapArray<FlatModel[Field]>, RecursionLoop[Depth]>}` | `${Field}.*` : `${Field}` : never;
recur: Field extends string ? NonNullable<UnwrapArray<FlatModel[Field]>> extends Record<string, unknown> ? `${Field}.${ModelPath<NonNullable<UnwrapArray<FlatModel[Field]>>, RecursionLoop[Depth]>}` | `${Field}.*` : `${Field}` : never;
}[Depth extends -1 ? 'done' : 'recur'];

@@ -117,0 +117,0 @@ /**

{
"name": "@aws-amplify/data-schema-types",
"version": "0.6.10",
"version": "0.6.11",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "./lib-esm/index.d.ts",

@@ -175,6 +175,6 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

recur: Field extends string
? UnwrapArray<FlatModel[Field]> extends Record<string, unknown>
? NonNullable<UnwrapArray<FlatModel[Field]>> extends Record<string, unknown>
?
| `${Field}.${ModelPath<
UnwrapArray<FlatModel[Field]>,
NonNullable<UnwrapArray<FlatModel[Field]>>,
// this decrements `Depth` by 1 in each recursive call; it's equivalent to the update expr. afterthought in a for loop (e.g. `depth -= 1`)

@@ -181,0 +181,0 @@ RecursionLoop[Depth]

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