Skip to content

Commit 8a19741

Browse files
committed
chore: regenerate open api models
1 parent 6974a3f commit 8a19741

File tree

49 files changed

+246
-221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+246
-221
lines changed

packages/stream_feeds/lib/src/generated/api/model/ban_options.dart

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ part 'ban_options.freezed.dart';
1818
@JsonSerializable()
1919
class BanOptions with _$BanOptions {
2020
const BanOptions({
21-
required this.duration,
22-
required this.ipBan,
23-
required this.reason,
24-
required this.shadowBan,
21+
this.duration,
22+
this.ipBan,
23+
this.reason,
24+
this.shadowBan,
2525
});
2626

2727
@override
28-
final int duration;
28+
final int? duration;
2929

3030
@override
31-
final bool ipBan;
31+
final bool? ipBan;
3232

3333
@override
34-
final String reason;
34+
final String? reason;
3535

3636
@override
37-
final bool shadowBan;
37+
final bool? shadowBan;
3838

3939
Map<String, dynamic> toJson() => _$BanOptionsToJson(this);
4040

packages/stream_feeds/lib/src/generated/api/model/ban_options.freezed.dart

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stream_feeds/lib/src/generated/api/model/ban_options.g.dart

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stream_feeds/lib/src/generated/api/model/block_content_options.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ part 'block_content_options.freezed.dart';
1818
@JsonSerializable()
1919
class BlockContentOptions with _$BlockContentOptions {
2020
const BlockContentOptions({
21-
required this.reason,
21+
this.reason,
2222
});
2323

2424
@override
25-
final String reason;
25+
final String? reason;
2626

2727
Map<String, dynamic> toJson() => _$BlockContentOptionsToJson(this);
2828

packages/stream_feeds/lib/src/generated/api/model/block_content_options.freezed.dart

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stream_feeds/lib/src/generated/api/model/block_content_options.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stream_feeds/lib/src/generated/api/model/config_response.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class ConfigResponse with _$ConfigResponse {
2929
required this.createdAt,
3030
required this.key,
3131
this.llmConfig,
32-
this.ruleBuilderConfig,
3332
required this.team,
3433
required this.updatedAt,
3534
this.velocityFilterConfig,
@@ -70,9 +69,6 @@ class ConfigResponse with _$ConfigResponse {
7069
@override
7170
final LLMConfig? llmConfig;
7271

73-
@override
74-
final RuleBuilderConfig? ruleBuilderConfig;
75-
7672
@override
7773
final String team;
7874

packages/stream_feeds/lib/src/generated/api/model/config_response.freezed.dart

Lines changed: 1 addition & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stream_feeds/lib/src/generated/api/model/config_response.g.dart

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/stream_feeds/lib/src/generated/api/model/content_count_rule_parameters.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ part 'content_count_rule_parameters.freezed.dart';
1818
@JsonSerializable()
1919
class ContentCountRuleParameters with _$ContentCountRuleParameters {
2020
const ContentCountRuleParameters({
21-
required this.threshold,
22-
required this.timeWindow,
21+
this.threshold,
22+
this.timeWindow,
2323
});
2424

2525
@override
26-
final int threshold;
26+
final int? threshold;
2727

2828
@override
29-
final String timeWindow;
29+
final String? timeWindow;
3030

3131
Map<String, dynamic> toJson() => _$ContentCountRuleParametersToJson(this);
3232

0 commit comments

Comments
 (0)