Skip to content

Commit

Permalink
Update codegeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Aug 4, 2023
1 parent e65beca commit 74c8503
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ pana: check

generate: get
@dart pub global activate protoc_plugin
@protoc --proto_path=lib/src/model/protobuf --dart_out=lib/src/model/protobuf lib/src/model/protobuf/client.proto
@protoc --proto_path=lib/src/transport/protobuf --dart_out=lib/src/transport/protobuf lib/src/transport/protobuf/client.proto
@dart run build_runner build --delete-conflicting-outputs
@dart format -l 80 lib/src/model/pubspec.yaml.g.dart lib/src/model/protobuf/
@dart format -l 80 lib/src/model/pubspec.yaml.g.dart lib/src/transport/protobuf/
32 changes: 16 additions & 16 deletions lib/src/model/pubspec.yaml.g.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ sealed class Pubspec {
static const PubspecVersion version = (
/// Non-canonical string representation of the version as provided
/// in the pubspec.yaml file.
representation: r'0.0.1-pre.1',
representation: r'0.0.1-pre.4',

/// Returns a 'canonicalized' representation
/// of the application version.
/// This represents the version string in accordance with
/// Semantic Versioning (SemVer) standards.
canonical: r'0.0.1-pre.1',
canonical: r'0.0.1-pre.4',

/// MAJOR version when you make incompatible API changes.
/// The major version number: 1 in "1.2.3".
Expand All @@ -115,7 +115,7 @@ sealed class Pubspec {
patch: 1,

/// The pre-release identifier: "foo" in "1.2.3-foo".
preRelease: <String>[r'pre', r'1'],
preRelease: <String>[r'pre', r'4'],

/// The build identifier: "foo" in "1.2.3+foo".
build: <String>[],
Expand All @@ -124,13 +124,13 @@ sealed class Pubspec {
/// Build date and time (UTC)
static final DateTime timestamp = DateTime.utc(
2023,
7,
16,
16,
24,
19,
363,
242,
8,
4,
4,
45,
29,
391,
533,
);

/// Name
Expand All @@ -150,7 +150,7 @@ sealed class Pubspec {
/// Try to pick a name that is clear, terse, and not already in use.
/// A quick search of packages on the [pub.dev site](https://pub.dev/packages)
/// to make sure that nothing else is using your name is recommended.
static const String name = r'centrifuge_dart';
static const String name = r'spinify';

/// Description
///
Expand Down Expand Up @@ -193,8 +193,7 @@ sealed class Pubspec {
/// While providing a repository is optional,
/// please provide it or homepage (or both).
/// It helps users understand where your package is coming from.
static const String repository =
r'https://github.com/PlugFox/centrifuge-client';
static const String repository = r'https://github.com/PlugFox/spinify';

/// Issue tracker
///
Expand All @@ -208,7 +207,7 @@ sealed class Pubspec {
/// then the pub.dev site uses the default issue tracker
/// (https://github.com/<user>/<repository>/issues).
static const String issueTracker =
r'https://github.com/PlugFox/centrifuge-client/issues';
r'https://github.com/PlugFox/spinify/issues';

/// Documentation
///
Expand Down Expand Up @@ -350,11 +349,11 @@ sealed class Pubspec {
/// When choosing topics, consider if existing topics are relevant.
/// Tagging with existing topics helps users discover your package.
static const List<Object> topics = <Object>[
r'spinify',
r'centrifugo',
r'centrifuge',
r'websocket',
r'cross-platform',
r'client',
];

/// Environment
Expand Down Expand Up @@ -427,10 +426,11 @@ sealed class Pubspec {
/// see [Package dependencies](https://dart.dev/tools/pub/dependencies).
static const Map<String, Object> dependencies = <String, Object>{
'meta': r'^1.9.1',
'ws': r'^0.1.2',
'ws': r'^1.0.0-pre.6',
'protobuf': r'^3.0.0',
'crypto': r'^3.0.3',
'fixnum': r'^1.1.0',
'stack_trace': r'^1.11.1',
};

/// Developer dependencies
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/src/transport/transport_protobuf_codec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:convert';

import 'package:meta/meta.dart';
import 'package:protobuf/protobuf.dart' as pb;
import 'package:spinify/src/model/protobuf/client.pb.dart' as pb;
import 'package:spinify/src/transport/protobuf/client.pb.dart' as pb;
import 'package:spinify/src/util/logger.dart' as logger;

/// {@nodoc}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/transport/ws_protobuf_transport.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import 'package:spinify/src/model/history.dart';
import 'package:spinify/src/model/message.dart';
import 'package:spinify/src/model/presence.dart';
import 'package:spinify/src/model/presence_stats.dart';
import 'package:spinify/src/model/protobuf/client.pb.dart' as pb;
import 'package:spinify/src/model/publication.dart';
import 'package:spinify/src/model/refresh.dart';
import 'package:spinify/src/model/refresh_result.dart';
Expand All @@ -29,6 +28,7 @@ import 'package:spinify/src/subscription/subcibed_on_channel.dart';
import 'package:spinify/src/subscription/subscription.dart';
import 'package:spinify/src/subscription/subscription_config.dart';
import 'package:spinify/src/subscription/subscription_state.dart';
import 'package:spinify/src/transport/protobuf/client.pb.dart' as pb;
import 'package:spinify/src/transport/transport_interface.dart';
import 'package:spinify/src/transport/transport_protobuf_codec.dart';
import 'package:spinify/src/util/logger.dart' as logger;
Expand Down

0 comments on commit 74c8503

Please sign in to comment.