* Initial commit
* Prettier
* 4 spaces here too
* Prettier in the definitions file too
* Once more
* don't believe this is necessary
* Followed common-mistakes
* Add a comment, prettier
* First test failure
* TS version required by geojson
* TS version required by mapbox-gl
* redundant export of interfaces
* jsdoc comment format on 1315
* more test suggestions
* postcommit
* ProgressEvent comes from the js api
* Nicely format these jsdoc comments
* postcommit
* more fixes
* more jsdoc comments, bad interface
* more jsdoc comments
* more comments
* more jsdoc comments
* remove all trailing whitespace
* more comments
* more docs
* whitespace
* postcommit
* so many docs
* more whitespace
* more docs
* more docs
* whitespace
* more tests
* add newline, update tests
* Refactor incorrect tests
* Add export-statements to the exported components
* Add a base-class for prompt-modules
* Externalize the Prompts-type
* Externalize the Separator-class
* Move the ChoiceOption-type to a new namespace "poll"
* Rename the ChoiceOption-type to ChoiceOptions
* Add a choice base-type
* Move ChoiceType to the poll-namespace
* Rename the ChoiceType-type
* Reorder the types
* Convert types to interfaces
* Rename the qeustion-type to "DistinctQuestion"
* Add types for representing optional object-keys
* Add a type for dynamic question-properties
* Fix some question-options
* Ad the `filter`-methjod to the QuestionCommon-interface
* Move uestionCommon to the poll-namespace
* Rename QuestionCommon to Question
* Refactor the question-types
* Refactor the Questions-type
* Rename Questions to QuestionCollection
* Rearrange the namespaces
* Add a type-option to the Question-interface
* Add a ScreenManager-class
* Rework visibility of ScreenManager-members
* Add a Prompt-class
* Force all generic answers to extend Answers
* Add an interface for basic prompts
* Add a PromptConstrructor type
* Add types for the paginator
* Rework the event-submission of prompts
* Fix the type of the run-callback
* Add a generic parameter for the type of answer
* Add types for the Checkbox-prompt
* Make the type of the checkbox-prompt generic
* Add a module for the checkbox-prompt
* Fix js-doc
* Add missing import
* Fix typo
* Add types for the confirm-prompt
* Remove the generic answer-type
* Rework the checkbox-prompt
* Add an editor-prompt
* Add the Choice-class
* Move the choice-class to another directory
* Add a separator-interface
* Fix the separator-class
* Add a choices-class
* Add the separator-type
* Move the objects to the correct location
* Move all external modules to the proper place
* Fix the PromptModule interface
* Convert all internal components to internal modules
* Rework the prompt-type
* Make the choices public
* Fix the editor-prompt
* Move all external modules into the index-file
* Move all remaining modules into the index-file
* Fix incorrect choices-module
* Export the DynamicQuestionProperty
* Add a question-map
* Fix the choicebase-type
* Fix asynchronously fetched question-options
* Improve the handling of choices
* Add an expand-prompt
* Intuitively rework the prompts
* Rework the expand-prompt
* Add the input-prompt
* Add trhe list-prompt
* Refactor all prompts
* Fix incorrect module-export
* Fix the prompt-constructor
* Fix the handling of the question-options
* Add the number-prompt
* Add the password-prompt
* Add the rawlist-prompt
* Add ui-classes
* Add all remaining types
* Fix the generic types
* Remove unnecessary types
* Rework the type-declarations according to tslint
* Complete the docs
* Order the imports
* Add a new author-tag
* Increase the major-version
* Import all unused files
* Fix the AsyncDynamicQuestionProperty
* Improve the docs
* Remove the poll-namespace
* Fix the inquirer-types according to tslint
* Fix dependent type-declarations
* Remove the index-signature from the choice-class
* Fix the constructor of the prompt-ui
* Add tests
* Simplify the PromptCollection-type
* Rearrange the file-header
* Add an interface for the bottom-bar options
* Make the log-stream public
* Complete the docs of the choice-class
* Add a validator-type
* Add a choice-collection type
* Add a Transformer-type
* Fix the PromptModule-type
* Add all inquirer code-examples
* Fix incorrect code
* Rework the way to import the example-files
* Fix dependent types
* Add username field to DbSignUpOptions
* Update signupAndAuthorize in test case
* update authentication.dbConnection.signup test case
* update authentication.dbConnection.signup test case
This change makes the functions actually accept what they are documented
to accept based on the error messages. Specifically this allows to pass
node.js `Buffer`s to `sign` / `verify`, instead of needing to convert them
to a `string`, just for forge to convert them back to a `NativeBuffer`
internally.
This also fixes the type for `ed25519.Key`. `ArrayBuffer` does not appear
in forge's source code at all. Instead all functions accept something
containing bytes (i.e. the new `BinaryBuffer` alias) and return a
`NativeBuffer`. I opted to alias `Key` to `NativeBuffer`, because that's
what is being returned by `publicKeyFromPrivateKey` and `generateKeyPair`,
it's a subset of `BinaryBuffer` and does not cause `forge.pki.Key` (which
is the union of RSA and ed25519 keys) to become a kitchen sink type.
* [mathjs] added type definitions for dependency maps
* [mathjs] reformat mathjs-test.ts for tslint
* [mathjs] separate factory and deps func defs
* [mathjs] eslint
* Prettierify
* Easier typings for mocked functions
Easier typings for mocked classes (constructors and prototype)
Easier typings for mocked modules as a whole