* Forgot about dotted index paths
* CollectionProperties are not an argument type
* Add keyOptions test
* Add proper mergeObjects option to updates
* Add aql.literal, query
* Better type middleware
* Initial declaration WIP
* Unexplode linter
* Some linting
* More linting
* More linting
This was the last of the low-hanging fruit.
* Use generic string index types
There doesn't seem to be a way to set a "fallback" string index type
so I guess this has to be as generic as necessary.
* Expand stub interfaces
* Get rid of extra declares
These seem to be redundant
* Get rid of extra exports and const enum
This seems to simply work.
* @arangodb/index -> @arangodb
* Escape 'new' attribute to be safe?
* Replace string index types with compositesa
This seems to achieve the behaviour we want:
typeof db.asdfg == ArangoDB.Collection | undefined
typeof db._query == Function
* Both options actually exist
Thanks @Simran-B for clarifying this.
* Remove PlainObject interface
Turns out we actually want `object` as the default type almost
everywhere.
* Bolt down generics
No sense defaulting to object if we don't also enforce extending object.
Also those Documents and Edges might contain literally anything so let's allow that.
* This is probably a hack but at least it works
* Add example stub
* Deduplicate route handler signatures
* Brute force?
This feels wrong. There must be a better way.
* Pass linting
* Possible workaround for globals
* Unnecessary qualifier
* Override NodeJS types
* Add View API
* Slightly more specific graphql types
* Use actual graphql module for types
* Better model manifest/config/deps
* Apparently this doesn't require escaping
* Fix InsertResult
* Functions that always throw should return never?
* Add HttpStatus
* Add Console#logLines
* type to interface
* More example code
* Inline some types
* Inline JwtStorageOptions
* Add sessions middleware example
* Fix aql template string handler