Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
danylo-safonov-solid committed Sep 20, 2023
1 parent 63bb9de commit 08caea6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/src/client_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ import 'package:deno_postgres_interop/src/transport.dart';
/// [[email protected]/ClientOptions](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions).
class ClientOptions {
/// [[email protected]/ClientOptions/applicationName](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_applicationName).
external String get applicationName;
external String? get applicationName;

/// [[email protected]/ClientOptions/database](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_database).
external String get database;
external String? get database;

/// [[email protected]/ClientOptions/hostname](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_hostname).
external String get hostname;
external String? get hostname;

/// [[email protected]/ClientOptions/password](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_password).
external String get password;
external String? get password;

/// [[email protected]/ClientOptions/user](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_applicationName/user).
external String get user;
external String? get user;
}

/// [[email protected]/ClientOptions](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions).
extension ClientOptionsProps on ClientOptions {
/// [[email protected]/ClientOptions/host_type](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_host_type).
Transport get hostType => getProperty(this, 'host_type');
Transport get hostType => Transport.parse(getProperty(this, 'host_type'));

/// [[email protected]/ClientOptions/options](https://deno.land/x/[email protected]/mod.ts?s=ClientOptions#prop_options).
///
Expand Down

0 comments on commit 08caea6

Please sign in to comment.