Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.3.0 #558

Merged
merged 105 commits into from
Dec 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
60b79e6
Accept null as graphql query variables
firesharker Oct 15, 2019
3f759fb
[CLI] Add --no-install option to createapp
fer22f Oct 20, 2019
02b155e
[CLI] Stop help if options appear before name
fer22f Oct 20, 2019
696e3b4
[CLI] Align git error messages
fer22f Oct 20, 2019
99e6dc8
[CLI] Add --no-git option to createapp
fer22f Oct 20, 2019
e8f3959
[CLI] Fail-safe when target directory exists
fer22f Oct 20, 2019
e6a05a2
[GraphQL] Add a test to accept null as variables
LoicPoullain Oct 25, 2019
9445dfe
Update TS version from 2.x to 3.5.
LoicPoullain Oct 25, 2019
b68e47e
Fix type error due to TSv3
LoicPoullain Oct 25, 2019
0a03457
[Github Actions] Add redis service (test)
LoicPoullain Oct 25, 2019
46a4a21
[Github Acti] Add MogoDB, Pstgres, MariaDB & MySQL
LoicPoullain Oct 25, 2019
5dd68d8
[Github Actions] Fix yml issues
LoicPoullain Oct 25, 2019
7ed5047
[Github Actions] Use Node containers
LoicPoullain Oct 25, 2019
60b9840
[Github Actions] Fix yaml
LoicPoullain Oct 25, 2019
72f2943
[Github Actions] Remove MySQL service
LoicPoullain Oct 25, 2019
736c93b
[Github Actions] Remove containers
LoicPoullain Oct 25, 2019
d30f646
[Github Actions] Fix MySQL & MariaDB port issue
LoicPoullain Oct 25, 2019
7ae0b5c
[Github Pages] Send Codecov report.
LoicPoullain Oct 25, 2019
9b0be78
[Github Page] Increase mocha timeout
LoicPoullain Oct 25, 2019
f91b16e
[Github Page] Increase mocha timeout (2)
LoicPoullain Oct 25, 2019
649abb4
[Github Pages] Replace Travis badge
LoicPoullain Oct 25, 2019
6465354
[Github Pages] Remove Travis config file.
LoicPoullain Oct 25, 2019
d5ab94d
Merge pull request #557 from FoalTS/ts-version3
LoicPoullain Oct 25, 2019
094254d
Merge pull request #553 from firesharker/master
LoicPoullain Oct 25, 2019
249ffbe
Merge branch 'ts-version3' into v1-3-0
LoicPoullain Oct 25, 2019
ffcc660
[CLI] Improve readability on autoInstall ternary
fer22f Oct 26, 2019
89df7fb
[CLI] Add type coersion for boolean options
fer22f Oct 26, 2019
568338f
[CLI] Remove redundant color red calls
fer22f Oct 26, 2019
48d8a87
[CLI] Move from TSLint to ESLint in templates
fer22f Oct 26, 2019
fe55180
[Docs] Document move from TSLint to ESlint
fer22f Oct 26, 2019
e0d93cf
[Docs] Update instructions for linting in VS Code
fer22f Oct 26, 2019
1ee4294
[CLI] Remove quotes from some fields in .eslint.js
fer22f Oct 26, 2019
044bfbd
[Docs] Fix tutorials for new ESLint config
fer22f Oct 26, 2019
bbbae05
Merge branch 'master' into v1-3-0
LoicPoullain Oct 28, 2019
e65782f
Simplify template literals
LoicPoullain Oct 28, 2019
ade81b5
[CLI] Add test on project creation
LoicPoullain Oct 28, 2019
738b7df
Fix linting
LoicPoullain Oct 28, 2019
590be8c
Fix linting
LoicPoullain Oct 28, 2019
2d996b1
Merge pull request #554 from fer22f/master
LoicPoullain Oct 28, 2019
e7438f7
Merge branch 'v1-3-0' of github.com:FoalTS/foal into v1-3-0
LoicPoullain Oct 28, 2019
dc6664a
[Docs] Add empty "social auth" page
LoicPoullain Oct 28, 2019
cced650
Revert "[Docs] Add empty "social auth" page"
LoicPoullain Oct 28, 2019
8ccaffa
[Docs] Add empty "social auth" page
LoicPoullain Oct 28, 2019
700d9a7
Fix Github Actions timeout
LoicPoullain Oct 28, 2019
0348a39
Fix test
LoicPoullain Oct 28, 2019
f5532f8
[Social Auth] Add Google Auth sample (technique 1)
LoicPoullain Nov 4, 2019
75f8662
[Github Actions] Fix timeout
LoicPoullain Nov 4, 2019
56d0683
[Social Auth] Explain app registration
LoicPoullain Nov 4, 2019
b1736c7
[Social Auth] [Docs] Add Google auth (technique 1)
LoicPoullain Nov 4, 2019
6383312
[Github Actions] Add Auth0 env var.
LoicPoullain Nov 4, 2019
a8aac69
[Social Auth] Add empty package @foal/social
LoicPoullain Nov 4, 2019
51d0b2b
[Social Auth] Add "AbstractProvider" class & algo
LoicPoullain Nov 5, 2019
b67b957
[Docs] Re-organize social doc
LoicPoullain Nov 5, 2019
8f41927
[Social Auth] Add Google & FB (props only)
LoicPoullain Nov 5, 2019
0d66687
[Social Auth] Implement the "redirect" method
LoicPoullain Nov 6, 2019
97b3568
[Social Auth] Implement getTokens
LoicPoullain Nov 7, 2019
a6791e3
[Social Auth] Implement "getUser" method.
LoicPoullain Nov 8, 2019
30efb95
[Social Auth] Strictly use OAuth2 spec
LoicPoullain Nov 10, 2019
6c5b73c
Enforce dependency versions
LoicPoullain Nov 11, 2019
bfe4e44
Remove redundant bodyParser dep.
LoicPoullain Nov 11, 2019
d5e0bf3
[Social Auth] Test and implement GoogleProvider
LoicPoullain Nov 11, 2019
04c5b73
[Social Auth] Use POST for token endpoint.
LoicPoullain Nov 11, 2019
7021a7d
[Social Auth] Implement Facebook provider
LoicPoullain Nov 12, 2019
c5b4c4e
[Docs] Fix missing .id
fer22f Nov 12, 2019
02658c5
[CLI] Allow for building CLI with hidden files
fer22f Nov 12, 2019
2cc27d8
[Docs] Finish docs regarding VS Code linting
fer22f Nov 12, 2019
0347d33
[Docs] Revert migration prettifying
fer22f Nov 17, 2019
898b304
[CLI] Replace generated ts-ignore with eslint's
fer22f Nov 17, 2019
22cdffd
[CLI] Add ignorePatterns to .eslintrc
fer22f Nov 17, 2019
ad397b6
[CLI] Fix casing of GET in generated tests
fer22f Nov 17, 2019
eddbc13
[CLI] Upgrade @typescript-eslint to 2.7.0
fer22f Nov 18, 2019
a3006a7
[CLI] Add tsconfigRootDir so linting in vim works
fer22f Nov 18, 2019
4e04c11
[CLI] Upgrade ESLint to 6.7.0
fer22f Nov 23, 2019
7c47652
Merge pull request #561 from fer22f/move-generated-samples-to-eslint
LoicPoullain Nov 25, 2019
0a4fa84
[ESLint/TSLint] Fix linting
LoicPoullain Nov 25, 2019
553b777
[@foal/examples] Use Google & FB social auth
LoicPoullain Nov 27, 2019
da14213
[Docs] Add Google 2 (draft)
LoicPoullain Nov 27, 2019
f4e8afe
Merge branch 'v1-3-0' into enforce-dependencies
LoicPoullain Nov 27, 2019
8bed7e2
[Docs] Mention dependency versions in contribution
LoicPoullain Nov 27, 2019
c0e9f3a
[Dep] Use minor versions
LoicPoullain Nov 27, 2019
dbb12f7
Fix test (typing)
LoicPoullain Nov 27, 2019
225dbe5
[@foal/mongodb] Upgrade MongoDB minor version
LoicPoullain Nov 27, 2019
922795a
Merge pull request #578 from FoalTS/enforce-dependencies
LoicPoullain Nov 27, 2019
78535e9
Merge branch 'master' into v1-3-0
LoicPoullain Nov 27, 2019
2d48be6
[@foal/graphql] Add type-graphql as dev dep
LoicPoullain Nov 27, 2019
de2bd88
Merge branch 'master' into social-auth-google-fb-spa
LoicPoullain Nov 27, 2019
b5dbbf8
Merge branch 'v1-3-0' into social-auth-google-fb-spa
LoicPoullain Nov 27, 2019
dab706d
[@foal/examples] Generate package-lock.json
LoicPoullain Nov 27, 2019
5226596
[Docs] Social auth available since v1.3.0
LoicPoullain Nov 27, 2019
8ae1a62
[Social Auth] Add secure option for state cookie
LoicPoullain Nov 28, 2019
b367f13
[Social Auth] Rename bad names
LoicPoullain Nov 28, 2019
e2c8346
[Social auth] Remove baseAuthEndpointParams
LoicPoullain Nov 29, 2019
acfbb7c
[Social] Add params to getUserInfo x2
LoicPoullain Nov 29, 2019
b152927
[Social] Remove baseTokenEndpointParams
LoicPoullain Nov 29, 2019
a9a4b19
[Social] Improve GoogleProvider interface
LoicPoullain Nov 29, 2019
2edd5e6
[Social] Improve provider interface
LoicPoullain Nov 29, 2019
6e98e1f
[Social] Support custom fields in FB providers
LoicPoullain Nov 29, 2019
d061a86
[Docs] Add unit docs
LoicPoullain Dec 3, 2019
3c39223
[Docs] Add TODOs
LoicPoullain Dec 3, 2019
10646b1
[Docs] Write social documentation
LoicPoullain Dec 3, 2019
beda404
[Social Auth] Add provider name.
LoicPoullain Dec 3, 2019
6027ef7
[Social Auth] Add package to bash file
LoicPoullain Dec 3, 2019
70cc46b
Merge pull request #563 from FoalTS/social-auth-google-fb-spa
LoicPoullain Dec 3, 2019
a3c6030
[Docs] Generate API reference
LoicPoullain Dec 3, 2019
1a89b11
v1.3.0
LoicPoullain Dec 3, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.MD
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ You can also run the tests of only one package by going to its directory and run

### General guidelines

Do not install any new dependencies unless they have been approved.
Do not install any new dependencies unless they have been approved. Dependencies (except peer ones) should point to *minor* versions (`~1.2.0` instead of `^1.2.0`).

When writting code, use the *Test-Driven Developpement (TDD)* approach.
1. Write a test.
Expand Down
58 changes: 55 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,52 @@ jobs:
matrix:
node-version: [8.x, 10.x]

env:
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }}
AUTH0_AUDIENCE: ${{ secrets.AUTH0_AUDIENCE }}
AUTH0_TOKEN: ${{ secrets.AUTH0_TOKEN }}

services:
mysql:
image: mysql:5.7.10
ports:
# Another version of MySQL is installed on the vm and already uses the port 3306.
- 3308:3306
env:
MYSQL_ROOT_PASSWORD: admin
MYSQL_USER: test
MYSQL_PASSWORD: test
MYSQL_DATABASE: test

mariadb:
image: mariadb:10.1.16
ports:
- 3307:3306
env:
MYSQL_ROOT_PASSWORD: admin
MYSQL_USER: test
MYSQL_PASSWORD: test
MYSQL_DATABASE: test

postgres:
image: postgres:9.6.1
ports:
- 5432:5432
env:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRES_DB: test

mongodb:
image: mongo:3.4.1
ports:
- 27017:27017

redis:
image: redis:4.0.14
ports:
- 6379:6379

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -22,12 +68,18 @@ jobs:
- name: Install project dependencies
run: npm install
- name: Install package dependencies and build packages
run: |
lerna bootstrap
cd packages/cli && npm link && cd ../..
run: lerna bootstrap
- name: Create CLI symlink in the global folder
run: npm link
working-directory: packages/cli
- name: Check package linting
run: npm run lint
- name: Run unit and acceptance tests (TypeScript)
run: lerna run --no-bail test
- name: Run acceptance tests (Bash)
run: ./e2e_test.sh
- name: Send code coverage report to Codecov
uses: codecov/codecov-action@v1.0.3
with:
token: ${{secrets.CODECOV_TOKEN}}
file: packages/core/coverage/*.json
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<a href="https://badge.fury.io/js/%40foal%2Fcore">
<img src="https://badge.fury.io/js/%40foal%2Fcore.svg" alt="npm version">
</a>
<a href="https://travis-ci.org/FoalTS/foal">
<img src="https://travis-ci.org/FoalTS/foal.svg?branch=add-travis" alt="Build Status">
<a href="https://github.com/FoalTS/foal/actions">
<img src="https://github.com/FoalTS/foal/workflows/Test/badge.svg" alt="Build Status">
</a>
<a href="https://codecov.io/github/FoalTS/foal">
<img src="https://codecov.io/gh/FoalTS/foal/branch/master/graphs/badge.svg" alt="Code coverage">
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ services:
mysql:
image: "mysql:5.7.10"
ports:
- "3306:3306"
# Another version of MySQL is installed on the vm and already uses the port 3306.
- "3308:3306"
environment:
MYSQL_ROOT_PASSWORD: "admin"
MYSQL_USER: "test"
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
![node version](https://img.shields.io/badge/node-%3E%3D8-brightgreen.svg)
![npm version](https://badge.fury.io/js/%40foal%2Fcore.svg)
![Build Status](https://travis-ci.org/FoalTS/foal.svg?branch=add-travis)
[![Actions Status](https://github.com/FoalTS/foal/workflows/Test/badge.svg)](https://github.com/FoalTS/foal/actions)
![Code coverage](https://codecov.io/gh/FoalTS/foal/branch/master/graphs/badge.svg)
![Known Vulnerabilities](https://snyk.io/test/github/foalts/foal/badge.svg)
![Commit activity](https://img.shields.io/github/commit-activity/y/FoalTS/foal.svg)
Expand Down
1 change: 1 addition & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
* [Passwords](./authentication-and-access-control/password-management.md)
* [Session Tokens (authentication)](./authentication-and-access-control/session-tokens.md)
* [JSON Web Tokens (authentication)](./authentication-and-access-control/jwt.md)
* [Social Auth](./authentication-and-access-control/social-auth.md)
* [Administrators & Roles](./authentication-and-access-control/administrators-and-roles.md)
* [Groups & Permissions](./authentication-and-access-control/groups-and-permissions.md)
* [Validation & Sanitization](./validation-and-sanitization.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Represent an object that was expected to be found but that does not exist.

⊕ **new ObjectDoesNotExist**(content?: *`any`*): [ObjectDoesNotExist](_common_errors_object_does_not_exist_.objectdoesnotexist.md)

*Defined in [common/errors/object-does-not-exist.ts:9](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/common/errors/object-does-not-exist.ts#L9)*
*Defined in [common/errors/object-does-not-exist.ts:9](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/common/errors/object-does-not-exist.ts#L9)*

**Parameters:**

Expand All @@ -61,7 +61,7 @@ ___

**● content**: *`any`*

*Defined in [common/errors/object-does-not-exist.ts:11](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/common/errors/object-does-not-exist.ts#L11)*
*Defined in [common/errors/object-does-not-exist.ts:11](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/common/errors/object-does-not-exist.ts#L11)*

___
<a id="isobjectdoesnotexist"></a>
Expand All @@ -70,7 +70,7 @@ ___

**● isObjectDoesNotExist**: *`true`* = true

*Defined in [common/errors/object-does-not-exist.ts:9](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/common/errors/object-does-not-exist.ts#L9)*
*Defined in [common/errors/object-does-not-exist.ts:9](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/common/errors/object-does-not-exist.ts#L9)*

___
<a id="message"></a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Represent the prohibition to perform an action that was expected to be accessibl

⊕ **new PermissionDenied**(content?: *`any`*): [PermissionDenied](_common_errors_permission_denied_.permissiondenied.md)

*Defined in [common/errors/permission-denied.ts:9](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/common/errors/permission-denied.ts#L9)*
*Defined in [common/errors/permission-denied.ts:9](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/common/errors/permission-denied.ts#L9)*

**Parameters:**

Expand All @@ -61,7 +61,7 @@ ___

**● content**: *`any`*

*Defined in [common/errors/permission-denied.ts:11](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/common/errors/permission-denied.ts#L11)*
*Defined in [common/errors/permission-denied.ts:11](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/common/errors/permission-denied.ts#L11)*

___
<a id="ispermissiondenied"></a>
Expand All @@ -70,7 +70,7 @@ ___

**● isPermissionDenied**: *`true`* = true

*Defined in [common/errors/permission-denied.ts:9](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/common/errors/permission-denied.ts#L9)*
*Defined in [common/errors/permission-denied.ts:9](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/common/errors/permission-denied.ts#L9)*

___
<a id="message"></a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Represent an incorrect data format.

⊕ **new ValidationError**(content?: *`any`*): [ValidationError](_common_errors_validation_error_.validationerror.md)

*Defined in [common/errors/validation-error.ts:9](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/common/errors/validation-error.ts#L9)*
*Defined in [common/errors/validation-error.ts:9](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/common/errors/validation-error.ts#L9)*

**Parameters:**

Expand All @@ -61,7 +61,7 @@ ___

**● content**: *`any`*

*Defined in [common/errors/validation-error.ts:11](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/common/errors/validation-error.ts#L11)*
*Defined in [common/errors/validation-error.ts:11](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/common/errors/validation-error.ts#L11)*

___
<a id="isvalidationerror"></a>
Expand All @@ -70,7 +70,7 @@ ___

**● isValidationError**: *`true`* = true

*Defined in [common/errors/validation-error.ts:9](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/common/errors/validation-error.ts#L9)*
*Defined in [common/errors/validation-error.ts:9](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/common/errors/validation-error.ts#L9)*

___
<a id="message"></a>
Expand Down
30 changes: 15 additions & 15 deletions docs/api/core/classes/_core_config_.config.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This class can also be used as a service.

**● yaml**: *`any`*

*Defined in [core/config.ts:91](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L91)*
*Defined in [core/config.ts:91](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L91)*

___

Expand All @@ -63,7 +63,7 @@ ___

▸ **get**<`T`>(key: *`string`*, defaultValue?: *[T]()*): `T`

*Defined in [core/config.ts:225](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L225)*
*Defined in [core/config.ts:225](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L225)*

Access environment variables and configuration files.

Expand Down Expand Up @@ -102,7 +102,7 @@ ___

▸ **clearCache**(): `void`

*Defined in [core/config.ts:83](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L83)*
*Defined in [core/config.ts:83](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L83)*

Clear the cache of the loaded files.

Expand All @@ -119,7 +119,7 @@ ___

▸ **convertType**(value: *`string`*): `boolean` \| `number` \| `string`

*Defined in [core/config.ts:172](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L172)*
*Defined in [core/config.ts:172](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L172)*

**Parameters:**

Expand All @@ -136,7 +136,7 @@ ___

▸ **dotToUnderscore**(str: *`string`*): `string`

*Defined in [core/config.ts:165](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L165)*
*Defined in [core/config.ts:165](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L165)*

**Parameters:**

Expand All @@ -153,7 +153,7 @@ ___

▸ **get**<`T`>(key: *`string`*, defaultValue?: *[T]()*): `T`

*Defined in [core/config.ts:39](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L39)*
*Defined in [core/config.ts:39](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L39)*

Access environment variables and configuration files.

Expand Down Expand Up @@ -194,7 +194,7 @@ ___

▸ **getValue**(config: *`object`*, propertyPath: *`string`*): `any`

*Defined in [core/config.ts:189](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L189)*
*Defined in [core/config.ts:189](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L189)*

**Parameters:**

Expand All @@ -212,7 +212,7 @@ ___

▸ **getYAMLInstance**(): `false` \| `any`

*Defined in [core/config.ts:150](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L150)*
*Defined in [core/config.ts:150](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L150)*

**Returns:** `false` \| `any`

Expand All @@ -223,7 +223,7 @@ ___

▸ **readDotEnvValue**(name: *`string`*): `string` \| `boolean` \| `number` \| `undefined`

*Defined in [core/config.ts:98](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L98)*
*Defined in [core/config.ts:98](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L98)*

**Parameters:**

Expand All @@ -240,7 +240,7 @@ ___

▸ **readJSONValue**(path: *`string`*, key: *`string`*): `any`

*Defined in [core/config.ts:118](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L118)*
*Defined in [core/config.ts:118](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L118)*

**Parameters:**

Expand All @@ -258,7 +258,7 @@ ___

▸ **readYAMLValue**(path: *`string`*, key: *`string`*): `any`

*Defined in [core/config.ts:131](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L131)*
*Defined in [core/config.ts:131](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L131)*

**Parameters:**

Expand All @@ -279,15 +279,15 @@ ___

**cache**: *`object`*

*Defined in [core/config.ts:92](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L92)*
*Defined in [core/config.ts:92](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L92)*

<a id="cache.dotenv"></a>

#### dotEnv

**● dotEnv**: *`undefined`* = undefined

*Defined in [core/config.ts:93](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L93)*
*Defined in [core/config.ts:93](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L93)*

___
<a id="cache.json"></a>
Expand All @@ -296,7 +296,7 @@ ___

**● json**: *`object`*

*Defined in [core/config.ts:94](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L94)*
*Defined in [core/config.ts:94](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L94)*

#### Type declaration

Expand All @@ -307,7 +307,7 @@ ___

**● yaml**: *`object`*

*Defined in [core/config.ts:95](https://github.com/FoalTS/foal/blob/538afb23/packages/core/src/core/config.ts#L95)*
*Defined in [core/config.ts:95](https://github.com/FoalTS/foal/blob/70cc46bd/packages/core/src/core/config.ts#L95)*

#### Type declaration

Expand Down