Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
lorefnon committed Feb 6, 2023
2 parents d38c7e4 + 28d7ba0 commit fc68de2
Show file tree
Hide file tree
Showing 22 changed files with 412 additions and 87 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ Matching criteria specified as string or regex

#### Defined in

[src/field-mappings.ts:8](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/field-mappings.ts#L8)
[src/field-mappings.ts:8](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/field-mappings.ts#L8)
74 changes: 37 additions & 37 deletions docs/classes/Generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ and custom logic for table/column/field mapping.

#### Defined in

[src/generator.ts:74](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L74)
[src/generator.ts:75](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L75)

## Properties

Expand All @@ -92,17 +92,17 @@ and custom logic for table/column/field mapping.

#### Defined in

[src/generator.ts:87](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L87)
[src/generator.ts:88](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L88)

___

### getFieldMappings

`Protected` **getFieldMappings**: () => { `columnName`: `undefined` \| ``null`` \| `string` \| `RegExp` ; `columnType`: `undefined` \| ``null`` \| `string` \| `RegExp` ; `generatedField`: ``false`` \| { type?: { kind?: "custom" \| "enum" \| null \| undefined; dbType?: { name: string; } \| null \| undefined; tsType?: { importPath?: string \| null \| undefined; isDefault?: boolean \| null \| undefined; isRelative?: boolean \| ... 1 more ... \| undefined; name: string; } \| null \| undefined; adapter?: { ...; } \| ... 1 more ... ... ; `tableName`: `undefined` \| ``null`` \| `string` \| `RegExp` }[] & `MemoizedFunction`
`Protected` **getFieldMappings**: () => { `columnName`: `undefined` \| ``null`` \| `string` \| `RegExp` ; `columnType`: `undefined` \| ``null`` \| `string` \| `RegExp` ; `generatedField`: ``false`` \| { type?: { kind?: "custom" \| "customComparable" \| "enum" \| null \| undefined; dbType?: { name: string; } \| null \| undefined; tsType?: { importPath?: string \| null \| undefined; isDefault?: boolean \| ... 1 more ... \| undefined; isRelative?: boolean \| ... 1 more ... \| undefined; name: string; } \| null \| undefined; adapt... ; `tableName`: `undefined` \| ``null`` \| `string` \| `RegExp` }[] & `MemoizedFunction`

#### Defined in

[src/generator.ts:79](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L79)
[src/generator.ts:80](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L80)

___

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

#### Defined in

[src/generator.ts:83](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L83)
[src/generator.ts:84](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L84)

___

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

#### Defined in

[src/generator.ts:72](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L72)
[src/generator.ts:73](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L73)

___

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

#### Defined in

[src/generator.ts:71](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L71)
[src/generator.ts:72](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L72)

___

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

#### Defined in

[src/generator.ts:70](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L70)
[src/generator.ts:71](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L71)

## Methods

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

#### Defined in

[src/generator.ts:311](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L311)
[src/generator.ts:313](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L313)

___

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

#### Defined in

[src/generator.ts:471](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L471)
[src/generator.ts:473](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L473)

___

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

#### Defined in

[src/generator.ts:558](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L558)
[src/generator.ts:560](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L560)

___

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

#### Defined in

[src/generator.ts:269](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L269)
[src/generator.ts:271](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L271)

___

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

#### Defined in

[src/generator.ts:92](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L92)
[src/generator.ts:93](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L93)

___

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

#### Defined in

[src/generator.ts:136](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L136)
[src/generator.ts:137](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L137)

___

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

#### Defined in

[src/generator.ts:372](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L372)
[src/generator.ts:374](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L374)

___

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

#### Defined in

[src/generator.ts:292](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L292)
[src/generator.ts:294](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L294)

___

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

#### Defined in

[src/generator.ts:440](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L440)
[src/generator.ts:442](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L442)

___

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

#### Defined in

[src/generator.ts:400](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L400)
[src/generator.ts:402](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L402)

___

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

#### Defined in

[src/generator.ts:420](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L420)
[src/generator.ts:422](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L422)

___

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

#### Defined in

[src/generator.ts:281](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L281)
[src/generator.ts:283](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L283)

___

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

#### Defined in

[src/generator.ts:502](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L502)
[src/generator.ts:504](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L504)

___

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

#### Defined in

[src/generator.ts:516](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L516)
[src/generator.ts:518](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L518)

___

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

#### Defined in

[src/generator.ts:257](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L257)
[src/generator.ts:259](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L259)

___

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

#### Defined in

[src/generator.ts:358](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L358)
[src/generator.ts:360](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L360)

___

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

#### Defined in

[src/generator.ts:412](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L412)
[src/generator.ts:414](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L414)

___

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

#### Defined in

[src/generator.ts:554](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L554)
[src/generator.ts:556](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L556)

___

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

#### Defined in

[src/generator.ts:549](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L549)
[src/generator.ts:551](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L551)

___

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

#### Defined in

[src/generator.ts:436](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L436)
[src/generator.ts:438](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L438)

___

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

#### Defined in

[src/generator.ts:408](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L408)
[src/generator.ts:410](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L410)

___

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

#### Defined in

[src/generator.ts:128](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L128)
[src/generator.ts:129](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L129)

___

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

#### Defined in

[src/generator.ts:331](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L331)
[src/generator.ts:333](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L333)

___

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

#### Defined in

[src/generator.ts:487](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L487)
[src/generator.ts:489](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L489)

___

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

#### Defined in

[src/generator.ts:444](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L444)
[src/generator.ts:446](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L446)

___

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

#### Defined in

[src/generator.ts:455](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L455)
[src/generator.ts:457](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L457)

___

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

#### Defined in

[src/generator.ts:396](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L396)
[src/generator.ts:398](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L398)

___

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

#### Defined in

[src/generator.ts:392](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L392)
[src/generator.ts:394](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L394)

___

Expand All @@ -804,4 +804,4 @@ ___

#### Defined in

[src/generator.ts:107](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator.ts#L107)
[src/generator.ts:108](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator.ts#L108)
2 changes: 1 addition & 1 deletion docs/interfaces/CommonCustomTypesOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ z.TypeOf.importPath

#### Defined in

[src/generator-options.ts:241](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator-options.ts#L241)
[src/generator-options.ts:241](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator-options.ts#L241)
6 changes: 3 additions & 3 deletions docs/interfaces/CommonOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ z.TypeOf.customTypes

#### Defined in

[src/generator-options.ts:249](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator-options.ts#L249)
[src/generator-options.ts:249](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator-options.ts#L249)

___

Expand All @@ -50,7 +50,7 @@ z.TypeOf.primaryKey

#### Defined in

[src/generator-options.ts:255](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator-options.ts#L255)
[src/generator-options.ts:255](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator-options.ts#L255)

___

Expand All @@ -68,4 +68,4 @@ z.TypeOf.typeAdapter

#### Defined in

[src/generator-options.ts:252](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator-options.ts#L252)
[src/generator-options.ts:252](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator-options.ts#L252)
4 changes: 2 additions & 2 deletions docs/interfaces/CommonPrimaryKeyOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ z.TypeOf.isAutoGenerated

#### Defined in

[src/generator-options.ts:229](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator-options.ts#L229)
[src/generator-options.ts:229](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator-options.ts#L229)

___

Expand All @@ -45,4 +45,4 @@ z.TypeOf.name

#### Defined in

[src/generator-options.ts:225](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator-options.ts#L225)
[src/generator-options.ts:225](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator-options.ts#L225)
2 changes: 1 addition & 1 deletion docs/interfaces/CommonTypeAdapterOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ z.TypeOf.importPath

#### Defined in

[src/generator-options.ts:201](https://github.com/lorefnon/ts-sql-codegen/blob/f782de2/src/generator-options.ts#L201)
[src/generator-options.ts:201](https://github.com/lorefnon/ts-sql-codegen/blob/d38c7e4/src/generator-options.ts#L201)
Loading

0 comments on commit fc68de2

Please sign in to comment.