Skip to content
Merged
19 changes: 0 additions & 19 deletions Sources/NodesGenerator/Resources/Stencils/PluginList.stencil
Original file line number Diff line number Diff line change
Expand Up @@ -79,25 +79,6 @@ public final class {{ plugin_list_name }}PluginListComponent: Component

// MARK: - Plugin List

/// Declares the type of key used to identify plugins within the collection.
/// - NOTE: May be any ``Hashable`` type such as ``String`` or an enumeration.
internal typealias {{ plugin_list_name }}PluginListKeyType = String

/// Dynamic state from the caller provided to the plugins to use in determining whether they are enabled.
/// - NOTE: An alias to a tuple is supported.
internal typealias {{ plugin_list_name }}PluginListStateType = Void

{% if is_periphery_comment_enabled %}
// periphery:ignore
{% endif %}
/// @mockable
@MainActor
internal protocol {{ plugin_list_name }}PluginList {
func createAll() -> [{{ plugin_list_name }}Builder]
func create() -> {{ plugin_list_name }}Builder?
func create(key: {{ plugin_list_name }}PluginListKeyType) -> {{ plugin_list_name }}Builder?
}

{% if is_periphery_comment_enabled %}
// periphery:ignore
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,6 @@ public final class <pluginListName>PluginListComponent: Component

// MARK: - Plugin List

/// Declares the type of key used to identify plugins within the collection.
/// - NOTE: May be any ``Hashable`` type such as ``String`` or an enumeration.
internal typealias <pluginListName>PluginListKeyType = String

/// Dynamic state from the caller provided to the plugins to use in determining whether they are enabled.
/// - NOTE: An alias to a tuple is supported.
internal typealias <pluginListName>PluginListStateType = Void

/// @mockable
@MainActor
internal protocol <pluginListName>PluginList {
func createAll() -> [<pluginListName>Builder]
func create() -> <pluginListName>Builder?
func create(key: <pluginListName>PluginListKeyType) -> <pluginListName>Builder?
}

internal final class <pluginListName>PluginListImp: PluginList
<
<pluginListName>PluginListKeyType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,6 @@ public final class <pluginListName>PluginListComponent: Component

// MARK: - Plugin List

/// Declares the type of key used to identify plugins within the collection.
/// - NOTE: May be any ``Hashable`` type such as ``String`` or an enumeration.
internal typealias <pluginListName>PluginListKeyType = String

/// Dynamic state from the caller provided to the plugins to use in determining whether they are enabled.
/// - NOTE: An alias to a tuple is supported.
internal typealias <pluginListName>PluginListStateType = Void

// periphery:ignore
/// @mockable
@MainActor
internal protocol <pluginListName>PluginList {
func createAll() -> [<pluginListName>Builder]
func create() -> <pluginListName>Builder?
func create(key: <pluginListName>PluginListKeyType) -> <pluginListName>Builder?
}

// periphery:ignore
internal final class <pluginListName>PluginListImp: PluginList
<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,6 @@ public final class <pluginListName>PluginListComponent: Component

// MARK: - Plugin List

/// Declares the type of key used to identify plugins within the collection.
/// - NOTE: May be any ``Hashable`` type such as ``String`` or an enumeration.
internal typealias <pluginListName>PluginListKeyType = String

/// Dynamic state from the caller provided to the plugins to use in determining whether they are enabled.
/// - NOTE: An alias to a tuple is supported.
internal typealias <pluginListName>PluginListStateType = Void

// periphery:ignore
/// @mockable
@MainActor
internal protocol <pluginListName>PluginList {
func createAll() -> [<pluginListName>Builder]
func create() -> <pluginListName>Builder?
func create(key: <pluginListName>PluginListKeyType) -> <pluginListName>Builder?
}

// periphery:ignore
internal final class <pluginListName>PluginListImp: PluginList
<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,6 @@ public final class <pluginListName>PluginListComponent: Component

// MARK: - Plugin List

/// Declares the type of key used to identify plugins within the collection.
/// - NOTE: May be any ``Hashable`` type such as ``String`` or an enumeration.
internal typealias <pluginListName>PluginListKeyType = String

/// Dynamic state from the caller provided to the plugins to use in determining whether they are enabled.
/// - NOTE: An alias to a tuple is supported.
internal typealias <pluginListName>PluginListStateType = Void

/// @mockable
@MainActor
internal protocol <pluginListName>PluginList {
func createAll() -> [<pluginListName>Builder]
func create() -> <pluginListName>Builder?
func create(key: <pluginListName>PluginListKeyType) -> <pluginListName>Builder?
}

internal final class <pluginListName>PluginListImp: PluginList
<
<pluginListName>PluginListKeyType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,6 @@ public final class <pluginListName>PluginListComponent: Component

// MARK: - Plugin List

/// Declares the type of key used to identify plugins within the collection.
/// - NOTE: May be any ``Hashable`` type such as ``String`` or an enumeration.
internal typealias <pluginListName>PluginListKeyType = String

/// Dynamic state from the caller provided to the plugins to use in determining whether they are enabled.
/// - NOTE: An alias to a tuple is supported.
internal typealias <pluginListName>PluginListStateType = Void

// periphery:ignore
/// @mockable
@MainActor
internal protocol <pluginListName>PluginList {
func createAll() -> [<pluginListName>Builder]
func create() -> <pluginListName>Builder?
func create(key: <pluginListName>PluginListKeyType) -> <pluginListName>Builder?
}

// periphery:ignore
internal final class <pluginListName>PluginListImp: PluginList
<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,6 @@ public final class <pluginListName>PluginListComponent: Component

// MARK: - Plugin List

/// Declares the type of key used to identify plugins within the collection.
/// - NOTE: May be any ``Hashable`` type such as ``String`` or an enumeration.
internal typealias <pluginListName>PluginListKeyType = String

/// Dynamic state from the caller provided to the plugins to use in determining whether they are enabled.
/// - NOTE: An alias to a tuple is supported.
internal typealias <pluginListName>PluginListStateType = Void

// periphery:ignore
/// @mockable
@MainActor
internal protocol <pluginListName>PluginList {
func createAll() -> [<pluginListName>Builder]
func create() -> <pluginListName>Builder?
func create(key: <pluginListName>PluginListKeyType) -> <pluginListName>Builder?
}

// periphery:ignore
internal final class <pluginListName>PluginListImp: PluginList
<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,6 @@ public final class ___VARIABLE_productName___PluginListComponent: Component

// MARK: - Plugin List

/// Declares the type of key used to identify plugins within the collection.
/// - NOTE: May be any ``Hashable`` type such as ``String`` or an enumeration.
internal typealias ___VARIABLE_productName___PluginListKeyType = String

/// Dynamic state from the caller provided to the plugins to use in determining whether they are enabled.
/// - NOTE: An alias to a tuple is supported.
internal typealias ___VARIABLE_productName___PluginListStateType = Void

/// @mockable
@MainActor
internal protocol ___VARIABLE_productName___PluginList {
func createAll() -> [___VARIABLE_productName___Builder]
func create() -> ___VARIABLE_productName___Builder?
func create(key: ___VARIABLE_productName___PluginListKeyType) -> ___VARIABLE_productName___Builder?
}

internal final class ___VARIABLE_productName___PluginListImp: PluginList
<
___VARIABLE_productName___PluginListKeyType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,6 @@ public final class ___VARIABLE_productName___PluginListComponent: Component

// MARK: - Plugin List

/// Declares the type of key used to identify plugins within the collection.
/// - NOTE: May be any ``Hashable`` type such as ``String`` or an enumeration.
internal typealias ___VARIABLE_productName___PluginListKeyType = String

/// Dynamic state from the caller provided to the plugins to use in determining whether they are enabled.
/// - NOTE: An alias to a tuple is supported.
internal typealias ___VARIABLE_productName___PluginListStateType = Void

/// @mockable
@MainActor
internal protocol ___VARIABLE_productName___PluginList {
func createAll() -> [___VARIABLE_productName___Builder]
func create() -> ___VARIABLE_productName___Builder?
func create(key: ___VARIABLE_productName___PluginListKeyType) -> ___VARIABLE_productName___Builder?
}

internal final class ___VARIABLE_productName___PluginListImp: PluginList
<
___VARIABLE_productName___PluginListKeyType,
Expand Down