Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates to stream_model before republishing layout functions #84

Merged
merged 3 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion LayoutFunctions/ClassroomLayout/hypar.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@
],
"repository_url": "https://github.com/hypar-io/function",
"source_file_key": null,
"preview_image": null
"preview_image": null,
"stream_model": true
}
2 changes: 1 addition & 1 deletion LayoutFunctions/ClassroomLayout/src/Function.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<ClassroomLayoutOutputs> Handler(ClassroomLayoutInputs args)
{
this.store = new UrlModelStore<ClassroomLayoutInputs>();
}

args.StreamModel = true;

var l = new InvocationWrapper<ClassroomLayoutInputs,ClassroomLayoutOutputs> (store, ClassroomLayout.Execute);
var output = await l.InvokeAsync(args);
Expand Down
3 changes: 2 additions & 1 deletion LayoutFunctions/DataHall/hypar.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,6 @@
"repository_url": "https://github.com/hypar-io/function",
"source_file_key": null,
"preview_image": null,
"thumbnail_id": null
"thumbnail_id": null,
"stream_model": true
}
2 changes: 1 addition & 1 deletion LayoutFunctions/DataHall/src/Function.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<DataHallLayoutOutputs> Handler(DataHallLayoutInputs args)
{
this.store = new UrlModelStore<DataHallLayoutInputs>();
}

args.StreamModel = true;

var l = new InvocationWrapper<DataHallLayoutInputs,DataHallLayoutOutputs> (store, DataHallLayout.Execute);
var output = await l.InvokeAsync(args);
Expand Down
2 changes: 1 addition & 1 deletion LayoutFunctions/InteriorPartitions/src/Function.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<InteriorPartitionsOutputs> Handler(InteriorPartitionsInputs ar
{
this.store = new UrlModelStore<InteriorPartitionsInputs>();
}

args.StreamModel = true;

var l = new InvocationWrapper<InteriorPartitionsInputs,InteriorPartitionsOutputs> (store, InteriorPartitions.Execute);
var output = await l.InvokeAsync(args);
Expand Down
3 changes: 2 additions & 1 deletion LayoutFunctions/LoungeLayout/hypar.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@
],
"repository_url": "https://github.com/hypar-io/function",
"source_file_key": null,
"preview_image": null
"preview_image": null,
"stream_model": true
}
2 changes: 1 addition & 1 deletion LayoutFunctions/LoungeLayout/src/Function.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<LoungeLayoutOutputs> Handler(LoungeLayoutInputs args)
{
this.store = new UrlModelStore<LoungeLayoutInputs>();
}

args.StreamModel = true;

var l = new InvocationWrapper<LoungeLayoutInputs,LoungeLayoutOutputs> (store, LoungeLayout.Execute);
var output = await l.InvokeAsync(args);
Expand Down
3 changes: 2 additions & 1 deletion LayoutFunctions/MeetingRoomLayout/hypar.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,6 @@
"https://schemas.hypar.io/CirculationSegment.json",
"https://schemas.hypar.io/LevelVolume.json",
"https://schemas.hypar.io/RoomTally.json"
]
],
"stream_model": true
}
2 changes: 1 addition & 1 deletion LayoutFunctions/MeetingRoomLayout/src/Function.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<MeetingRoomLayoutOutputs> Handler(MeetingRoomLayoutInputs args
{
this.store = new UrlModelStore<MeetingRoomLayoutInputs>();
}

args.StreamModel = true;

var l = new InvocationWrapper<MeetingRoomLayoutInputs,MeetingRoomLayoutOutputs> (store, MeetingRoomLayout.Execute);
var output = await l.InvokeAsync(args);
Expand Down
3 changes: 2 additions & 1 deletion LayoutFunctions/OpenCollabLayout/hypar.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,6 @@
"repository_url": "https://github.com/hypar-io/function",
"source_file_key": null,
"preview_image": null,
"thumbnail_id": null
"thumbnail_id": null,
"stream_model": true
}
2 changes: 1 addition & 1 deletion LayoutFunctions/OpenCollabLayout/src/Function.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<OpenCollaborationLayoutOutputs> Handler(OpenCollaborationLayou
{
this.store = new UrlModelStore<OpenCollaborationLayoutInputs>();
}

args.StreamModel = true;

var l = new InvocationWrapper<OpenCollaborationLayoutInputs,OpenCollaborationLayoutOutputs> (store, OpenCollaborationLayout.Execute);
var output = await l.InvokeAsync(args);
Expand Down
3 changes: 2 additions & 1 deletion LayoutFunctions/OpenOfficeLayout/hypar.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,6 @@
"default_camera": {
"named_position": "top",
"projection": "orthographic"
}
},
"stream_model": true
}
2 changes: 1 addition & 1 deletion LayoutFunctions/OpenOfficeLayout/src/Function.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<OpenOfficeLayoutOutputs> Handler(OpenOfficeLayoutInputs args)
{
this.store = new UrlModelStore<OpenOfficeLayoutInputs>();
}

args.StreamModel = true;

var l = new InvocationWrapper<OpenOfficeLayoutInputs,OpenOfficeLayoutOutputs> (store, OpenOfficeLayout.Execute);
var output = await l.InvokeAsync(args);
Expand Down
3 changes: 2 additions & 1 deletion LayoutFunctions/PantryLayout/hypar.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@
],
"repository_url": "https://github.com/hypar-io/function",
"source_file_key": null,
"preview_image": null
"preview_image": null,
"stream_model": true
}
2 changes: 1 addition & 1 deletion LayoutFunctions/PantryLayout/src/Function.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<PantryLayoutOutputs> Handler(PantryLayoutInputs args)
{
this.store = new UrlModelStore<PantryLayoutInputs>();
}

args.StreamModel = true;

var l = new InvocationWrapper<PantryLayoutInputs,PantryLayoutOutputs> (store, PantryLayout.Execute);
var output = await l.InvokeAsync(args);
Expand Down
3 changes: 2 additions & 1 deletion LayoutFunctions/PhoneBoothLayout/hypar.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@
],
"repository_url": "https://github.com/hypar-io/function",
"source_file_key": null,
"preview_image": null
"preview_image": null,
"stream_model": true
}
2 changes: 1 addition & 1 deletion LayoutFunctions/PhoneBoothLayout/src/Function.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<PhoneBoothLayoutOutputs> Handler(PhoneBoothLayoutInputs args)
{
this.store = new UrlModelStore<PhoneBoothLayoutInputs>();
}

args.StreamModel = true;

var l = new InvocationWrapper<PhoneBoothLayoutInputs,PhoneBoothLayoutOutputs> (store, PhoneBoothLayout.Execute);
var output = await l.InvokeAsync(args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\LayoutFunctionCommon\LayoutFunctionCommon.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Hypar.Elements" Version="2.2.0-alpha.21" />
<PackageReference Include="Hypar.Functions" Version="1.11.0-alpha.13" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

<ItemGroup>
<ProjectReference Include="..\src\PrivateOfficeLayout.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Hypar.Server" Version="1.11.0-alpha.13" />
<ProjectReference Include="..\..\..\..\Hypar\Hypar.Server\Hypar.Server.csproj" />
</ItemGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion LayoutFunctions/PrivateOfficeLayout/src/Function.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<PrivateOfficeLayoutOutputs> Handler(PrivateOfficeLayoutInputs
{
this.store = new UrlModelStore<PrivateOfficeLayoutInputs>();
}

args.StreamModel = true;

var l = new InvocationWrapper<PrivateOfficeLayoutInputs,PrivateOfficeLayoutOutputs> (store, PrivateOfficeLayout.Execute);
var output = await l.InvokeAsync(args);
Expand Down
3 changes: 2 additions & 1 deletion LayoutFunctions/ReceptionLayout/hypar.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@
],
"repository_url": "https://github.com/hypar-io/function",
"source_file_key": null,
"preview_image": null
"preview_image": null,
"stream_model": true
}
2 changes: 1 addition & 1 deletion LayoutFunctions/ReceptionLayout/src/Function.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<ReceptionLayoutOutputs> Handler(ReceptionLayoutInputs args)
{
this.store = new UrlModelStore<ReceptionLayoutInputs>();
}

args.StreamModel = true;

var l = new InvocationWrapper<ReceptionLayoutInputs,ReceptionLayoutOutputs> (store, ReceptionLayout.Execute);
var output = await l.InvokeAsync(args);
Expand Down
2 changes: 1 addition & 1 deletion ZonePlanningFunctions/Function-SpacePlanning
Loading