Skip to content

Commit

Permalink
Update tests (ScalablyTyped#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
steinybot committed Jul 31, 2024
1 parent ceca32f commit 86546e0
Show file tree
Hide file tree
Showing 568 changed files with 12,179 additions and 21,149 deletions.
2 changes: 1 addition & 1 deletion tests/augment-module/check-3/l/lodash/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
organization := "org.scalablytyped"
name := "lodash"
version := "4.14-b2de7b"
version := "4.14-cfe4eb"
scalaVersion := "3.3.1"
enablePlugins(ScalaJSPlugin)
libraryDependencies ++= Seq(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package typings.lodash

import _root_.typings.lodash.mod.CurriedFunction1
import _root_.typings.lodash.mod.CurriedFunction2
import org.scalablytyped.runtime.Shortcut
import typings.lodash.mod.CurriedFunction1
import typings.lodash.mod.CurriedFunction2
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package typings.lodash

import _root_.typings.lodash.fpCurryMod.Curry
import _root_.typings.lodash.mod.CurriedFunction1
import _root_.typings.lodash.mod.CurriedFunction2
import org.scalablytyped.runtime.Shortcut
import typings.lodash.fpCurryMod.Curry
import typings.lodash.mod.CurriedFunction1
import typings.lodash.mod.CurriedFunction2
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package typings.lodash

import typings.lodash.mod.LoDashStatic
import _root_.typings.lodash.mod.LoDashStatic
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package typings.lodash

import _root_.typings.std.ArrayLike
import org.scalablytyped.runtime.Shortcut
import typings.std.ArrayLike
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand Down Expand Up @@ -50,8 +50,6 @@ object mod extends Shortcut {
def at[T /* <: js.Object */](`object`: T, props: (Many[/* keyof T */ String])*): js.Array[
/* import warning: importer.ImportType#apply Failed type conversion: T[keyof T] */ js.Any
] = js.native
def at[T](`object`: Null, props: ((Many[/* keyof T */ String]) | PropertyPath)*): js.Array[T] = js.native
def at[T](`object`: Unit, props: ((Many[/* keyof T */ String]) | PropertyPath)*): js.Array[T] = js.native
/**
* Creates an array of elements corresponding to the given keys, or indexes, of collection. Keys may be
* specified as individual arguments or as arrays of keys.
Expand All @@ -60,7 +58,9 @@ object mod extends Shortcut {
* @param props The property names or indexes of elements to pick, specified individually or in arrays.
* @return Returns the new array of picked elements.
*/
def at[T](`object`: typings.lodash.mod.List[T], props: PropertyPath*): js.Array[T] = js.native
def at[T](`object`: _root_.typings.lodash.mod.List[T], props: PropertyPath*): js.Array[T] = js.native
def at[T](`object`: Null, props: ((Many[/* keyof T */ String]) | PropertyPath)*): js.Array[T] = js.native
def at[T](`object`: Unit, props: ((Many[/* keyof T */ String]) | PropertyPath)*): js.Array[T] = js.native
}

type Many[T] = T | js.Array[T]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package typings.lodash

import typings.std.Partial
import _root_.typings.std.Partial
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand Down
2 changes: 1 addition & 1 deletion tests/aws-sdk/check-3/a/aws-sdk/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
organization := "org.scalablytyped"
name := "aws-sdk"
version := "2.247.1-b773ad"
version := "2.247.1-921b00"
scalaVersion := "3.3.1"
enablePlugins(ScalaJSPlugin)
libraryDependencies ++= Seq(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
package typings.awsSdk

import typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient._AttributeAction
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

object awsSdkStrings {

@js.native
sealed trait ADD
extends StObject
with _AttributeAction
sealed trait ADD extends StObject
inline def ADD: ADD = "ADD".asInstanceOf[ADD]

@js.native
sealed trait DELETE
extends StObject
with _AttributeAction
sealed trait DELETE extends StObject
inline def DELETE: DELETE = "DELETE".asInstanceOf[DELETE]

@js.native
sealed trait PUT
extends StObject
with _AttributeAction
sealed trait PUT extends StObject
inline def PUT: PUT = "PUT".asInstanceOf[PUT]

@js.native
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package typings.awsSdk

import typings.awsSdk.clientsDynamodbMod.AttributeValue
import typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import typings.awsSdk.clientsDynamodbMod.^
import typings.awsSdk.libDynamodbConverterMod.Converter.ConverterOptions
import typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import _root_.typings.awsSdk.clientsDynamodbMod.AttributeValue
import _root_.typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import _root_.typings.awsSdk.clientsDynamodbMod.^
import _root_.typings.awsSdk.libDynamodbConverterMod.Converter.ConverterOptions
import _root_.typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand All @@ -21,7 +21,7 @@ object clientsAllMod {
@JSImport("aws-sdk/clients/all", "DynamoDB.Converter")
@js.native
open class Converter ()
extends typings.awsSdk.clientsDynamodbMod.Converter
extends _root_.typings.awsSdk.clientsDynamodbMod.Converter
/* static members */
object Converter {

Expand All @@ -39,7 +39,7 @@ object clientsAllMod {
* Creates a DynamoDB document client with a set of configuration options.
*/
open class DocumentClient ()
extends typings.awsSdk.clientsDynamodbMod.DocumentClient {
extends _root_.typings.awsSdk.clientsDynamodbMod.DocumentClient {
def this(options: DocumentClientOptions & ClientConfiguration) = this()
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package typings.awsSdk

import typings.awsSdk.awsSdkStrings.latest
import typings.awsSdk.libDynamodbConverterMod.Converter.ConverterOptions
import typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import typings.awsSdk.libServicesDynamodbMod.DynamoDBCustomizations
import _root_.typings.awsSdk.awsSdkStrings.latest
import _root_.typings.awsSdk.libDynamodbConverterMod.Converter.ConverterOptions
import _root_.typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import _root_.typings.awsSdk.libServicesDynamodbMod.DynamoDBCustomizations
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand All @@ -19,7 +19,7 @@ object clientsDynamodbMod {
@JSImport("aws-sdk/clients/dynamodb", "Converter")
@js.native
open class Converter ()
extends typings.awsSdk.libDynamodbConverterMod.Converter
extends _root_.typings.awsSdk.libDynamodbConverterMod.Converter
/* static members */
object Converter {

Expand All @@ -37,7 +37,7 @@ object clientsDynamodbMod {
* Creates a DynamoDB document client with a set of configuration options.
*/
open class DocumentClient ()
extends typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient {
extends _root_.typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient {
def this(options: DocumentClientOptions & ClientConfiguration) = this()
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package typings.awsSdk

import typings.awsSdk.clientsDynamodbMod.AttributeValue
import typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import typings.awsSdk.libConfigMod.Config
import typings.awsSdk.libDynamodbConverterMod.Converter.ConverterOptions
import typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import _root_.typings.awsSdk.clientsDynamodbMod.AttributeValue
import _root_.typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import _root_.typings.awsSdk.libConfigMod.Config
import _root_.typings.awsSdk.libDynamodbConverterMod.Converter.ConverterOptions
import _root_.typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand All @@ -16,15 +16,15 @@ object global {
@JSGlobal("AWS.DynamoDB")
@js.native
open class DynamoDB ()
extends typings.awsSdk.mod.DynamoDB {
extends _root_.typings.awsSdk.mod.DynamoDB {
def this(options: ClientConfiguration) = this()
}
object DynamoDB {

@JSGlobal("AWS.DynamoDB.Converter")
@js.native
open class Converter ()
extends typings.awsSdk.mod.DynamoDB.Converter
extends _root_.typings.awsSdk.mod.DynamoDB.Converter
/* static members */
object Converter {

Expand All @@ -42,7 +42,7 @@ object global {
* Creates a DynamoDB document client with a set of configuration options.
*/
open class DocumentClient ()
extends typings.awsSdk.mod.DynamoDB.DocumentClient {
extends _root_.typings.awsSdk.mod.DynamoDB.DocumentClient {
def this(options: DocumentClientOptions & ClientConfiguration) = this()
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package typings.awsSdk

import typings.awsSdk.awsSdkStrings.latest
import typings.awsSdk.libConfigServicePlaceholdersMod.ConfigurationServiceApiVersions
import typings.awsSdk.libConfigServicePlaceholdersMod.ConfigurationServicePlaceholders
import _root_.typings.awsSdk.awsSdkStrings.latest
import _root_.typings.awsSdk.libConfigServicePlaceholdersMod.ConfigurationServiceApiVersions
import _root_.typings.awsSdk.libConfigServicePlaceholdersMod.ConfigurationServicePlaceholders
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package typings.awsSdk

import typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import typings.awsSdk.clientsDynamodbMod.apiVersion
import _root_.typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import _root_.typings.awsSdk.clientsDynamodbMod.apiVersion
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package typings.awsSdk

import typings.awsSdk.clientsDynamodbMod.AttributeValue
import _root_.typings.awsSdk.clientsDynamodbMod.AttributeValue
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand All @@ -20,6 +20,6 @@ object libDynamodbConverterMod {
inline def input(data: Any): AttributeValue = ^.asInstanceOf[js.Dynamic].applyDynamic("input")(data.asInstanceOf[js.Any]).asInstanceOf[AttributeValue]
inline def input(data: Any, options: ConverterOptions): AttributeValue = (^.asInstanceOf[js.Dynamic].applyDynamic("input")(data.asInstanceOf[js.Any], options.asInstanceOf[js.Any])).asInstanceOf[AttributeValue]

type ConverterOptions = typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.ConverterOptions
type ConverterOptions = _root_.typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.ConverterOptions
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package typings.awsSdk

import _root_.typings.awsSdk.awsSdkStrings.ADD
import _root_.typings.awsSdk.awsSdkStrings.DELETE
import _root_.typings.awsSdk.awsSdkStrings.PUT
import _root_.typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import _root_.typings.awsSdk.clientsDynamodbMod.^
import _root_.typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import org.scalablytyped.runtime.StringDictionary
import typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import typings.awsSdk.clientsDynamodbMod.^
import typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand All @@ -20,13 +23,7 @@ object libDynamodbDocumentClientMod {
}
object DocumentClient {

/* Rewritten from type alias, can be one of:
- typings.awsSdk.awsSdkStrings.ADD
- typings.awsSdk.awsSdkStrings.PUT
- typings.awsSdk.awsSdkStrings.DELETE
- java.lang.String
*/
type AttributeAction = _AttributeAction | String
type AttributeAction = ADD | PUT | DELETE | String

trait ConverterOptions extends StObject {

Expand Down Expand Up @@ -96,7 +93,5 @@ object libDynamodbDocumentClientMod {
inline def setServiceUndefined: Self = StObject.set(x, "service", js.undefined)
}
}

trait _AttributeAction extends StObject
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package typings.awsSdk

import _root_.typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import _root_.typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient
import _root_.typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import org.scalablytyped.runtime.Instantiable1
import typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient
import typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand All @@ -28,7 +28,7 @@ object libServicesDynamodbMod {
@js.native
def DocumentClient: Instantiable1[
/* options */ js.UndefOr[DocumentClientOptions & ClientConfiguration],
typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient
_root_.typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient
] = js.native
inline def DocumentClient_=(
x: Instantiable1[
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package typings.awsSdk

import typings.awsSdk.clientsDynamodbMod.AttributeValue
import typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import typings.awsSdk.libConfigMod.Config
import typings.awsSdk.libDynamodbConverterMod.Converter.ConverterOptions
import typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import _root_.typings.awsSdk.clientsDynamodbMod.AttributeValue
import _root_.typings.awsSdk.clientsDynamodbMod.ClientConfiguration
import _root_.typings.awsSdk.libConfigMod.Config
import _root_.typings.awsSdk.libDynamodbConverterMod.Converter.ConverterOptions
import _root_.typings.awsSdk.libDynamodbDocumentClientMod.DocumentClient.DocumentClientOptions
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
Expand All @@ -14,15 +14,15 @@ object mod {
@JSImport("aws-sdk", "DynamoDB")
@js.native
open class DynamoDB ()
extends typings.awsSdk.clientsAllMod.DynamoDB {
extends _root_.typings.awsSdk.clientsAllMod.DynamoDB {
def this(options: ClientConfiguration) = this()
}
object DynamoDB {

@JSImport("aws-sdk", "DynamoDB.Converter")
@js.native
open class Converter ()
extends typings.awsSdk.clientsAllMod.DynamoDB.Converter
extends _root_.typings.awsSdk.clientsAllMod.DynamoDB.Converter
/* static members */
object Converter {

Expand All @@ -40,7 +40,7 @@ object mod {
* Creates a DynamoDB document client with a set of configuration options.
*/
open class DocumentClient ()
extends typings.awsSdk.clientsAllMod.DynamoDB.DocumentClient {
extends _root_.typings.awsSdk.clientsAllMod.DynamoDB.DocumentClient {
def this(options: DocumentClientOptions & ClientConfiguration) = this()
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/babylon/check-3/b/babylon/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
organization := "org.scalablytyped"
name := "babylon"
version := "0.0-unknown-3c97e1"
version := "0.0-unknown-4365b4"
scalaVersion := "3.3.1"
enablePlugins(ScalaJSPlugin)
libraryDependencies ++= Seq(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ object babylonjsIndexMod {
@JSImport("babylonjs/index", "RuntimeAnimation")
@js.native
open class RuntimeAnimation ()
extends typings.babylon.originalMod.RuntimeAnimation
extends _root_.typings.babylon.originalMod.RuntimeAnimation
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ object babylonjsMod {
@JSImport("babylonjs", "RuntimeAnimation")
@js.native
open class RuntimeAnimation ()
extends typings.babylon.middleMod.RuntimeAnimation
extends _root_.typings.babylon.middleMod.RuntimeAnimation
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ object middleMod {
@JSImport("middle", "RuntimeAnimation")
@js.native
open class RuntimeAnimation ()
extends typings.babylon.babylonjsIndexMod.RuntimeAnimation
extends _root_.typings.babylon.babylonjsIndexMod.RuntimeAnimation
}
Loading

0 comments on commit 86546e0

Please sign in to comment.