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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile
iOS
Elixxir dApps SDK Swift
Merge requests
!3
Bindings models wrapper
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Bindings models wrapper
feature/bindings-models-wrapper
into
main
Overview
0
Commits
11
Pipelines
0
Changes
11
Merged
Bindings models wrapper
Dariusz Rybicki
requested to merge
feature/bindings-models-wrapper
into
main
Jun 3, 2022
Overview
0
Commits
11
Pipelines
0
Changes
11
Add
Identity
model.
Add
MessageSendReport
model.
Add
Fact
model.
Add
Message
model.
Add
RestlikeMessage
model.
Add tests for models decoding and encoding (use example JSONs from Bindings as expected JSON schemas).
Edited
Jun 3, 2022
by
Dariusz Rybicki
0
0
Merge request reports
Compare
main
version 3
a722a34e
Jun 3, 2022
version 2
21cfba1a
Jun 3, 2022
version 1
58bbf5f7
Jun 3, 2022
main (base)
and
latest version
latest version
7230cd07
11 commits,
Jun 3, 2022
version 3
a722a34e
10 commits,
Jun 3, 2022
version 2
21cfba1a
9 commits,
Jun 3, 2022
version 1
58bbf5f7
8 commits,
Jun 3, 2022
11 files
+
382
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Sources/ElixxirDAppsSDK/Fact.swift
0 → 100644
+
19
−
0
View file @ 7230cd07
Edit in single-file editor
Open in Web IDE
public
struct
Fact
:
Equatable
{
public
init
(
fact
:
String
,
type
:
Int
)
{
self
.
fact
=
fact
self
.
type
=
type
}
public
var
fact
:
String
public
var
type
:
Int
}
extension
Fact
:
Codable
{
enum
CodingKeys
:
String
,
CodingKey
{
case
fact
=
"Fact"
case
type
=
"Type"
}
}
Loading