Skip to content

Commit 0422ee3

Browse files
Bump TypeSpec dependencies (#8998)
1 parent 9dd61cf commit 0422ee3

17 files changed

+3490
-1475
lines changed

packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/src/Generated/EncodeDurationModelFactory.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,13 @@ public static partial class EncodeDurationModelFactory
2929
public static FloatSecondsDurationArrayProperty FloatSecondsDurationArrayProperty(IEnumerable<TimeSpan> value = default) => throw null;
3030

3131
public static FloatMillisecondsDurationArrayProperty FloatMillisecondsDurationArrayProperty(IEnumerable<TimeSpan> value = default) => throw null;
32+
33+
public static Int32SecondsLargerUnitDurationProperty Int32SecondsLargerUnitDurationProperty(TimeSpan value = default) => throw null;
34+
35+
public static FloatSecondsLargerUnitDurationProperty FloatSecondsLargerUnitDurationProperty(TimeSpan value = default) => throw null;
36+
37+
public static Int32MillisecondsLargerUnitDurationProperty Int32MillisecondsLargerUnitDurationProperty(TimeSpan value = default) => throw null;
38+
39+
public static FloatMillisecondsLargerUnitDurationProperty FloatMillisecondsLargerUnitDurationProperty(TimeSpan value = default) => throw null;
3240
}
3341
}

packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/src/Generated/Header.cs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ public partial class Header
4949

5050
public virtual Task<ClientResult> Int32SecondsAsync(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
5151

52+
public virtual ClientResult Int32SecondsLargerUnit(TimeSpan duration, RequestOptions options) => throw null;
53+
54+
public virtual Task<ClientResult> Int32SecondsLargerUnitAsync(TimeSpan duration, RequestOptions options) => throw null;
55+
56+
public virtual ClientResult Int32SecondsLargerUnit(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
57+
58+
public virtual Task<ClientResult> Int32SecondsLargerUnitAsync(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
59+
5260
public virtual ClientResult FloatSeconds(TimeSpan duration, RequestOptions options) => throw null;
5361

5462
public virtual Task<ClientResult> FloatSecondsAsync(TimeSpan duration, RequestOptions options) => throw null;
@@ -57,6 +65,14 @@ public partial class Header
5765

5866
public virtual Task<ClientResult> FloatSecondsAsync(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
5967

68+
public virtual ClientResult FloatSecondsLargerUnit(TimeSpan duration, RequestOptions options) => throw null;
69+
70+
public virtual Task<ClientResult> FloatSecondsLargerUnitAsync(TimeSpan duration, RequestOptions options) => throw null;
71+
72+
public virtual ClientResult FloatSecondsLargerUnit(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
73+
74+
public virtual Task<ClientResult> FloatSecondsLargerUnitAsync(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
75+
6076
public virtual ClientResult Float64Seconds(TimeSpan duration, RequestOptions options) => throw null;
6177

6278
public virtual Task<ClientResult> Float64SecondsAsync(TimeSpan duration, RequestOptions options) => throw null;
@@ -73,6 +89,14 @@ public partial class Header
7389

7490
public virtual Task<ClientResult> Int32MillisecondsAsync(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
7591

92+
public virtual ClientResult Int32MillisecondsLargerUnit(TimeSpan duration, RequestOptions options) => throw null;
93+
94+
public virtual Task<ClientResult> Int32MillisecondsLargerUnitAsync(TimeSpan duration, RequestOptions options) => throw null;
95+
96+
public virtual ClientResult Int32MillisecondsLargerUnit(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
97+
98+
public virtual Task<ClientResult> Int32MillisecondsLargerUnitAsync(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
99+
76100
public virtual ClientResult FloatMilliseconds(TimeSpan duration, RequestOptions options) => throw null;
77101

78102
public virtual Task<ClientResult> FloatMillisecondsAsync(TimeSpan duration, RequestOptions options) => throw null;
@@ -81,6 +105,14 @@ public partial class Header
81105

82106
public virtual Task<ClientResult> FloatMillisecondsAsync(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
83107

108+
public virtual ClientResult FloatMillisecondsLargerUnit(TimeSpan duration, RequestOptions options) => throw null;
109+
110+
public virtual Task<ClientResult> FloatMillisecondsLargerUnitAsync(TimeSpan duration, RequestOptions options) => throw null;
111+
112+
public virtual ClientResult FloatMillisecondsLargerUnit(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
113+
114+
public virtual Task<ClientResult> FloatMillisecondsLargerUnitAsync(TimeSpan duration, CancellationToken cancellationToken = default) => throw null;
115+
84116
public virtual ClientResult Float64Milliseconds(TimeSpan duration, RequestOptions options) => throw null;
85117

86118
public virtual Task<ClientResult> Float64MillisecondsAsync(TimeSpan duration, RequestOptions options) => throw null;

packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/src/Generated/Models/EncodeDurationContext.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@ namespace Encode.Duration
1212
[ModelReaderWriterBuildable(typeof(Float64SecondsDurationProperty))]
1313
[ModelReaderWriterBuildable(typeof(FloatMillisecondsDurationArrayProperty))]
1414
[ModelReaderWriterBuildable(typeof(FloatMillisecondsDurationProperty))]
15+
[ModelReaderWriterBuildable(typeof(FloatMillisecondsLargerUnitDurationProperty))]
1516
[ModelReaderWriterBuildable(typeof(FloatSecondsDurationArrayProperty))]
1617
[ModelReaderWriterBuildable(typeof(FloatSecondsDurationProperty))]
18+
[ModelReaderWriterBuildable(typeof(FloatSecondsLargerUnitDurationProperty))]
1719
[ModelReaderWriterBuildable(typeof(Int32MillisecondsDurationProperty))]
20+
[ModelReaderWriterBuildable(typeof(Int32MillisecondsLargerUnitDurationProperty))]
1821
[ModelReaderWriterBuildable(typeof(Int32SecondsDurationProperty))]
22+
[ModelReaderWriterBuildable(typeof(Int32SecondsLargerUnitDurationProperty))]
1923
[ModelReaderWriterBuildable(typeof(ISO8601DurationProperty))]
2024
public partial class EncodeDurationContext : ModelReaderWriterContext
2125
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// <auto-generated/>
2+
3+
#nullable disable
4+
5+
using System;
6+
using System.ClientModel;
7+
using System.ClientModel.Primitives;
8+
using System.Text.Json;
9+
10+
namespace Encode.Duration._Property
11+
{
12+
public partial class FloatMillisecondsLargerUnitDurationProperty : IJsonModel<FloatMillisecondsLargerUnitDurationProperty>
13+
{
14+
internal FloatMillisecondsLargerUnitDurationProperty() => throw null;
15+
16+
void IJsonModel<FloatMillisecondsLargerUnitDurationProperty>.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
17+
18+
protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
19+
20+
FloatMillisecondsLargerUnitDurationProperty IJsonModel<FloatMillisecondsLargerUnitDurationProperty>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
21+
22+
protected virtual FloatMillisecondsLargerUnitDurationProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
23+
24+
BinaryData IPersistableModel<FloatMillisecondsLargerUnitDurationProperty>.Write(ModelReaderWriterOptions options) => throw null;
25+
26+
protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
27+
28+
FloatMillisecondsLargerUnitDurationProperty IPersistableModel<FloatMillisecondsLargerUnitDurationProperty>.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
29+
30+
protected virtual FloatMillisecondsLargerUnitDurationProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
31+
32+
string IPersistableModel<FloatMillisecondsLargerUnitDurationProperty>.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
33+
34+
public static implicit operator BinaryContent(FloatMillisecondsLargerUnitDurationProperty floatMillisecondsLargerUnitDurationProperty) => throw null;
35+
36+
public static explicit operator FloatMillisecondsLargerUnitDurationProperty(ClientResult result) => throw null;
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// <auto-generated/>
2+
3+
#nullable disable
4+
5+
using System;
6+
7+
namespace Encode.Duration._Property
8+
{
9+
public partial class FloatMillisecondsLargerUnitDurationProperty
10+
{
11+
public FloatMillisecondsLargerUnitDurationProperty(TimeSpan value) => throw null;
12+
13+
public TimeSpan Value
14+
{
15+
get => throw null;
16+
set => throw null;
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// <auto-generated/>
2+
3+
#nullable disable
4+
5+
using System;
6+
using System.ClientModel;
7+
using System.ClientModel.Primitives;
8+
using System.Text.Json;
9+
10+
namespace Encode.Duration._Property
11+
{
12+
public partial class FloatSecondsLargerUnitDurationProperty : IJsonModel<FloatSecondsLargerUnitDurationProperty>
13+
{
14+
internal FloatSecondsLargerUnitDurationProperty() => throw null;
15+
16+
void IJsonModel<FloatSecondsLargerUnitDurationProperty>.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
17+
18+
protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
19+
20+
FloatSecondsLargerUnitDurationProperty IJsonModel<FloatSecondsLargerUnitDurationProperty>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
21+
22+
protected virtual FloatSecondsLargerUnitDurationProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
23+
24+
BinaryData IPersistableModel<FloatSecondsLargerUnitDurationProperty>.Write(ModelReaderWriterOptions options) => throw null;
25+
26+
protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
27+
28+
FloatSecondsLargerUnitDurationProperty IPersistableModel<FloatSecondsLargerUnitDurationProperty>.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
29+
30+
protected virtual FloatSecondsLargerUnitDurationProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
31+
32+
string IPersistableModel<FloatSecondsLargerUnitDurationProperty>.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
33+
34+
public static implicit operator BinaryContent(FloatSecondsLargerUnitDurationProperty floatSecondsLargerUnitDurationProperty) => throw null;
35+
36+
public static explicit operator FloatSecondsLargerUnitDurationProperty(ClientResult result) => throw null;
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// <auto-generated/>
2+
3+
#nullable disable
4+
5+
using System;
6+
7+
namespace Encode.Duration._Property
8+
{
9+
public partial class FloatSecondsLargerUnitDurationProperty
10+
{
11+
public FloatSecondsLargerUnitDurationProperty(TimeSpan value) => throw null;
12+
13+
public TimeSpan Value
14+
{
15+
get => throw null;
16+
set => throw null;
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// <auto-generated/>
2+
3+
#nullable disable
4+
5+
using System;
6+
using System.ClientModel;
7+
using System.ClientModel.Primitives;
8+
using System.Text.Json;
9+
10+
namespace Encode.Duration._Property
11+
{
12+
public partial class Int32MillisecondsLargerUnitDurationProperty : IJsonModel<Int32MillisecondsLargerUnitDurationProperty>
13+
{
14+
internal Int32MillisecondsLargerUnitDurationProperty() => throw null;
15+
16+
void IJsonModel<Int32MillisecondsLargerUnitDurationProperty>.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
17+
18+
protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
19+
20+
Int32MillisecondsLargerUnitDurationProperty IJsonModel<Int32MillisecondsLargerUnitDurationProperty>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
21+
22+
protected virtual Int32MillisecondsLargerUnitDurationProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
23+
24+
BinaryData IPersistableModel<Int32MillisecondsLargerUnitDurationProperty>.Write(ModelReaderWriterOptions options) => throw null;
25+
26+
protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
27+
28+
Int32MillisecondsLargerUnitDurationProperty IPersistableModel<Int32MillisecondsLargerUnitDurationProperty>.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
29+
30+
protected virtual Int32MillisecondsLargerUnitDurationProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
31+
32+
string IPersistableModel<Int32MillisecondsLargerUnitDurationProperty>.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
33+
34+
public static implicit operator BinaryContent(Int32MillisecondsLargerUnitDurationProperty int32MillisecondsLargerUnitDurationProperty) => throw null;
35+
36+
public static explicit operator Int32MillisecondsLargerUnitDurationProperty(ClientResult result) => throw null;
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// <auto-generated/>
2+
3+
#nullable disable
4+
5+
using System;
6+
7+
namespace Encode.Duration._Property
8+
{
9+
public partial class Int32MillisecondsLargerUnitDurationProperty
10+
{
11+
public Int32MillisecondsLargerUnitDurationProperty(TimeSpan value) => throw null;
12+
13+
public TimeSpan Value
14+
{
15+
get => throw null;
16+
set => throw null;
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// <auto-generated/>
2+
3+
#nullable disable
4+
5+
using System;
6+
using System.ClientModel;
7+
using System.ClientModel.Primitives;
8+
using System.Text.Json;
9+
10+
namespace Encode.Duration._Property
11+
{
12+
public partial class Int32SecondsLargerUnitDurationProperty : IJsonModel<Int32SecondsLargerUnitDurationProperty>
13+
{
14+
internal Int32SecondsLargerUnitDurationProperty() => throw null;
15+
16+
void IJsonModel<Int32SecondsLargerUnitDurationProperty>.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
17+
18+
protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) => throw null;
19+
20+
Int32SecondsLargerUnitDurationProperty IJsonModel<Int32SecondsLargerUnitDurationProperty>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
21+
22+
protected virtual Int32SecondsLargerUnitDurationProperty JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => throw null;
23+
24+
BinaryData IPersistableModel<Int32SecondsLargerUnitDurationProperty>.Write(ModelReaderWriterOptions options) => throw null;
25+
26+
protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) => throw null;
27+
28+
Int32SecondsLargerUnitDurationProperty IPersistableModel<Int32SecondsLargerUnitDurationProperty>.Create(BinaryData data, ModelReaderWriterOptions options) => throw null;
29+
30+
protected virtual Int32SecondsLargerUnitDurationProperty PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) => throw null;
31+
32+
string IPersistableModel<Int32SecondsLargerUnitDurationProperty>.GetFormatFromOptions(ModelReaderWriterOptions options) => throw null;
33+
34+
public static implicit operator BinaryContent(Int32SecondsLargerUnitDurationProperty int32SecondsLargerUnitDurationProperty) => throw null;
35+
36+
public static explicit operator Int32SecondsLargerUnitDurationProperty(ClientResult result) => throw null;
37+
}
38+
}

0 commit comments

Comments
 (0)