Files
DefinitelyTyped/types/keystonejs__keystone
Abhijith Vijayan 7afb65a981 fix: add types to authentication context object & executeQuery for @types/keystonejs__keystone (#43257)
* fix: add types to authentication context for keystone v6.0

* fix: add other fields from authentication context data packet

some fields were undefined. I have added these as optional with any for now.

* fix: pass default values with the optional options for executeQuery()

This permits
```
executeQuery(
        `query {
      _allUsersMeta {
        count
      }
    }`
```

as well as 

```
executeQuery(
        `query {
      _allUsersMeta {
        count
      }
    }`,
	{
    	variables: {
         	password,
         	email,
     	},
	}
```

* fix: remove initializer from interface property

* fix: ci error

`A parameter initializer is only allowed in a function or constructor implementation.`

* fix: i am done with semicolons
2020-03-23 11:29:52 -04:00
..