From 3adf61203e8cfd28d143428661082e1c915b06be Mon Sep 17 00:00:00 2001 From: tada5hi Date: Thu, 11 Jan 2024 11:49:51 +0000 Subject: [PATCH] deploy: 94e6668ec7baa3799f1f67d2dcc3d9ced6ac594b --- 404.html | 2 +- guide/cli.html | 2 +- guide/database-api-reference.html | 2 +- guide/database.html | 2 +- guide/datasource-api-reference.html | 2 +- guide/index.html | 2 +- guide/installation.html | 2 +- guide/instances.html | 2 +- guide/migration-guide-v3.html | 2 +- guide/query-api-reference.html | 2 +- guide/query.html | 2 +- guide/seeding-api-reference.html | 2 +- guide/seeding.html | 2 +- hashmap.json | 2 +- index.html | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/404.html b/404.html index a997f3d4..8977ecca 100644 --- a/404.html +++ b/404.html @@ -15,7 +15,7 @@
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.
- + \ No newline at end of file diff --git a/guide/cli.html b/guide/cli.html index 3c05f572..f6876036 100644 --- a/guide/cli.html +++ b/guide/cli.html @@ -23,7 +23,7 @@ "seed:run": "ts-node ./node_modules/typeorm-extension/bin/cli.cjs seed:run", "seed:create": "ts-node ./node_modules/typeorm-extension/bin/cli.cjs seed:create" }

To test the application in the context of an esm project, the following adjustments must be made:

Read the Seeding Configuration section to find out how to specify the path, for the seeder- & factory-location.

CLI Options

OptionCommandsDefaultDescription
--root or -rdb:create, db:drop, seed:create & seed:runprocess.cwd()Root directory of the project.
--dataSource or -ddb:create, db:drop & seed:rundata-sourceName (or relative path incl. name) of the data-source file.
--synchronize or -sdb:create & db:dropyesSynchronize the database schema after database creation. Options: yes or no.
--initialDatabasedb:createundefinedSpecify the initial database to connect to. This option is only relevant for the postgres driver, which must always to connect to a database. If no database is provided, the database name will be equal to the connection user name.
--nameseed:create & seed:runundefinedName (or relative path incl. name) of the seeder.
--preserveFilePathsdb:create, db:drop, seed:create & seed:runfalseThis option indicates if file paths should be preserved and treated as if the just-in-time compilation environment is detected.
- + \ No newline at end of file diff --git a/guide/database-api-reference.html b/guide/database-api-reference.html index 38d855f5..63bcaea2 100644 --- a/guide/database-api-reference.html +++ b/guide/database-api-reference.html @@ -109,7 +109,7 @@ */ ifExist?: boolean };

References

- + \ No newline at end of file diff --git a/guide/database.html b/guide/database.html index 63e0d0f6..0084cd9f 100644 --- a/guide/database.html +++ b/guide/database.html @@ -96,7 +96,7 @@ // Drop the database without specifying it manually await dropDatabase(); })();

To get a better overview and understanding of the dropDatabase function go to the functions section and read more about it.

- + \ No newline at end of file diff --git a/guide/datasource-api-reference.html b/guide/datasource-api-reference.html index 6f56618d..44b05e92 100644 --- a/guide/datasource-api-reference.html +++ b/guide/datasource-api-reference.html @@ -151,7 +151,7 @@ */ preserveFilePaths?: boolean }; - + \ No newline at end of file diff --git a/guide/index.html b/guide/index.html index 667e0267..ca42ae47 100644 --- a/guide/index.html +++ b/guide/index.html @@ -18,7 +18,7 @@
Skip to content

What is it?

This is a library to:

  • create, drop & seed the (default-) database 🔥
  • manage one or many data-source instances 👻
  • parse & apply query parameters (extended JSON:API specification & fully typed) to:
    • filter (related) resources according to one or more criteria,
    • reduce (related) resource fields,
    • include related resources,
    • sort resources according to one or more criteria,
    • limit the number of resources returned in a response by page limit & offset

Important NOTE

The guide is under construction ☂ at the moment. So please stay patient or contribute to it, till it covers all parts ⭐.

Limitations

At the moment, only the following typeorm drivers are supported to create or drop a database:

  • CockroachDB
  • MSSQL
  • MySQL
  • Oracle
  • Postgres
  • SQLite
- + \ No newline at end of file diff --git a/guide/installation.html b/guide/installation.html index 3725cfea..2e600789 100644 --- a/guide/installation.html +++ b/guide/installation.html @@ -18,7 +18,7 @@
Skip to content

Installation

Add the package as a dependency to the project.

sh
npm install typeorm-extension --save
- + \ No newline at end of file diff --git a/guide/instances.html b/guide/instances.html index 506f7f0d..62ae85f0 100644 --- a/guide/instances.html +++ b/guide/instances.html @@ -34,7 +34,7 @@ const instance : DataSource = await useDataSource('second'); })();

Reference(s):

- + \ No newline at end of file diff --git a/guide/migration-guide-v3.html b/guide/migration-guide-v3.html index 76b883f4..19c3dde9 100644 --- a/guide/migration-guide-v3.html +++ b/guide/migration-guide-v3.html @@ -22,7 +22,7 @@ // ESM ts-node-esm ./node-modules/typeorm-extension/bin/cli.mjs

General

  1. The seeding command seed has been renamed to seed:run.
  2. The seeding option --seed has been renamed to --name.
  3. The seeding option --root now corresponds to the root directory of the project.
  4. The --dataSource option now can contain the relative path and the name to the data-source.

DataSource

  1. Drop support for ormconfig. The DataSource finder will no longer look for this kind of configuration.
- + \ No newline at end of file diff --git a/guide/query-api-reference.html b/guide/query-api-reference.html index ef87eaab..c954d05b 100644 --- a/guide/query-api-reference.html +++ b/guide/query-api-reference.html @@ -108,7 +108,7 @@ import { SortParseOutput } from 'rapiq'; export type QuerySortApplyOutput = SortParseOutput; - + \ No newline at end of file diff --git a/guide/query.html b/guide/query.html index a0a62c99..a221be98 100644 --- a/guide/query.html +++ b/guide/query.html @@ -214,7 +214,7 @@ }); app.listen(80); - + \ No newline at end of file diff --git a/guide/seeding-api-reference.html b/guide/seeding-api-reference.html index b721a3bc..8716276b 100644 --- a/guide/seeding-api-reference.html +++ b/guide/seeding-api-reference.html @@ -103,7 +103,7 @@ factories?: SeederFactoryConfig[] | string[], factoriesLoad?: boolean }; - + \ No newline at end of file diff --git a/guide/seeding.html b/guide/seeding.html index e682db8a..f4de1e14 100644 --- a/guide/seeding.html +++ b/guide/seeding.html @@ -140,7 +140,7 @@ await runSeeders(dataSource); })(); - + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index 37bd899a..52209e80 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"index.md":"NVdE10Ph","guide_installation.md":"F4yDW3gA","guide_seeding.md":"w7S_o-4p","guide_index.md":"gJ8Jglvi","guide_seeding-api-reference.md":"OmrNNc-T","guide_database-api-reference.md":"nYj1C-L9","guide_instances.md":"bdvcpLuo","guide_migration-guide-v3.md":"ktldUt8s","guide_database.md":"680XY8Ne","guide_cli.md":"_zMJCgcx","guide_datasource-api-reference.md":"ZPYYTlNb","guide_query-api-reference.md":"bhtHfAVR","guide_query.md":"mr2NTQH3"} +{"guide_installation.md":"F4yDW3gA","guide_instances.md":"bdvcpLuo","guide_query.md":"mr2NTQH3","guide_seeding-api-reference.md":"OmrNNc-T","guide_cli.md":"_zMJCgcx","guide_query-api-reference.md":"bhtHfAVR","guide_seeding.md":"w7S_o-4p","guide_migration-guide-v3.md":"ktldUt8s","index.md":"NVdE10Ph","guide_database-api-reference.md":"nYj1C-L9","guide_database.md":"680XY8Ne","guide_datasource-api-reference.md":"ZPYYTlNb","guide_index.md":"gJ8Jglvi"} diff --git a/index.html b/index.html index 721d56fa..81ce61fa 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@
Skip to content

typeorm-extension

A library to create, drop & seed the database and apply URL query parameter(s).

- + \ No newline at end of file