Skip to content

Commit

Permalink
Version Packages (#179)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Mar 28, 2024
1 parent 8df7ec5 commit 99b0ef1
Show file tree
Hide file tree
Showing 18 changed files with 308 additions and 21 deletions.
10 changes: 0 additions & 10 deletions .changeset/calm-flowers-begin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lovely-emus-hammer.md

This file was deleted.

32 changes: 32 additions & 0 deletions docs/mysql2/Error.ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Error.ts
nav_order: 1
parent: "@sqlfx/mysql2"
---

## Error overview

Added in v1.0.0

---

<h2 class="text-delta">Table of contents</h2>

- [exports](#exports)
- [From "@sqlfx/sql/Error"](#from-sqlfxsqlerror)

---

# exports

## From "@sqlfx/sql/Error"

Re-exports all named exports from the "@sqlfx/sql/Error" module.

**Signature**

```ts
export * from "@sqlfx/sql/Error"
```

Added in v1.0.0
81 changes: 81 additions & 0 deletions docs/mysql2/Migrator.ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
---
title: Migrator.ts
nav_order: 3
parent: "@sqlfx/mysql2"
---

## Migrator overview

Added in v1.0.0

---

<h2 class="text-delta">Table of contents</h2>

- [constructor](#constructor)
- [makeLayer](#makelayer)
- [run](#run)
- [loader](#loader)
- [fromBabelGlob](#frombabelglob)
- [fromDisk](#fromdisk)
- [fromGlob](#fromglob)

---

# constructor

## makeLayer

**Signature**

```ts
export declare const makeLayer: (
options: _.MigratorOptions
) => Layer.Layer<never, _.MigrationError | SqlError, Sql.MysqlClient>
```

Added in v1.0.0

## run

**Signature**

```ts
export declare const run: (
options: _.MigratorOptions
) => Effect.Effect<ReadonlyArray<readonly [id: number, name: string]>, SqlError | _.MigrationError, Sql.MysqlClient>
```

Added in v1.0.0

# loader

## fromBabelGlob

**Signature**

```ts
export declare const fromBabelGlob: (migrations: Record<string, any>) => _.Loader
```

Added in v1.0.0

## fromDisk

**Signature**

```ts
export declare const fromDisk: (directory: string) => _.Loader
```

Added in v1.0.0

## fromGlob

**Signature**

```ts
export declare const fromGlob: (migrations: Record<string, () => Promise<any>>) => _.Loader
```

Added in v1.0.0
6 changes: 6 additions & 0 deletions docs/mysql2/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "@sqlfx/mysql2"
has_children: true
permalink: /docs/mysql2
nav_order: 4
---
128 changes: 128 additions & 0 deletions docs/mysql2/index.ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
---
title: index.ts
nav_order: 2
parent: "@sqlfx/mysql2"
---

## index overview

Added in v1.0.0

---

<h2 class="text-delta">Table of contents</h2>

- [constructor](#constructor)
- [MysqlClientConfig (interface)](#mysqlclientconfig-interface)
- [make](#make)
- [makeCompiler](#makecompiler)
- [makeLayer](#makelayer)
- [model](#model)
- [MysqlClient (interface)](#mysqlclient-interface)
- [tag](#tag)
- [tag](#tag-1)
- [utils](#utils)
- [transform](#transform)

---

# constructor

## MysqlClientConfig (interface)

**Signature**

```ts
export interface MysqlClientConfig {
/**
* Connection URI. Setting this will override the other connection options
*/
readonly url?: Secret.Secret

readonly host?: string
readonly port?: number
readonly database?: string
readonly username?: string
readonly password?: Secret.Secret

readonly maxConnections?: number
readonly connectionTTL?: Duration.DurationInput

readonly poolConfig?: Mysql.PoolOptions

readonly transformResultNames?: (str: string) => string
readonly transformQueryNames?: (str: string) => string
}
```

Added in v1.0.0

## make

**Signature**

```ts
export declare const make: (options: MysqlClientConfig) => Effect.Effect<MysqlClient, never, Scope>
```

Added in v1.0.0

## makeCompiler

**Signature**

```ts
export declare const makeCompiler: (transform?: ((_: string) => string) | undefined) => Statement.Compiler
```

Added in v1.0.0

## makeLayer

**Signature**

```ts
export declare const makeLayer: (config: Config.Config.Wrap<MysqlClientConfig>) => Layer.Layer<MysqlClient, ConfigError>
```

Added in v1.0.0

# model

## MysqlClient (interface)

**Signature**

```ts
export interface MysqlClient extends Client.Client {
readonly config: MysqlClientConfig
}
```

Added in v1.0.0

# tag

## tag

**Signature**

```ts
export declare const tag: Tag<MysqlClient, MysqlClient>
```

Added in v1.0.0

# utils

## transform

Column renaming helpers.

**Signature**

```ts
export declare const transform: typeof transform
```

Added in v1.0.0
9 changes: 9 additions & 0 deletions packages/mssql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @sqlfx/mssql

## 0.44.1

### Patch Changes

- [#178](https://github.com/tim-smart/sqlfx/pull/178) [`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb) Thanks [@jamiehodge](https://github.com/jamiehodge)! - fix tag identifiers

- Updated dependencies [[`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb)]:
- @sqlfx/sql@0.46.1

## 0.44.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mssql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sqlfx/mssql",
"version": "0.44.0",
"version": "0.44.1",
"description": "",
"publishConfig": {
"access": "public",
Expand Down
9 changes: 9 additions & 0 deletions packages/mysql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @sqlfx/mysql

## 0.45.1

### Patch Changes

- [#178](https://github.com/tim-smart/sqlfx/pull/178) [`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb) Thanks [@jamiehodge](https://github.com/jamiehodge)! - fix tag identifiers

- Updated dependencies [[`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb)]:
- @sqlfx/sql@0.46.1

## 0.45.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mysql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sqlfx/mysql",
"version": "0.45.0",
"version": "0.45.1",
"description": "",
"publishConfig": {
"access": "public",
Expand Down
13 changes: 13 additions & 0 deletions packages/mysql2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
# @sqlfx/mysql2

## 0.1.0

### Minor Changes

- [#178](https://github.com/tim-smart/sqlfx/pull/178) [`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb) Thanks [@jamiehodge](https://github.com/jamiehodge)! - initial version

### Patch Changes

- [#178](https://github.com/tim-smart/sqlfx/pull/178) [`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb) Thanks [@jamiehodge](https://github.com/jamiehodge)! - fix tag identifiers

- Updated dependencies [[`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb)]:
- @sqlfx/sql@0.46.1
2 changes: 1 addition & 1 deletion packages/mysql2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sqlfx/mysql2",
"version": "0.0.0",
"version": "0.1.0",
"description": "",
"publishConfig": {
"access": "public",
Expand Down
9 changes: 9 additions & 0 deletions packages/pg/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @sqlfx/pg

## 0.46.1

### Patch Changes

- [#178](https://github.com/tim-smart/sqlfx/pull/178) [`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb) Thanks [@jamiehodge](https://github.com/jamiehodge)! - fix tag identifiers

- Updated dependencies [[`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb)]:
- @sqlfx/sql@0.46.1

## 0.46.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/pg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sqlfx/pg",
"version": "0.46.0",
"version": "0.46.1",
"description": "",
"publishConfig": {
"access": "public",
Expand Down
6 changes: 6 additions & 0 deletions packages/sql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @sqlfx/sql

## 0.46.1

### Patch Changes

- [#178](https://github.com/tim-smart/sqlfx/pull/178) [`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb) Thanks [@jamiehodge](https://github.com/jamiehodge)! - fix tag identifiers

## 0.46.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sqlfx/sql",
"version": "0.46.0",
"version": "0.46.1",
"description": "",
"publishConfig": {
"access": "public",
Expand Down
9 changes: 9 additions & 0 deletions packages/sqlite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @sqlfx/sqlite

## 0.46.1

### Patch Changes

- [#178](https://github.com/tim-smart/sqlfx/pull/178) [`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb) Thanks [@jamiehodge](https://github.com/jamiehodge)! - fix tag identifiers

- Updated dependencies [[`8df7ec5`](https://github.com/tim-smart/sqlfx/commit/8df7ec5f76b1b21d00dbfc942e9d3a1b10dde1eb)]:
- @sqlfx/sql@0.46.1

## 0.46.0

### Minor Changes
Expand Down

0 comments on commit 99b0ef1

Please sign in to comment.