Skip to content

Commit 5222905

Browse files
committed
wave two (namespaces)
1 parent cc9943c commit 5222905

69 files changed

Lines changed: 247 additions & 247 deletions

Some content is hidden

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

docs/Making Extensions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Here's some general info:
2020
Save this file as `src/Extensions/MyExtension/MyCoolExtensionName.cs`:
2121

2222
```cs
23-
using StableSwarmUI.Core;
24-
using StableSwarmUI.Utils;
25-
using StableSwarmUI.Text2Image;
26-
using StableSwarmUI.Builtin_ComfyUIBackend;
23+
using SwarmUI.Core;
24+
using SwarmUI.Utils;
25+
using SwarmUI.Text2Image;
26+
using SwarmUI.Builtin_ComfyUIBackend;
2727
using Newtonsoft.Json.Linq;
2828

29-
// NOTE: Namespace must NOT contain "StableSwarmUI" (this is reserved for built-ins)
29+
// NOTE: Namespace must NOT contain "SwarmUI" (this is reserved for built-ins)
3030
namespace MonkeysDocs.CoolExtensions.MyExtension;
3131

3232
// NOTE: Classname must match filename

src/Accounts/Session.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
using FreneticUtilities.FreneticExtensions;
22
using FreneticUtilities.FreneticToolkit;
3-
using StableSwarmUI.Core;
4-
using StableSwarmUI.Text2Image;
5-
using StableSwarmUI.Utils;
3+
using SwarmUI.Core;
4+
using SwarmUI.Text2Image;
5+
using SwarmUI.Utils;
66
using System.Collections.Generic;
77
using System.IO;
88

9-
namespace StableSwarmUI.Accounts;
9+
namespace SwarmUI.Accounts;
1010

1111
/// <summary>Container for information related to an active session.</summary>
1212
public class Session : IEquatable<Session>

src/Accounts/SessionHandler.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
using StableSwarmUI.Utils;
2-
using StableSwarmUI.Core;
1+
using SwarmUI.Utils;
2+
using SwarmUI.Core;
33
using System.Collections.Concurrent;
44
using LiteDB;
5-
using StableSwarmUI.Text2Image;
5+
using SwarmUI.Text2Image;
66
using FreneticUtilities.FreneticToolkit;
77
using FreneticUtilities.FreneticExtensions;
88

9-
namespace StableSwarmUI.Accounts;
9+
namespace SwarmUI.Accounts;
1010

1111
/// <summary>Core manager for sessions.</summary>
1212
public class SessionHandler

src/Accounts/User.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
using FreneticUtilities.FreneticToolkit;
22
using FreneticUtilities.FreneticDataSyntax;
33
using LiteDB;
4-
using StableSwarmUI.Core;
5-
using StableSwarmUI.DataHolders;
6-
using StableSwarmUI.Utils;
7-
using StableSwarmUI.Text2Image;
4+
using SwarmUI.Core;
5+
using SwarmUI.DataHolders;
6+
using SwarmUI.Utils;
7+
using SwarmUI.Text2Image;
88
using FreneticUtilities.FreneticExtensions;
99
using System.Xml.Linq;
1010
using Newtonsoft.Json.Linq;
1111

12-
namespace StableSwarmUI.Accounts;
12+
namespace SwarmUI.Accounts;
1313

1414
/// <summary>Represents a single user account.</summary>
1515
public class User

src/Backends/AbstractT2IBackend.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using FreneticUtilities.FreneticDataSyntax;
2-
using StableSwarmUI.DataHolders;
3-
using StableSwarmUI.Text2Image;
4-
using StableSwarmUI.Utils;
2+
using SwarmUI.DataHolders;
3+
using SwarmUI.Text2Image;
4+
using SwarmUI.Utils;
55

6-
namespace StableSwarmUI.Backends;
6+
namespace SwarmUI.Backends;
77

88
/// <summary>Represents a basic abstracted Text2Image backend provider.</summary>
99
public abstract class AbstractT2IBackend

src/Backends/BackendHandler.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
using FreneticUtilities.FreneticExtensions;
33
using FreneticUtilities.FreneticToolkit;
44
using Newtonsoft.Json.Linq;
5-
using StableSwarmUI.Accounts;
6-
using StableSwarmUI.Core;
7-
using StableSwarmUI.DataHolders;
8-
using StableSwarmUI.Text2Image;
9-
using StableSwarmUI.Utils;
5+
using SwarmUI.Accounts;
6+
using SwarmUI.Core;
7+
using SwarmUI.DataHolders;
8+
using SwarmUI.Text2Image;
9+
using SwarmUI.Utils;
1010
using System.IO;
1111
using System.Net.Http;
1212
using System.Reflection;
1313

14-
namespace StableSwarmUI.Backends;
14+
namespace SwarmUI.Backends;
1515

1616
/// <summary>Central manager for available backends.</summary>
1717
public class BackendHandler

src/Backends/NetworkBackendUtils.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
using FreneticUtilities.FreneticExtensions;
22
using Newtonsoft.Json;
33
using Newtonsoft.Json.Linq;
4-
using StableSwarmUI.Core;
5-
using StableSwarmUI.Utils;
4+
using SwarmUI.Core;
5+
using SwarmUI.Utils;
66
using System.Diagnostics;
77
using System.IO;
88
using System.Net.Http;
99
using System.Net.WebSockets;
1010
using System.Runtime.InteropServices;
1111

12-
namespace StableSwarmUI.Backends;
12+
namespace SwarmUI.Backends;
1313

1414
/// <summary>General utility for backends that self-start or use network APIs.</summary>
1515
public static class NetworkBackendUtils

src/Backends/SwarmSwarmBackend.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
using FreneticUtilities.FreneticExtensions;
33
using FreneticUtilities.FreneticToolkit;
44
using Newtonsoft.Json.Linq;
5-
using StableSwarmUI.Core;
6-
using StableSwarmUI.Text2Image;
7-
using StableSwarmUI.Utils;
8-
using StableSwarmUI.WebAPI;
5+
using SwarmUI.Core;
6+
using SwarmUI.Text2Image;
7+
using SwarmUI.Utils;
8+
using SwarmUI.WebAPI;
99
using System.IO;
1010
using System.Net.Http;
1111
using System.Net.WebSockets;
1212

13-
namespace StableSwarmUI.Backends;
13+
namespace SwarmUI.Backends;
1414

1515
/// <summary>A backend for Swarm to connect to other Swarm instances to use as the backend.</summary>
1616
public class SwarmSwarmBackend : AbstractT2IBackend

src/BuiltinExtensions/AutoWebUIBackend/AutoWebUIAPIAbstractBackend.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
using FreneticUtilities.FreneticToolkit;
44
using Newtonsoft.Json;
55
using Newtonsoft.Json.Linq;
6-
using StableSwarmUI.Core;
7-
using StableSwarmUI.DataHolders;
8-
using StableSwarmUI.Text2Image;
9-
using StableSwarmUI.Utils;
10-
using StableSwarmUI.Backends;
6+
using SwarmUI.Core;
7+
using SwarmUI.DataHolders;
8+
using SwarmUI.Text2Image;
9+
using SwarmUI.Utils;
10+
using SwarmUI.Backends;
1111
using System;
1212
using System.Net.Http;
1313

14-
namespace StableSwarmUI.Builtin_AutoWebUIExtension;
14+
namespace SwarmUI.Builtin_AutoWebUIExtension;
1515

1616
/// <summary>T2I Backend using the Automatic1111/Stable-Diffusion-WebUI API.</summary>
1717
public abstract class AutoWebUIAPIAbstractBackend : AbstractT2IBackend

src/BuiltinExtensions/AutoWebUIBackend/AutoWebUIAPIBackend.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using FreneticUtilities.FreneticDataSyntax;
2-
using StableSwarmUI.DataHolders;
3-
using StableSwarmUI.Backends;
2+
using SwarmUI.DataHolders;
3+
using SwarmUI.Backends;
44

5-
namespace StableSwarmUI.Builtin_AutoWebUIExtension;
5+
namespace SwarmUI.Builtin_AutoWebUIExtension;
66

77
public class AutoWebUIAPIBackend : AutoWebUIAPIAbstractBackend
88
{

0 commit comments

Comments
 (0)