Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Commit dc1c940

Browse files
committed
Make some function properties publicly available
1 parent b98f84e commit dc1c940

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Sources/ActionKit/Model/Data/Function.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ public struct Function: Identifiable, Equatable, Bindable {
1414
/// The function's identifier.
1515
public let id: String
1616
/// The function's name.
17-
var name: String
17+
public var name: String
1818
/// A short description of the function.
19-
var description: String
19+
public var description: String
2020

2121
/// The input parameters.
2222
private(set) var dataInput: [Parameter]
2323
/// The output parameters.
2424
private(set) var dataOutput: [Parameter]
2525

2626
/// The input parameters with the control flow.
27-
var input: [Parameter] {
27+
public var input: [Parameter] {
2828
get {
2929
if id == .input {
3030
return []
@@ -37,7 +37,7 @@ public struct Function: Identifiable, Equatable, Bindable {
3737
}
3838
}
3939
/// The output parameters with the control flow.
40-
var output: [Parameter] {
40+
public var output: [Parameter] {
4141
get {
4242
if id == .output {
4343
return []

0 commit comments

Comments
 (0)