Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Elixxir dApps SDK Swift
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile
iOS
Elixxir dApps SDK Swift
Commits
cbffc477
Commit
cbffc477
authored
2 years ago
by
Dariusz Rybicki
Browse files
Options
Downloads
Patches
Plain Diff
Add E2EGetUdEnvironmentFromNdf function
parent
ee77ad92
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!118
User Discovery Environment
,
!102
Release 1.0.0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Sources/XXClient/E2E/E2E.swift
+3
-0
3 additions, 0 deletions
Sources/XXClient/E2E/E2E.swift
Sources/XXClient/E2E/Functions/E2EGetUdEnvironmentFromNdf.swift
+28
-0
28 additions, 0 deletions
...s/XXClient/E2E/Functions/E2EGetUdEnvironmentFromNdf.swift
with
31 additions
and
0 deletions
Sources/XXClient/E2E/E2E.swift
+
3
−
0
View file @
cbffc477
...
@@ -10,6 +10,7 @@ public struct E2E {
...
@@ -10,6 +10,7 @@ public struct E2E {
public
var
getUdAddressFromNdf
:
E2EGetUdAddressFromNdf
public
var
getUdAddressFromNdf
:
E2EGetUdAddressFromNdf
public
var
getUdCertFromNdf
:
E2EGetUdCertFromNdf
public
var
getUdCertFromNdf
:
E2EGetUdCertFromNdf
public
var
getUdContactFromNdf
:
E2EGetUdContactFromNdf
public
var
getUdContactFromNdf
:
E2EGetUdContactFromNdf
public
var
getUdEnvironmentFromNdf
:
E2EGetUdEnvironmentFromNdf
public
var
payloadSize
:
E2EPayloadSize
public
var
payloadSize
:
E2EPayloadSize
public
var
partitionSize
:
E2EPartitionSize
public
var
partitionSize
:
E2EPartitionSize
public
var
addPartnerCallback
:
E2EAddPartnerCallback
public
var
addPartnerCallback
:
E2EAddPartnerCallback
...
@@ -40,6 +41,7 @@ extension E2E {
...
@@ -40,6 +41,7 @@ extension E2E {
getUdAddressFromNdf
:
.
live
(
bindingsE2E
),
getUdAddressFromNdf
:
.
live
(
bindingsE2E
),
getUdCertFromNdf
:
.
live
(
bindingsE2E
),
getUdCertFromNdf
:
.
live
(
bindingsE2E
),
getUdContactFromNdf
:
.
live
(
bindingsE2E
),
getUdContactFromNdf
:
.
live
(
bindingsE2E
),
getUdEnvironmentFromNdf
:
.
live
(
bindingsE2E
),
payloadSize
:
.
live
(
bindingsE2E
),
payloadSize
:
.
live
(
bindingsE2E
),
partitionSize
:
.
live
(
bindingsE2E
),
partitionSize
:
.
live
(
bindingsE2E
),
addPartnerCallback
:
.
live
(
bindingsE2E
),
addPartnerCallback
:
.
live
(
bindingsE2E
),
...
@@ -71,6 +73,7 @@ extension E2E {
...
@@ -71,6 +73,7 @@ extension E2E {
getUdAddressFromNdf
:
.
unimplemented
,
getUdAddressFromNdf
:
.
unimplemented
,
getUdCertFromNdf
:
.
unimplemented
,
getUdCertFromNdf
:
.
unimplemented
,
getUdContactFromNdf
:
.
unimplemented
,
getUdContactFromNdf
:
.
unimplemented
,
getUdEnvironmentFromNdf
:
.
unimplemented
,
payloadSize
:
.
unimplemented
,
payloadSize
:
.
unimplemented
,
partitionSize
:
.
unimplemented
,
partitionSize
:
.
unimplemented
,
addPartnerCallback
:
.
unimplemented
,
addPartnerCallback
:
.
unimplemented
,
...
...
This diff is collapsed.
Click to expand it.
Sources/XXClient/E2E/Functions/E2EGetUdEnvironmentFromNdf.swift
0 → 100644
+
28
−
0
View file @
cbffc477
import
Bindings
import
XCTestDynamicOverlay
public
struct
E2EGetUdEnvironmentFromNdf
{
public
var
run
:
()
throws
->
UDEnvironment
public
func
callAsFunction
()
throws
->
UDEnvironment
{
try
run
()
}
}
extension
E2EGetUdEnvironmentFromNdf
{
public
static
func
live
(
_
bindingsE2E
:
BindingsE2e
)
->
E2EGetUdEnvironmentFromNdf
{
E2EGetUdEnvironmentFromNdf
{
UDEnvironment
(
address
:
E2EGetUdAddressFromNdf
.
live
(
bindingsE2E
)(),
cert
:
E2EGetUdCertFromNdf
.
live
(
bindingsE2E
)(),
contact
:
try
E2EGetUdContactFromNdf
.
live
(
bindingsE2E
)()
)
}
}
}
extension
E2EGetUdEnvironmentFromNdf
{
public
static
let
unimplemented
=
E2EGetUdEnvironmentFromNdf
(
run
:
XCTUnimplemented
(
"
\(
Self
.
self
)
"
)
)
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment